Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $page = $_GET["page"];
- $smarty->assign('page', "$page".".tpl");
- $smarty->display('index.tpl');
- /////////
- <div class='prava'>
- {include file=$page title=foo}
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement