progetto di prova che mostra le macchine fiat e un form che permette di contattare
filippo.bertilotti
2024-04-22 4dd38db78085fa0b55e2a6b6fe18e5dda0f4c32a
aggiornamento pagina template per avere più ordine utilizzando include
1 files added
1 files modified
16 ■■■■■ changed files
htdocs/index.php 2 ●●● patch | view | raw | blame | history
ihtml/index.tpl 14 ●●●●● patch | view | raw | blame | history
htdocs/index.php
@@ -8,7 +8,7 @@
$smarty->setCompileDir('../compile');
#$smarty->setCacheDir('../ihtml/smarty/cache');
$smarty->display('header.tpl');
$smarty->display('index.tpl');
echo 'index';
ihtml/index.tpl
New file
@@ -0,0 +1,14 @@
{* Smarty *}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    {include file="header.tpl"}
    <h1>Ciao</h1>
</body>
</html>