<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><?php echo $this->movie['title'];?>,<?php echo $this->config['sitename'];?></title>
<meta name="copyright" content="<?php echo $config['domain'];?>" />
<meta name="keywords" content="电影,电影海报,DVD电影,免费电影,电影下载,<?php echo $this->config['sitename'];?>" />
<link href="images/default.css" rel="stylesheet" type="text/css" media="all" />
<link href="images/global.css" rel="stylesheet" type="text/css" media="all" />
<link href="images/color_1.css" rel="stylesheet" type="text/css" media="all" />
<script src="<?php echo $this->basedir;?>js/jquery.js" type="text/javascript"></script>
<script src="<?php echo $this->basedir;?>js/func.js"></script>
<script src="<?php echo $this->basedir;?>js/swf_noclick.js"></script>
</head>
<body>
<!--#include file="header.tpl.php"-->
<div class="place"><span class="left">您所在的位置：<a href="<?php echo $this->config['domain'];?>"  target="_self"><?php echo $this->config['sitename'];?></a><?php echo $this->location;?> >> <?php echo $this->movie['title'];?> 的详细介绍</span></div>
<div id="main">
<div class="list_nav border">
  <?php if($this->category['nodes']>0){?>
  <dl>
    <dt>影片类型</dt>
    <!--{vodcms:rs=channel parentid=".$this->category['id']."}-->
    <dd><a href="<?php echo $rs['link'];?>" title="<?php echo $rs['category'];?>"><?php echo $rs['category'];?></a></dd>
    <!--{/vodcms}-->
  </dl>
  <?php }?>
  <dl>
    <dt>地区分类</dt>
    <?php foreach($this->moviearea as $area){?>
    <dd>
      <?php if($this->keyword != $area){?>
      <a href="<?php echo $this->installdir;?>content/search/type/area/keyword/{#urlencode($area)#}/" title="<?php echo $area;?>"><?php echo $area;?></a>
      <?php }else{?>
      <font class="red"><?php echo $area;?></font>
      <?php }?>
      &nbsp;</dd>
    <?php }?>
  </dl>
  <div id="Nav">
    <ul id="Nav_Tabs">
      <li class="active" id="es"><a target="_self" onclick="return false" urn="tabData_5_1" rel="#default">中文</a></li>
      <li id="cn"><a target="_self" onclick="return false" urn="tabData_5_2" rel="#normal">英文</a></li>
    </ul>
    <p class="wd" id="tabData_5_1"> <?php echo $i; for($i=0;$i<26;$i++){
			if( $keyword == chr($i+65)){
				echo '<a href="'.$this->installdir.'content/search/type/letter/keyword/'.chr($i+65).'/" title="'.chr($i+65).'"><font class="red">'.chr($i+65).'</font></a>';
			}else{
				echo '<a href="'.$this->installdir.'content/search/type/letter/keyword/'.chr($i+65).'/" title="'.chr($i+65).'">'.chr($i+65).'</a>';
			}
		}
	  ?> </p>
  </div>
