<? include("top.php"); ?>
<div id="box"><!--主体-->
<div id="leftbox"><!--主体:左侧-->
<div id="left_one_type"><!--主体:左侧一-->
<div class="title"><div class="imag"></div><span>分类显示</span></div>
<div id="left_fenlei"><div class="name">【类型分类】</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>
<div id="clear-f"></div>
<?if(get_system("zone_flag")){?>
<div id="left_zone"><div class="name">【地区分类】</div>
<ul><?foreach($arr_zone AS $k => $v){echo "<li><a href='".rewrite_list_rule("zone",$v["id"])."' >".$v["name"]."</a></li>";}?>
</ul>
</div>
<div id="clear-f"></div>
<?}?>
<div id="left_fenlei"><div class="name">【字母】</div>
<ul>
<?foreach($arr_word AS $k => $v){	echo "<a href='".rewrite_list_rule("word",$v)."' >".$v."</a> ";}?> 
</ul>
</div>
<div id="clear-f"></div>
<div id="left_fenlei"><div class="name">【日期】</div>
<ul>
<?foreach($arr_ym AS $k => $v){	echo "<li><a href='".rewrite_list_rule("ym",$v)."' >".$v."</a></li>";}?> 
</ul>
</div>
<div id="clear-f"></div>
<div id="left_fenlei"><div class="name">【点击排行】</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>
<div id="clear-f"></div>
<div id="left_fenlei" style="text-align:center;padding-bottom:5px;">
<!--列表左侧gg-->
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showgglistleft"></script>
</div>
</div><!--end 主体:左侧一-->
<div id="clear-f"></div>
<div id="left_one"><!--主体:左侧二-->
<div class="title"><div class="imag"></div><span>栏目推荐</span></div>
<ul>
<?foreach($flagList AS $k => $v){	?>
<li><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>	
<?}?>

</ul>
</div><!--end 主体:左侧二-->
<!--主体:左侧三-->
<!--
<div id="left_one">
<div class="title"><div class="imag"></div><span>最近更新</span><span class="more"><a href="#">更多..</a></span></div>
<ul>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
</ul>
</div>
-->
<!--end 主体:左侧三-->
</div><!--end 主体:左侧-->

<div id="right_booklist"><!--主体:右侧list-->
<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)."'><u>【".$v."】</u></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="<?=get_dir_url($v['id'])?>" title="<?=$v["title"]?>"><img src="<?=$v['pic']?>" width="110" height="150" /></a></div>
<div class="right">
<div class="book">【<a href="<?=get_dir_url($v['id'])?>" title="<?=$v["title"]?>"><?=cut_str($v["title"],10)?></a>】 <span>类型：</span><?foreach($v["t_arr"] as $ks =>$vs){ echo '<a href='.rewrite_list_rule("type",$ks).'>'.$vs.'</a>&nbsp;';}?>  <?if(get_system("zone_flag")){?><?if($v["cz_name"]){?><span>地区</span>：<a href="<?=rewrite_list_rule('zone',$v['cz_id'])?>"><?=$v["cz_name"]?></a><?}}?> <span>作者</span>：<?foreach($v["w_arr"] as $ks =>$vs){ if(get_system("writter_flag")) echo '<a href='.WRITTER_SHOW_PATH.'/'.$ks.'>'.$vs.'</a>&nbsp;'; else echo $vs.'&nbsp;';}?><?=cut_str(de($v["writter_ext"]),5)?></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 主体:右侧list-->
</div><!--end 主体-->
<? include("bot.php"); ?>
