<? include("top.php") ?>
<link rel="stylesheet" type="text/css" media="all" href="<?=PATH_WEB_CSS?>/list.css">
<script type="text/javascript">
 function jump(){
        var page = document.toform.page.value;
       $.get("<?=USER_PATH?>/ajaxjs.php?act=listpage&uact=<?=$g_cgival['act']?>&usec=<?=$g_cgival['sec']?>&page="+page+"&t="+Math.random(), {}, function(text){
		if(text)
		{
			location.href = text;
		}
		});
		return false;
}
</script>

<!--主体-->
<div class="layout">
	<div class="paper">
        <div class="item">
			                <ul>
				<li><b>[类型]</b></li>
                <?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>";}} ?> 
                <?if(get_system("zone_flag")){?>
                <li><b>[地区]</b></li>
				<?foreach($arr_zone AS $k => $v){echo "<li><a href='".rewrite_list_rule("zone",$v["id"])."' >".$v["name"]."</a></li>";}?> 
                <?}?>
                </ul>
		</div><div class="br"></div>
        
       
        
        
	</div>
    
    
</div>


<div class="layout sf2">
	<div class="left2">
				<div class="left">
			<div class="tagname">
				<div>栏目推荐</div>
			</div>
			<ul id="sub_a3" style="height: 243px;">
<?foreach($flagList AS $k => $v){	?>
<li><font class="arrow">·</font><a href="<?=get_dir_url($v['id'])?>"  title="<?=$v["title"]?>"><img src="<?=PATH_WEB_IMAGES?>/disc.gif" height="9" width="9"><?=cut_str($v["title"],10)?></a></li>	
<?}?>
	<div class="spacer15"></div>
</ul>
		</div>

		<div class="br spacer2"></div>
		
		<div class="br spacer2"></div>

		<div class="left" style="padding-left:2px; padding-top:2px;">
			<!--左侧gg--><script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showgglistleft"></script>
		</div>
		<div class="br spacer2"></div>
		<div class="br spacer2"></div>
	</div>

	<div class="spacer6">&nbsp;</div>

	<div class="middle">
		<div class="mf2">
			<div class="mf2left">
				<div class="item">
					<div class="lname"><h1><?=$go?>  <? if($keys){foreach($dbtitle as $k =>$v){ 
if($k==$g_cgival['t']) echo "<a href='?p=1&t=".$k."&keys=".urlencode($keys)."'><u>【".$v."】</u></a>&nbsp;";
else echo "<a href='?p=1&t=".$k."&keys=".urlencode($keys)."'>【".$v."】</a>&nbsp;";}}?> </h1></div>
				</div>
			</div>

			<div class="mf2right">

				<div class="item">
				  <div class="lname">
					 
					</div>
				</div>

		</div>

			<div class="mf4">
			<ul class="header">
				<li class="h2">作者</li>
				<li class="h3">性别</li>
				<li class="h4">&nbsp;</li>
				<li class="h5">&nbsp;</li>
				<li class="h6">入库时间</li>
				<li class="h7">更新时间</li>
			</ul>

<?foreach($list AS $k => $v){if($v["title"]){?>
			<ul class="list ">
				<li class="h2"><a href="<?=WRITTER_SHOW_PATH.'/'.$v['id']?>" title="<?=$v["title"]?>" target="_blank"><?=$v["title"]?></a> </li>
				<li class="h3"><?=getSexName($v["sex"])?>&nbsp;</li>
				<li class="h4">&nbsp;</li>
				<li class="h5">&nbsp;</li>
				<li class="h6"><?=dateMD($v["c_time"])?></li>
				<li class="h7"><?=dateMD($v["u_time"])?></li>
			</ul>
<?}}?> 
<!--
			<ul class="list hight">
				<li class="h2"><a href="http://www.zhulang.com/138703/index.html" target="_blank">《异能之逆乱时空》</a> </li>
				<li class="h3"><a href="http://book.zhulang.com/138703/index.html" target="_blank">第十三章：初吻</a></li>
				<li class="h4">魂恋。</li>
				<li class="h5">连载</li>
				<li class="h6">06.18</li>
				<li class="h7">06.24</li>
			</ul>
-->
			</div>

			<div class="jump">
			<ul>
				<li><?=$page?></li>
			</ul>
			</div>
		</div>
	</div>
	
	<div class="br"></div>
</div>

<div class="space1"></div>

<div class="layout">
	<div class="paper">
        <div class="item">
			<ul>
				<li><b>[字母]</b></li>
				<?foreach($arr_word AS $k => $v){	echo "<li><a href='".rewrite_list_rule("word",$v)."' >".$v."</a></li>";}?> 
                <li><b>[点击]</b></li>
                <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><div class="br"></div>
        
       
        
        
	</div>
    
    
</div>

<div class="space1"></div>
<? include("bot.php") ?>