<!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->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 id="main">
<div class="place"><span class="left">您所在的位置：<a href="/" title="{#$config['sitename']#}" target="_self">{#$config['sitename']#}</a> &#8250;&#8250; 首页</span>
<ul id="contain">
</ul>
</div>
<div class="box">
<div class="bigflash" id="flashbanner">
<!--flash幻灯片-->
<script src="<?php echo $this->installdir;?>index/flash/size/450X260/"></script>
<!--end-->
</div>

<div class="hot">
<div class="hot_title"><span class="left">最新推荐</span> <span class="right"><b>站点公告</b>&nbsp;</span></div>

<div class="cont">
{vodcms:rs=display row=4 recommend=3 order=movid}
{if $rs['i'] == 1}
<div class="pic_tit">
<h1><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="140" alt="{#$rs['title']#}" />{#$rs['title']#}</a></h1>
<div> <span class="left">[人气]：{#$rs['click']#}</span></div>

<p>{#truncate($rs['content'], 50,'...')#}</p>
</div>
<ul class="pic">
{else}
<li><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="100" height="50" alt="{#$rs['title']#}" />{#$rs['title']#}</a></li>
{/if}
{/vodcms}
</ul>
<ul class="tit">
<script language="javascript" src="<?php echo $this->basedir;?>js/note.js"></script>
</ul>
</div>
</div>
</div><div class="box">
<div class="sort">
<div class="sort_c">
<dl>
<dt>□ 影片分类：</dt>
{vodcms:rs=channel nodes=true}
<dd><a href="{#$rs['link']#}" title="{#$rs['class']#}">{#$rs['class']#}</a></dd>
{/vodcms}
<dt>□ 地区分类：</dt>
<?php
foreach ((array)$this->moviearea as $area){?>
<dd><a href="<?php echo $this->installdir;?>}content/search/area/{#urlencode($area)#}/" title="{#$area#}">{#$area#}</a></dd>
<?php }?>
</dl>
</div>
</div>
<div class="new" id="New">
<div class="new_title"><span></span>
<ul id="New_Tabs">
{vodcms:rs=channel parentid=0 rows=4}
{if $rs['i'] == 1}
<li class="active"><a target="_self" urn="tabData_{#$rs['classid']#}" rel="#normal">{#$rs['class']#}</a></li>
{else}
<li class=""><a target="_self" urn="tabData_{#$rs['classid']#}" rel="#normal">{#$rs['class']#}</a></li>
{/if}
{/vodcms}
<li class=""><a target="_self" urn="tabData" rel="#default">连载区</a></li>
</ul>
</div>
<!--全部-->
<div id="tabDate_content">
<div class="cont hidden" id="tabData">
{vodcms:rs=display rows=4 serialise=1 order=movid }
<dl>
<dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="100" height="140" alt="{#$rs['title']#}" />{#$rs['title']#}</a></dt>
<dd class="p">{#truncate($rs['content'],30,'...')#}</dd>
</dl>{/vodcms}

</div>
<!--全部-end-->
{vodcms:rs1=channel parentid=0 rows=4}
{if $rs1['i'] == 1}
<div class="cont" id="tabData_{#$rs1['classid']#}">
{else}
<div class="cont hidden" id="tabData_{#$rs1['classid']#}">
{/if}
{vodcms:rs=display rows=4 classid=".$rs1['classid']." recommend=1 order=movid}
<dl>
<dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="100" height="140" alt="{#$rs['title']#}" />{#$rs['title']#}</a></dt>
<dd class="p">{#truncate($rs['content'],30,'...')#}</dd>
</dl>{/vodcms}
</div>
{/vodcms}
</div>
</div>
<div class="top border_blue ht298" id="Top">
<div class="title"><span class="left">影视排行榜</span>
<ul id="Top_Tabs">
<li class="active"><a target="_self" urn="tabData_2_1" rel="#default">周</a></li>
<li><a target="_self" urn="tabData_2_2" rel="#normal">月</a></li>
<li><a target="_self" urn="tabData_2_3" rel="#normal">总</a></li>
</ul>
</div>

<div class="cont" id="tabData_2_3">
{vodcms:rs=display rows=8 order=click}
{if $rs['i'] == 1}
<dl>
<dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="50" height="70" alt="{#$rs['title']#}" /></a></dt>
<dd class="tit"><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></dd>
<dd class="p">
{#truncate($rs['content'],40,'..')#}</dd>
</dl>
<ul>
{else}
<li><span class="num">{#$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>
<!--ad-->
{vodcms:rss=channel parentid=0 rows=4}
<div class="box">
<div class="tv border">
<div class="title"><span class="left">{#$rss['class']#}</span><span class="more"><a href="{#$rss['link']#}">更多&raquo;</a></span></div>
<div class="cont">
<div class="movie_left">
  <div class="movie_2 right"> {vodcms:rs=display start=1 row=1 classid=".$rss['classid']." order=movid}
    <dl>
      <dt><a href="{#$rs['link']#}"><img src="{#$rs['pic']#}" width="140" height="190" alt="" /></a></dt>
      <dd class="h4"><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></dd>
      <dd>[类型]：{#$rs['class']#} </dd>
      <dd>[导演]：{#$rs['director']#}</dd>
      <dd>[主演]：{#$rs['actor']#}</dd>
      <dd>[地区]：{#$rs['area']#}</dd>
      <dd class="p">{#truncate($rs['content'],50,'...')#}</dd>
      <dd>
        <ul class="down_movie">
          <li><a href="{#$rs['link']#}" title="点播">点播</a></li>
          <li><a href="{#$rs['link']#}" title="剧情">剧情</a></li>
          <li class="down"><a href="{#$rs['link']#}" title="下载">下载</a></li>
        </ul>
      </dd>
    </dl>
    {/vodcms} </div>
  <p class="teleplay_tit">
  {vodcms:rs=display start=0 row=6 classid=".$rss['classid']." order=click}
    {if $rs['i'] == 1} <strong>热门{#$rss['class']#}：</strong> <a href="{#$rs['link']#}" title="{#$rs['title']#}"><?php echo truncate($rs['title'],6);?></a> {else} <a href="{#$rs['link']#}" title="{#$rs['title']#}"><?php echo truncate($rs['title'],6);?></a> {/if}
    {/vodcms} </p>
</div>
<div class="movie_right">
<div class="tv_box">
{vodcms:rs=display start=0 row=6 classid=".$rss['classid']." order=movid}
{if $rs['i'] % 2 == 1}
<dl class="left">
{else}
<dl class="right">
  {/if}
  <dt><a href="{#$rs['link']#}"><img width="50" height="70" src="{#$rs['pic']#}" alt="{#$rs['title']#}" /></a></dt>
  <dd class="h4"><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></dd>
  <dd class="p">{#truncate($rs['content'], 20)#}</dd>
  <dd><span class="left"><a href="{#$rs['link']#}" title="剧情">剧情</a></span> <span class="right_d"><a href="{#$rs['link']#}" title="下载">下载</a></span></dd>
</dl>
{/vodcms}
</div>
</div>
</div>
</div>
<div class="top border_blue ht297" id="Top1">
  <div class="title"><span class="left">{#$rss['class']#}推荐</span>
  </div>
  <div class="cont" id="tabData_4_1">
    <ul class="pd">
	{vodcms:rs=display start=0 row=10 classid=".$rss['classid']." order=movid}
      <li><span class="num">{#$rs['i']#}</span>
        <p><a href="{#$rs['link']#}" title="{#$rs['title']#}">{#$rs['title']#}</a></p>
        <em>{#$rs['date']#}</em></li>
	{/vodcms}
    </ul>
  </div>
</div>
<div class="clear"></div>
</div>
{/vodcms}
<!--ad -->

<div class="links">
<div class="title"> <span class="tit">友情链接</span><span class="more"><a href="#" title="">更多 &#8250;&#8250;</a></span>
</div>
<ul class="links_pic">
{vodcms:rs=flink}
	<li><a href="{#$rs['url']#}" target="_blank"><img src="<?php echo $rs['logo'];?>" alt="{#$rs['description']#}" /></a></li>
{/vodcms}</ul>
</div>
</div>
<!--#include file="bottom.tpl.php"-->
<script>
$(document).ready(function(){
	$('#New_Tabs >li').mousemove(
		function(){
			$('#New_Tabs >li').removeClass();
			this.className='active';
			cid = this.firstChild.getAttribute('urn');
			$('#tabDate_content >div').addClass('hidden');
			$('#'+cid+'').removeClass('hidden');
		}
	)
	$('#Sort_Tabs >li').mousemove(
		function(){
			$('#Sort_Tabs >li').removeClass();
			this.className='active';
			cid = this.firstChild.getAttribute('urn');
			$('#tabData_content_1 >div').addClass('hidden');
			$('#'+cid+'').removeClass('hidden');
		}
	)
	$('#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>