<? include template("head"); ?>
<div id="main">
	<div class="main_con spe_left1">
    	<div class="left_con_text" style="height:800px;">
            <div class="title_line1"><div class="title_word1">类型</div></div>
            <ul><?if($arr_type_next){
            	foreach($arr_type_next AS $k => $v){	
			    	echo "<li><a href='".rewrite_list_rule("type",$v["id"])."' >".$v["name"]."</a></li>";
			    }
            }else{
            	foreach($arr_type AS $k => $v){	
			    	echo "<li><a href='".rewrite_list_rule("type",$v["id"])."' >".$v["name"]."</a></li>";
			    }
            } ?> 
            </ul>
            <div class="clear-f"></div>
            <?if(get_system("zone_flag")){?>
            <div class="title_line1"><div class="title_word1">地区</div></div>
            <ul><?foreach($arr_zone AS $k => $v){echo "<li><a href='".rewrite_list_rule("zone",$v["id"])."' >".$v["name"]."</a></li>";}?>
            </ul>
            <div class="clear-f"></div>
            <?}?>
            <div class="title_line1"><div class="title_word1">字母</div></div>
            <ul><?foreach($arr_word AS $k => $v){	echo "<li><a href='".rewrite_list_rule("word",$v)."' >".$v."</a></li>";}?>                                            
            </ul>
            <div class="clear-f"></div> 
			<div class="title_line1"><div class="title_word1">点击排行</div></div>
            <ul>
            <li><a href="<?=DOMAIN_PATH?>/tongji.php?act=w">本周排行</a></li>
			<li><a href="<?=DOMAIN_PATH?>/tongji.php?act=m">本月排行</a></li>
			<li><a href="<?=DOMAIN_PATH?>/tongji.php">累计排行</a></li>
            </ul>
            <div class="clear-f"></div>            
            <div class="title_line1"><div class="title_word1">日期</div></div>
            <ul><?foreach($arr_ym AS $k => $v){	echo "<li><a href='".rewrite_list_rule("ym",$v)."' >".$v."</a></li>";}?>        
            </ul>
            <div class="clear-f"></div>        
            <ul>
				<li>
				<!--列表左侧gg-->
				<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showgglistleft"></script>
				</li>
            </ul>
            <div class="clear-f"></div>        
		</div>
        <div class="clear-f"></div>
	</div>
  <div class="main_con" style="width:524px;">
    	<div class="left_con_text spe_mid">
        	<div class="title_line"><div class="goto_title_word1"><?=$go?> </div><div style="float:right;"><? if($keys){foreach($dbtitle as $k =>$v){ 
if($k==$g_cgival['t']) echo "<a href='?p=1&t=".$k."&keys=".urlencode($keys)."'><b>【".$v."】</b></a>&nbsp;";
else echo "<a href='?p=1&t=".$k."&keys=".urlencode($keys)."'>【".$v."】</a>&nbsp;";}}?></div></div>
            <div id="list_content"><?foreach($list AS $k => $v){if($v["title"]){?>
            	<div class="pic_list">
                	<div class="pic_list_tu"><a href="<?=get_dir_url($v['id'])?>"><img src="<?=$v['pic']?>" width="100" height="136" border="0" title="<?=$v["title"]?>" alt="<?=$v["title"]?>"></a></div>
                    <div class="pic_list_content">
                    	<div><a href="<?=get_dir_url($v['id'])?>" title="<?=$v["title"]?>">·<?=cut_str($v["title"],5)?></a></div>
                    	<div>作者：<?if($v["w_arr"]) {foreach($v["w_arr"] as $ks =>$vs){ if(get_system("writter_flag")) echo '<a href='.WRITTER_SHOW_PATH.'/'.$ks.'>'.$vs.'</a>&nbsp;'; else echo cut_str(de($vs),5).'&nbsp;';}}else{?><?=cut_str(de($v["writter_ext"]),5)?><?}?></div>
                        <?if(get_system("zone_flag")){?><?if($v["cz_name"]){?><div>地区：<?=$v["cz_name"]?></div><?}}?>
                        <div>状态：<?=$arr_over[$v["over"]]?></div>
                    </div>
                </div>
                <?}}?>                                        
                <div class="clear-f"></div>
          	</div>  
            <div id="pagecut"><?=$page?></div>              
            <div class="clear-f"></div>
      	</div>
  </div> 
  <div class="main_con">
    	<div class="left_con_text spe_rig" style="height:800px;">
          <div class="title_line bg_col">栏目推荐<!--默认推荐10条记录--></div>
            <ul><? foreach($flagList AS $k => $v){	?>
                <li><a href="<?=get_dir_url($v['id'])?>"  title="<?=$v["title"]?>">·<?=cut_str($v["title"],10)?></a></li>
                <?}?>   
				<li>
				<!--列表右侧gg-->
				<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showgglistright"></script>
				</li>                                                            	
          </ul>    
        </div>
    </div>
    <div class="clear-f"></div>    
</div>
<? include template("foot"); ?>
