<!--<?php
print <<<EOT
-->
<!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" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$db_charset" />
<title>$webPageTitle - Powered by PHPWind</title>
<meta name="generator" content="PHPWind $wind_version" />
<meta name="description" content="$metaDescription" />
<meta name="keywords" content="$metaKeywords" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<link rel='archives' title='$db_bbsname' href='$db_bbsurl/simple' />
<!--
EOT;
if ($fid) {print <<<EOT
-->
<link rel="alternate" type="application/rss+xml" title="RSS" href="$db_bbsurl/rss.php?fid=$fid" />
<!--
EOT;
}print <<<EOT
-->
<base id="headbase" href="$db_bbsurl/" />
<link rel="stylesheet" type="text/css" href="$imgpath/wind-reset.css" />
<!--
EOT;
@include Pcv($css_path);
print <<<EOT
-->
<script type="text/javascript" language="JavaScript" src="js/pw_ajax.js"></script>
<SCRIPT type="text/javascript" LANGUAGE="JavaScript" src="js/core/core.js"></SCRIPT>
<script language="JavaScript">
var imgpath = '$imgpath';
var verifyhash = '$verifyhash';
function getVerify(o) {
	if (is_ie) {
		var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
	} else {
		var xmlDoc = document.implementation.createDocument("", "", null);
	}
	xmlDoc.async = false;
	xmlDoc.load('$db_bbsurl/pw_ajax.php?action=getverify&fid=$fid&tid=$tid');
	var v = xmlDoc.documentElement.firstChild.nodeValue.split('\t');
	o.verify.value = v[0];
	o._hexie.value = v[1];
	return true;
}
</script>
</head>
<body onkeydown="try{keyCodes(event);}catch(e){}">
$msgsound
<!--
EOT;
if($db_menu){print <<<EOT
-->
<div id="menu_forumlist" style="display:none;">
	<div class="sbar-box-a" style="width:700px;">
		<div class="sbar-title" style="cursor:pointer" onclick="try{pw_bottom.hiddenTab();read.close();}catch(e){read.close();}">
				<span class="menu-hidden aimg">隐藏</span>
				<span id="title_forumlist" class="b">快速浏览</span>
		</div>
		<div class="sbar-box-b">
			<div class="forum-list-popout">
<!--
EOT;
if ($GLOBALS['pwForumList']) {
	$pwForumList = $GLOBALS['pwForumList'];
} else {
	$pwForumList = array();
	include(D_P.'data/bbscache/forumlist_cache.php');
	if ($pwForumAllList && $GLOBALS['groupid'] == 3) {
		$pwForumList = array_merge($pwForumList,$pwForumAllList);
	}
}
foreach($pwForumList as $key=>$value){
	if (isset($value['child']) && is_array($value['child']) && count($value['child'])) {
print <<<EOT
-->
			<dl class="cc">
				<dt>
<!--
EOT;
if($GLOBALS['m']){print<<<EOT
-->
				<a href="index.php?cateid=$key" target="_blank">$value[name]</a>
<!--
EOT;
}else{print<<<EOT
-->
				<a href="index.php?cateid=$key">$value[name]</a>
<!--
EOT;
}print<<<EOT
-->
				</dt>
				<dd class="cc">
<!--
EOT;
foreach($value['child'] as $k=>$v){
if($GLOBALS['m']){print <<<EOT
-->
					<a href="thread.php?fid=$k" target="_blank" onclick="return pwForumList(true,gIsPost,$k,'',true);"><span>$v</span></a>
<!--
EOT;
}else{print<<<EOT
-->
					<a href="thread.php?fid=$k" onclick="return pwForumList(true,gIsPost,$k);"><span>$v</span></a>
<!--
EOT;
}}print <<<EOT
-->
				</dd>
			</dl>
<!--
EOT;
}}print <<<EOT
-->
			</div>
		</div>
	</div>
</div>
<!--
EOT;
}print <<<EOT
-->
<div class="topbar">
	<div id="nav-operate">
		<table width="100%" cellpadding="0" cellspacing="0" border="0">
			<tr class="vt">
				<td width="380"></td>
				<td>
					<ul class="fr">
<!--
EOT;
foreach($db_headnav as $value){
if ($value['pos'] == '-1' || strpos(",{$value['pos']},",',bbs,') !== false) {print <<<EOT
-->
						<li>{$value['html']}</li>
<!--
EOT;
}}print <<<EOT
-->
					</ul>
				</td>
			</tr>
		</table>
	</div>
</div>
<div id="header">
		<div id="head">
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td><a href="$db_bbsurl" class="fl"><img src="$imgpath/$stylepath/logo.png"/></a></td>
					<td id="banner" align="right">
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Site.Header',$fid);
if($htmlAdvert){print <<<EOT
-->
					$htmlAdvert
<!--
EOT;
}print <<<EOT
-->
					</td>
				</tr>
			</table>
		</div>
	<div class="nav-wrap">
		<div id="nav">
		<span class="nav-left fl"></span>
            <div id="nav-s">
				<a href="search.php?advanced=1" class="fr">高级</a>
				<form name="sF" action="search.php?#submit" method="post" >
				<input type="hidden" name="step" value="2" />
				<input type="hidden" name="method" value="AND" />
				<input type="hidden" name="sch_area" value="0" />
				<input type="hidden" name="sch_area" value="0" />
				<input type="hidden" name="f_fid" value="all" />
				<input type="hidden" name="sch_time" value="all" />
                <input class="s-input" type="text" id="keyword" name="keyword" />
                <input class="s-btn" type="submit" name="submit" value="" />
                </form>
			</div>
            <div id="nav-global">
				<ul class="cc">
					{$_Navbar['main']['html']}
				</ul>
			</div>
        </div>
     </div>
</div>

<div class="index-info cc">
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Site.NavBanner1', $fid);
if($htmlAdvert){print <<<EOT
-->
	<div class="tac" style="padding:.5em 0 0;">$htmlAdvert</div>
<!--
EOT;
}
list($htmlAdvert,$arrayAdvert) = pwAdvert('Site.NavBanner2', $fid);
if($htmlAdvert){print <<<EOT
-->
	<div class="tac" style="padding:.5em 0 0;">$htmlAdvert</div>
<!--
EOT;
}print <<<EOT
-->
	<table cellpadding="0" cellspacing="0" width="100%" style="table-layout:fixed;">
	<tr>
