<include file="Public:header"/>
<!--banner-->
<div class="banner">
<div style="width:960px;  position:relative; z-index:10;">
	<div class="lit">
    <div class="dayhot">
    	<p>今日推荐</p>
        <yufu:tuijian catid="53" recommendid="4" num="1" >
        	<div class="pic fl"><a href="{:U('Weixin/show',array('id'=>$tuijian['id']))}" target="_blank"><img src="<empty name='tuijian.logo'><empty name='tuijian.weblogo'>../Public/images/nopic.gif<else />{$tuijian.weblogo}</empty><else />__ROOT__/Uploads{$tuijian.logo}</empty>"></a></div>
            <div class="tit fr"><a href="{:U('Weixin/show',array('id'=>$tuijian['id']))}" target="_blank" class="fz14"><strong>{$tuijian.pubaccount|msubstr=0,6}</strong></a></div>
            <div class="xingji fr"><img src="../Public/images/xx{$tuijian.xingji}.png" /></div>
            <div class="gz fr"><em style="color:#ff5500"></em>关注{$tuijian.hits}</em>次</div>
            <a href="{:U('Weixin/show',array('id'=>$tuijian['id']))}" target="_blank" class="gogz">加关注</a>
        </yufu:tuijian>
        <div class="mb">
        	<a href="" class="android">Android下载</a><a href="" class="iphone">Iphone下载</a>
        </div>
    </div>
		<p style=" border-top:1px dashed #ccc;"><a href="/cty.html" target="_blank">
		<img src="../Public/images/2top_pic2.jpg" border="0" width="210" height="95" /></a></p>
		<p style=" border-top:1px dashed #ccc;">
		<a href="http://www.pba.cn/xznt" target="_blank">
		<img src="../Public/images/3top_pic3.jpg" border="0" width="210" height="95" /></a></p>
	</div>
</div>
<div id="banner">
	<ul id="banner_img">
<!--    	<yufu:slide field="id,title,url,img" order="listorder desc" num="5">
            <li style="background:url('Uploads{$slide.img}') no-repeat center;<if condition="$key eq 0"> display:list-item;</if>"><a href="{$slide.url}" title="{$slide.title}" target="_blank"><div class="wrapper"></div></a></li>
        </yufu:slide>
-->	
	            <li style="background:url(../Public/images/1lunbo1.jpg) no-repeat center;  display:list-item;"><a href="#" title="banner1" target="_blank"><div class="wrapper"></div></a></li>
	            <li style="background:url(../Public/images/3lunbo3.jpg) no-repeat center;"><a href="#" title="banner2" target="_blank"><div class="wrapper"></div></a></li>
	            <li style="background:url(../Public/images/2lunbo2.jpg) no-repeat center;"><a href="#" title="banner3" target="_blank"><div class="wrapper"></div></a></li>
	            <li style="background:url(../Public/images/jiuzhou1920x390-9.jpg) no-repeat center;"><a href="#" title="banner4" target="_blank"><div class="wrapper"></div></a></li>
	            <li style="background:url(../Public/images/1hnav1.jpg) no-repeat center;"><a href="#" title="banner5" target="_blank"><div class="wrapper"></div></a></li>

	</ul>
	<div id="banner_ctr">
		<div id="drag_ctr">
		</div>
		<ul>
			<li style="width:0px;"></li>
<!--            <yufu:slide field="id,title,url" order="listorder desc" num="5">
			<li class="styclsa">
          	<a href="banner1" target="_blank" class="astysa">banner1</a>
            </li>
             <li style="width:1px;"></li>
            </yufu:slide>
-->
			<li class="styclsa">
          	<a href="banner1" target="_blank" class="astysa">banner1</a>
            </li>
             <li style="width:1px;"></li>
			<li class="styclsa">
          	<a href="banner2" target="_blank" class="astysa">banner2</a>
            </li>
             <li style="width:1px;"></li>
			<li class="styclsa">
          	<a href="banner3" target="_blank" class="astysa">banner3</a>
            </li>
             <li style="width:1px;"></li>
			<li class="styclsa">
          	<a href="banner4" target="_blank" class="astysa">banner4</a>
            </li>
             <li style="width:1px;"></li>
			<li class="styclsa">
          	<a href="banner5" target="_blank" class="astysa">banner5</a>
            </li>
             <li style="width:1px;"></li>
		</ul>
	</div>
