| | |
| | | <?php |
| | | require '../vendor/autoload.php'; |
| | | use Smarty\Smarty; |
| | | $smarty = new Smarty(); |
| | | |
| | | require '../vendor/autoload.php'; |
| | | use Smarty\Smarty; |
| | | $smarty = new Smarty(); |
| | | $smarty->setTemplateDir('../ihtml'); |
| | | $smarty->setCompileDir('../compile'); |
| | | #$smarty->setCacheDir('../ihtml/smarty/cache'); |
| | | |
| | | $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 'index'; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $smarty->display('index.tpl'); |
| | | echo 'index'; |
| | | ?> |