htdocs/index.php | ●●●●● patch | view | raw | blame | history | |
ihtml/500.tpl | patch | view | raw | blame | history | |
ihtml/footer.tpl | patch | view | raw | blame | history | |
ihtml/header.tpl | ●●●●● patch | view | raw | blame | history | |
ihtml/panda.tpl | ●●●●● patch | view | raw | blame | history |
htdocs/index.php
@@ -4,18 +4,12 @@ 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->setTemplateDir('../ihtml'); $smarty->setCompileDir('../compile'); #$smarty->setCacheDir('../ihtml/smarty/cache'); $smarty->display('header.tpl'); echo 'index'; ?> ihtml/500.tpl
ihtml/footer.tpl
ihtml/header.tpl
New file @@ -0,0 +1,9 @@ {* Smarty *} <header> <h1>TEST HEADER</h1> <a href="index.php">Home</a> <a href="panda.php">FiatPanda</a> <a href="500.php">500</a> <a href="tipo.php">FiatTipo</a> </header> ihtml/panda.tpl
New file @@ -0,0 +1,7 @@ {* Smarty *} <main> <img src="files_comuni/images/panda.jpg"> <article> </article> </main>