<section class='sort'>
<notempty name="cid">           
            <a href="{:U('index/cate',array('cid'=>$cid,'sort'=>'new'))}"><span <if condition="$index_info['sort'] eq 'new'"> class='cur' </if> >最新发布</span></a>            
            <a href="{:U('index/cate',array('cid'=>$cid,'sort'=>'hot'))}"><span <if condition="$index_info['sort'] eq 'hot'"> class='cur' </if> >销量最高</span></a>
			<a href="{:U('index/cate',array('cid'=>$cid,'sort'=>'price'))}"><span <if condition="$index_info['sort'] eq 'price'"> class='cur' </if> >价格最低</span></a>            
            <a href="{:U('index/cate',array('cid'=>$cid,'sort'=>'rate'))}"><span <if condition="$index_info['sort'] eq 'rate'"> class='cur' </if> >折扣最低</span></a>
			<else />            
            <a href="{:U('index/index',array('sort'=>'new'))}"><span <if condition="$index_info['sort'] eq 'new'"> class='cur' </if> >最新发布</span></a>
            <a href="{:U('index/index',array('sort'=>'hot'))}"><span <if condition="$index_info['sort'] eq 'hot'"> class='cur' </if> >销量最高</span></a>
			<a href="{:U('index/index',array('sort'=>'price'))}"><span <if condition="$index_info['sort'] eq 'price'"> class='cur' </if> >价格最低</span></a>
            <a href="{:U('index/index',array('sort'=>'rate'))}"><span <if condition="$index_info['sort'] eq 'rate'"> class='cur' </if> >折扣最低</span></a>
            </notempty>
</section>


