{T "content","head",TPLID}
<link type="text/css" rel="stylesheet" href="{R}css/animate.css">
<div class="bankuai_1 pd30">
    <div class="container">
        <div class="row">
            <div class="col-xs-6">
                {block=5}
            </div>
            <div class="col-xs-6">
                <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                    <!-- Indicators -->
                    <ol class="carousel-indicators">
                        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
                    </ol>

                    <!-- Wrapper for slides -->
                    <div class="carousel-inner" role="listbox">
                        {block=6}
                    </div>

                    <!-- Controls -->
                    <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> <span class="sr-only">Next</span> </a> </div>
            </div>
        </div>
    </div>
</div>
<div class="bankuai_1">
    <div class="container">
        <div class="row">
            <div class="col-xs-8 ">
                <h3>{$categorys[1]['name']} <span class="lm_more">{php $sub_categorys = sub_categorys(1);}
                    {loop $sub_categorys $cid $cat}
                    <a href="{$cat['url']}" target="_blank">{$cat['name']}</a>&nbsp;&nbsp;
                    {/loop}</span>
                    </h3>
                    
                    <div class="row">
                    	<div class="col-xs-6">


                    {wz:content action="listing" pagesize="6" order="sort DESC,id DESC" cid="6"}
                    <h4>&#8226; <a href="{$categorys[6]['url']}" target="_blank">{$categorys[6]['name']}</a></h4>
                    <div class="list-group">
                    {loop $rs $r}
                        {if $n==1}<a href="{$r[url]}" class="list-group-item_g" target="_blank">{strcut($r['title'],36)}</a>{else}
                        <a href="{$r[url]}" class="list-group-item_g" target="_blank"><span class="badge">{date('m-d',$r['addtime'])}</span>· {strcut($r['title'],32)}</a>{/if}
                    {/loop}
                    </div>
                    {/wz}

                    {wz:content action="listing" pagesize="6" order="sort DESC,id DESC" cid="7"}
                    <h4>&#8226; <a href="{$categorys[7]['url']}" target="_blank">{$categorys[7]['name']}</a></h4>
                    <div class="list-group">
                        {loop $rs $r}
                        {if $n==1}<a href="{$r[url]}" class="list-group-item_g" target="_blank">{strcut($r['title'],36)}</a>{else}
                        <a href="{$r[url]}" class="list-group-item_g" target="_blank"><span class="badge">{date('m-d',$r['addtime'])}</span>· {strcut($r['title'],32)}</a>{/if}
                        {/loop}
                    </div>
                    {/wz}

                        </div>
                    
                
                <div class="col-xs-6">
                    {wz:content action="listing" pagesize="6" order="sort DESC,id DESC" cid="8"}
                    <h4>&#8226; <a href="{$categorys[8]['url']}" target="_blank">{$categorys[8]['name']}</a></h4>
                    <div class="list-group">
                        {loop $rs $r}
                        {if $n==1}<a href="{$r[url]}" class="list-group-item_g" target="_blank">{strcut($r['title'],36)}</a>{else}
                        <a href="{$r[url]}" class="list-group-item_g" target="_blank"><span class="badge">{date('m-d',$r['addtime'])}</span>· {strcut($r['title'],32)}</a>{/if}
                        {/loop}
                    </div>
                    {/wz}
                    {wz:content action="listing" pagesize="6" order="sort DESC,id DESC" cid="9"}
                    <h4>&#8226; <a href="{$categorys[9]['url']}" target="_blank">{$categorys[9]['name']}</a></h4>
                    <div class="list-group">
                        {loop $rs $r}
                        {if $n==1}<a href="{$r[url]}" class="list-group-item_g" target="_blank">{strcut($r['title'],36)}</a>{else}
                        <a href="{$r[url]}" class="list-group-item_g" target="_blank"><span class="badge">{date('m-d',$r['addtime'])}</span>· {strcut($r['title'],32)}</a>{/if}
                        {/loop}
                    </div>
                    {/wz}
                </div>
                </div>
            </div>
            <div class="col-xs-4">
                <div class="lipin_box">
                    <div class="h_title">注册有礼</div>
                    {wz:content action="listing" pagesize="1" order="sort DESC,id DESC" cid="26"}
                    {loop $rs $r}
                    <img src="{$r['thumb']}" alt="{$r['title']}" class="imgys" width="95" height="88">
                    {/loop}
                    {/wz}

                    <div class="list-group">
                        {wz:content action="listing" pagesize="3" order="sort DESC,id DESC" cid="26"}
                            {loop $rs $r}
                            {if $n==1}
                            <div style="height:105px;">
                                <a href="{$r['url']}" class="list-group-item_gg" target="_blank">
                                    <p>{strcut($r['title'],58)}</p>
                                </a>
                            </div>
                            {else}
                            <a href="{$r['url']}" class="list-group-item_gg">· {strcut($r['title'],30)}</a>{/if}
                            {/loop}
                        {/wz}
                    </div>
                    <ins class="liimg"></ins>
                </div>
                <a href="{WEBURL}index.php?m=member&v=register" target="_blank"><button type="button" class="big_btn">马上注册</button></a>
                <div class="rightad_box"><img src="http://placehold.it/300x233" width="300" height="233"></div>
            </div>
        </div>
    </div>
