<? include("top.php") ?>
<link href="<?=PATH_WEB_CSS?>/book_show.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
$(document).ready(function(){
	$(".fontSize span").click(function(){
	  var v=$(this).attr("v");
	  $(".text").css("fontSize",v);
	});
});

var preview_page = "<?=$last_id?>";
var next_page = "<?=$next_id?>";
var index_page = "<?='index.'.$html_ext?>";
function jumpPage() {
  var event = document.all ? window.event : arguments[0];
  if (event.keyCode == 37) document.location = preview_page;
  if (event.keyCode == 39) document.location = next_page;
  if (event.keyCode == 13) document.location = index_page;
}
document.onkeydown=jumpPage;
</script>
</head><body >

 <!--END顶部-->
<div id="head">
  <h2><a href="<?=DOMAIN_PATH?>"><img title="<?=$sys["site_title"]?>" alt="<?=$sys["site_title"]?>"  class="lefttop" src="<?=DOMAIN_PATH.'/'.$sys['gg_logo']?>" width="241" height="68" /></a></h2>
  <div class="cot_r">
    <div class="login fixfloat">
      <div class="letfloat"> 
<table background="<?=PATH_WEB_IMAGES?>/user_bg.gif" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tbody><tr><td align="left" height="20" valign="middle" >欢迎您来到本站！<span id="kk_top_login"></span><script>GetLogin()</script></td>
    <td class="t-2" align="right" valign="middle"><a href="javascript:void(0);" target="_self" onClick="javascript:setMyHome('<?=DOMAIN_PATH?>')">设为首页</a> <a href="javascript:void(0);" target="_self" onClick="javascript:AddFavorite('<?=DOMAIN_PATH?>','<?=$sys["site_title"]?>')" >收藏本站</a></td>
 </tr>
</tbody></table>
</div>
     
      <div class="clearfix"></div>
    </div>
    <div class="menu">
     <!--第一菜单-->
    <a href="<?=DOMAIN_PATH?>" class="hots">小说首页</a>
    <?foreach($arr_menu AS $k => $v){?><a href="<?=rewrite_list_rule("type",$v["id"])?>"><?=$v["name"]?></a><?}?>
    <?if(get_system("quanben_flag")){?>
    <a href='<?=rewrite_list_rule("over",$v["id"])?>'>全本小说</a>
    <?}?>
    <sup></sup>
    </div>
  </div>
    <div class="clearfix"></div>
  <div class="menu_2">
   <!--第二菜单-->
  <?foreach($arr_menu2 AS $k => $v){?><a href="<?=rewrite_list_rule("type",$v["id"])?>"><?=$v["name"]?></a><?}?>
<div class="clearfix"></div>
  </div>
  <div class="serach">
    <div class="imgi"></div>
    <form name="articlesearch" method="post" action="<?=DOMAIN_PATH?>/search.php" >
    <input name="keys" class="inp_4" id="keys" value="<?=$keys?>" type="text">
 <? foreach($dbtitle as $k =>$v){?>
    <input name="searchtype" <? if($k==$g_cgival['t']) echo "checked";?> value=<?=$k?> class="inp_5" type="radio"><span class="sercht"><?=$v?></span>
    <? }?>
    <input name="Submit" src="<?=PATH_WEB_IMAGES?>/search.gif" type="image">
    </form>
	    <div class="rcot">
      <span>畅销小说推荐：</span>
    <a href="<?=DOMAIN_PATH?>/tongji.php?act=w">周点击榜</a>
    <a href="<?=DOMAIN_PATH?>/tongji.php?act=m">月点击榜</a>
    <a href="<?=DOMAIN_PATH?>/tongji.php">总点击榜</a>
    <a href="<?=rewrite_list_rule('list','news')?>">最新入库</a>
    </div>
        <div class="clearfix"></div>
  </div>
    <div class="clear"></div>
  <!--头部广告-->
  <div><script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggtop"></script></div>
  <!--END头部广告-->
 </div>
 <!--END顶部-->

 
 
<div id="box"><!--主体-->
<div align="center">
<!--章节顶部gg-->
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggchaptertop"></script>
</div>
<div id="box_show"><!--主体1-->
<div id="showmain">
<div class="fontSize"><strong>选择字号：</strong><span v="16px">【大】</span><span v="14px">【中】</span><span v="12px">【小】</span></div>
<div class="title"><span title="qwe"><span title="<?=strip_tags(de($v_ext['b_name']))?>"><?=sort_preg_replace($v_ext["sort"],strip_tags(de($v_ext["title"])))?></span></div>
<div class="text"><?=de($v_ext["content"])?><br><br><?=de($sys["down_chapter_ext"])?></div>
<div class="next"><span class="lastpage"><?if($next){ echo $last_url;}?></span><span><a class="book_showtitle" href="<?=get_dir_url($book_id)?>" title="<?=strip_tags(de($v_ext['b_name']))?>" >返回主目录</a></span><span class="nextpage"><?if($next){ echo $next_url;}?></span>
</div>
</div>
<!--end 主体1-->
<div id="clear-f"></div>
</div><!--end 主体-->
 
 
 
 
 
</div>
<? include("bot.php") ?>