</div>
<script type="text/javascript" src="../Public/js/fashionfoucs.js"></script>
</div>
</div>
<!--body-->
<div class="bk10"></div>
<div class="main">
	<div class="leftbox fl">
    	<div class="box">
        	<ul class="countbox">
            	<li class="allcount">{$allcount}<p>总共收录</p></li>
                <li class="daycount">{$daycount}<p>今日收录</p></li>
            </ul>
        </div>
        <div class="bk10"></div>
        <div class="news box">
        	<h2>微活动<a href="{:U('Promotion/index',array('id'=>'131'))}" class="more">more</a></h2>
        	<ul>
            	<yufu:promotion catid="131" field="id,title" order="create_time desc" num="5" >
                    <li><a href="{:U('Promotion/show',array('id'=>$promotion['id']))}" title="{$promotion['title']}" target='_blank'>{$promotion['title']|msubstr=0,8}</a></li>
            	</yufu:promotion>
            </ul>
        </div>
        <div class="bk10"></div>
        <include file="Public:zx"/>
        <div class="bk10"></div>
        <img src="../Public/images/slider1.jpg" width="260" height="195" />
        <div class="bk10"></div>
        <include file="Public:dayord"/>
        <div class="bk10"></div>
        <include file="Public:hitord"/>
        <div class="bk10"></div>
        <include file="Public:new"/>
        <div class="bk10"></div>
    </div>
    
    <div class="rightbox fr">
        <div class="itembox box" style=" height:275px;">
            <h2 style="font-size:16px;">热门推荐<div class="itemsub"><a href="{:U('Content/index',array('id'=>138))}" style="color: red;" target="_blank">我要上推荐</a></div><a href="{:U('Weixin/hot',array('id'=>'88'))}" target="_blank" class="more" style="font-size:12px;">more</a></h2>
            <ul>
            	<volist name="tjlist" id="tuijian" mod="12">
            	<li>
                	<a href="{:U('Weixin/show',array('id'=>$tuijian['id']))}" title="{$tuijian.pubaccount}" target='_blank'>
                	<img src="<empty name='tuijian.logo'><empty name='tuijian.weblogo'>../Public/images/nopic.gif<else />{$tuijian.weblogo}</empty><else />__ROOT__/Uploads{$tuijian.logo}</empty>" width="80" height="80"/></a>
                    <p><a href="{:U('Weixin/show',array('id'=>$tuijian['id']))}" title="{$tuijian.pubaccount}" target='_blank'>{$tuijian.pubaccount|msubstr=0,6}</a></p>
                </li>
                </volist>
            </ul>
        </div>
        <volist name="categorylist" id="category1">
        <volist name="category1.pid" id="category2">
            <div class="itembox box">
                <h2 style="font-size:16px;">{$category2['catname']}
                    <div class="itemsub">
                        <volist name="category2.pid" id="category3">
                            <if condition="$category3['status'] eq 1">
                            <a href="{:U('Weixin/index',array('id'=>$category3['id']))}" title="{$category3['catname']}" target="_blank">{$category3['catname']}</a>
                            </if>
                        </volist>
                    </div><a href="{:U('Weixin/index',array('id'=>$category2['id']))}" title="{$category2['catname']}" target="_blank" class="more" style="font-size:12px;">more</a>
                </h2>
                <ul>
                	<?php
                    $catlist = D('Category')->where('status=1')->select();	
                    $idlist = $category2['id'].','.getChildId($catlist,$category2['id']);  
                    $idlist= substr($idlist, 0, strlen($idlist)-1);
                    ?>
                    <yufu:tuijian catid="'.$idlist.'" recommendid="2" num="12" >
                    <li>
                    	<a href="{:U('Weixin/show',array('id'=>$tuijian['id']))}" title="{$tuijian.pubaccount}" target='_blank'>
                        <img src="<empty name='tuijian.logo'><empty name='tuijian.weblogo'>../Public/images/nopic.gif<else />{$tuijian.weblogo}</empty><else />__ROOT__/Uploads{$tuijian.logo}</empty>" width="80" height="80"/></a>
                        <p><a href="{:U('Weixin/show',array('id'=>$tuijian['id']))}" title="{$tuijian.pubaccount}" target='_blank'>{$tuijian.pubaccount|msubstr=0,6}</a></p>
                    </li>
                    </yufu:tuijian>
                </ul>
            </div>
       	</volist>
        </volist>
    </div>

    <div class="bk10"></div>
    <div class="link box">
        <span class="fz16">友情链接：</span>
        <volist name="list" id="vo">
            <if condition="$vo['type'] eq 0 ">
                <if condition="$vo['linktype'] eq 0">
                    <a href="">{$vo.name}</a>
                </if>
            </if>
        </volist>
        <a href="{:U('Link/index')}">更多>></a>
    </div>
</div>
<include file="Public:footer"/>