</div>

<div class="bankuai_ad">
    <div class="container">
        <img src="http://placehold.it/960x100" width="960" height="100">
    </div>
</div>

{php $cates=array(2,4);}
{loop $cates $cats}
<div class="bankuai_1">
    <div class="container">
        <h3>{$categorys[$cats]['name']}<span class="lm_more">{php $sub_categorys = sub_categorys($cats);}
                    {loop $sub_categorys $cid $cat}
                    <a href="{$cat['url']}" target="_blank">{$cat['name']}</a>&nbsp;&nbsp;
                    {/loop}</span></h3>
        <div class="row">
            {loop $sub_categorys $cid $cat}
            {if $n==1}
            <div class="col-xs-6">
                <h4><a href="{$cat['url']}" target="_blank">&#8226; {$cat['name']}</a></h4>
                <div class="row">
                    <div class="col-xs-4">
                        {wz:content action="listing" pagesize="1" order="sort DESC" cid="$cid"}
                            {loop $rs $r}
                            <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{$r['thumb']}" style="width: 150px;height: 280px;" class="imgys" ></a>
                            {/loop}
                        {/wz}
                    </div>
                    <div class="col-xs-8">
                        <div class="list-group">
                            {wz:content action="listing" pagesize="7" startid="2" order="sort DESC" cid="$cid"}
                            {loop $rs $r}
                            {if $n==1}
                            <a href="{$r['url']}" target="_blank">
                                <h4 class="list-group-item_g-heading">{strcut($r['title'],36)}</h4>
                                <p class="list-group-item_g-text">{strcut($r['remark'],72,'...')}</p>
                            </a>
                            <hr/>{else}
                            <a href="{$r['url']}" class="list-group-item_g" target="_blank"><span class="badge">{date('y-d',$r['addtime'])}</span>· {strcut($r['title'],33)}</a>{/if}
                            {/loop}
                            {/wz}

                        </div>
                    </div>
                </div>
            </div>
            {/if}
            {/loop}
            <div class="col-xs-6" >
                {loop $sub_categorys $cid $cat}
                {if $n!=1}
                <h4><a href="{$cat['url']}">&#8226; {$cat['name']}</a></h4>
                <div class="row">
                    <div class="col-xs-4">
                        {wz:content action="listing" pagesize="1" order="sort DESC" cid="$cid"}
                        {loop $rs $r}
                        <a href="{$r['url']}" target="_blank"><img src="{$r['thumb']}" style="width: 150px;height: 110px;" class="imgys"></a>
                        {/loop}
                        {/wz}
                    </div>
                    <div class="col-xs-8">
                        <div class="list-group" style="margin-bottom: 0px;">
                            {wz:content action="listing" pagesize="4" order="sort DESC" cid="$cid"}
                            {loop $rs $r}
                            {if $n==1}
                            <a href="{$r['url']}" class="list-group-item_g">{strcut($r['title'],36)}</a>
                            {else}
                            <a href="{$r['url']}" class="list-group-item_g"><span class="badge">{date('y-d',$r['addtime'])}</span>· {strcut($r['title'],32)}</a>{/if}{/loop}
                            {/wz}
                        </div>
                    </div>
                </div>
                {/if}
                {/loop}
            </div>
        </div>
    </div>
</div>
{/loop}

    <div class="container">
    <div class="row">
        {php $sub_categorys = sub_categorys(3);}
            {loop $sub_categorys $cid $cat}
         <div class="col-xs-6" >
           <h4><a href="{$cat['url']}">{$cat['name']}</a></h4>
            <div class="row">
                {wz:content action="listing" pagesize="4" order="sort DESC,id DESC" cid="$cid"}
                {loop $rs $r}
                <div class="col-xs-6">
                    <div class="thumbnail " style="padding:0px; border:0px; margin-bottom: 30px;">
                        <div  class="pichend"><a href="{$r['url']}" target="_blank"><img src="{imagecut($r['thumb'],222,150,4)}" class="imgysg animated"></a>
                        </div>
                        <div class="caption" style="color: #26496D; text-align:center; background:#f1f1f1">
                        {$r['title']}
                        </div>
                    </div>
                </div>
                {/loop}
                {/wz}
          	</div>
        </div>
        {/loop}

</div>
</div>

<div class="container">

        <div style="height:6px; background:#AA151B;"></div>
        <div style="background:#efefef;padding:8px 8px 16px 8px;">
            <div style="font-size:14px; font-weight:bold; line-height:2; font-family:inherit; padding-left:5px;">合作伙伴</div>
            {wz:link action="listing" kid="0" pagesize="16" order="sort ASC"}
            {loop $rs $r}
            <a href="{$r['url']}" target="_blank"><img src="{$r['logo']}" width="116" height="41"></a>
            {/loop}
            {/wz}
         </div>
</div>

{T "content","foot",TPLID}
