| | |
| | | <?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", [ |
| | | ]); |
| | | } |
| | | |
| | | } |