<? include template("top"); ?>
<script type="text/javascript">
 function jump(){
        var page = document.toform.page.value;
       $.get("<?=INCLUDE_PATH?>/ajaxjs.php?act=listpage&uact=<?=$g_cgival['act']?>&uzero=<?=$g_cgival['zero']?>&usec=<?=$g_cgival['sec']?>&page="+page+"&t="+Math.random(), {}, function(text){
		if(text)
		{
			location.href = text;
		}
		});
		return false;
}
</script>
<link href="<?=PATH_WEB_CSS?>/list.css" rel="stylesheet" type="text/css">
<div id="Index_big">
<div id="Index_Left">
  <div id="web_bk">
    <h2><?=$go?></h2>
  </div>
  <div id="bk_list">
    <ul style="padding: 0pt 0pt 18px;">
    <!-- foreach list -->
    <?foreach($list as $k =>$v){?>
        <li><a title="<?=$v["title"]?>" target="_blank" href="<?=get_dir_url($v['id'])?>" class="orage"><img alt="<?=$v["title"]?>" title="<?=$v["title"]?>" src="<?=showPics($v["pic"])?>" onerror="this.src='<?=PATH_WEB_IMAGES?>/baike_default.jpg'" border="0"></a>
        <h1><a title="<?=$v["title"]?>" target="_blank" href="<?=get_dir_url($v['id'])?>" class="orage"><?=$v["title"]?></a></h1>
        <span><?if($v["director"]){?>导演：<?=de($v["director"])?><br><?}?>
        <?if($v["another"]){?>主演：<?=de($v["another"])?><br><?}?>
       		 制片国家/地区：<?=$v["cz_name"]?>　　
        	年份：<?=$v["year"]?>　　
        	类型：<?=$v["ct_name"]?><br>
        	剧情介绍：<?=cut_str(strip_tags(de($v["introduction"])),100)?></span>
        </li>
    <?}?>
        <!-- end foreach list -->  
	</ul>
  </div>
  <div class="Next_Page" style="margin: 15px;">
    <div id="Pagination" class="pagination" style="margin-top: 8px;"><?=$page?></div>
  </div>
</div>
<div class="FList_count" style="margin: 0px; padding: 0px; float: right;">
<div class="count_top" style="background: rgb(213, 221, 224) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">
  <h2>影视百科</h2>
<h3 id="blog_dt"></h3></div>
<?if($arr_zone) {?>
<div id="rig_li2">
  <h1>地区</h1>
  <ul>
  <!-- 一行3个-->
    <li><a href='<?=rewrite_list_rule($menu_id,"news",$menu_id)?>' class="gcy">全部</a></li>
    <?foreach($arr_zone as $k =>$v){?>
	<li><a href='<?=rewrite_list_rule($menu_id,"zone",$v["id"])?>' class="orage"><?=$v["name"]?></a></li>
	<?}?>
  </ul>
</div>
<?}?>
<?if($all_type_arr) {?>
<div id="rig_li">
  <h1>分类</h1>
  <ul>
  <!-- 一行4个-->
    <li><a href='<?=rewrite_list_rule($menu_id,"news",$menu_id)?>' class="gcy">全部</a></li>
    <?foreach($all_type_arr as $k =>$v){?>
	<li><a href="<?=rewrite_list_rule($menu_id,"type",$v["id"])?>" class="orage"><?=$v["name"]?></a></li>
	<?}?>
  </ul>
</div>
<?}?>
<?if($arr_word) {?>
<div id="rig_li3">
  <h1>字母</h1>
  <ul>
  <!--<ul style="border: medium none ;">-->
  <!-- 一行4个-->
    <li><a href='<?=rewrite_list_rule($menu_id,"news",$menu_id)?>' class="gcy">全部</a></li>
    <?foreach($arr_word as $k =>$v){?>
	<li><a href="<?=rewrite_list_rule($menu_id,"word",$k)?>" class="orage"><?=$v?></a></li>
    <?}?>
  </ul>
</div>
<?}?>
<!-- rihgt gg --><div id="rig_gg"><h1><script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showgglistright"></script></h1></div>

<div class="tv_pub_Div mar_T13">
      
      <div class="pub_head"><h5>推荐排行</h5>
      </div>
		    	<div id="tv_scroll">
          <div class="History" style="margin-left: 0px;">
        <ul id="sctf0">
        <!-- 15 个 -->
        <? foreach($flagList AS $k => $v){	?>
			<li><h3><img src="<?=PATH_WEB_IMAGES?>/num<?=$k+1?>.gif" align="absmiddle"><a title="<?=$v["title"]?>" href="<?=get_dir_url($v['id'])?>" class="blue" target="_blank"><?=cut_str($v["title"],15)?></a></h3></li>
         <?}?>
        </ul>
      </div>
        </div>
      </div>
</div>
</div>

<? include template("bot"); ?>