{if $main_content_template == "home.tpl.html"} {* home => 1 column *}
{include file="home.tpl.html"}
{$smarty.const.ADMIN_NEWS|upper}
{if $NewsShortListTpl} {include file=$NewsShortListTpl}

{/if}

{include file="customer_survey.tpl.html"}
{* now show special offers *} {section name=i loop=$special_offers} {if $smarty.section.i.index is div by 2}{/if} {if ($smarty.section.i.index+1) is div by 2}{/if} {/section}
{$special_offers[i][1]|replace:'
{$special_offers[i][1]} {$special_offers[i][3]}
{else} {* every other page => 2 columns *}
{$smarty.const.ADMIN_CATALOG|upper}
{include file="category_tree.tpl.html"}
{include file="$main_content_template"}
{/if}