<?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">
            <h3 class="title">{$vod['name']}</h3>
            <div class="v_desc">
                <div class="v_image_b">
                    <img src="{__UPLOAD_URL__}{$vod['cover']}" alt="{$vod['name']}"/>
                </div>
                <dl class="v_prop">
                    <div class="ad_7">
                        <!--{if !empty($ads[7])}-->
                            <!--{foreach $ads[7] $k $v}-->
                                <!--{if $v['ctype'] == '3'}-->
                         <script src="{$v['desc']}"></script>
                                <!--{else}-->
                         <!--{$v['desc']|html}-->
                                <!--{/if}-->
                            <!--{/foreach}-->
                        <!--{/if}-->
                    </div>
                    <dd>
                        <span class="gray">片名 : <b>{$vod['name']}</b></span>
                    </dd>
                    <dd>
                        <span class="gray">状态 : </span>
                        {$vstatus[$vod['status']]}
                    </dd>
                    <dd>
                        <span class="gray">年份 :</span> 
                        {$vod['release']} 年
                    </dd>
                    <dd>
                        <span class="gray">更新 : </span>
                        {:date('Y-m-d H:i' , $vod['udate'])}
                    </dd>
                    <dd>
                        <span class="gray">类别 : </span>
                        
                        <a href="{url:'@%s' , $cat['sname']}" title="{$cat['name']}在线播放">{$cat['name']}</a>
                    </dd>
                    <dd>
                        <span class="gray">地区 : </span>
                        <a href="{url:'@%s' , $region[$vod['region']]['sname']}" title="{$region[$vod['region']]['name']}电影">{$region[$vod['region']]['name']}</a>
                    </dd>
                    <dd>
                        <span class="gray">主演 : </span>
                        {if isset($sconf['utype']) && $sconf['utype']}
                            {foreach $vod['actor'] $ak $av}
                                <a href="{url:'@actor-%s' , $av}" title="{$av}主演的电影">{$av}</a>
                            {/foreach}
                        {else}
                            {foreach $vod['actor'] $ak $av}
                                <a href="{url:'@actor-%s' , $av['id']}" title="{$av['name']}主演的电影">{$av['name']}</a>
                            {/foreach}
                        {/if}
                    </dd>
                    <dd>
                        <span class="gray">导演 : </span>
                        {if isset($sconf['utype']) && $sconf['utype']}
                            {foreach $vod['director'] $ak $av}
                                <a href="{url:'@dir-%s' , $av}" title="{$av}导演的电影">{$av}</a>
                            {/foreach}
                        {else}
                            {foreach $vod['director'] $ak $av}
                                <a href="{url:'@dir-%s' , $av['id']}" title="{$av['name']}导演的电影">{$av['name']}</a>
                            {/foreach}
                        {/if}
                    </dd>
                </dl>
                <br class="clear"/>
                {foreach $players $k $v}
                    {if isset($vod['player'][$k])}
                <div class="player_wapper">
                    <h3>[&nbsp;{$v['name']}&nbsp;]&nbsp;{if $k == 'thunder' || $k == 'qqdl' || $k == 'Flashget'}高速下载{else}在线播放{/if}列表</h3>
                    <div class="drama_list">
                    {if $k === 'default'}
                        {foreach $vod['player'][$k] $pk $pv}
                            <a href="{url:('@player-%s__%s' , $vod['sname'] , $pv['playid'])}" target="_blank" title="{$vod['name']}{$pv['name']}{$v['name']}在线播放" class="drama_btn">{$pv['name']}</a>
                        {/foreach}
                    {elseif $k == 'thunder' || $k == 'qqdl' || $k == 'Flashget'}
                        {foreach $vod['player'][$k] $pk $pv}
                            <a href="{$pv['url']}" target="_blank" title="{$vod['name']}{$pv['name']}{$v['name']}高速下载" class=" drama_btn">{$pv['name']}</a>
                        {/foreach}
                    {else}
                        {foreach $vod['player'][$k] $pk $pv}
                            <a href="{url:('@player-%s__%s' , $vod['sname'] , $pv['playid'])}" target="_blank" title="{$vod['name']}{$pv['name']}{$v['name']}在线播放" class="drama_btn">{$pv['name']}</a>
                        {/foreach}
                    {/if}
                        <br class="clear" />
                    </div>
                    <div class="clear"></div>
                </div>
                    {/if}
                {/foreach}
                <br class="clear"/>
                <div class="player_wapper">
                    <h3>[&nbsp;{$vod['name']}&nbsp;]&nbsp;剧情介绍</h3>
                    <p class="v_info">
                        {$vod['info']}...
                    </p>
                    <h4>用户评论</h4>
                    {if empty($vod['reply'])}
                        <p class="reply_p reply_author">
                            暂无评论
                        </p>
                    {/if}
                    {foreach $vod['reply'] $k $v}
                    <p class="reply_p reply_author">
                        {$v['nick']} <span class="reply_date">{:date('m-d')}</span>
                    </p>
                    <p class="reply_p reply_desc">
                        {$v['desc']}
                    </p>
                    {/foreach}
                    <br class="clear"/>
                </div>
            </div>
           <div class="clear"></div>
            <!--{if !empty($actorvod)}-->
            <!--{foreach $actorvod $ak $av}-->
           <h3 class="title">{$av[0]}主演的电影
            <span class="more more_act">
                <a href="{url:'@actor-%s' , $av[0]}">&gt;&gt;更多{$av[0]}主演的电影</a></span>
           </h3>
           <div class="v_hot">
           <!--{foreach $av[1] $k $v}-->
                <div class="v_hot_block">
                    <div class="v_image">
                        <a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" target="_blank"><img  src="{__UPLOAD_URL__}{$v['cover']|thumb}" alt="{$v['name']}"/></a>
                    </div>
                    <p><a href="{url:'@view-%s' , $v['sname']}" title="{$av[0]}主演的{$v['key']}" target="_blank">{$v['name']|10}</a></p>
                </div>
            <!--{/foreach}-->
                <br class="clear"/>
            </div>
                <br class="clear"/>
            <!--{/foreach}-->
            <!--{/if}-->
           <h3 class="title">热播影片</h3>
           <div class="v_hot">
           <!--{foreach $hotlist $k $v}-->
                <div class="v_hot_block">
                    <div class="v_image">
                        <a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" target="_blank"><img  src="{__UPLOAD_URL__}{$v['cover']|thumb}" alt="{$v['name']}"/></a>
                    </div>
                    <p><a href="{url:'@view-%s' , $v['sname']}" title="{$v['key']}" target="_blank">{$v['name']|10}</a></p>
                </div>
            <!--{/foreach}-->
                <div class="clear"></div>
            </div>

            <div class="ad_8">
                <!--{if !empty($ads[8])}-->
                    <!--{foreach $ads[8] $k $v}-->
                        <!--{if $v['ctype'] == '3'}-->
                 <script src="{$v['desc']}"></script>
                        <!--{else}-->
                 <!--{$v['desc']|html}-->
                        <!--{/if}-->
                    <!--{/foreach}-->
                <!--{/if}-->
            </div>
            <!--{include common/footer.php}-->
        </div>
    </div>
    <div class="clear"></div>
</body>
</html>