{:tpl member_head}
<div id="position">您现在的位置：<a href="{:Url::getUrl('member')}">会员中心</a>&gt;个人设置 - 个人资料</div>
<div id="main">
 <div class="left">
  <div class="avatar"><img src="{:Tag::avatar($member['userid'], 'b')}" width="180" height="180" /></div>
  <div class="username">{:$member['username']}</div>
  <ul class="sub_nav">
   <li class="active"><a href="{:Url::getUrl('member', 'profile')}">个人资料</a></li>
   <li><a href="{:Url::getUrl('member', 'avatar')}">个人头像</a></li>
   <li><a href="{:Url::getUrl('member', 'password')}">密码安全</a></li>
  </ul>
 </div>
 <div class="right">
  <h4 class="title">我的资料</h4>
  <form action="{:Url::getUrl('member', 'profile')}" method="post">
  <input type="hidden" name="info[userid]" value="{:$member['userid']}" />
  <ul class="profile">
   <li><label>用户名</label>{:$member['username']}</li>
   <li><label>性 别</label><input type="radio" class="radio" name="info[gender]" value="0"{:Tag::checked($member['gender'], 0)} />男&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" name="info[gender]" value="1"{:Tag::checked($member['gender'], 1)} />女</li>
   <li>
    <label>生 日</label><select name="birthyear" id="birthyear" onchange="showday('birth')">
     <option value="">年</option>
     <!--{:Tag::option('year:100', $birthday['year'])}-->
    </select><select name="birthmonth" id="birthmonth" onchange="showday('birth')">
     <option value="">月</option>
     <!--{:Tag::option('1|2|3|4|5|6|7|8|9|10|11|12', $birthday['month'])}-->
    </select><select name="birthday" id="birthday">
     <option value="">日</option>
     <!--{:Tag::option('day:'.$birthday[timestamp], $birthday['day'])}-->
    </select>
   </li>
   <li><label>所在地</label><input type="hidden" name="info[area]" id="area" value="{:$member['area']}" /></li>
   <li>
    <label>个人介绍</label><textarea name="info[introduce]" id="introduce" cols="60" rows="6">{:$member['introduce']}</textarea>
   </li>
   <li><input name="submit" type="submit" class="submit" value="" /></li>
  </ul>
  </form>
 </div>
 <div class="clear"></div>
</div>
<script type="text/javascript" src="../../statics/js/jquery.jxselect.js"></script>
<script type="text/javascript">
$(function(){
	$('#area').jxselect();
});
</script>
{:tpl member_foot}