<?php !defined('IN_REGINX') && die('Access Denied'); ?>
<!--{include common/header.php}-->
<body>
    <!--{include common/topbar.php}-->

    <div id="wapper">
        <!--{include common/searchbar.php}-->
        <div id="main"  class="common">
            <h2 class="title">最近更新</h2>
            <!--{if empty($nlist)}-->
                <p class="empty">暂无</p>
            <!--{/if}-->
            <!--{foreach $nlist $k $v}-->
            <div class="v_block">
                <div class="v_image"><a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" class="v_link" target="_blank"><img  src="{__UPLOAD_URL__}{$v['cover']|thumb}" alt="{$v['name']}"/></a></div>
                <div><a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" class="v_link" target="_blank">{$v['name']|10}</a></div>
                <p>
                    {$v['desc']|52}...
                </p>
                <a href="{url:('@player-%s__%s' , $v['sname'] , 0)}" target="_blank" class="btn play" title="{$v['name']}">播放</a>
            </div>
            <!--{/foreach}-->
            <div class="clear"></div>

            <div class="ad_2">
            <!--{if !empty($ads[2])}-->
                <!--{foreach $ads[2] $k $v}-->
                    <!--{if $v['ctype'] == '3'}-->
             <script src="{$v['desc']}"></script>
                    <!--{else}-->
             <!--{$v['desc']|html}-->
                    <!--{/if}-->
                <!--{/foreach}-->
            <!--{/if}-->
            </div>
            <h2 class="title">最新电影
                <div class="sub_cat">
                        <a href="{url:'@%s' , 'movie'}">&gt;&gt;更多</a>
                    <!--{foreach $mvcat['scat'] $k $v}-->
                        <!--{if $v['sname'] != 'movie'}-->
                        <a href="{url:'@%s' , $v['sname']}">{$v['name']}</a>
                        <!--{/if}-->
                    <!--{/foreach}-->
                </div>
            </h2>
            <!--{if empty($mvs)}-->
                <p class="empty">暂无</p>
            <!--{/if}-->

            <!--{foreach $mvs $k $v}-->
            <div class="v_block">
                <div class="v_image"><a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" class="v_link" target="_blank"><img  src="{__UPLOAD_URL__}{$v['cover']|thumb}" alt="{$v['name']}"/></a></div>
                <div><a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" class="v_link" target="_blank">{$v['name']|10}</a></div>
                <p>
                    {$v['desc']|52}...
                </p>
                <a href="{url:('@player-%s__%s' , $v['sname'] , 0)}" target="_blank" class="btn play" title="{$v['name']}">播放</a>
            </div>
            <!--{/foreach}-->
            <div class="clear"></div>
            <div class="ad_3">
            <!--{if !empty($ads[3])}-->
                <!--{foreach $ads[3] $k $v}-->
                    <!--{if $v['ctype'] == '3'}-->
             <script src="{$v['desc']}"></script>
                    <!--{else}-->
             <!--{$v['desc']|html}-->
                    <!--{/if}-->
                <!--{/foreach}-->
            <!--{/if}-->
            </div>
            <h2 class="title">最新电视剧
                <div class="sub_cat">
                        <a href="{url:'@%s' , 'tv'}">&gt;&gt;更多</a>
                    <!--{foreach $tvcat['scat'] $k $v}-->
                        <!--{if $v['sname'] != 'tv'}-->
                        <a href="{url:'@%s' , $v['sname']}">{$v['name']}</a>
                        <!--{/if}-->
                    <!--{/foreach}-->
                </div>
            </h2>

            <!--{if empty($tvs)}-->
                <p class="empty">暂无</p>
            <!--{/if}-->

            <!--{foreach $tvs $k $v}-->
            <div class="v_block">
                <div class="v_image"><a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" class="v_link" target="_blank"><img  src="{__UPLOAD_URL__}{$v['cover']|thumb}" alt="{$v['name']}"/></a></div>
                <div><a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" class="v_link" target="_blank">{$v['name']|10}</a></div>
                <p>
                    {$v['desc']|52}...
                </p>
                <a href="{url:('@player-%s__%s' , $v['sname'] , 0)}" target="_blank" class="btn play" title="{$v['name']}">播放</a>
            </div>
            <!--{/foreach}-->
            <div class="clear"></div>

            <div class="ad_4">
            <!--{if !empty($ads[4])}-->
                <!--{foreach $ads[4] $k $v}-->
                    <!--{if $v['ctype'] == '3'}-->
             <script src="{$v['desc']}"></script>
                    <!--{else}-->
             <!--{$v['desc']|html}-->
                    <!--{/if}-->
                <!--{/foreach}-->
            <!--{/if}-->
            </div>

            <h2 class="title">友情链接</h3>
            <ul class="footer_list">
                <!--{if empty($link)}-->
                    <li class="empty">暂无</li>
                <!--{/if}-->
                <!--{foreach $link $k $v}-->
                <!--{if !empty($v['logo'])}-->
                <li><a href="{$v['url']}" target="_blank" title="{$v['name']}"><img class="link_image" src="{__UPLOAD_URL__}{$v['logo']|thumb}"/></a></li>
                <!--{else}-->
                <li><a href="{$v['url']}" target="_blank" title="{$v['name']}">{$v['name']}</a></li>
                <!--{/if}-->
                <!--{/foreach}-->
                <div class="clear "></div>
            </ul>
            <!--{include common/footer.php}-->
        </div>
    </div>
    <div class="clear"></div>
</body>
</html>