{extends file='index.smarty'} {block name='content'} {$maintenance=0} {if !$is_admin && !empty($session->product->maintenance)} {$maintenance=1} {/if}
{if !empty($session->sidepanel_id) && !empty($sidePanel)}
{include file=$template}
{include file="pages/page-content.smarty" page=$sidePanel css=$sidePanel->css}
{else} {include file=$template} {/if}
{/block}