<!--<?php print <<<EOT
-->
<!--[if IE 6]>
    </div>
		<script>
(window.onresize=function(){
document.all.upPanel.scrollWidth>document.all.upPanel.clientWidth?setTimeout(function(){document.getElementById('footMenu').style.bottom="15px";},100):setTimeout(function(){document.getElementById('footMenu').style.bottom="0px"; },100);
})();
</script>
		<div class="c"></div>
  <div style="position:absolute;height:25px;z-index:1005;right:6px;bottom:0px" id="footMenu">
<![endif]-->
<div class="startbar-wrapper fixed">
<!--[if IE 6]>
    </div>
  <div class="fixed">
<![endif]-->
	<div class="startbar">
		<div class="startbar-ui cc">
			<div class="friend-app" id="pwb_friend">
				我的好友
			</div>
<!--
EOT;
if($winddb[newpm]>0 && $_G[maxmsg]>0){print <<<EOT
-->
							<div class="message-app message-app-new" id="pwb_message">短消息</div>
<!--
EOT;
} else {print <<<EOT
-->
							<div class="message-app" id="pwb_message">短消息</div>
<!--
EOT;
}print <<<EOT
-->
			
			<div class="butt-app" id="pwb_app">
				我的菜單
			</div>

			<div class="app-using">
				<a href="javascript:;" class="app-thread" title="發布新帖" style="cursor: pointer;" onclick="read.open('menu_post_nav','',2);">發貼</a>
				<a href="javascript:;" class="app-forum" title="瀏覽版塊" style="cursor: pointer;" onclick="read.open('menu_cate_nav','',2);">瀏覽</a>
<!--
EOT;
if ($db_modes[o][ifopen]) {print <<<EOT
-->
				<a href="mode.php?m=o&q=write" title="記錄" class="app-blog">記錄</a>
				<a href="mode.php?m=o&q=photos" title="相冊" class="app-photo">相冊</a>
<!--
EOT;
}print <<<EOT
-->
				<div class="c"></div>
			</div>
		</div>
	</div>
</div>
<div id="pwd_app_hidden" style="display:none;">
	<h2 class="h2A cc" style="cursor: pointer;" onclick = "pw_bottom.hiddenTab();">
		<span class="b fl">我的菜單&nbsp;</span><span class="fr">-</span>
	</h2>
	<div class="bgB pdD gray1">
		<div class="pdtb3"><a href="$db_bbsurl">返回首頁</a></div>
	</div>
	<div class="listAppItem xl-app">
		<div class="pdtb3 gray1">快捷版塊</div>
		<ul class="cc bdt1">
<!--
EOT;
foreach ($shortcutforum as $key=>$value) {print <<<EOT
-->
			<li><a class="i-l" href="thread.php?fid=$key">$value</a></li>
<!--
EOT;
}print <<<EOT
-->
		</ul>
		<div class="c"></div>
<!--
EOT;
if ($db_modes[o][ifopen]) {print <<<EOT
-->
		<div class="pdtb3 gray1">圈子應用</div>
		<ul class="cc bdt1">
			<li><a class="i-a" href="mode.php?m=o&q=article">我的帖子</a></li>
			<li><a class="i-j" href="mode.php?m=o&q=photos">相冊</a></li>
			<li><a class="i-k" href="mode.php?m=o&q=write">記錄</a></li>
			<li><a class="i-d" href="mode.php?m=o&q=friend">好友</a></li>
			<li><a class="i-l" href="mode.php?m=o&q=share">分享</a></li>
			<li><a class="i-f" href="mode.php?m=o&q=groups">群組</a></li>
		</ul>
<!--
EOT;
}else{print <<<EOT
-->
		<div class="pdtb3 gray1">快捷鏈接</div>
		<ul class="cc bdt1">
			<li><a class="i-a" href="u.php?action=topic&uid=$winduid">我的帖子</a></li>
		</ul>
<!--
EOT;
}print <<<EOT
-->
	</div>
</div>
<!--[if IE 6]>
  </div>
<![endif]-->
<!--
EOT;
?>
