<!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->class;?>,<?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();
	$('#page1').html($('#page2').html());
});
</script>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="4"><img src="images/movie/movie_01.jpg" width="4" height="4" /></td>
          <td background="images/movie/movie_02.jpg"><img src="images/movie/movie_02.jpg" width="1" height="4" /></td>
          <td width="4"><img src="images/movie/movie_03.jpg" width="4" height="4" /></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td class="movie_01"><table width="939" border="0" align="center" cellpadding="0" cellspacing="0" >
  <?php
  if ($this->category['nodes']){?>
        <tr>
          <td width="94" height="30"><div class="movie_01_01" style=" cursor:pointer;">影片类型</div></td>
          <td width="845" align="left" class="movie_01_03">
		  <!--{vodcms:rs=channel parentid=".$this->category['id']."}-->
		  <a href="<?php echo $rs['link'];?>" title="<?php echo $rs['category'];?>"><?php echo $rs['category'];?></a>
		  <!--{/vodcms}-->
	  </td>
        </tr>
    <?php
  }?>
        <tr>
          <td height="30" width="94"><div class="movie_01_01" style=" cursor:pointer;">地区分类</div></td>
          <td  align="left">
		  <?php
      foreach ($this->moviearea as $area)
      {
      	if ($this->area == $area){?>
      <a href="<?php echo $this->installdir;?>content/search/type/area/keyword/{#urlencode($area)#}/" title="{#$area#}"><font class="red">{#$area#}</font></a>
	  <?php
      	}else{?>
	  <a href="<?php echo $this->installdir;?>content/search/type/area/keyword/{#urlencode($area)#}/" title="{#$area#}">{#$area#}</a>
	  <?php
      	}
      }?></td>
        </tr>
        <tr>
          <td height="30" width="94"><div class="movie_01_02" style=" cursor:pointer;">拼音&nbsp;字母</div></td>
          <td ><?php
	  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>&nbsp;&nbsp;&nbsp;&nbsp;';
		}else{
		echo '<a href="'.$this->installdir.'content/search/type/letter/keyword/'.chr($i+65).'/" title="'.chr($i+65).'">'.chr($i+65).'</a>&nbsp;&nbsp;&nbsp;&nbsp;';
		}
	  }
	  ?></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="4"><img src="images/movie/movie_04.jpg" width="4" height="4" /></td>
          <td background="images/movie/movie_05.jpg"><img src="images/movie/movie_05.jpg" width="1" height="4" /></td>
          <td width="4"><img src="images/movie/movie_06.jpg" width="4" height="4" /></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="229" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="27" valign="bottom" background="images/movie/movie_09_01.jpg"><table width="229" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="114" ><table width="98" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" background="images/movie/movie_09_02.jpg" class="movie_font" style="padding-top:2px;">本类电影排行榜</td>
                    </tr>
                  </table></td>
                <td align="center" valign="middle" class="in_06_font_01" style="padding-left:55px;"></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td class="movie_02">
		  <!--left-->
		  <table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
		 {vodcms:rs=display row=10 classid=".$this->classid." order=modifytime}
		{if $rs['i'] == 1}
          <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" /></a></td>
                  <td width="10">&nbsp;</td>
                  <td valign="top"><span class="in_10"><a href="<?php echo $rs['link'];?>" title="<?php echo $rs['title'];?>"><?php echo truncate($rs['title'],8,'...');?></a></span><br />
                    <span class="movie_font_02"><?php echo truncate($rs['content'], 25, '...');?></span></td>
                </tr>
            </table></td>
          </tr>
		  {elseif $rs['i']==2}
          <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'],8,'...');?></a></td>
                  <td width="19" class="movie_02_font">09/17</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/movie/movie_09_03.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'],8,'...');?></a></td>
                  <td width="19" class="movie_02_font"><?php echo date('m/d', $rs['modifytime']);?></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>
        <tr>
          <td height="10"></td>
        </tr>
        <tr>
          <td height="27" valign="bottom" background="images/movie/movie_09_01.jpg"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="50%"><table width="98" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" background="images/movie/movie_10.jpg" class="movie_font" style="padding-top:2px;">最近更新的影片</td>
                    </tr>
                  </table></td>
                <td align="center" valign="middle" class="in_06_font_01" style="padding-left:55px;"></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td class="movie_02">
		  <table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
		  {vodcms:rs=display row=10 classid=".$this->classid." order=click}
		{if $rs['i'] == 1}
          <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" /></a></td>
                  <td width="10">&nbsp;</td>
                  <td valign="top"><span class="in_10"><a href="<?php echo $rs['link'];?>"><?php echo truncate($rs['title'],8,'...');?></a></span><br />
                    <span class="movie_font_02"><?php echo truncate($rs['content'], 25, '...');?></span></td>
                </tr>
            </table></td>
          </tr>
		  {elseif $rs['i']==2}
          <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'],8,'...');?></a></td>
                  <td width="19" class="movie_02_font"><?php echo $rs['date'];?></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/movie/movie_09_03.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'],8,'...');?></a></td>
                  <td width="19" class="movie_02_font"><?php echo date('m/d', $rs['modifytime']);?></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>
        <tr>
          <td height="10"></td>
        </tr>
        <tr>
          <td height="27" valign="bottom" background="images/movie/movie_09_01.jpg"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="50%"><table width="98" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" background="images/movie/movie_10_02.jpg" class="movie_font" style="padding-top:2px;">今日更新</td>
                    </tr>
                  </table></td>
                <td width="50%" align="center" valign="middle" ></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td class="movie_02">
