Cześć mam pewien problem. W swoim pliku index.smarty mam taki oto kod:
{http://smarty.php.net/include file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/header.smarty"} <div id="main-container"> {http://smarty.php.net/if http://smarty.php.net/%24smarty.get.startpage=="initialize"} {http://smarty.php.net/include file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/main-content.smarty"} {http://smarty.php.net/elseif http://smarty.php.net/%24smarty.get.adminpage=="initialize" OR (strpos(http://smarty.php.net/%24smarty.server.REQUEST_URI, "admin")) } {http://smarty.php.net/include file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/admin-panel.smarty"} {http://smarty.php.net/else} {http://smarty.php.net/include file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/`$smarty.session.tpl.file`"} {/http://smarty.php.net/if} </div> {http://smarty.php.net/include file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/footer.smarty"}
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)