<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--<?php
if($webdb[ShowMenu]){
	$sonmenu=@include_once(ROOT_PATH.'data/menu_cache.php');
}else{
	$returnjs="return ;";
    $sonmenu="";
}
$GuideFid[$fid]=str_replace("<a href='$webdb[www_url]' class='guide_menu'>&gt;首页</a>","",$GuideFid[$fid]);
$bodyondblclick = (function_exists('label_array')&&$web_admin&&!$MakeIndex) ?"dblclick_label();":"";
print <<<EOT
-->
<head>
<title>$titleDB[title]</title>
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/$STYLE/style.css">
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/v7/cms.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="$titleDB[keywords]">
<meta name="description" content="$titleDB[description]">
</head>
<SCRIPT LANGUAGE="JavaScript">
//屏蔽可忽略的js脚本错误
function killErr(){
	return true;
}
window.onerror=killErr;
</SCRIPT>
<!--
EOT;
if($webdb[cookieDomain]){print <<<EOT
-->
<SCRIPT LANGUAGE="JavaScript">
//解决不同域名的框架跨域问题
document.domain = "$webdb[cookieDomain]";
</SCRIPT>
<!--
EOT;
}print <<<EOT
-->
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/inc.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/default.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/swfobject.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/jquery-1.2.6.min.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/blue/sliding.js"></SCRIPT>
<body ondblclick="$bodyondblclick">
<div class="topcontainer">
<dl>
	<dt>
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write('<span id="toplogin">$Load_Msg</span>');
document.write('<div style="display:none;"><iframe src="$webdb[www_url]/do/hack.php?hack=login&styletype=blue&iframeID=toplogin" width=0 height=0></iframe></div>');
//-->
</SCRIPT> 
    </dt>
    <dd>
<script language="JavaScript"> 
<!---
today=new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var timeValue = ((hours >12) ? hours -12 :hours); 
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += (hours >= 12) ? " 下午 " : " 上午 ";
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i]  }
var d=new initArray("<span>星期日</span>","<em>星期一</em>","<em>星期二</em>","<em>星期三</em>","<em>星期四</em>","<em>星期五</em>","<span>星期六</spans>"); 
document.write(today.getFullYear(),"年",today.getMonth()+1,"月",today.getDate(),"日 ",d[today.getDay()+1]," ",timeValue); 
//-->
</script>
		<A onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$webdb[www_url]');" href="#">设为首页</A>
        <A href="javascript:javascript:window.external.AddFavorite('$webdb[www_url]','$webdb[webname]');">加入收藏</A>
    </dd>
</dl>
</div>
<div class="LogoContainer">
	<div class="logo"><a href="$webdb[www_url]"><img src="$webdb[www_url]/images/blue/logo.gif"/></a></div>
    <div class="ad">{$label[blue_headad1]}</div>
    <div class="title">{$label[blue_headtext1]}</div>
</div>
<ul class="MainMenu">
<!--
EOT;
$this_sys_fup='';
$choose_class[intval($webdb['module_id'])]=" class='begin' ";
$detail=explode("\r\n",$webdb[guide_word]);
foreach($detail AS $key=>$value){
if($key>20)break;
if(!$value)continue;
list($Hname,$Hurl,$Hblank,$Hcolor,$Hlid,$Link)=explode("|",$value);
if(ereg("^\/",$Hurl)){$Hurl="$webdb[www_url]$Hurl";}elseif(!ereg("://",$Hurl)){$Hurl="$webdb[www_url]$webdb[path]/$Hurl";}
$Hblank=$Hblank?"target='_blank'":'';
$Hname = get_word($Hname,8);
$Hcolor=$Hcolor?"style='color:$Hcolor'":'';
if($Link!==''&&$Link==intval($webdb['module_id']))$this_sys_fup=$Hlid;
print <<<EOT
-->
	<li {$choose_class[$Link]}><a href="$Hurl" $Hblank $Hcolor>{$Hname}</a></li>
<!--
EOT;
}
print <<<EOT
-->
</ul>
<div class="SearchContainer">
<!--
EOT;
$MenuArray=@include(ROOT_PATH."data/menu_cache.php");
if($MenuArray[$this_sys_fup]){
foreach($MenuArray[$this_sys_fup] AS $rs){
if(!ereg("://",$rs[linkurl])){$rs[linkurl]="$webdb[www_url]/$rs[linkurl]";}
$Hblank=$rs[target]?"target='_blank'":'';
print <<<EOT
-->
<div style="float:left;margin-left:5px;margin-right:10px;"><A HREF="$rs[linkurl]" style="font-size:14px;color:$rs[color];" $Hcolor $Hblank>$rs[name]</A></div>
<!--
EOT;
}}else{print <<<EOT
-->
<form name="form1" method="post" action="$webdb[www_url]/news/search.php" onsubmit="return cksearch();">
	<div class="tag">搜索：</div>
    <div class="keyword"><input id="keyword_s" type="text" name="keyword"></div>
    <div class="select">
    	<span><input name="type" type="radio" value="title" checked="checked" /></span><em>标题</em>
        <span><input name="type" type="radio" value="content" /></span><em>内容</em>
        <span><input name="type" type="radio" value="username" /></span><em>作者</em>
    </div>
    <div class="submit"><input name="" type="image" src="$webdb[www_url]/images/blue/submit.gif" /></div>
</form>
<!--
EOT;
}
print <<<EOT
-->
	<div class="post"><a href="$webdb[www_url]/news/post.php" target="_blank">我要投稿</a></div>
</div>
<!--
EOT;
if($GuideFid[$fid]){
$url = $Mdomain?$Mdomain:"$webdb[www_url]/";
print <<<EOT
-->
<div class="nav_guide">
	<div class="t1">当前位置：</div>
    <div class="t2"><a href="$url">首页</a> $GuideFid[$fid] </div>
</div>
<!--
EOT;
}
print <<<EOT
-->
<SCRIPT LANGUAGE="JavaScript">
<!--//目的是为了做风格方便
document.write('<div class="wrap">');
//-->
</SCRIPT>
<!--
EOT;
?>
-->