<!-- #include file="../admin/check_master.asp" -->
<!--#include file="../inc/conn.asp"-->
<link href="../css/xmwuye.css" rel="stylesheet" type="text/css">
<form method="POST" action="user_saveedit.asp?id=<%=request("id")%>">
<% if(request("id")="") then%>
      
  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#799ae1" bordercolordark="#FFFFFF" bgcolor="#d6dff7">
    <tr bgcolor="#799ae1"> 
          
      <td width="100%" height="20" bgcolor="#799ae1"> 
        <p align="center"><b><font color="#FFFFFF">添 加 用 户 资 料</font></b> </td>
    </tr>
    <tr align="center">
      <td width="100%">
            <table border="0" cellspacing="1" width="100%">
              <tr> 
                <td width="15%" align="right" height="30">姓名：</td>
                <td width="85%" height="30"> 
                  <input type="text" name="name"
          class="smallinput" value="">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30"> 称呼：</td>
                <td width="85%" height="30">
                  <input type="text" name="nickname"
          class="smallinput" value="">
                </td>
              </tr>
              <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>密码：</p>
                </td>
                <td width="85%" height="30"> 
                  <input type="text"
          class="smallinput" value="" name="password">
                </td>
              </tr>
             <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>查询密码问题：</p>
                </td>
                <td width="85%" height="30"> 
                  <input type="text"
          class="smallinput" name="clubuser_question">
                </td>
              </tr>
              <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>查询密码答案：</p>
                </td>
                <td width="85%" height="30"> 
                  <input type="text"
          class="smallinput" name="clubuser_answer">
                </td>
              </tr>
             <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>经验：</p>
                </td>
                <td width="85%" height="30"> 
                  <input name="jingyuan" type="text"
          class="smallinput" id="jingyuan">
              <a href="../bbs/help.asp">查看帮助</a></td>
              </tr>
              <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>体力：</p>
                </td>
                <td width="85%" height="30"> 
                  <input name="tili" type="text"
          class="smallinput" id="tili">
              <a href="../bbs/help.asp">查看帮助</a> </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">电话：</td>
                <td width="85%" height="30">
                  <input type="text" name="phone"
          class="smallinput" value="">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">传真：</td>
                <td width="85%" height="30" valign="top"> 
                  <input type="text" name="fax"
          class="smallinput" value="">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">网址：</td>
                <td width="85%" height="30">
                  <input type="text" name="url"
          class="smallinput" value="http://">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">电子信箱：</td>
                <td width="85%" height="30">
                  <input type="text" name="email"
          class="smallinput" value="">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">地址：</td>
                <td width="85%" height="30">
                  <input type="text" name="address"
          class="smallinput" value="">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30" valign="top">备注：</td>
                <td width="85%" height="30">
                  <textarea rows="5" name="note" cols="50" class="smallarea"></textarea>
                </td>
              </tr>
              <tr> 
                <td width="15%" align="right" valign="top" height="20"></td>
                <td width="85%"></td>
              </tr>
            </table>
      </td>
    </tr>
  </table>

<%else%>
      
  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolorlight="#799ae1" bordercolordark="#FFFFFF" bgcolor="#d6dff7">
    <tr bgcolor="#799ae1"> 
          <td width="100%" height="20"> 
            <p align="center"><b><font color="#FFFFFF">修 改 用 户 资 料</font></b> 
      </td>
    </tr>
    <tr align="center">
      <td width="100%">
            <table border="0" cellspacing="1" width="100%">
              <%
dim sql
dim rs
sql="select * from clubuser where clubuser_id="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
                %>
              <tr> 
                <td width="15%" align="right" height="30">姓名：</td>
                <td width="85%" height="30"> 
                  <input type="text" name="name"
          class="smallinput" value="<%=rs("clubuser_name")%>">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">称呼：</td>
                <td width="85%" height="30">
                  <input type="text" name="nickname"
          class="smallinput" value="<%=rs("clubuser_nickname")%>">
                </td>
              </tr>
              <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>密码：</p>
                </td>
                <td width="85%" height="30"> 
                  <input type="text" class="smallinput" value="" name="password">
                </td>
              </tr>
             <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>查询密码问题：</p>
                </td>
                <td width="85%" height="30"> 
                  <input type="text"
          class="smallinput" value="<%=rs("clubuser_question")%>" name="clubuser_question">
                </td>
              </tr>
              <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>查询密码答案：</p>
                </td>
                <td width="85%" height="30"> 
                  <input type="text"
          class="smallinput" value="<%=rs("clubuser_answer")%>" name="clubuser_answer">
                </td>
              </tr>
             <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>经验：</p>
                </td>
                <td width="85%" height="30"> 
                  <input name="jingyuan" type="text"
          class="smallinput" id="jingyuan" value="<%=rs("jingyuan")%>">
              <a href="../bbs/help.asp">查看帮助</a></td>
              </tr>
              <tr> 
                <td width="15%" align="right" height="30"> 
                  <p>体力：</p>
                </td>
                <td width="85%" height="30"> 
                  <input name="tili" type="text"
          class="smallinput" id="tili" value="<%=rs("tili")%>">
              <a href="../bbs/help.asp">查看帮助</a> </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">电话：</td>
                <td width="85%" height="30">
                  <input type="text" name="phone"
          class="smallinput" value="<%=rs("clubuser_phone")%>">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">传真：</td>
                <td width="85%" height="30">
                  <input type="text" name="fax"
          class="smallinput" value="<%=rs("clubuser_fax")%>">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">网址：</td>
                <td width="85%" height="30">
                  <input type="text" name="url"
          class="smallinput" value="<%=rs("clubuser_url")%>">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">电子信箱：</td>
                <td width="85%" height="30" valign="top"> 
                  <input type="text" name="email"
          class="smallinput" value="<%=rs("clubuser_email")%>">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">地址：</td>
                <td width="85%" height="30">
                  <input type="text" name="address"
          class="smallinput" value="<%=rs("clubuser_address")%>">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30" valign="top">备注：</td>
                <td width="85%" height="30">
                  <textarea rows="5" name="note" cols="50" class="smallarea"><%=rs("clubuser_note")%></textarea>
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">登记日期：</td>
                <td width="85%" height="30">
                  <input type="text" name="reg_date"
          class="smallinput" value="<%=rs("clubuser_reg_date")%>">
                </td>
              </tr>
              <tr>
                <td width="15%" align="right" height="30">进入数：</td>
                <td width="85%" height="30">
                  <input type="text" name="enter_count"
          class="smallinput" value="<%=rs("clubuser_enter_count")%>">
                </td>
              </tr>
              <tr> 
                <td width="15%" align="right" valign="top" height="20"></td>
                <td width="85%"></td>
              </tr>
            </table>
      </td>
    </tr>
  </table>
<% rs.close 
set rs=nothing 
end if %>
  </center></div><div align="center"><center><p><input type="submit" value=" 添加/修改 "
  name="cmdok" class="buttonface">&nbsp; 
        <input type="button" value=" 返 回 "
  name="cmdback" class="buttonface" onclick="history.back()">
      </p>
  </center></div>
</form>