{foreach from=$stylesheets item=stylesheet} {$stylesheet} {/foreach} {foreach from=$javascripts item=javascript} {$javascript} {/foreach} {include_php file='z.error_message.php'}
{include_php file='z.header.php'}
{if !$isHome}{/if} {foreach from=$tabs item=t} {if $t.external == 'true'} {else} {/if} {/foreach}
 
{include_php file=$extranet_script}
{include_php file='z.footer.php'}