<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><?php echo $this->config['sitename'];?></title>
<link rel="stylesheet" type="text/css" href="images/global.css">
<link rel="stylesheet" type="text/css" href="images/index.css">
<link rel="stylesheet" type="text/css" href="images/movie.css">
<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>
<script language="javascript">
$(document).ready(function(){
        $("#scrollDiv").Scroll({line:1,speed:500,timer:2000,up:"btn1",down:"btn2"});
});
</script>
</head>
<body>
<!--#include file="header.tpl.php"-->
<script type="text/javascript">
$(document).ready(function() {
    // Initialise the table
	//showBest();
	var obj = document.getElementById('firstbest').rows.item(0).cells;
	$(obj).each(function() {
			$(this).click(function(){showBest(this)});
	});
	showBest(document.getElementById('lianzai'));	//初始化默认推荐影片为连载区
});
function showBest(o){	//显示区域
	//return false;
	var obj = document.getElementById('firstbest').rows.item(0).cells;
	for(i=0;i<obj.length;i++){
		obj[i].className = '';
	}
	o.className = 'firstbested';
	$('#best_data').html(o.lastChild.innerHTML);
}
</script>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="279" valign="top"><table width="100%" border="0" height="210" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="background:url(images/index/index_01.jpg); height:5px; width:5px;"></td>
                <td style=" background:url(images/index/index_05.jpg); width:269px;"></td>
                <td style="background:url(images/index/index_02.jpg); height:5px; width:5px;"></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td class="in_01"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td valign="middle" class="in_02a"><span class="in_font">影片分类</span> </td>
              </tr>
              <tr>
                <td valign="middle" class="in_02b"> {vodcms:rs=channel nodes=0 start=0 row=8} <a href="<?php echo $rs['link'];?>"><?php echo $rs['category'];?></a>&nbsp; 
                  {/vodcms} </td>
              </tr>
              <tr>
                <td valign="middle" class="in_02a"> {vodcms:rs=channel nodes=0 start=8 row=8} <a href="<?php echo $rs['link'];?>"><?php echo $rs['category'];?></a>&nbsp; 
                  {/vodcms} </td>
              </tr>
              <tr>
                <td valign="middle" class="in_02b"> {vodcms:rs=channel nodes=0 start=16 row=8} <a href="<?php echo $rs['link'];?>"><?php echo $rs['category'];?></a>&nbsp; 
                  {/vodcms} </td>
              </tr>
              <tr>
                <td valign="middle" class="in_02a"><span class="in_font">地区分类</span></td>
              </tr>
              <tr>
                <td valign="middle" class="in_02b"><!-- {loop $this->moviearea $area} -->
                  <a href="<?php echo $this->installdir;?>content/search/type/area/keyword/<?php echo $area;?>/"><?php echo $area;?></a>&nbsp;
                  <!-- {/loop} --></td>
              </tr>
              <tr>
                <td valign="middle" class="in_02a"><span class="in_font">拼音</span>
                  <?php for($i=65;$i<77;$i++){?>
                  <a href="<?php echo $this->installdir;?>content/search/type/area/keyword/<?php echo chr($i);?>/"><?php echo chr($i);?></a> &nbsp;
                  <?php }?></td>
              </tr>
              <tr>
                <td valign="middle" class="in_02b"><?php for($i=77;$i<91;$i++){?>
                  <a href="<?php echo $this->installdir;?>content/search/type/area/keyword/<?php echo chr($i);?>/"><?php echo chr($i);?></a> &nbsp;
                  <?php }?></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="background:url(images/index/index_03.jpg); height:5px; width:5px;"></td>
                <td style=" background:url(images/index/index_06.jpg); width:269px;"></td>
                <td style="background:url(images/index/index_04.jpg); height:5px; width:5px;"></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td width="10"></td>
    <td width="470" valign="top" height="210"><div style="border:1px solid #999999; width:470px;" id="flashbanner"><script src="<?php echo $this->installdir;?>index/flash/size/470X208/"></script></div></td>
    <td width="10"></td>
    <td width="191" valign="top"><!--login--><iframe scrolling="no" src="<?php echo $this->installdir;?>member/login/" width="190" height="220" frameborder="0"></iframe></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="290">
        <tr>
          <td height="22" valign="bottom" background="images/index/index_08.jpg" style=" padding-left:39px;"><table width="25%" height="22" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td>近期热播</td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td class="in_05" valign="top"><table width="93%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> {vodcms:rs=display row=3 order=addtime}
                      <td colspan="2" align="left" valign="top"><table width="17%" border="0" cellpadding="2" cellspacing="2">
                          <tr>
                            <td><a href="<?php echo $rs['link'];?>"><img src="<?php echo $rs['pic'];?>" width="72" height="101" class="in_06" alt="<?php echo $rs['title'];?>" /></a></td>
                          </tr>
                          <tr>
                            <td><span class="in_06_font"><a href="<?php echo $rs['link'];?>"><?php echo truncate($rs['title'],5);?></a></span></td>
                          </tr>
                          <tr>
                            <td><span class="in_06_font1">影评： <?php echo (int)$rs['view'];?></span></td>
                          </tr>
                          <tr>
                            <td><img src="images/index/index_08_x.jpg" width="9" height="9" /><img src="images/index/index_08_x.jpg" width="9" height="9" /><img src="images/index/index_08_x.jpg" width="9" height="9" /><img src="images/index/index_08_x.jpg" width="9" height="9" /></td>
                          </tr>
                        </table></td>
                      {/rs:vodcms} </tr>
                  </table></td>
              </tr>
              <tr>
                <td height="5"></td>
              </tr>
              <!--{vodcms:rs1=channel row=3 nodes=0}-->
              <tr>
                <td height="22" class="in_07">〖<a href="<?php echo $rs1['link'];?>"><?php echo $rs1['category'];?></a>〗&nbsp;&nbsp;
                  <!--{vodcms:rs=display row=3 nodes=0 classid=".$rs1['id']." }-->
                  <a href="<?php echo $rs['link'];?>" title="<?php echo $rs['title'];?>"><?php echo truncate($rs['title'], 4);?></a>&nbsp;
                  <!--{/vodcms}--></td>
              </tr>
              <!--{/vodcms}-->
            </table></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="3" height="3"><img src="images/index/index_08_01.jpg" width="3" height="3" /></td>
                <td style="background:url(images/index/index_08_02.jpg); height:3px;"><img src="images/index/index_08_02.jpg" width="2" height="3" /></td>
                <td width="3"><img src="images/index/index_08_03.jpg" width="3" height="3" /></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td valign="top"></td>
    <td valign="top"><table width="472" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="27" align="right" valign="bottom" style="background-image:url(images/index/index_09.jpg); background-repeat:no-repeat">
		  <table height="24" border="0" cellpadding="0" cellspacing="0" id="firstbest">
              <tr> {vodcms:rs1=channel row=4 parentid=0}
                <td width="63" align="center"><a style="cursor:pointer"><?php echo $rs1['category'];?></a>
                  <div class="none">
                    <!--新片推荐-->
                    <table>
                      <tr> {vodcms:rs=display classid=".$rs1['id']." row=4 parentid=0}
                        <td><table width="15%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="246" align="center"><a href="<?php echo $rs['link'];?>"><img class="in_06" src="<?php echo $rs['pic'];?>" width="100" height="140" border="0" /></a></td>
                            </tr>
                            <tr>
                              <td height="25" align="center" class="in_08"><a href="<?php echo $rs['link'];?>" title="<?php echo $rs['title'];?>"><?php echo truncate($rs['title'],7);?></a></td>
                            </tr>
                            <tr>
                              <td valign="top" class="in_09">&nbsp;&nbsp;&nbsp;<?php echo truncate($rs['content'], 20 , '...');?></td>
                            </tr>
                          </table></td>
                        {/rs:vodcms} </tr>
                    </table>
                    <!--新片推荐结束-->
                  </div></td>
                {/rs1:vodcms}
                <td align="center" width="63" class="firstbested" id="lianzai"><a style="cursor:pointer">连载区</a>
                  <div class="none">
                    <table>
                      <tr> {vodcms:rs=display row=4 parentid=0 serialise=1 order=modifytime}
                        <td valign="top"><table width="15%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="246" align="center"><a href="<?php echo $rs['link'];?>"><img class="in_06" src="<?php echo $rs['pic'];?>" width="100" height="140" border="0" /></a></td>
                            </tr>
                            <tr>
                              <td height="25" align="center" class="in_08"><a href="<?php echo $rs['link'];?>" title="<?php echo $rs['title'];?>
							  "><?php echo truncate($rs['title'],8);?></a></td>
                            </tr>
                            <tr>
                              <td valign="top" class="in_09">&nbsp;&nbsp;&nbsp;<?php echo truncate($rs['content'], 20 , '...');?></td>
                            </tr>
                          </table></td>
                        {/rs:vodcms} </tr>
                    </table>
                  </div></td>
                <td width="10" align="center">&nbsp;</td>
              </tr>
            </table></td>

        </tr>
        <tr>
          <td class="in_05"><div  id="best_data"> </div></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="3" height="3"><img src="images/index/index_08_01.jpg" width="3" height="3" /></td>
                <td style="background:url(images/index/index_08_02.jpg); height:3px;"><img src="images/index/index_08_02.jpg" width="2" height="3" /></td>
                <td width="3"><img src="images/index/index_08_03.jpg" width="3" height="3" /></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td valign="top"></td>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="270">
        <tr>
          <td height="27" background="images/index/index_10.jpg"><table width="100%" height="23" border="0" cellpadding="0" cellspacing="0"  >
              <tr>
                <td width="50%" align="center" class="in_06_font_01">影视排行榜</td>
                <td width="50%" valign="top"><table width="60" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" bgcolor="#F1F1F1">总排行</td>
                    </tr>
                  </table></td>
              </tr>
          </table></td>
        </tr>
        {vodcms:rs=display row=7 order=click}
        {if $rs['i'] == 1}
        <tr>
          <td class="in_05" valign="top"><table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="86" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="50" height="70" align="center" ><a href="<?php echo $rs['link'];?>"><img class="in_06" src="<?php echo $rs['pic'];?>" width="50" height="70" border="0" alt="<?php echo $rs['title'];?>" /></a></td>
                      <td width="10">&nbsp;</td>
                      <td width="110" valign="top"><span class="in_10"><a href="<?php echo $rs['link'];?>" title="<?php echo $rs['title'];?>"><?php echo truncate($rs['title'],6,'...');?></a></span><br />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo truncate($rs['content'],20,'...');?></td>
                    </tr>
                  </table></td>
              </tr>
              {else}
              <tr>
                <td height="25" class="in_11"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="25"><table width="16" height="13" border="0" cellpadding="0" cellspacing="0" background="images/index/index_12.jpg">
                          <tr>
                            <td align="center" class="in_06_font_01" style=" font-size:10px;font-weight: bold;"><?php echo $rs['i'];?></td>
                          </tr>
                        </table></td>
                      <td width="130"><a href="<?php echo $rs['link'];?>" title="<?php echo $rs['title'];?>"><?php echo truncate($rs['title'],6,'...');?></a></td>
                      <td width="19" class="in_12"><?php echo $rs['click'];?></td>
                    </tr>
                  </table></td>
              </tr>
              {/if}
              {/rs:vodcms}
            </table></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="3" height="3"><img src="images/index/index_08_01.jpg" width="3" height="3" /></td>
                <td style="background:url(images/index/index_08_02.jpg); height:3px;"><img src="images/index/index_08_02.jpg" width="2" height="3" /></td>
                <td width="3"><img src="images/index/index_08_03.jpg" width="3" height="3" /></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="5"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--{func:adrs=bill tag=inddex_body}--></td>
  </tr>
