<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title><?=$title?><?=$sys["site_title"]?></title>
<meta name="keywords" content="<?=$sys["site_keys"]?>" />
<meta name="Description" content="<?=$sys["site_content"]?>" />
<link href="<?=PATH_WEB_CSS?>/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var u_url="<?=USER_PATH?>";
var globalUrl="<?=DOMAIN_PATH?>";
</script>
<script type="text/javascript" src="<?=PATH_WEB_JS?>/main.js"></script>
<script type="text/javascript" src="<?=PATH_WEB_JS?>/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?=PATH_WEB_JS?>/jquery-layer.js"></script>
<script language="javascript" type="text/javascript" src="<?=PATH_USER_JS?>/ajaxjs.js"></script>
</head>

<body>
<div id="wrap">
<div id="top"><!--顶部-->
<div id="tophead"><!--顶部:收藏本站栏-->
<span id="kk_top_login"></span><script>GetLogin()</script><span><a href="javascript:void(0);" target="_self" onclick="javascript:setMyHome('<?=DOMAIN_PATH?>')">设为首页</a></span> <span><a href="javascript:void(0);" target="_self" onClick="javascript:AddFavorite('<?=DOMAIN_PATH?>','<?=$sys["site_title"]?>')" >收藏本站</a></span></div>
<!--end 顶部:收藏本站栏-->
<div id="topmain"><!--顶部:logo栏-->
<a href="<?=DOMAIN_PATH?>"><img title="<?=$sys["site_title"]?>" alt="<?=$sys["site_title"]?>"  class="lefttop" src="<?=DOMAIN_PATH.'/'.$sys['gg_logo']?>" width="156" height="54" /></a>
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggtop"></script>
</div><!--end 顶部:logo栏-->
<div id="menu"><!--顶部:菜单栏-->
<ul>
<li><a href="<?=DOMAIN_PATH?>">首页</a></li>
<?foreach($arr_menu AS $k => $v){?><li>|</li><li><a href="<?=rewrite_list_rule('type',$v['id'])?>"><?=$v["name"]?></a></li><?}?>
<?if(get_system("quanben_flag")){?>
<li>|</li><li><a href="<?=rewrite_list_rule("over",$v["id"])?>">全本小说</a></li>
<?}?>
</ul>
</div><!--end 顶部:菜单栏-->
<div id="menu2"><!--顶部:菜单栏-->
<ul>
<?foreach($arr_menu2 AS $k => $v){?><li><?if($k!=0){?>·<?}?></li><li><a href="<?=rewrite_list_rule('type',$v['id'])?>"><?=$v["name"]?></a></li><?}?>
</ul>
</div><!--end 顶部:菜单栏-->
</div><!--end 顶部-->
<div id="clear-f"></div>
<div id="search-line"><!--搜索-->
<form name="keys" action="<?=DOMAIN_PATH?>/search.php" method="post">
<div id="search-inline"><div class="imag"></div><span>
<select name="t" class="keyt" >
<? foreach($dbtitle as $k =>$v){?><option <? if($k==$g_cgival['t']) echo "selected";?> value="<?=$k?>"><?=$v?></option>";<?}?>
</select>
<input class="keyword" type="text" name="keys" value="<?=$keys?>" /></span>
  <div class="imag_search">
  <input style="float:left;" type="image" width="58" height="19" name="imageField" id="imageField" src="<?=PATH_WEB_IMAGES?>/sousuo.gif" /></div><div class="search_right">公告：<marquee direction="left" loop="-1" width="500" scrollamount="2"><?=de($gonggao)?></marquee></div></div>
</form>
</div><!--end 搜索-->
<div id="clear-f"></div>