<!--
EOT;
if(0){print <<<EOT
-->
		<td class="tal s4" width="430">

			<a href="u.php?action=topic">我的主题</a>
			<a href="u.php?action=post">我的回复</a>
			<a href="u.php?action=favor">我的收藏</a>
<!--
EOT;
if ($db_modes['o']['ifopen']) {print <<<EOT
-->
			<a href="mode.php?m=o&q=home">好友近况</a>
<!--
EOT;
}else{print <<<EOT
-->
			<a href="u.php?action=feed">好友近况</a>
<!--
EOT;
}print <<<EOT
-->
		</td>
<!--
EOT;
}else{print <<<EOT
-->
		<td class="tal s4" width="240">&nbsp;</td>
<!--
EOT;
}print <<<EOT
-->
		<td class="tar">
<!--
EOT;
foreach ($db_navinfo as $key => $value) {
if($key == 'KEYapp' && !$db_appsdb){
	continue;
}
print <<<EOT
-->
	{$value['html']}
<!--
EOT;
if($value['child'] || ($db_appsdb && $key == 'KEYapp')){
$db_menuinit .= ",'td_".$key."' : 'menu_".$key."'";
print <<<EOT
-->
	<div id="menu_{$key}" class="menu menu-post cc" style="display:none;">
		<div class="menu-b" style="width:9em;">
<!--
EOT;
if($db_appsdb && $key == 'KEYapp'){
foreach ($db_appsdb as $app) {
$top_target = $value[target] == '1' ? ' target="_blank"' : '';
print <<<EOT
-->
			<p><a href="apps.php?id=$app[appid]"{$top_target}>$app[name]</a></p>
<!--
EOT;
}}foreach ($value['child'] as $v) {print <<<EOT
-->
			<p>{$v['html']}</p>
<!--
EOT;
}print <<<EOT
-->
		</div>
	</div>
<!--
EOT;
}}print <<<EOT
-->
        </td>
	</tr>
	</table>
