{template 'header'}

{data func="site_slide_search" limit="1" item="row"}
{php $f=$row['thumb']}
{/data}
<style>
body{{if !empty($_W['styles']['indexbgcolor'])} background-color:{$_W['styles']['indexbgcolor']};{else}background:#f0fbff;{/if}}
</style>

{if empty($f)}<div class="mainbg"><img src="{$_W['styles']['indexbgimg']}"></div>{else}{template 'slide'}{/if}
       <div class="main">
    	<ul>
    	            {loop $navs $nav}
    		        <li id="m1">
                	<a href="{$nav['url']}">
					<span class="icon"  style="background:url({$_W['attachurl']}{$nav['icon']}) no-repeat;background-size:88px 64px;"><em></em></span><span class="title"> {$nav['name']}</span></a></li>
					{/loop}
       	</ul>
        </div>
        </div>
        <div id="insert2"></div>
        <div style="display:none"> </div>

{template 'footer'}