<? if (!defined("_GNUBOARD_")) exit; ?>
<style type="text/css">
#zm_profile_top	{ clear:both; height:30px; background:#F7F7F7; border:1px solid #E7E7E7; margin:0 0 5px 0; }
#zm_profile_top .zm_profile	{ float:left; width:200px; padding:8px 5px 0 5px; }
#zm_profile_top .zm_nick	{ float:left; padding:8px 0 0 10px; }
#zm_profile_top .zm_x		{ float:left; padding:3px 0 0 0; text-align:right; width:700px; }
</style>


<div id="zm_profile_top">
	<div class="zm_profile"><b><a href="./profile.php?mb_id=<?=$mb[mb_id]?>"><font color="#4B6F31" size="2"><?=$mb[mb_nick]?></font></a>님의 프로필</b></div>
	<div style="float:left; width:600px; text-align:right; margin:5px 0 0 0;">
		<span style="margin:5px 0 0 0;">
<?		if($is_me) : ?>
			<img src="<?=$member_skin_path?>/img/icon_manage.png" align="absmiddle"> <a href="./profile.php?<?=$sid?>&pcode=adm">관리</a>
<?		else : ?>
			<a href="./profile.php?mb_id=<?=$member[mb_id]?>">내 프로필 관리</a>
<?			if($open_me) { ?>
				<img src="<?=$member_skin_path?>/img/icon_arrow_right.gif" align="absmiddle">
				<a href="./profile.php?pcode=adm&mb_id=<?=$member[mb_id]?>&friend_id=<?=$mb[mb_id]?>">친구신청</a><? } ?>
<?		endif; ?>
		</span>
		<span style="margin:0 0 0 20px;"><a href="javascript:window.close();"><img src="<?=$member_skin_path?>/img/btn_close.gif" border="0" align="absmiddle"></a></span>
	</div>
</div>