From 3e685fa675e58af50c45a2c1f8a3f35ff5f16ddf Mon Sep 17 00:00:00 2001 From: filippo.bertilotti <filippobertilotti@gmail.com> Date: Mon, 10 Jun 2024 11:56:41 +0200 Subject: [PATCH] aggiunte immagini --- src/App/Controllers/fiat.php | 36 ++++++++++++++++++++++++++++++------ 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/App/Controllers/fiat.php b/src/App/Controllers/fiat.php index 30f9ee7..24c0df8 100644 --- a/src/App/Controllers/fiat.php +++ b/src/App/Controllers/fiat.php @@ -1,11 +1,35 @@ <?php namespace App\Controllers; use Framework\Controller; -class Home extends Controller { - public function index() { - - echo $this->viewer->render("shared/header.php"); - - echo $this->viewer->render("Home/index.php"); +class Fiat extends Controller { + + public function __construct() + { + } + public function index() { + return $this->view("Fiat/index.mvc.php", [ + ]); + } + + public function panda() { + return $this->view("Fiat/panda.mvc.php", [ + ]); + } + + public function fiat500() { + return $this->view("Fiat/fiat500.mvc.php", [ + ]); + } + + public function tipo() { + return $this->view("Fiat/tipo.mvc.php", [ + ]); + } + + public function contact() { + return $this->view("Fiat/contact.mvc.php", [ + ]); + } + } \ No newline at end of file -- Gitblit v1.8.0