<table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
		 {vodcms:rs=display row=10 classid=$this->classid update=today order=modifytime}
		{if $rs['i'] == 1}
          <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" /></a></td>
                  <td width="10">&nbsp;</td>
                  <td valign="top"><span class="in_10"><a href="<?php echo $rs['link'];?>"><?php echo $rs['title'];?></a></span><br />
                    <span class="movie_font_02"><?php echo truncate($rs['content'], 25, '...');?></span></td>
                </tr>
            </table></td>
          </tr>
		  {elseif $rs['i']==2}
          <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'],8,'...');?></a></td>
                  <td width="19" class="movie_02_font"><?php echo $rs['date'];?></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/movie/movie_09_03.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'],8,'...');?></a></td>
                  <td width="19" class="movie_02_font"><?php echo date('m/d', $rs['modifytime']);?></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>
        <tr>
          <td height="10"></td>
        </tr>
        <tr>
          <td height="27" valign="bottom" background="images/movie/movie_09_01.jpg"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="50%"><table width="98" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" background="images/movie/movie_10_05.jpg" class="movie_font" style="padding-top:2px;">播放器下载</td>
                    </tr>
                  </table></td>
                <td width="50%" align="center" valign="middle" ></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td align="center" class="movie_02">
		  {vodcms:rs=soft order=id}
		 <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><br>
		  {/vodcms}</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 width="10" valign="top"></td>
    <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="17" background="images/index/index_13_02.jpg">&nbsp;</td>
                    <td width="523" valign="bottom" background="images/index/index_13_02.jpg" style="padding-top:2px;"><table width="83" height="24" border="0" cellpadding="0" cellspacing="0" background="images/movie/movie_12.jpg">
                        <tr>
                          <td align="center" class="in_06_font_01" style="padding-top:2px;"><?php echo $this->class;?></td>
                        </tr>
                      </table></td>
                    <td width="57" valign="middle" background="images/index/index_13_02.jpg" style="padding-top:3px;"><table width="50" height="20" border="0" cellpadding="0" cellspacing="0" class="<?php if($_GET['orderby'] == 'click'){ echo 'orderbyed';}else{echo 'orderby';}?>" >
                        <tr>
                          <td align="center"><a href="javascript:orderby('click');">人气</a></a></td>
                        </tr>
                      </table></td>
                    <td width="56" background="images/index/index_13_02.jpg" style="padding-top:3px;"><table width="50" height="20" border="0" cellpadding="0" cellspacing="0" class="<?php if($_GET['orderby'] == 'modifytime' || empty($_GET['orderby'])){ echo 'orderbyed';}else{echo 'orderby';}?>">
                        <tr>
                          <td align="center"><a href="javascript:orderby('modifytime');">最新</a></td>
                        </tr>
                      </table></td>
                    <td width="62" background="images/index/index_13_02.jpg" style="padding-top:3px;">
					<table width="50" height="20" border="0" cellpadding="0" cellspacing="0" class="<?php if($_GET['orderby'] == 'view'){ echo 'orderbyed';}else{echo 'orderby';}?>">
                        <tr>
                          <td align="center"><a href="javascript:orderby('view');">评论</a></td>
                        </tr>
                      </table></td>
                    <td width="3"><img src="images/index/index_13_03.jpg" width="3" height="27" /></td>
                  </tr>
                </table></td>
            </tr>
            <tr>
              <td class="movie_05">
			  <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="10"  id="page1"></td>
                  </tr>
				  <tr height="5"><td class="in_11">&nbsp;</td></tr>
				  <tr height="5"><td></td></tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr> <!--{vodcms:rs=display classid=$this->classid keyword=$this->keyword type=$type row=all}-->
                          <td width="50%"><table width="97%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="148" rowspan="3" valign="top"><a href="<?php echo $rs['link'];?>"><img class="movie_07" src="<?php echo $rs['pic'];?>" width="130" height="170" /></a></td>
                                <td height="23" valign="top" class="movie_06"><a href="<?php echo $rs['link'];?>"><?php echo $rs['title'];?></a></td>
                              </tr>
                              <tr>
                                <td height="134" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td height="21">[类型]：<span class="movie_08"><?php echo $rs['class'];?></span></td>
                                    </tr>
                                    <tr>
                                      <td height="21">[导演]：<span class="movie_08"><?php echo $rs['director'];?></span></td>
                                    </tr>
                                    <tr>
                                      <td height="21" class="movie_09">[主演]： <span class="movie_08"><?php echo truncate($rs['actor'],20);?></span></td>
                                    </tr>
                                    <tr>
                                      <td height="21">[地区]：<span class="movie_08">大陆</span></td>
                                    </tr>
                                    <tr>
                                      <td height="21">[点播权]：<span class="movie_08"><?php echo $rs['lookgroup'];?></span> </td>
                                    </tr>
                                  </table></td>
                              </tr>
                              <tr>
                                <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td><div class="movie_10"><a href="<?php echo $rs['link'];?>">海报</a></div></td>
                                      <td><div class="movie_10"><a href="<?php echo $rs['link'];?>">评分</a></div></td>
                                      <td><div class="movie_10"><a href="<?php echo $rs['link'];?>">剧情</a></div></td>
                                      <td><div class="movie_11"><a href="<?php echo $rs['link'];?>">点播</a></div></td>
                                    </tr>
                                  </table></td>
                              </tr>
                            </table>
                            <table>
                              <tr height="6">
                                <td></td>
                              </tr>
                          </table></td>
                          <?php if($rs['i'] % 2 ==0) echo '</tr><tr>';?>
                          {/vodcms}
						  <?php
						  if (count($array_rs)<1){
							  echo '<td align="center">未找到任何记录!</td>';
						  }?>
					  </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td height="5" class="in_11">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="50" id="page2"><!--{printpage}--></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>
  </tr>
</table>
<!--#include file="bottom.tpl.php"-->
