progetto di prova che mostra le macchine fiat e un form che permette di contattare
filippo.bertilotti
2024-04-22 52434e6f710613ebdf6e1702499101da0283f6f6
aggiornamento path
4 files added
1 files modified
28 ■■■■■ changed files
htdocs/index.php 12 ●●●● patch | view | raw | blame | history
ihtml/500.tpl patch | view | raw | blame | history
ihtml/footer.tpl patch | view | raw | blame | history
ihtml/header.tpl 9 ●●●●● patch | view | raw | blame | history
ihtml/panda.tpl 7 ●●●●● 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>