<!--<?php print <<<EOT
-->
<style type="text/css">
.threadlist{padding-left:10px;bottom:-1px;position:absolute;}
.threadlist a{display:block;float:left;padding:0 9px;border-bottom:0;line-height:25px;height:25px;}
.threadlist .current{background:$forumcolorone;border:1px solid $headborder;padding:0 8px;border-bottom:0;}
</style>
<div class="c"></div>
<div class="wrapA cc">
	<!--header begin-->
	<div id="nav-o">
	<div class="cc">
		<div id="searchbar-h">
			<form action="$searchUrl" method="post" onsubmit="return msg(this);">
				<input type="hidden" name="step" value="2" />
				<input type="hidden" name="accord" value="username" />
				<input class="s-ip" name="username" id="keyword" type="text" value="找人..." style="color:gray;" onfocus="if(getObj('keyword').value != ''){getObj('keyword').value = '';getObj('keyword').style.color='';}"/>
				<input type="submit" id="sbb" class="s-bt" value=""/>
			</form>
		</div>
		<ul>
			<li id="o_h_home">
<!--
EOT;
if ($winduid) {print <<<EOT
-->
				<a href="{$baseUrl}"><span>我的首页</span></a>
<!--
EOT;
} else {
$q = 'home';
print <<<EOT
-->
				<a href="?m=o"><span>{$db_modes['o']['title']}首页</span></a>
<!--
EOT;
}print <<<EOT
-->
			</li>
			<li id="o_h_user"><a href="{$basename}q=user"><span>个人空间</span></a></li>
			<li id="o_h_friend"><a href="{$basename}q=friend"><span>朋友</span></a></li>
			<li id="o_h_browse"><a href="{$basename}q=browse"><span>随便看看</span></a></li>
<!--
EOT;
if ($q == 'user' && $winduid == $u) {print <<<EOT
-->
			<li><a href="profile.php"><span>设置</span></a></li>
<!--
EOT;
}print<<<EOT
-->
		</ul>
<script type="text/javascript">
setCurrent('o_h_$q','','current');
function msg(obj) {
	if (obj.username.value == false) {
		showDialog("error",'请输入用户名');
		return false;
	}
	return true;
}
</script>
		</div>
	</div>
</div>
<div id="main-o" class="cc pr wrapA">
<span class="cirB1"></span><span class="cirB2"></span><span class="cirB3"></span><span class="cirB4"></span>
<!--
EOT;
?>