</div>
<div class="main-wrap">
<div id="main">
<style type="text/css">
.warning a:hover{background:#F00; color:#fff; padding:0;}
.sigline {margin-top:10px;margin-left:15px;background: url($imgpath/$stylepath/read/sigline.gif) right bottom no-repeat;margin-right:30em;height:5px;}
.signature {padding:10px 15px 0;height:expression(this.scrollHeight>parseInt(this.currentStyle.maxHeight)?this.currentStyle.maxHeight:"auto");}
.user-pic img {border: 1px solid $tdcolor;background:#fff;padding:3px;}
.small {font-size:12px}
.middle {font-size:14px}
.big {font-size:18px}
.dig{font-size:12px;background-color:#ffffee; background-position:-22px -57px;padding:0 .4em 0 1.6em;cursor: pointer;color:#666;border:1px solid #ffd0a8;height:18px;line-height:18px;margin:12px 5px 10px 15px;}
.dig:hover {text-decoration:none;border:1px solid #f5a25c;color:#ff6600;}
.readbot {padding:0px;}
.readbot a{list-style:none;padding:0 0 0 1.5em;margin:0;float:left;cursor:pointer;background:url($imgpath/$stylepath/read/yin.gif) no-repeat;width:3.5em;height:16px;}
.readbot .r-quote:hover{background-position:0 0;}
.readbot .r-reply:hover {background-position:0 -20px;}
.readbot .r-score:hover {background-position:0 -40px;}
.readbot .r-keep:hover {background-position:0 -60px;}
.readbot .r-recommend:hover {background-position:0 -160px;}
.readbot .r-report:hover{background-position:0 -200px;}
.readbot .r-quote {background-position:0 -80px;}
.readbot .r-reply {background-position:0 -100px;}
.readbot .r-score {background-position:0 -120px;}
.readbot .r-keep {background-position:0 -140px;}
.readbot .r-recommend {background-position:0 -180px;}
.readbot .r-report {background-position:0 -220px;}
.down {background:url($imgpath/post/down.gif) 5px center no-repeat;padding:5px 5px 5px 30px;border:$cbgborder 1px solid;margin:0 1em 0 0;line-height:40px;}
.img-50{width:48px;height:48px;}

/*分类信息*/
.cates{margin:0 0 10px;}
.cates .cate-list li{padding:2px 0 1px 10px;font-weight:500;color:#444444; list-style:none;}
.cates .cate-list em{ font-style:normal;width:100px;float:left;}
.cates .cate-list cite{font-style:normal;}
.cates input{ vertical-align:middle;}
.cates .w{margin-right:10px;}
.cates .two{background:$forumcolortwo;}
.app-post{background:url($imgpath/app-post.png);display:block;float:left;color:#ffffff;width:78px;height:26px;line-height:25px;padding-left:17px; }
.app-post:hover{ text-decoration:none; background-position:0 -50px;}

/*flash*/
.flash{position:relative;}
.flash img{height:100%;width:100%;}
.flash ul {position:absolute;right:8px;bottom:8px;z-index:3;}
.flash ul li {list-style:none;float:left;width:18px;height:13px;line-height:13px;text-align:center;margin-left:2px;background:#ffffff;}
.flash ul li a {display:block;width:18px;height:13px;font-size:10px;font-family:Tahoma;color:#333333;}
.flash ul li a:hover,.flash ul li a.sel {color:#fff;text-decoration:none;background:#ffa900;}

/*ping*/
.score{margin:10px 15px;padding-top:10px;border-top:1px dashed $tdcolor;line-height:22px;}
.score td{padding:2px 10px 2px 5px;}
.score th{padding:6px 0 0;}
.score tr:hover{background:$forumcolortwo;}
.score a{color:#3366cc;}
</style>
<div id="breadCrumb" class="cc"> $msg_guide <a href="read.php?fid=$fid&tid=$tid&toread=1">(转到动态网页)</a> &raquo; <a href="rss.php?tid=$tid" target="_blank" title="Rss订阅本帖最新内容"><img src="$imgpath/$stylepath/rss.png" align="absbottom" style="margin-bottom:2px;" alt="rss" /></a>
</div>
<!--ads begin-->
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Forum.TextRead',$fid);
if($htmlAdvert){print <<<EOT
-->
<div class="ad-text">
	<table width="100%" cellspacing="0" cellpadding="0">
<!--
EOT;
$tmpCount=0;
$idp = 100/$db_txtadnum;
foreach($arrayAdvert as $value){
if($tmpCount==0){print <<<EOT
-->
		<tr class="tr3">
<!--
EOT;
}$tmpCount++;print <<<EOT
-->
			<td class="f_one black tac" width="$idp%">$value</td>
<!--
EOT;
if($tmpCount==$db_txtadnum){
$tmpCount=0;print <<<EOT
-->
		</tr>
<!--
EOT;
}}if($tmpCount && $id<$db_txtadnum){
for($i=$tmpCount;$i<$db_txtadnum;$i++){print <<<EOT
-->
		<td class="f_one" width="$idp%">&nbsp;</td>
<!--
EOT;
}print <<<EOT
-->
		</tr>
<!--
EOT;
}print <<<EOT
-->
	</table>
</div>
<div class="c"></div>
<!--
EOT;
}print <<<EOT
-->
<div class="t3">
<!--
EOT;
if ($pwforum->foruminfo['allowtype']) {print <<<EOT
-->
<span class="fr" style="margin-left:.5em"><a href="post.php?fid=$fid"><img src="$imgpath/$stylepath/post.png" id="td_post" /></a></span>
<!--
EOT;
}print <<<EOT
-->
<span class="fr"><a href="post.php?action=reply&fid=$fid&tid=$tid"><img src="$imgpath/$stylepath/reply.png" /></a></span>
<span class="pages fl"><a href="job.php?action=previous&fid=$fid&tid=$tid&goto=previous" class="fn">上一主题</a><span class="f_one fl"><a href="job.php?action=previous&fid=$fid&tid=$tid&goto=next" class="fn">下一主题</a></span></span>
<span class="fl">$pages</span>
<div class="c"></div>
</div>
<div id="menu_post" class="menu menu-post cc f14 tac" style="display:none;">
	<div class="menu-b" style="width:75px;">
<!--
EOT;
if($pwforum->foruminfo['allowtype'] & 1){print <<<EOT
-->
		<a href="post.php?fid=$fid">新  帖</a>
<!--
EOT;
}if($pwforum->foruminfo['allowtype'] & 2){print <<<EOT
-->
		<a href="post.php?fid=$this->fid&special=1">投  票</a>
<!--
EOT;
}if($pwforum->foruminfo['allowtype'] & 4){print <<<EOT
-->
		<a href="post.php?fid=$this->fid&special=2">活  动</a>
<!--
EOT;
}if($pwforum->foruminfo['allowtype'] & 8){print<<<EOT
-->
		<a href="post.php?fid=$fid&special=3">悬  赏</a>
<!--
EOT;
}if($pwforum->foruminfo['allowtype'] & 16){print <<<EOT
-->
		<a href="post.php?fid=$fid&special=4">商  品</a>
<!--
EOT;
}if($pwforum->foruminfo['allowtype'] & 32){print <<<EOT
-->
		<a href="post.php?fid=$fid&special=5">辩  论</a>
<!--
EOT;
}print <<<EOT
-->
	</div>
</div>
<div class="c"></div>
<div class="t" style="margin-bottom:0;border-bottom:0;">
	<table cellspacing="0" cellpadding="0" width="100%" style="border-bottom:1px solid $headborder">
		<tr>
			<td class="tal h">
				主题 : $subject
			</td>
			<td class="tar h"><div class="fr w">
<!--
EOT;
if($db_hackdb['toolcenter'][2]){print <<<EOT
-->
					<a id="usetool" style="cursor:pointer" onclick="sendmsg('$db_bbsurl/pw_ajax.php?action=usetool','',this.id)" />使用道具</a> |
<!--
EOT;
}print <<<EOT
-->
					<a style="cursor:pointer;" title="$db_bbsurl/read.php?fid=$fid&tid=$tid" onclick="copyUrl('');">复制链接</a>
					| <a class="fn" style="cursor:pointer;" onclick="Addtoie('$db_bbsurl/read.php?fid=$fid&tid=$tid','$db_bbsname_a--$favortitle');">浏览器收藏</a> | <a class="fn" href="$db_bbsurl/simple/index.php?t{$tid}.html"> 打印</a> </div></td>
		</tr>
	</table>
</div>
<!--
EOT;
foreach($readdb as $key=>$read){
if($read){
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Forum.Layer.TidAmong',$fid,$key,'read');
if($htmlAdvert){print <<<EOT
-->
	<div style="margin-bottom:4px;" class="tac" id="ads_d_$read[pid]">{$htmlAdvert}</div>
<!--
EOT;
}print <<<EOT
-->
	$read[jupend]
	<div class="t5">
		<table cellspacing="0" cellpadding="0" width="100%" style="table-layout:fixed;">
			<tr class="tr1">
				<td style="width:185px;vertical-align:top;" rowspan="2" class="r_two">
				<div style="padding:8px 0 20px 8px;">
				<div class="cc" style="padding-bottom:3px;"><b class="fl black"><a href="u.php?action=show&uid=$read[authorid]" target="_blank">$read[author]</a></b>
<!--
EOT;
if($db_showonline && checkOnline($userdb['thisvisit'])){print <<<EOT
-->
					<span class="card-online" title="在线">在线</span>
<!--
EOT;
}else{print<<<EOT
-->
					<span class="card-offline" title="离线">离线</span>
<!--
EOT;
}print <<<EOT
-->
				</div>
<!--
EOT;
if($read['honor']){print <<<EOT
-->
				<div class="honor">$read[honor]</div>
<!--
EOT;
}print <<<EOT
-->
					<div class="user-pic">
						<table>
							<tr>
								<td width="1">
<!--
EOT;
if (isset($db_modes['o']['ifopen']) && $db_modes['o']['ifopen']) {print<<<EOT
-->
									<a href="u.php?action=show&uid=$read[authorid]" target="_blank" id="card_sf_{$read[pid]}_{$read[authorid]}" class="userCard">$read[face]</a>
<!--
EOT;
}else{print<<<EOT
-->
									<a href="u.php?action=show&uid=$read[authorid]" target="_blank">$read[face]</a>
<!--
EOT;
}print<<<EOT
-->
								</td>
								<td width="1" style="vertical-align:top"><span id="sf_$read[pid]"></span></td>
							</tr>
						</table>
					</div>
					<div style="padding:5px 0 2px;">
					级别: {$read[level]}<br />
					<img src="$imgpath/$stylepath/level/$read[lpic].gif" style="margin:.2em 0 .2em 0;display:block"/> $read[medals]
					</div>
					<span class="user-info2">
						<span class="user-infoWrap2">
<!--
EOT;
if(!$db_readinfo){print<<<EOT
-->
							<a id="info_$read[lou]" onclick="showuserinfo('$read[lou]');" style="cursor:pointer; text-decoration:underline;">显示用户信息</a><span id="gif_$read[lou]">&nbsp;<img src="$imgpath/read_down.gif"></span>
<!--
EOT;
}print<<<EOT
-->
							</span>
						</span>
<!--
EOT;
if(!$db_readinfo){print<<<EOT
-->
					<span class="user-info2" id="showface_$read[lou]" style="display:none">
<script language="javascript">
function showuserinfo (id) {
	if (getObj('showface_' + id).style.display == 'none') {
		getObj('showface_' + id).style.display = '';
		getObj('info_' + id).innerHTML = '隐藏用户信息';
		getObj('gif_' + id).innerHTML = "&nbsp;<img src=\"$imgpath/read_up.gif\">";
	} else {
		getObj('showface_' + id).style.display = 'none';
		getObj('info_' + id).innerHTML = '显示用户信息';
		getObj('gif_' + id).innerHTML = "&nbsp;<img src=\"$imgpath/read_down.gif\">";
	}
}
</script>
<!--
EOT;
}else{print<<<EOT
-->
					<span class="user-info2" id="showface_$read[lou]">
<!--
EOT;
}print<<<EOT
-->
						<span class="user-infoWrap2">
							<div class="c"></div>
							UID: <span class="f12">$read[authorid]</span><br />
							精华:
<!--
EOT;
if($read['digests']){print <<<EOT
-->
							<a href="search.php?authorid=$read[authorid]&digest=1" target="_blank" class="s4">$read[digests]</a>
<!--
EOT;
}else{print <<<EOT
-->
							<span class="s4">$read[digests]</span>
<!--
EOT;
}print <<<EOT
-->
							<br />
							发帖: <span class="s1 f12">$read[postnum]</span><br />
							$db_rvrcname: <span class="s2 f12">$read[aurvrc] $db_rvrcunit</span><br />
							$db_moneyname: <span class="s3 f12">$read[money] $db_moneyunit</span><br />
<!--
EOT;
if($db_ads){print <<<EOT
-->
							$db_creditname: <span class="s1 f12">$read[credit] $db_creditunit</span><br />
<!--
EOT;
}if($db_showcustom){
foreach($_CREDITDB as $k=>$v){
if(strpos($db_showcustom,",$k,")!==false){
!$customdb[$read['authorid']][$k] && $customdb[$read['authorid']][$k]=0;
print <<<EOT
-->
							$v[0]: <span class="s2 f12">{$customdb[$read[authorid]][$k]} $v[1]</span><br />
<!--
EOT;
}}}if($customfield){
foreach($customfield as $k=>$val){
if($val['viewinread']){
if($val['viewright']&&$winduid!=$read['authorid']&&strpos(",$val[viewright],",",$groupid,")===false){
continue;
}$field="field_".(int)$val[id];
if($val[type]==3){
foreach(explode("\n",$val['options']) as $k=>$v){
list($k,$v)=explode('=',$v);
if($read[$field]==$k){
$read[$field]=$v;
}}}print <<<EOT
-->
							$val[title]: $read[$field]<br />
<!--
EOT;
}}}if($read['customdata']){
foreach($read['customdata'] as $k => $val){
if($custominfo[$k][2]){
$custominfo[$k][2]=str_replace("{{$k}}",$val,$custominfo[$k][2]);
$custominfo[$k][4] && $val=$custominfo[$k][4];
$val="<a href=\"{$custominfo[$k][2]}\" target=\"_blank\">$val</a>";
}print <<<EOT
-->
							{$custominfo[$k][0]}: $val<br />
<!--
EOT;
}}if($db_showcolony && $colonydb[$read[authorid]]){
$v=$colonydb[$read[authorid]];
print <<<EOT
-->
							群组: <a href="mode.php?m=o&q=group&cyid=$v[id]" target="_blank">$v[cname]</a><br />
<!--
EOT;
}if($db_ifonlinetime){print <<<EOT
-->
							在线时间: $read[ontime](时)<br />
<!--
EOT;
}print <<<EOT
-->
							注册时间: <span class="gray">{$read[regdate]}</span><br />
							最后登录: <span class="gray">{$read[lastlogin]}</span> </span> </span>
					</div>
				</th>
				<th height="100%" class="r_one" valign="top" id="td_$read[pid]" style="padding:0px;border:0;overflow:hidden"> <a name="post_$read[pid]"></a>
					<div class="tiptop"> <span class="fl">
<!--
EOT;
if (!empty($db_floorname[$read['lou']])){print <<<EOT
-->
						<a class="s3 b" style="cursor:pointer;" onclick="copyUrl('$read[pid]')" title="复制此楼地址">{$db_floorname[$read[lou]]}</a>&nbsp;
<!--
EOT;
} else { print<<<EOT
-->
						<a class="s3 b" style="cursor:pointer;" onclick="copyUrl('$read[pid]')" title="复制此楼地址">$read[lou]$db_floorunit</a>&nbsp;
<!--
EOT;
}print <<<EOT
-->
						</span> <span class="fl gray" style="white-space:nowrap;">发表于: $read[postdate]</span>
						<div class="fr black" style="overflow:hidden;">
<!--
EOT;
if($uid>0){print <<<EOT
-->
							<a href="read.php?tid=$tid" title="显示全部帖子">全看</a> |
<!--
EOT;
}else{
if($read['lou']==0){print <<<EOT
-->
							<a href="read.php?tid=$tid&uid=$read[authorid]&toread=1" title="只看楼主的所有帖子">只看楼主</a> |
<!--
EOT;
}else{print <<<EOT
-->
							<a href="read.php?tid=$tid&uid=$read[authorid]&toread=1" title="只看该作者的所有回复">只看该作者</a> |
<!--
EOT;
}}print <<<EOT
-->
							<a style="cursor:pointer" onclick="fontsize('small','$read[pid]')">小</a> <a style="cursor:pointer" onclick="fontsize('middle','$read[pid]')">中</a> <a style="cursor:pointer" onclick="fontsize('big','$read[pid]')">大</a> </div>
						<div class="c"></div>
					</div>
					<div class="c"></div>
<!--
EOT;
if($pwforum->forumset['dig'] && $read['lou']==0){print<<<EOT
-->
					<a id="r_dig" href="javascript:void(0)" class="dig fl" title="推荐此帖到排行榜" onclick="dig();">$read[dig]</a>
<!--
EOT;
}if($read['subject'] || $db_union[2]){
if($read['lou']==0){print <<<EOT
-->
						<h1 id="subject_$read[pid]">$db_union[2]$read[icon]$read[subject]</h1>
<!--
EOT;
}else{print<<<EOT
-->
						<div class="read_h1" id="subject_$read[pid]">$db_union[2]$read[icon]$read[subject]</div>
<!--
EOT;
}}else{print<<<EOT
-->
						<div class="read_h1" id="subject_$read[pid]"></div>
<!--
EOT;
}print <<<EOT
-->
					<div class="c"></div>
<!--
EOT;
if($read['remindinfo']){print <<<EOT
-->
					<div id="mag_$read[pid]">
						<blockquote class="blockquote block-img"><span class="s3">管理提醒:
<!--
EOT;
if($read['remindinfo'][1]){print <<<EOT
-->
							({$read[remindinfo][1]})
<!--
EOT;
}print <<<EOT
-->
							</span>{$read[remindinfo][0]}
<!--
EOT;
if($read['remindinfo'][2]){print <<<EOT
-->
							<span class="gray">({$read[remindinfo][2]})</span>
<!--
EOT;
}print <<<EOT
-->
						</blockquote>
					</div>
<!--
EOT;
}print <<<EOT
-->
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Forum.Layer.TidUp',$fid,$key+1,'read');
if($htmlAdvert){print <<<EOT
-->
					<div class="c"></div>
					<div class="tips black" style="width:auto;margin-top:0;_margin-left:7px;" id="ads_c_$read[pid]">{$htmlAdvert}</div>
<!--
EOT;
}print <<<EOT
-->
					<div class="tpc_content">
						<div id="p_$read[pid]" class="c"></div>
<!--
EOT;
if($ifmagic && $read['lou']==0){print <<<EOT
-->
						<div class="fr" id="myshow_pic" style="cursor:pointer;color:$linkcolor;margin-bottom:10px;" onclick="logo_onclick(event);"> <img src="http://rs.phpwind.net/{$magicid}T.gif" style="display:block;width:52px;height:52px;text-align:center" title="{$magicname}" />
							<div style="display:inline;text-align:center;white-space:nowrap;"><img id="my_close" src="$imgpath/post/my_close.gif" />重播</div>
						</div>
<!--
EOT;
}
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Forum.Layer.TidRight',$fid,$key+1,'read');
if($htmlAdvert){print <<<EOT
-->
						<div class="fr" id="ads_r_$read[pid]" style="clear:right;margin-bottom:10px;">{$htmlAdvert}</div>
<!--
EOT;
}print <<<EOT
-->
<!--
EOT;
if($read['pic']){
foreach($read['pic'] as $pic){
if($pic){print <<<EOT
-->
						<div style="margin:5px 0;" id="att_$pic[aid]">
<!--
EOT;
if($pic['desc']){print <<<EOT
-->
							描述:$pic[desc]<br />
<!--
EOT;
}print <<<EOT
-->
							图片: $pic[img]
<!--
EOT;
if($pic['dfadmin']){print <<<EOT
-->
							[<a style="cursor:pointer" onclick="delatt('$read[pid]','$pic[aid]');">删除</a>]
<!--
EOT;
}print <<<EOT
-->
						</div>
<!--
EOT;
}}}print <<<EOT
-->
						<div class="f14" id="read_$read[pid]">$read[content]</div>
					</div>
				</th>
			</tr>
			<tr class="tr1 r_one">
				<th style="vertical-align:bottom;border:0;padding:0px;padding-top:30px;">
<!--
EOT;
if($read['aid'] && $read['ifhide']>0){print <<<EOT
-->
					<div class="c"></div>
					<blockquote class="blockquote fl">附件设置隐藏，需要回复后才能看到</blockquote>
					<div class="c"></div>
<!--
EOT;
}if($read['picurl']){
foreach($read['picurl'] as $k => $picture){
if($picture){print <<<EOT
-->
					<div style="margin:0 2em 1em 2em;" id="att_$k">远程图片:<a href="job.php?action=showimg&tid={$tid}&pid={$read[pid]}&fid={$fid}&aid={$k}&verify={$picture[verify]}" target="_blank">$picture[name]</a>
<!--
EOT;
if($picture['dfadmin']){print <<<EOT
-->
						[<a style="cursor:pointer" onclick="delatt('$read[pid]','$k');">删除</a>]
<!--
EOT;
}print <<<EOT
-->
					</div>
<!--
EOT;
}}}if($read['downattach']){
foreach($read['downattach'] as $attach){
if($attach){print <<<EOT
-->
					<div style="margin:0 2em 1em 2em;" class="f12" id="att_$attach[aid]">
<!--
EOT;
if($attach['desc']){print <<<EOT
-->
						描述:$attach[desc]<br />
<!--
EOT;
}$att_id = $db_attfg ? "id=\"fg_$attach[aid]\"" : '';print <<<EOT
-->
						附件: <img src="$imgpath/$stylepath/file/$attach[type].gif" align="absmiddle" /> <a $att_id href="job.php?action=download&aid=$attach[aid]" target="_blank"> <font color="red">$attach[name]</font></a> ($attach[size] K) 下载次数:$attach[hits]
<!--
EOT;
if ($attach['needrvrc']) {
$at_lang = $attach['special'] == 2 ? '售价' : '需要';
print <<<EOT
-->
						{$at_lang}:{$attach[needrvrc]}{$attach[cname]}
<!--
EOT;
}elseif(in_array($attach['ext'],array('mp3','wma','wmv','rm','swf'))){print <<<EOT
-->
						[<a style="cursor:pointer" onclick="playatt('$attach[aid]');">试播</a>]
<!--
EOT;
}if($attach['dfadmin']){print <<<EOT
-->
						[<a style="cursor:pointer" onclick="delatt('$read[pid]','$attach[aid]');">删除</a>]
<!--
EOT;
}print <<<EOT
-->
					</div>
<!--
EOT;
}}}if($read['reward']){print <<<EOT
-->
					<div style="margin:5px 15px;line-height:25px;">$read[reward]</div>
<!--
EOT;
}if($read['mark']){print <<<EOT
-->
					<div id="mark_$read[pid]" class="tips tal" style="margin:0 15px 10px 15px;word-break:keep-all;word-wrap:no-wrap;line-height:25px;">
						<div class="tal s3">本帖最近评分记录:</div>
						<div class="tal f12">$read[mark]</div>
					</div>
<!--
EOT;
}print <<<EOT
-->
					<div id="w_$read[pid]" class="c"></div>
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Forum.Layer.TidDown',$fid,$key+1,'read');
if($htmlAdvert){print <<<EOT
-->
					<div class="tips black" style="width:auto;" id="ads_c_$read[pid]">{$htmlAdvert}</div>
					<div class="c"></div>
<!--
EOT;
}if($db_iftag && $read['tag']){print <<<EOT
-->
					<div class="tal" style="margin:0 2em 1em 2em;">关键词:{$read[tag]}</div>
<!--
EOT;
}print<<<EOT
-->
					<div class="c"></div>
<!--
EOT;
if($read['signature']){print <<<EOT
-->
					<div class="sigline"></div>
					<div class="signature" style="max-height:{$db_signheight}px;maxHeight:{$db_signheight}px; overflow:hidden;">
						<table width="100%">
							<tr>
								<td>$read[signature]</td>
							</tr>
						</table>
					</div>
<!--
EOT;
}print <<<EOT
-->
					<div class="tipad black">
						<div class="c"></div>
						<span class="fr gray">
<!--
EOT;
if ($read['ipfrom'] && empty($read['ip'])){print <<<EOT
-->
						$read[ipfrom]
<!--
EOT;
}else{print <<<EOT
-->
<span title="$read[ipfrom]">$read[ip]</span>
<!--
EOT;
}print <<<EOT
-->
						<a href="javascript:scroll(0,0)" title="顶端">顶端</a> </span>
						<div class="fl readbot">
<!--
EOT;
if($read['lou']==0){print <<<EOT
-->
							<a class="r-reply" title="回复此楼" href="javascript:;" style="cursor:pointer;" onclick="postreply('回 楼主($read[author]) 的帖子');">回复</a>
<!--
EOT;
}else{print <<<EOT
-->
							<a class="r-reply" title="回复此楼" href="javascript:;" style="cursor:pointer;" onclick="postreply('回 $read[lou]楼($read[author]) 的帖子');">回复</a>
<!--
EOT;
}print <<<EOT
-->
							<a class="r-quote" href="post.php?action=quote&fid=$fid&tid=$tid&pid=$read[pid]&article=$read[lou]&page=$page" onclick="showDialog('warning','只能在动态浏览时才能进行此操作','2');return false;" id="quote_$read[pid]" title="引用回复这个帖子">引用</a>
<!--
EOT;
if($admincheck || $_G['markable']){print <<<EOT
-->
							<a class="r-score" id="showping_$read[pid]" href="$db_bbsurl/operate.php?action=showping&tid=$tid&pid=$read[pid]&page=$page" onclick="return sendurl(this,8,undefined,undefined,'$db_bbsurl/')" title="评分">评分</a>
<!--
EOT;
}if($groupid!='guest' && $read['lou']==0){print <<<EOT
-->
							<a class="r-keep" href="javascript:;"  style="cursor:pointer;" onclick="showDialog('warning','只能在动态浏览时才能进行此操作','2');return false;" id="favor" title="收藏为私有">收藏</a>
<!--
EOT;
}print <<<EOT
-->
							<a class="r-recommend" onclick="sendmsg('$db_bbsurl/operate.php?action=share&ajax=1&type=topic&id=$tid','','td_read_$read[pid]');" title="分享此帖">分享</a>
						</div>
						<div class="c"></div>
					</div>
				</th>
			</tr>
		</table>
	</div>
	<div id="menu_read_$read[pid]" class="menu menu-post cc tac" style="display:none;">
		<div class="menu-b" style="width:4.5em;"> <a id="recommend_$read[pid]" href="operate.php?action=recommend&tid=$tid" onclick="return sendurl(this,8,'td_read_$read[pid]',undefined,'$db_bbsurl/')" title="分享此帖"></a>
<!--
EOT;
if($_G['allowreport']){print <<<EOT
-->
			<a href="operate.php?action=report&tid=$tid&pid=$read[pid]&page=$page" onclick="return sendurl(this,8,'td_read_$read[pid]',undefined,'$db_bbsurl/')" id="report_$read[pid]" title="举报此帖">举报</a>
<!--
EOT;
}print <<<EOT
-->
		</div>
	</div>
<!--
EOT;
$db_union[2]='';
}}print <<<EOT
-->
</form>
<div class="t3">
<!--
EOT;
if($pwforum->foruminfo['allowtype']){print <<<EOT
-->
	<span class="fr" style="margin-left:.5em"><a href="post.php?fid=$fid"><img src="$imgpath/$stylepath/post.png" id="td_post1" /></a></span>
<!--
EOT;
}print <<<EOT
-->
	<span class="fr"><a href="post.php?action=reply&fid=$fid&tid=$tid"><img src="$imgpath/$stylepath/reply.png" /></a></span> <span class="pages"><a href="job.php?action=previous&fid=$fid&tid=$tid&fpage=$fpage&goto=previous" class="fn">上一主题</a><span class="f_one fl"><a href="job.php?action=previous&fid=$fid&tid=$tid&fpage=$fpage&goto=next" class="fn">下一主题</a></span></span> <span class="fl">$pages</span>
	<div class="c"></div>
</div>
<div class="c"></div>
<div class="t3">
<!--
EOT;
if($winduid){print <<<EOT
-->
	<a class="bta fr" href="javascript:;" id="readlog" onclick="sendmsg('$db_bbsurl/pw_ajax.php?action=readlog','',this.id);">帖子浏览记录<span class="f9">▼</span></a> <a class="bta fr" href="javascript:;" id="threadlog" onclick="sendmsg('$db_bbsurl/pw_ajax.php','action=threadlog',this.id);">版块浏览记录<span class="f9">▼</span></a>
<!--
EOT;
}print <<<EOT
-->
	<img src="$imgpath/$stylepath/thread/home-old.gif" align="absmiddle" />&nbsp;<a href="$db_bfn">$db_bbsname</a> &raquo; <a href="thread.php?fid=$fid">$forumname</a> </div>
<div class="c"></div>
<!--
EOT;
if($db_windpost['checkurl']){print<<<EOT
-->
<div id="checkurl" class="menu menu-post" style="display:none;">
	<div class="menu-b tac">
		<table width="280" cellspacing="0" cellpadding="0">
			<tr>
				<th class="h" colspan="2"><span id="suburl">$db_bbsurl</span></th>
			</tr>
			<tr>
				<td colspan="2">访问内容超出本站范围，不能确定是否安全</td>
			</tr>
			<tr>
				<td><a href="" target="_blank" onclick="closep();" id="trueurl">继续访问</a></td>
				<td><a href="javascript:;" onclick="closep();">取消访问</a></td>
			</tr>
		</table>
	</div>
</div>
<!--
EOT;
}print<<<EOT
-->
<script language="JavaScript">
var tid = '$tid';
var fid = '$fid';
var mt;
var totalpage = parseInt('$numofpage');
var db_ajax = '$db_ajax';
var page = parseInt('$page');
var jurl = 'read.php?tid=$tid&fpage=$fpage&toread=$toread{$urladd}&page=';
var db_htmifopen = '$db_htmifopen';
var db_dir = '$db_dir';
var db_ext = '$db_ext';
var db_bbsurl = '$db_bbsurl';
var copyurl = '$db_bbsurl/read.php?tid=$tid' + (page > 1 ? '&page=' + page : '') + '#';
<!--
EOT;
if($db_windpost['checkurl'] == '1'){print<<<EOT
-->
var db_urlcheck = '$db_urlcheck';
<!--
EOT;
}print<<<EOT
-->

</script>
<script type="text/javascript" language="JavaScript" src="js/pw_lwd.js"></script>
<div id="att_mode" style="display:none"><div>威望: <input class="input" type="text" name="atc_downrvrc" value="0" size="1" /> &nbsp;描述: <input class="input" type="text" name="atc_desc" size="20" /> &nbsp;附件: <input class="input" type="file" name="attachment_" /></div></div>
<form name="FORM" method="post" action="post.php?" enctype="multipart/form-data" onsubmit="return checkpost(this);">
<div class="t" style="margin-top:8px"><table cellspacing="0" cellpadding="0" align="center" width="100%">
	<tr>
		<td class="h" colspan="2"><b>快速回复</b></td>
		<td class="h" style="text-align:right"><a href="javascript:scroll(0,0)"><b>顶端</b></a></td>
	</tr>
	<tr></tr>
	<tr class="tr2"><td colspan="100" style="border-bottom:0"></td></tr>
	<tr>
		<td valign="top" width="20%" class="f_one" style="padding:7px">
		<b>内容</b><br />
		  HTML 代码不可用
		<br />
		<input type="checkbox" name="atc_usesign" value="1" checked />使用签名
		<br />
		<input type="checkbox" name="atc_convert" value="1" checked />Wind Code自动转换
		<br />
		</td>
		<td width="60%" class="f_one" style="padding:7px">
		<div>
		<input type="text" class="input" name="atc_title" value="$titletop1" size="65" /> <br />

<!--
EOT;
if($db_gdcheck & 4){print <<<EOT
-->
	<div style="margin:5px 15px 5px 0;">
		 认证码: <input class="input" type="text" name="gdcode" size="5" tabindex="6" onfocus="try{opencode('menu_gd',this)}catch(e){}" /><br />
		<div class="menu" id="menu_gd" style="visibility:hidden;"><img src="ck.php?" align="absmiddle" style="cursor:pointer;" id="ckcode" alt="看不清楚，换一张" /></div></div>
<!--
EOT;
}list(,,$postq)=explode("\t",$db_qcheck);
if($postq > 0 && $db_question){
$qkey = array_rand($db_question);
print <<<EOT
-->
<div style="margin:5px 15px 5px 0;">验证问题：{$db_question[$qkey]} <input class="input" type="text" name="qanswer" />&nbsp;正确答案:{$db_answer[$qkey]}<input type="hidden" name="qkey" value="$qkey" /></div>
<!--
EOT;
}print <<<EOT
-->
		</div><div style="padding:.3em 0">
		<input type="hidden" name="atc_autourl" value="1" /></div>
		<textarea onkeydown="quickpost(event)" name="atc_content" rows="8" style="width:96%"></textarea>
		<input type="hidden" value="2" name="step" />
		<input type="hidden" value="reply" name="action" />
		<input type="hidden" value="$fid" name="fid" />
		<input type="hidden" value="$tid" name="tid" />
		<input type="hidden" name="verify" value="verify" />
		<input type="hidden" name="_hexie" value="_hexie" />
		<div style="margin:5px 0">
		<div style="padding:4px 15px 3px 0;float:right;"><a class="bta" onclick="javascript:checklength(document.FORM,'$db_postmax');">字数检查</a>
		<!-- <a class="bta" onclick="loadData('msg');">恢复数据</a>
		<a class="bta" onclick="savedraft();">存为草稿</a>
		<a class="bta" id="newdraft" onclick="opendraft(this.id);">草稿箱</a> --></div>
		<div style="padding:4px 10px 0 0;float:left;color:#FF0000">按"Ctrl+Enter"直接提交</div>
		<input class="btn" type="submit" name="Submit" value=" 提 交 " /></div>
		</td>
		<td width="20%" class="f_one">
		<div style="padding:3px; text-align:center; width:200px;">
		<fieldset id="smiliebox" style="border:1px solid $tdcolor">
			<legend>表情</legend>
			<div id="menu_show"></div>
			<span style="float:right; margin:3px 10px 5px;"><a id="td_face" style="cursor:pointer;" onClick="showDefault();" align="absmiddle">[更多]</a></span><span style="float:left; margin:3px 10px 5px;"><a id="td_generalface" style="cursor:pointer;" onClick="showGeneral();" align="absmiddle">[个性表情]</a></span>
		</fieldset></div>
		<div id="menu_generalface" class="menu" style="display:none;"></div>
		<div id="menu_face" class="menu" style="display:none;"></div>
		</td>
	</tr>
</table></div></form>
<!--
EOT;
$facedb = '';
if(R_P!=D_P){
$facedb = readover(D_P.'data/bbscache/face.js');
}else{print <<<EOT
-->
<script language="JavaScript" src="data/bbscache/face.js"></script>
<!--
EOT;
}print <<<EOT
-->
<SCRIPT type="text/javascript" LANGUAGE="JavaScript" src="js/core/core.js"></SCRIPT>

<script language="javascript">
document.FORM.Submit.disabled = false;
var charset = '$db_charset';
var stylepath = '$stylepath';
var cate = '$db_forcetype';
var cnt = 0;
{$facedb}
function checkpost(obj){
	getVerify(obj);
	if (cate == 1 && obj.p_type != null && obj.p_type.value == 0) {
		showDialog("error","没有选择主题分类",2);
		obj.p_type.focus();
		return false;
	}
	if (obj.atc_title.value == "") {
		showDialog("error","标题不能为空",2);
		obj.atc_title.focus();
		return false;
	} else if (strlen(obj.atc_title.value) > $db_titlemax) {
		showDialog("error","标题超过最大长度 $db_titlemax 个字节",2);
		obj.atc_title.focus();
		return false;
	}
	if (strlen(obj.atc_content.value) < $db_postmin) {
		showDialog("error","文章内容少于 $db_postmin 个字节",2);
		obj.atc_content.focus();
		return false;
	} else if (strlen(obj.atc_content.value) > $db_postmax) {
		showDialog("error","文章内容大于 $db_postmax 个字节",2);
		obj.atc_content.focus();
		return false;
	}
	document.FORM.Submit.disabled = true;
	cnt++;
	if (cnt != 1) {
		showDialog("warning","Submission Processing. Please Wait");
		return false;
	}
	return true;
}
function checklength(theform,postmaxchars) {
	if (postmaxchars != 0) {
		message = '\\n系统限制最大字节数:'+postmaxchars+' 字节';
	} else {
		message = '';
	}
	showDialog("warning",'您的信息已有字节数: '+strlen(theform.atc_content.value)+' 字节'+message);
}
function addsmile(NewCode) {
    document.FORM.atc_content.value += ' [s:'+NewCode+'] ';
}
function Addtoie(value,title){
	if (is_ie) {
		window.external.AddFavorite(value,title);
	} else {
		window.sidebar.addPanel(title,value,"");
	}
}
function formclick(obj,action,type) {
	obj.action = action;
	if (db_ajax & type) {
		obj.action += '&ajax=1';
		sendmsg(obj.action,obj,'');
	} else {
		obj.submit();
	}
}
function favor(type) {
	closep();
	ajax.send('$db_bbsurl/pw_ajax.php?action=favor&tid='+tid+'&type='+type,'',ajax.get);
}
function addfriend(uid) {
	ajax.send('$db_bbsurl/pw_ajax.php','action=addfriend&touid='+uid,ajax.guide);
}
function Fjump(value) {
	if(value!='') window.location = '$db_bbsurl/thread.php?fid='+value;
}
function copyUrl(o) {
	if (is_ie) {
		window.clipboardData.setData("Text",copyurl+o);
		showDialog('success','已成功复制',1);
	} else {
		prompt('Press Ctrl+C Copy to Clipboard', copyurl+o)
	}
}
function postreply(txt) {
	if (typeof document.FORM != "undefined") {
		document.FORM.atc_title.value = txt;
		document.FORM.atc_content.focus();
	}
}
function usetool(id) {
	if (id > 0 && confirm('你确定要使用该道具吗?')) {
		closep();
		read.obj = getObj('usetool');
		ajax.send('$db_bbsurl/hack.php?H_name=toolcenter&action=ajax&tid='+tid+'&toolid='+id,'',ajax.get);
	}
}
function usertool(uid,id) {
	if (confirm('你确定要使用该道具吗?')) {
		closep();
		ajax.send('$db_bbsurl/hack.php?H_name=toolcenter&action=ajax&uid='+uid+'&toolid='+id,'',ajax.get);
	}
}
function fontsize(text,id) {
	getObj("read_"+id).className = text;
}
</script>
<script language="JavaScript" src="js/post.js"></script>
	</div>
<div class="c"></div>
<div id="bottom"></div>
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Site.Footer',$fid,0,'read');
if($htmlAdvert){print <<<EOT
-->
<center style="margin:5px 0;">$htmlAdvert</center>
<!--
EOT;
}print <<<EOT
-->
<div class="c"></div>
<div id="footer">
<div id="mode-footer" class="mt">
	<div class="bottom tac">
		<div class="y-bg4 black">
			<ul>{$GLOBALS['db_foot']}
				<li><a href="job.php?action=erasecookie&verify=$GLOBALS[loginhash]">清除Cookies</a></li>
				<li><a href="$db_ceoconnect">联系我们</a></li>
				<li><a href="simple/index.php">无图版</a></li>
				<li><a href="m/index.php">手机浏览</a></li>
                <li><a href="javascript:scroll(0,0)">返回顶部</a></li>
			</ul>
		</div>
	</div>
	<center><small><span id="windspend"><!-- $wind_spend Time now is:$ft_time, $ft_gzip --> $db_icp</span><br />
	Powered by <a href="http://www.phpwind.net/" target="_blank"><b>PHPWind</b></a> <a href="http://www.phpwind.net/" target="_blank"><b style="color:#FF9900">v$wind_version</b></a> <a href="http://www.phpwind.com/certificate.php?host={$pwServer['HTTP_HOST']}"><b>Certificate</b></a> Code &copy;2003-2010 <a href="http://www.phpwind.com/" target="_blank"><b>PHPWind.com</b></a> Corporation <span id="stats"></span></small>
<!--
EOT;
if($db_ystats_ifopen='0'){print <<<EOT
-->
<script type="text/javascript" src="http://js.tongji.linezing.com/{$db_ystats_unit_id}/tongji.js"></script>
<noscript>
	<a href="http://www.linezing.com" target="_blank"><img src="http://img.tongji.linezing.com/{$db_ystats_unit_id}/tongji.gif"/></a>
</noscript>
<!--
EOT;
}print <<<EOT
-->
	</center></div>
</div>
<script language="JavaScript" src="js/global.js"></script>
</body></html>
<script language="JavaScript">
var openmenu = {{$db_menuinit}};
read.InitMenu();
</script>
<!--
EOT;
?>-->