</table>

{vodcms:rss=channel parentid=0 row=4}
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="3"><img src="images/index/index_13_01.jpg" width="3" height="27" /></td>
                <td width="22" background="images/index/index_13_02.jpg">&nbsp;</td>
                <td width="683" background="images/index/index_13_02.jpg" style="padding-top:2px;"><table width="89" height="22" border="0" cellpadding="0" cellspacing="0" background="images/index/index_13_07.jpg">
                    <tr>
                      <td align="center" class="in_06_font_01" style="padding-top:2px;"><?php echo $rss['category'];?></td>
                    </tr>
                  </table></td>
                <td width="47" background="images/index/index_13_02.jpg"><a href="<?php echo $rss['link'];?>">更多>></a></td>
                <td width="3"><img src="images/index/index_13_03.jpg" width="3" height="27" /></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td class="in_13"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="365" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td valign="top"> {vodcms:rs=display row=1 classid=".$rss['id']."}
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="140" valign="top"><a href="<?php echo $rs['link'];?>"><img class="in_14" src="<?php echo $rs['pic'];?>" width="140" height="190" border="0" alt="<?php echo $rs['title'];?>" /></a></td>
                            <td valign="top"><table width="95%" border="0" align="right" cellpadding="1" cellspacing="0">
                                <tr>
                                  <td class="in_10" id="in_16_a"><a href="<?php echo $rs['link'];?>"><?php echo $rs['title'];?></a></td>
                                </tr>
                                <tr>
                                  <td id="in_16_a">[类型]：<?php echo $rs['class'];?></td>
                                </tr>
                                <tr>
                                  <td id="in_16_a">[导演]：<?php echo $rs['directory'];?></td>
                                </tr>
                                <tr>
                                  <td id="in_16_a">[主演]：<?php echo truncate($rs['actor'],12);?></td>
                                </tr>
                                <tr>
                                  <td id="in_16_a">[地区]：<?php echo $rs['area'];?></td>
                                </tr>
                                <tr>
                                  <td class="in_09">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo truncate($rs['content'], 40, '...');?></td>
                                </tr>
                                <tr>
                                  <td height="7"></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table>
                        {/rs:vodcms} </td>
                    </tr>
                    <tr>
                      <td height="50" valign="middle" class="in_16"><span class="in_font">热门<?php echo $rss['category'];?>频道： </span> {vodcms:rs=display row=8 classid=".$rss['id']." order=click} <a href="<?php echo $rs['link'];?>"><?php echo truncate($rs['title'],6,'...');?></a> &nbsp;
                        {/rs:vodcms}</td>
                    </tr>
                  </table></td>
                <td align="left" valign="top"><table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
                    <tr> {vodcms:rs=display start=1 row=6 classid=".$rss['id']." order=modifytime}
                      <td width="50%"><table width="93%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="61" rowspan="3" valign="top"><a href="<?php echo $rs['link'];?>"><img class="in_06" src="<?php echo $rs['pic'];?>" width="50" height="70" alt="<?php echo $rs['title'];?>" border="0" /></a></td>
                            <td height="20" valign="middle" class="in_08"><a href="<?php echo $rs['link'];?>"><?php echo $rs['title'];?></a></td>
                          </tr>
                          <tr>
                            <td height="33" valign="middle" class="in_12"><?php echo truncate($rs['content'],20, '...');?></td>
                          </tr>
                        </table>
                        <table border="0" width="93%" align="right" cellpadding="0" cellspacing="0">
                          <tr height="7">
                            <td></td>
                          </tr>
                        </table></td>
                      <?php if($rs['i'] % 2 == 0) echo '</tr><tr>';?>
                      {/rs:vodcms} </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="3"><img src="images/index/index_13_04.jpg" width="3" height="3" /></td>
                <td background="images/index/index_13_05.jpg"><img src="images/index/index_13_05.jpg" width="1" height="3" /></td>
                <td width="3"><img src="images/index/index_13_06.jpg" width="3" height="3" /></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td width="10"></td>
    <td width="191" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="27" background="images/index/index_14.jpg"><div class="in_18" style=" background:url(images/index/index_14_1.jpg);"><?php echo $rss['category'];?>推荐</div></td>
        </tr>
        <tr>
          <td valign="top" class="in_13_a"><table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
              {vodcms:rs=display row=10 classid=".$rss['id']." order=click}
              <tr>
                <td height="25" class="in_11"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="25"><table width="16" height="13" border="0" cellpadding="0" cellspacing="0" background="images/index/index_12.jpg">
                          <tr>
                            <td align="center" class="in_06_font_01" style=" font-size:10px;font-weight: bold;"><?php echo $rs['i'];?></td>
                          </tr>
                        </table></td>
                      <td width="130"><a href="<?php echo $rs['link'];?>"><?php echo truncate($rs['title'],8,'...');?></a></td>
                      <td width="19" class="in_12"><?php echo $rs['click'];?></td>
                    </tr>
                  </table></td>
              </tr>
              {/vodcms}
            </table></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="3"><img src="images/index/index_13_04.jpg" width="3" height="3" /></td>
                <td background="images/index/index_13_05.jpg"><img src="images/index/index_13_05.jpg" width="1" height="3" /></td>
                <td width="3"><img src="images/index/index_13_06.jpg" width="3" height="3" /></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="10"></td>
    <td></td>
    <td></td>
  </tr>
</table>
{/rss:vodcms}
<!--#include file="bottom.tpl.php"-->
