<!--<?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_post"><a href="{$basename}q=article&see=post">我的回復</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{
$friendHeaderGuide = creatFriendsHeader($u);
print <<<EOT
-->
	$friendHeaderGuide
<!--
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($see)) {print<<<EOT
-->
		<tr>
			<td colspan="3"><span class="fr">排序︰<a href="mode.php?m=o&q=article&ordertype=postdate&u=$u">發表時間</a>&nbsp;<a href="mode.php?m=o&q=article&ordertype=lastpost&&u=$u">回復時間</a></span></td>
		</tr>

<!--
EOT;
}
if (!empty($article)) {
foreach ($article as $key => $value) {print <<<EOT
-->
			<tr>
				<td>
<!--
EOT;
if ($see == 'post') {print <<<EOT
-->
					<a href="job.php?action=topost&tid=$value[tid]&pid=$value[pid]" target="_blank">$value[subject]</a>		
<!--
EOT;
} else {print <<<EOT
-->
					<a href="read.php?tid=$value[tid]" target="_blank">$value[subject]</a>
<!--
EOT;
}print <<<EOT
-->
					<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>
<!--
EOT;
if ($see=='post') {
print <<<EOT
-->
<div class="sidebarB1 cc">
	<h4 class="h5A">
        <span class="b">選擇表</span>
    </h4>
	 <div class="list-F list-fen">
        <table class="u-table" width="100%" cellpadding="0" cellspacing="0" border="0">
			$p_table
		</table>
		<script language="javascript">setCurrent('up_post$ptable','up_post','current');</script>
    </div>
</div>
<!--
EOT;
}print <<<EOT
-->
</div>
</div>
<!--
EOT;
?>-->
