{if $smarty.get.is_modal != 1}{include file="header.tpl"} {include file="footer.tpl"} {else} {include file="head.tpl"} {$content} {/if}