<!--<?php
include_once PrintEot('m_header');
print <<<EOT
-->
<div class="infobox pr cc">
    <div class="p10">
<table border="0" class="vt" cellpadding="0" cellspacing="0">
		<tr>
			<td width="65"><a href="{$basename}q=user&u=$u"><img src="$faceimg" class="portrait-m"/></a></td>
			<td>
				<p class="pd8">
					<span class="b f14 pdr">{$username}</span>
					<a href="{$basename}q=user&u=$u">返回首页</a>
				</p>
				<div class="tabA" style="position:absolute;bottom:-1px;padding-left:0;width:600px;">
					<ul>
<!--
EOT;
if($u==$winduid){
print <<<EOT
-->
                        <li id="see_friend"><a href="{$basename}q=article&see=friend">好友最新帖子</a></li>
                        <li id="see_my"><a href="{$basename}q=article">我的主题</a></li>
                        <li id="see_favor"><a href="{$basename}q=article&see=favor">我的收藏</a></li>
                        <li id="see_all"><a href="{$basename}q=article&see=all">论坛最新贴</a></li>
<script language="JavaScript">
setCurrent('see_$see','see_my','current');
</script>
<!--
EOT;
}else{
print <<<EOT
-->
								<li><a href="{$basename}q=write&u=$u">记录</a></li>
								<li><a href="{$basename}q=photos&u=$u">相册</a></li>
								<li><a href="{$basename}q=share&u=$u">分享</a></li>
								<li class="current"><a href="{$basename}q=article&u=$u">帖子</a></li>
								<li><a href="{$basename}q=friend&u=$u">好友</a></li>
								<li><a href="{$basename}q=groups&u=$u">群组</a></li>
<!--
EOT;
}print <<<EOT
-->
					 </ul>
                </div>
            </td>
		</tr>
	</table>
    </div>
</div>
<div class="wrapB cc mt8">
<div class="c"></div>
<div class="contentB cc fl">
	<div class="table-list2">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--
EOT;
if (!empty($article)) {
foreach ($article as $key => $value) {print <<<EOT
-->
			<tr>
				<td>
					<a href="read.php?tid=$value[tid]" target="_blank">$value[subject]</a> <span class="f10">$value[postdate]</span><br />
					<a href="thread.php?fid=$value[fid]" target="_blank" class="gray">$value[forum]</a>
				</td>
				<td><a href="{$basename}q=user&u=$value[authorid]">$value[author]</a></td>
				<td>$value[replies]/$value[hits]</td>
			</tr>
<!--
EOT;
}} else {print <<<EOT
-->
			<tr>
				<td>没有主题</td>
			</tr>
<!--
EOT;
}print <<<EOT
-->
		</table>
		$pages
	</div>
</div>
<div class="sidebarB1 cc">
    <h4 class="h5A">
        <span class="b">
<!--
EOT;
if ($myshortcut) {
print <<<EOT
-->
        	收藏的版块
<!--
EOT;
} else {print <<<EOT
-->
			热门版块
<!--
EOT;
}print <<<EOT
-->
		</span>
    </h4>
    <div class="list-F list-fen">
        <ul>
<!--
EOT;
foreach ($shortcutforum as $key => $value) {print <<<EOT
-->
			 <li><a href="thread.php?fid=$key">$value</a></li>
<!--
EOT;
}print <<<EOT
-->
        </ul>
    </div>
</div></div>
</div>
<!--
EOT;
?>-->
