{include file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/header.smarty"} <div id="main-container"> {if file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/main-content.smarty"} file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/admin-panel.smarty"} file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/`$smarty.session.tpl.file`"} </div> file="`$smarty.const.APP_PATH`templates/`$smarty.const.APP_THEME`/modules/template-parts/footer.smarty"}
I tu jest content przypisany jeden do wszystkich podstron. Dopiero zaczynam swoją naukę dlatego proszę o pomoc. Chciałabym, żeby poza plikiem main-content.smarty lub panelu logowania czy admina była możliwość także dodania np abroad-content.smarty, ticket-content.smarty, hotels-content.smarty oraz polish-content.smarty. Czy ktoś mógłby mi pomóc?