<{cycle values="" reset=true print=false}>
<{foreach item=block from=$fromvar name=page_name}>
<{assign var="xlanguagetitle" value=$block.title|xlanguagePlugin}>
<{assign var="blocktitle" value="-"|explode:$xlanguagetitle}>
<div  class="box<{$block.id}> <{$site}>box contentbox<{$smarty.foreach.page_name.iteration}>  blockdiv"  name='<{$block.id}>'>
<div id="xo-block<{$block.module}>" class="<{cycle values="bstyle01,bstyle02" }> ">           
<{if $block.title|truncate:7:"":true eq $smarty.const.THEME_NOBOX}>
<div id='construct<{$block.id}>'>
<<{if $site eq 'topcenter' &&  $smarty.foreach.page_name.first eq true}>h2<{else}>h3<{/if}> class="block-title" style='display:none;'><{$smarty.const.THEME_REMOVAL|preg_replace:"":$block.title}></<{if $site eq 'topcenter' &&  $smarty.foreach.page_name.first eq true}>h2<{else}>h3<{/if}>>
<{$block.content}>
<div style='clear: both;'></div></div>
<{cycle values="" reset=true print=false}>
<{else}>
<<{if $site eq 'topcenter' &&  $smarty.foreach.page_name.first eq true}>h2<{else}>h3<{/if}> class="block-title">
<span id='titleheight'><span id='bimg<{$block.id}>' class='bimg'></span><i class='ielement'><{if $block.module  neq  'system' && $block.module  neq  '' && $block.module  neq  'neothemesadmin'}><a class='blocktitle blocktitleto<{$block.id}>' name='<{$block.id}>' title="<{$block.title}>"  href="<{xoAppUrl}>modules/<{$block.module}>"><{$blocktitle[0]}></a><{else}><span class='blocktitle blocktitleto<{$block.id}>' name='<{$block.id}>'><{$blocktitle[0]}></span><{/if}> </i> </span>
</<{if $site eq 'topcenter' &&  $smarty.foreach.page_name.first eq true}>h2<{else}>h3<{/if}>>
<div class="blockcontent"><{$block.content}><div style='clear: both;'></div></div>
<{/if}>          
<{include file="$theme_name/blocksadmin.tpl"}>
</div>
</div>
<{/foreach}>