</div>
<div id="left">
  <div class="top border_blue mar5" id="Top">
    <div class="title"><span class="left">本类电影排行榜</span>
      <ul id="Top_Tabs">
        <li class="active"><a target="_self" urn="movie_new" rel="#default">新</a></li>
        <li><a target="_self" urn="movie_hots" rel="#normal">热</a></li>
      </ul>
    </div>
    <div id="contents">
      <div class="cont" id="movie_new"> {vodcms:rs=display row=10 order=movid classid=$this->category}
        {if $rs['i'] == 1}
        <dl>
          <dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="52" height="72" alt="{#$rs['title']#}" /></a></dt>
          <dd class="tit"><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a>
            </p>
          </dd>
          <dd class="p">{#truncate($rs['content'],30, '...')#}</dd>
        </dl>
        <ul>
          {elseif $rs['i'] < 4 }
          <li><span class="num">{#$rs['i']#}</span>
            <p><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></p>
            <em>{#$rs['date']#}</em></li>
          {else}
          <li><span>{#$rs['i']#}</span>
            <p><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></p>
            <em>{#$rs['date']#}</em></li>
          {/if}
          {/vodcms}
        </ul>
      </div>
      <div class="cont hidden" id="movie_hots"> {vodcms:rs=display row=10 classid=$class order=click }
        {if $rs['i'] == 1}
        <dl>
          <dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="52" height="72" alt="{#$rs['title']#}" /></a></dt>
          <dd class="tit"><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a>
            </p>
          </dd>
          <dd class="p">{#truncate($rs['content'],30, '...')#}</dd>
        </dl>
        <ul>
          {elseif $rs['i'] <4}
          <li><span class="num">{#$rs['i']#}</span>
            <p><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></p>
            <em>{#$rs['click']#}</em></li>
          {else}
          <li><span>{#$rs['i']#}</span>
            <p><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></p>
            <em>{#$rs['click']#}</em></li>
          {/if}
          {/vodcms}
        </ul>
      </div>
    </div>
  </div>
  <div class="rank border_blue mar5">
    <div class="title"><span class="left">最近更新的影片</span><span class="more">更多&raquo;</span></div>
    <ul>
      {vodcms:rs=display row=10 order=movid}
      <li class="blod">
        <p><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></p>
        {#$rs['date']#}</li>
      {/vodcms}
    </ul>
  </div>
  <div class="still border_blue">
    <div class="title"><span class="left">最热门影片</span></div>
    {vodcms:rs=display row=10 order=click}
    {if $rs['i'] ==1}
    <ul class="pic1">
      <li><a href="{#$rs['link']#}"><img width="100" height="50" src="{#$rs['pic']#}" alt="{#$rs['title']#}" />{#$rs['title']#}</a></li>
      {elseif $rs['i'] == 2}
      <li><a href="{#$rs['link']#}"><img width="100" height="50" src="{#$rs['pic']#}" alt="{#$rs['title']#}" />{#$rs['title']#}</a></li>
      {elseif $rs['i'] ==3}
    </ul>
    <ul class="tit_list">
      {else}
      <li class="blod">
        <p><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></p>
        {#$rs['date']#}</li>
      {/if}
      {/vodcms}
    </ul>
  </div>
  <!--ad-->
  <div class="special border_blue">
    <div class="title"><span class="left">工具下载</span><span class="more">更多&raquo;</span></div>
    {vodcms:rs=soft order=id}
    <div align="center"><a href="<?php echo $rs['link'];?>" target="_blank"><img src="<?php echo $rs['picture'];?>" width="160" height="44" border="0" alt="<?php echo $rs['softname'];?>" /></a></div>
    {/vodcms}
    </ul>
  </div>
</div>
<div id="right">
  <div id="display">
    <div id="intro" class="border_blue">
      <div class="title"><span class="left">影片详细资料</span></div>
      <div class="pic"><img src="{#$this->movie['pic']#}" width="230" height="322" /></div>
      <div class="text">
        <li><span class="h18">《{#$this->movie['title']#}》</span></li>
        <ul>
          <?php if ($this->movie['director']){?>
          <li>[导演]:{#$this->movie['director']#}</li>
          <?php }?>
          <?php if ($this->movie['actor']){?>
          <li>[主演]:{#$this->movie['actor']#}</li>
          <?php }?>
          <li>[分类]:{#$this->movie['class']#}</li>
          <?php
            if ($this->movie['area']){?>
          <li>[地区]:{#$this->movie['area']#}</li>
          <?php
            }?>
          <li>[点播权]:{#$this->movie['lookgroup']#}</li>
          <?php if ($this->movie['lookpoint']){?>
          <li>[点播扣点]:<span class="red">{#$this->movie['lookpoint']#}</span></li>
          <?php }?>
          <li>[下载权]:{#$this->movie['downgroup']#}</li>
          <?php if ($this->movie['lookpoint']){?>
          <li>[下载扣点]:<span class="red">{#$this->movie['downpoint']#}</span></li>
          <?php }?>
          <li>[人气]:<span class="red">{#$this->movie['click']#}</span></li>
          <li>[评论]:<span class="red">{#$this->movie['review']#}</span></li>
          <li><a href="javascript:feedback(<?php echo $this->movie['movid'];?>);">我要报告错误</a></li>
        </ul>
      </div>
    </div>
    <div style="height:10px"></div>
    <div class="right_c">
      <div class="down_cont" id="ContDown">
        <div class="title1">
          <ul id="Play_Tabs">
            <li class="active" id="b"><a target="_self" rel="#default">在线点播</a
            >
          </ul>
        </div>
        <div class="cont " id="play">
          <iframe src="<?php echo $this->installdir;?>content/frameurl/movid/{#$this->movie['movid']#}/" width="710" id="vodcms_player" frameborder="0"></iframe>
        </div>
      </div>
      <div class="right_c">
        <div class="down_cont" id="ContDown">
          <div class="title1">
            <ul id="content_tabs">
              <li id="b"><a urn="comment">影片评论( <font class="red"> {#$this->movie['review']#} </font>)</a></li>
              <li id="b"><a urn="movie_like">相关影片</a></li>
              <li id="verycdc" class="active"><a urn="movie_intro">影片介绍</a></li>
            </ul>
          </div>
          <div id="display_div">
            <div class="cont content" id="movie_intro"><?php echo htmlspecialchars_decode($this->movie['content']);?></div>
            <div class="movie_like hidden" id="movie_like">
              <dl>
                {vodcms:rs=display row=12 classid=$this->classid order=movid}
                <dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="98" height="140" alt="{#$rs['title']#}" />{#truncate($rs['title'],5)#}</a></dt>
                {/vodcms}
              </dl>
            </div>
            <div class="comments" id="comment"> {if $this->config['pl'] == 1}
              <iframe src="<?php echo $this->installdir;?>content/comment/movid/<?php echo $this->movie['movid'];?>/" frameborder="0" id="cm" width="700" height="400"></iframe>
              {else}
              系统关闭评论
              {/if} </div>
          </div>
        </div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<!--#include file="bottom.tpl.php"-->
<script>
$(document).ready(function(){
	$('#content_tabs >li').click(
		function(){
			$('#content_tabs >li').removeClass();
			this.className='active';
			tag = this.firstChild.getAttribute('urn');
			$('#display_div >div').hide();
			document.getElementById(tag).style.display = 'block';
		}
	)
	$('#Top_Tabs >li').mousemove(
		function(){
			$('#Top_Tabs >li').removeClass();
			this.className='active';
			cid = this.firstChild.getAttribute('urn');
			$('#contents >div').addClass('hidden');
			$('#'+cid+'').removeClass('hidden');
		}
	)
	
})
</script>
</body>
</html>
