<? if (!defined("_GNUBOARD_")) exit; ?>

<style type="text/css">
#zmb_profile_pic	{ margin:20px auto; text-align:center; }
#zmb_profile_pic #mypic	{ margin:auto; width:110px; height:110px; overflow:hidden; }
#signature_box	{ overflow:hidden; height:95px; margin:5px auto; text-align:center; }
#signature		{ top:0px; position:relative; width:140px; padding:4px; font-size:11px; color:#828282; line-height:140%; text-align:left; margin:auto; }
#profile_item	{ margin:15px 0 0 0; }
#profile_item .item	{ color:#707070; display:inline-block; width:70px; text-align:right; margin:3px 5px 6px 0; }
#profile_item .value	{ color:#656565;  margin:3px 5px 0 0; }
#profile_item input[type="button"]	{ border:1px solid #E7E7E7; font-size:11px; cursor:pointer; padding:3px 10px 0 10px; }
</style>

<div id="zmb_profile_pic">
	<div id="mypic"><img src="<?=$profilepic?>"></div>
</div>
<div style="margin:0 0 0 30px;"><img src="<?=$member_skin_path?>/img/txt_singture.gif"></div>
<div id="signature_box">
	<div id="signature"><?=$myinfo[signature]?></div>
</div>
<div style="text-align:center;">
	<a href="#" onClick="signupdown('up')"><img src="<?=$member_skin_path?>/img/icon_arrow_up.gif"></a>
	<a href="#" onClick="signupdown('down')"><img src="<?=$member_skin_path?>/img/icon_arrow_down.gif"></a>
</div>
<div id="profile_item">
<div><span class="item">나이 :</span><span class="value"><?=$myinfo[age]?></span></div>
<div><span class="item">도시 :</span><span class="value"><?=$myinfo[location]?></span></div>
<div><span class="item">소속 :</span><span class="value"><?=$myinfo[belong]?></span></div>
<div><span class="item">전화번호 :</span><span class="value"><?=$myinfo[tel]?></span></div>
<div style="text-align:center;"><? if($is_me) : ?><a href="./zm.userinfo.php?pcd=profile" target="_blank"><img src="<?=$member_skin_path?>/img/btn_profile_edit.gif"></a><? endif; ?></div>
</div>


<script language="javascript">
function signupdown(a){
	var nt	= 0;

	var t = $("#signature").css('top');
	t = parseInt(t);
	if(a == "up") nt = t - 20;
	if(a == "down" && t < 0) nt = t + 20;
	$("#signature").css('top', nt);
}
</script>