<{if $xoBlocks.footer_left || $xoBlocks.footer_right || $xoBlocks.footer_center || $blockmenu.neothemesadminmenubottom}>
 <div id="bottompage" class='footerstyle<{$footerstyle}>' >

 <div id="bottomcontents">

<{if $xoBlocks.footer_left}>
<div id="footerleftdiv" >
<{include file="$theme_name/blockstpl.tpl" fromvar=$xoBlocks.footer_left  site=footer_left }>
</div>
<{/if}>

<{if $xoBlocks.footer_center}>
<div id="footercenterdiv" >
<{include file="$theme_name/blockstpl.tpl" fromvar=$xoBlocks.footer_center  site=footer_center }>
</div>
<{/if}>

<{if $xoBlocks.footer_right}>
<div id="footerrightdiv" >
<{include file="$theme_name/blockstpl.tpl" fromvar=$xoBlocks.footer_right site=footer_right }>
</div>
<{/if}>
<{include file="$theme_name/menutpl.tpl" menuid=bottom}>  


</div>  
</div>   
 <{else}>
<{if !$canvas_right_type}><div id="bottompageimg"></div>  <{/if}>
<{/if}>

