<?php error_reporting(E_PARSE); //session_start(); require 'model/homeModel.php'; $model = new HomeModel('home'); $model->renderPage('home.tpl'); /* // Inclusiones necesarias en el proyecto // require '../_config/database/Conexion.php'; $conn = new Conexion(); require ("../_config/mvc/configMVC.php"); $smarty = new configMVC(); require 'model/model.php'; $model = new Model($conn->db); // Codigo Smarty para Back-End // $smarty->setModule("_includes"); $content = $smarty->fetch("contentAdminDenominations.tpl"); $smarty->assign("content",$content); $smarty->display("masterPage.tpl"); // Codigo Smarty para Front-End // {section loop=$var name=c} {var[c].value}