<{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}>'>
<aside 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}>'><{$block.content}><div style='clear: both;'></div></div>
<{else}>
<h4 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>
</h4>
<div class="blockcontent"><{$block.content}><div style='clear: both;'></div></div>
<{/if}>          
<{include file="$theme_name/blocksadmin.tpl"}>
</aside>
</div>
<{/foreach}>


