<!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->class;?>,<?php echo $this->config['sitename'];?></title>
<meta name="copyright" content="<?php echo $config['domain'];?>" />
<meta name="keywords" content="电影,电影海报,DVD电影,免费电影,电影下载,<?php echo $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="{#$installdir#}" title="{#$config['sitename']#}" target="_self"><?php echo $this->config['sitename'];?></a> >> <?php echo $this->location;?></span><span class="right"> </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['classid']}
          {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=$this->category['classid'] 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>
          <span>{#$rs['date']#}</span></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>
          <span>{#$rs['date']#}</span></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 class="list_fond"><span><strong><?php echo $this->class;?></strong></span>
      <ul class="list_top">
        <?php if($_GET['orderby'] =='click'){?>
        <li class="active"><a href="javascript:orderby('click');">人气<font>↓</font></a></li>
        <?php }else{?>
        <li><a href="javascript:orderby('click');">人气</a></li>
        <?php }?>
        <?php if($_GET['orderby'] =='movid'){?>
        <li class="active"><a href="javascript:orderby('movid');">最新<font>↓</font></a></li>
        <?php }else{?>
        <li><a href="javascript:orderby('movid');">最新</a></li>
        <?php }?>
        <?php if($_GET['orderby'] =='publish'){?>
        <li class="active"><a href="javascript:orderby('publish');" target="_self">上映<font>↓</font></a></li>
        <?php }else{?>
        <li><a href="javascript:orderby('publish');" target="_self">上映</a></li>
        <?php }?>
      </ul>
    </div>
    <div class="list">
      <ul>
        <!-- {vodcms:rs=display rows=all classid=$this->classid showpage=true} -->
        <li>
          <dl>
            <dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="136" height="176" alt="{#$rs['title']#}" /></a></dt>
            <dd class="h4"><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></dd>
            <dd><span class="name">[类型]：</span>{#$rs['class']#}</span></dd>
            <dd><span class="name">[导演]：</span><span class="gray">{#$rs['director']#}</span></dd>
            <dd><span class="name">[主演]：</span>
              <p>{#truncate($rs['actor'],30)#}</p>
            </dd>
            <dd><span class="name">[地区]：</span><span class="gray">{#$rs['area']#}</span></dd>
            <dd class="list_pos"><span class="list_down"><a href="{#$rs['link']#}" title="海报">海报</a></span><span class="list_down"><a href="{#$rs['link']#}" title="剧照">剧照</a></span><span class="list_down"><a href="{#$rs['link']#}" title="剧情">剧情</a></span><span class="list_active"><a href="{#$rs['link']#}" title="下载">下载</a></span></dd>
            <dd><span class="name">[点播权]：</span>{#$rs['lookgroup']#}</dd>
          </dl>
        </li>
        {/vodcms}
      </ul>
    </div>
    <div style="height:10px;"></div>
    <!--{printpage}--></div>
  <div class="clear"></div>
</div>
<!--#include file="bottom.tpl.php"-->
<script>
$(document).ready(function(){
	$('#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>