<? include("top.php") ?>

<div id="box"><!--主体-->
<div id="box_list"><!--主体1-->
<div id="box_list_left"><!--主体1:左-->

<div class="block">
<div class="blocktitle">类型分类</div><div id="clear-f"></div>
<div class="blocktext">
<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>
</div>

<?if(get_system("zone_flag")){?>
<div class="block">
<div class="blocktitle">地区分类</div><div id="clear-f"></div>
<div class="blocktext">
<ul><?foreach($arr_zone AS $k => $v){echo "<li><a href='".rewrite_list_rule("zone",$v["id"])."' >".$v["name"]."</a></li>";}?>
</ul>
</div>
</div>
<?}?>

<div class="block">
<div class="blocktitle">字母检索</div><div id="clear-f"></div>
<div class="blocktext_w">
<ul><?foreach($arr_word AS $k => $v){echo "<li><a href='".rewrite_list_rule("word",$v)."' >".$v."</a></li>";}?>
</ul>
</div>
</div>

<div class="block">
<div class="blocktitle">点击排行</div><div id="clear-f"></div>
<div class="blocktext">
<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>
</div>


<div class="block">
<div class="blocktitle">栏目推荐</div><div id="clear-f"></div>
<div class="blocktext_l">
<ul>
<? foreach($flagList AS $k => $v){	?>
<li><a href="<?=get_dir_url($v['id'])?>"  title="<?=$v["title"]?>"><img src="<?=PATH_WEB_IMAGES.'/arrow_085.gif'?>"> <?=cut_str($v["title"],10)?></a></li>	
<?}?>
</ul>
<div class="pic">
<!--列表左侧gg-->
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showgglistleft"></script>
</div>
</div>
</div>


</div><!--end 主体1:左-->
<!--end 主体1:中-->
<div id="box_list_rig"><!--主体1:右-->
<div class="title"><?=$go?>  <? 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>

<?foreach($list AS $k => $v){if($v["title"]){?>
<div id="booklist"><!--循环列表-->
<div class="left">
<a href="<?=WRITTER_SHOW_PATH.'/'.$v['id']?>" title="<?=$v["title"]?>"><img src="<?=$v['pic']?>" width="110" height="150" /></a></div>
<div class="right">
<div class="book">【<a href="<?=WRITTER_SHOW_PATH.'/'.$v['id']?>" title="<?=$v["title"]?>"><?=cut_str($v["title"],10)?></a>】 
<?if(get_system("zone_flag")){?><?if($v["cz_name"]){?><span>地区</span>：<?=$v["cz_name"]?><?}}?>  
<span>性别</span>：<?=getSexName($v["sex"])?>
</div>
<div class="text">&nbsp;&nbsp;&nbsp;&nbsp;简介：<?=cut_str(strip_tags(de($v["content"])),350)?></div>
</div><div id="clear-f"></div>
</div><!--end 循环列表-->
<?}}?> 

<div id="pagecut"><?=$page?></div>
</div><!--end 主体1:右-->
</div><!--end 主体1-->
<div id="clear-f"></div>





</div><!--end 主体-->
<? include("bot.php") ?>