<!--<?php
include_once PrintEot('m_header');
print <<<EOT
-->
<div class="infobox pr cc">
    <div class="p10">
<table border="0" class="vt" style="table-layout:fixed; width:100%;margin-bottom:10px;">
		<tr>
			<td width="60"><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;">
				<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>
<!--
EOT;
}print <<<EOT
-->
					 </ul>
                </div>
            </td>
		</tr>
	</table>
    </div>
</div>
<div class="wrapB cc mt8">
<div class="c"></div>
<div class="contentC cc fl"><div class="contentC-main cc fl">




	<div class="c"></div>

	<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" class="pdr">$value[subject]</a>$value[postdate]<br />
					<a href="thread.php?fid=$value[fid]" target="_blank" class="gray1">$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="contentC-side 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></div>
<!--
EOT;
?>-->
