creazione pagina panda.php e 500.php (per la fiat panda e fiat 500) e configurazione smarty per template
New file |
| | |
| | | <?php |
| | | require '../vendor/autoload.php'; |
| | | use Smarty\Smarty; |
| | | $smarty = new Smarty(); |
| | | |
| | | $smarty->setTemplateDir('../ihtml/smarty/templates'); |
| | | $smarty->setConfigDir('../ihtml/smarty/configs'); |
| | | $smarty->setCompileDir('../ihtml/smarty/templates_c'); |
| | | $smarty->setCacheDir('../ihtml/smarty/cache'); |
| | | |
| | | $smarty->display('header.tpl'); |
| | | echo "fiat 500"; |
| | | ?> |
New file |
| | |
| | | <?php |
| | | require '../vendor/autoload.php'; |
| | | use Smarty\Smarty; |
| | | $smarty = new Smarty(); |
| | | |
| | | $smarty->setTemplateDir('../ihtml/smarty/templates'); |
| | | $smarty->setConfigDir('../ihtml/smarty/configs'); |
| | | $smarty->setCompileDir('../ihtml/smarty/templates_c'); |
| | | $smarty->setCacheDir('../ihtml/smarty/cache'); |
| | | |
| | | $smarty->display('header.tpl'); |
| | | echo "fiat panda"; |
| | | ?> |