<? include template("top"); ?>
<div id="box"><!--主体-->
<div id="leftbox"><!--主体:左侧-->
<div id="left_one"><!--主体:左侧一-->
<div class="title"><div class="imag"></div><span>热门推荐</span></div>
<ul><?foreach($list_hot AS $k => $v){	?>
<li><a href="<?=get_dir_url($v['id'])?>" target="_blank" title="<?=$v["title"]?>"><img src="<?=PATH_WEB_IMAGES?>/disc.gif" height="9" width="9"> <?=cut_str(de($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="<?=rewrite_list_rule('list','news')?>">更多..</a></span></div>
<ul>
<?foreach($list_new AS $k => $v){	?><li><a href="<?=get_dir_url($v['id'])?>" target="_blank" title="<?=$v["title"]?>"><img src="<?=PATH_WEB_IMAGES?>/disc.gif" height="9" width="9"> <?=cut_str(de($v["title"]),10)?></a></li><?}?>    	
</ul>
</div><!--end 主体:左侧二-->
<div id="left_one" style="text-align:center;"><!--主体:左侧gg-->
<!--首页左侧gg-->
<span id="gg_index_left"></span><script>GetGGIndexLeft()</script>
</div>
<div id="left_one"><!--主体:左侧三-->
<div class="title"><div class="imag"></div><span>点击排行</span><span class="more"><!--<a href="<?=BOOK_YM_PATH.'/'.$month_y;?>">更多..</a>--></span></div>
<ul>
<?foreach($list_M AS $k => $v){	?>
<li><a href="<?=get_dir_url($v['id'])?>" target="_blank" title="<?=$v["title"]?>"><img src="<?=PATH_WEB_IMAGES?>/disc.gif" height="9" width="9"> <?=cut_str(de($v["title"]),10)?></a></li><?}?>      
</ul>
</div><!--end 主体:左侧三-->
</div><!--end 主体:左侧-->
<div id="rightbox"><!--主体:右侧-->
<div id="right_one"><!--主体:右侧一-->
<div class="title">【编辑推荐阅读】</div>

<?$j=1;foreach($list_i_flag AS $k => $v){	?>
<div id="flaglist">
<div class="booktitle"><div class="imag"></div><div class="left_title">[<a href="<?=rewrite_list_rule('type',$v['t_id'])?>"><?=$v["t_name"]?></a>]<a href="<?=get_dir_url($v['id'])?>" target="_blank"><?=cut_str(de($v["title"]),7)?></a></div><!--<span>作者：<a href="#">就是打发</a></span>--></div>
<div class="text">  <?=cut_str(de($v["content"]),90)?></div>
</div>
<?$j++;if($j>9) break;}?>         

</div><!--end 主体:右侧一-->
<div id="clear-f"></div>
<div id="right_two"><!--主体:右侧二-->
<div class="title">【TOP排行】</div>

<?$j=1;foreach($list_D AS $k => $v){?>
<div id="piclist">
<div class="toppic"><a href="<?=get_dir_url($v['id'])?>" target="_blank" title="<?=$v["title"]?>"><img src="<?=showPics($v['pic'])?>" width="110" height="150" /></a></div>
<div class="text"><a href="<?=get_dir_url($v['id'])?>" target="_blank" title="<?=$v["title"]?>"><?=cut_str(de($v["title"]),10)?></a></div>
</div>
<? $j++;if($j>6) break;}?>     

</div><!--end 主体:右侧二-->
<div id="clear-f"></div>
<div id="right_three"><!--主体:右侧二-->
<!--首页中部gg-->
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggmain"></script>
</div>
<div id="clear-f"></div>
<div id="right_three"><!--主体:右侧三-->
<div id="three_left"><!--主体:右侧三:左侧-->
<div class="title">【类型推荐】</div>
<ul>


<?foreach($list_l_flag AS $k => $v){	?>
<li>[<a class="three_lei" href="<?=$url_l_flag[$k]?>" target="_blank"><?=$titl_l_flag[$k]?></a>]<span>
<?foreach($v AS $ks => $vs){?>
<a href="<?=get_dir_url($vs['id'])?>" target="_blank" title="<?=$vs["title"]?>"><?=de($vs["title"])?></a>  <?}?>  <a href="<?=$url_l_flag[$k]?>" target="_blank">更多..</a></span></li>
<?}?>

</ul>
</div><!--end 主体:右侧三:左侧-->
<div id="three_right"><!--主体:右侧三:右侧-->
<div style="text-align:center;padding-top:5px;padding-bottom:5px;">
<!--首页右侧gg-->
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggindexright"></script>
</div>
<div class="title"><div class="imag"></div>热门标签</div>

<ul>
<?foreach($list_tag AS $k => $v){	?>
<li><a alt="<?=$v["tag"]?>" title="<?=$v["tag"]?>" href="<?=rewrite_list_rule('tag',$v['id'])?>" target="_blank"><?=$v["tag"]?>(<?=$v["count"]?>)</a></li><?}?>                                                                  	
</ul>
</div><!--end 主体:右侧三:右侧-->
</div><!--end 主体:右侧三-->
</div><!--end 主体:右侧-->
</div><!--end 主体-->
<? include template("bot"); ?>
