<{* In what order center blocks should be displayed valid values are: lrc (left right / center) lcr (left center right) clr (center / left right) *}> <{assign var=theme_top_order value=lrc}> <{assign var=theme_bottom_order value=lcr}> <{* Determine what view is the current one: no content = home/portal view *}> <{if !$xoops_contents}><{assign var=theme_view value='home'}> <{elseif is_object($xoEntity)}><{assign var=theme_view value='document'}> <{else}><{assign var=theme_view value='list'}><{/if}> <{$xoops_module_header}> <{if $xoBlocks.canvas_left and $xoBlocks.canvas_right}> <{assign var=columns_layout value='threecolumns-layout'}> <{elseif $xoBlocks.canvas_left}> <{assign var=columns_layout value='leftcolumn-layout'}> <{elseif $xoBlocks.canvas_right}> <{assign var=columns_layout value='rightcolumn-layout'}> <{/if}>
class="<{$columns_layout}>"<{/if}>>
<{if $xoops_banner and $xoops_banner != ' '}>
<{$xoops_banner|smarty:nodefaults}>
<{/if}>
<{if !$xoops_isuser}>
<{$smarty.const._LOGIN}>
Register <{else}> <{xoInboxCount assign=pmcount}> <{if $pmcount}> Inbox (<{$pmcount}>) <{else}> Inbox <{/if}> My profile <{if $xoops_isadmin}> Admin <{/if}> Logout <{/if}>
 
<{if $xoBlocks.canvas_left}> <{includeq file='zetareticuli/blockszone.html' blocks=$xoBlocks.canvas_left zoneClass='xo-canvas-column' zoneId='xo-canvas-leftcolumn' }> <{/if}>
<{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
<{includeq file='zetareticuli/centerblocks.html' topbottom=top lcr=$theme_top_order|substr:0:1}> <{includeq file='zetareticuli/centerblocks.html' topbottom=top lcr=$theme_top_order|substr:1:1}> <{includeq file='zetareticuli/centerblocks.html' topbottom=top lcr=$theme_top_order|substr:2:1}>
<{/if}>
<{$xoops_contents}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomcenter or $xoBlocks.page_bottomright}>
<{includeq file='zetareticuli/centerblocks.html' topbottom=bottom lcr=$theme_bottom_order|substr:0:1}> <{includeq file='zetareticuli/centerblocks.html' topbottom=bottom lcr=$theme_bottom_order|substr:1:1}> <{includeq file='zetareticuli/centerblocks.html' topbottom=bottom lcr=$theme_bottom_order|substr:2:1}>
<{/if}>
<{if $xoBlocks.canvas_right}> <{includeq file='zetareticuli/blockszone.html' blocks=$xoBlocks.canvas_right zoneClass='xo-canvas-column' zoneId='xo-canvas-rightcolumn' }> <{/if}>