<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<title>{$seo['title']}</title>
<meta name="Keywords" content="{$seo['keywords']}">
<meta name="Description" content="{$seo['description']}">
<link href="templates/{$CFG[tplname]}/style/user.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/validator/validator.min.js"></script>
<link href="js/validator/validator.css" type="text/css" rel="stylesheet" />
</head>
<body>
<!--{template header}-->
<div class="wrapper">
	<!-- 主体 -->
    <!--{template member_left}-->
 <div class="col_main">
   <form action="member.php?act=act_modify" method="post" name=form>
   <!--{template member_topmenu}-->
	<div class="post_li">
     <ul>
      <li><h3>登录帐号</h3><strong class="f3f f14">{$userinfo['username']}</strong></li>
      <li><h3>邮箱</h3>{if ($userinfo['email'])}{$userinfo['email']}{else}未验证{/if}</li>
      <li><h3>手机号码</h3>{if ($userinfo['phone'])}{$userinfo['phone']}{else}未绑定{/if}</li>
      <li><h3>姓名</h3><input id="xingming" type=text class="inputs" name="xingming" value="{$userinfo['xingming']}"></li>
      <li><h3>生日</h3>
        <label for="years"></label>
        <select name="years" id="years" style="padding:9px 8px;border:1px solid #e1e1e1;border-radius:4px;font-size:14px">
          {php for($i=1960;$i<=$timenew;$i++){}
          <option value="{$i}"{if (date("Y",$userinfo['shengri'])==$i)} selected="selected"{/if}>{$i}年</option>
          {php }}
        </select>
        <label for="months"></label>
        <select name="months" id="months" style="padding:9px 8px;border:1px solid #e1e1e1;border-radius:4px;font-size:14px">
        {php for($i=1;$i<=12;$i++){}
          <option value="{$i}"{if (date("m",$userinfo['shengri'])==$i)} selected="selected"{/if}>{$i}月</option>
          {php }}
        </select>
        <label for="days"></label>
        <select name="days" id="days" style="padding:9px 8px;border:1px solid #e1e1e1;border-radius:4px;font-size:14px">
        {php for($i=1;$i<=31;$i++){}
          <option value="{$i}"{if (date("d",$userinfo['shengri'])==$i)} selected="selected"{/if}>{$i}日</option>
          {php }}
        </select> 
      </li>
      <li><h3>QQ</h3><input id=qq type=text name=qq class="inputs" onKeyUp="value=value.replace(/\D+/g,'')" value="{$userinfo['qq']}"></li>
      <li><h3>地址</h3><input id=address type=text class="inputs" name=address value="{$userinfo['address']}"></li>
      <li><div class="clearfix h_10"></div><h3>&nbsp;</h3><input type="submit" name="btnSubmit" value="修改" class="btn_1" id="btnSubmit" /></li>
     </ul>
    </div>
    <!--右侧-->
    <!--{template member_right}-->
  </div>
	</form>
	<!-- 主体 结束 -->
</div>
<!--{template footer}-->

<script type="text/javascript">
$.validator("qq")
.setTipSpanId("tip_span_qq")
.setRegexp(/^[1-9]\d*$|^0$/, "QQ号码只能为数字", false)
</script>
</body>
</html>
