aggiornamento pagina template per avere più ordine utilizzando include
1 files added
1 files modified
| | |
| | | $smarty->setCompileDir('../compile'); |
| | | #$smarty->setCacheDir('../ihtml/smarty/cache'); |
| | | |
| | | $smarty->display('header.tpl'); |
| | | $smarty->display('index.tpl'); |
| | | echo 'index'; |
| | | |
| | | |
New file |
| | |
| | | {* 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> |