{if $smarty.const.MOB_CARRIER eq 'PC'} 携帯からのアクセスをお願いします。
{else} {foreach from=$blocks item=blk} {$blk} {/foreach} {/if}