<!--#include file="conn.asp"-->
<!--#include file="inc/cook2.asp"-->
<!--#include file="inc/dimflag.asp"-->
<!--#include file="top.asp"-->
<%
tid = int(Request("tid"))
userid=request.QueryString("id")
%>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from com_user where userid="&userid ,conn,1,1%>

<div id="container">
<div class="top_but">
 <li class="left">&nbsp;</li>
 <li><a href="user_manage.asp?tid=<%=tid%>"><img src="images/but_11.gif" alt="管理"></a></li>
 <li><img src="images/but_8.gif" alt="刷新" onClick="window.location.reload(true);"></li>
 <li><img src="images/but_9.gif" alt="打印" onClick="window.print() "/></li>
</div>
<div class="tableAll titlebgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:700px">会员详细资料</li>
</div>

<form name="form1" id="form1" method="post" action="user_save.asp?action=save&userid=<%=userid%>">
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">用户名称</li>
 <li><input name="username" type="text" id="username" size="12" value="<%=trim(rs("username"))%>" readonly>
        用户类型 
        <select name="reglx">
          <option value="1" <%if rs("reglx")=1 then%>selected<%end if%>>普通会员</option>
          <option value="2" <%if rs("reglx")=2 then%>selected<%end if%>>金卡会员</option>
		  <option value="3" <%if rs("reglx")=3 then%>selected<%end if%>>钻卡会员</option>
        </select>
		</li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">密码提问</li>
 <li><input name="userpassword" type="text" id="userpassword" size="12"> <font color=#FF0000>为空<font color=#FF0000>密码不变</font>!</font></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">密码提问</li>
 <li><input name="UserQuesion" type="text" id="UserQuesion" value="<%=trim(rs("UserQuesion"))%>"></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">密码答案</li>
 <li><input name="UserAnswer" type="text" id="UserAnswer"> <font color=#FF0000> 为空<font color=#FF0000>密码答案不变</font>!</font></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">真实姓名</li>
 <li><input name="user_01" type="text" id="user_01" size="12" value="<%=trim(rs("user_01"))%>"></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">电子邮件</li>
 <li><input name="useremail" type="text" id="useremail" value="<%=trim(rs("useremail"))%>"></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">性 别</li>
 <li><input type="radio" name="Usersex" value="1" <%if rs("Usersex")=1 then%>checked<%end if%>>
        男　
        <input type="radio" name="Usersex" value="0" <%if rs("Usersex")=0 then%>checked<%end if%>>
        女</li>
</div>

<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">详细地址</li>
 <li><input name="user_03" type="text" id="user_03" size="40" value="<%=trim(rs("user_03"))%>"></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">邮政编码</li>
 <li><input name="user_04" type="text" id="user_04" size="40" value="<%=trim(rs("user_04"))%>"></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">联系电话</li>
 <li><input name="user_05" type="text" id="user_05" size="40" value="<%=trim(rs("user_05"))%>"></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">总积分</li>
 <li><input name="jifen" type="text" id="jifen" size="40" value="<%=trim(rs("jifen"))%>"> 注：整数</li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">注册时间</li>
 <li><%=rs("adddate")%></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">最后登陆</li>
 <li><%=rs("lastlogin")%></li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">登陆次数</li>
 <li><%=rs("logins")%> 次</li>
</div>


<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<div class="tableAll trbgcolor">
 <li style="width:30px;">&nbsp;</li>
 <li style="width:100px;">&nbsp;</li>
 <li><input class="button" type="submit" name="Submit2" value="确认OK，修改" ></li>
</div>

</form>
</div>
<!--#include file="footer.asp"-->