⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit.asp

📁 麦布会员管理程序是一个简易的会员注册及管理系统
💻 ASP
字号:
<%
if session("ok")="" then
response.write"<script>alert('对不起,请先登陆!');history.back();</script>"
end if
%>
<link href="../style.css" rel="stylesheet" type="text/css">
<!--#include file="conn.asp"-->

<%
edit=trim(request("edit"))
if edit="save" then
response.write "<script language=javascript>alert('对不起,免费版无此功能,欢迎到麦布源码超市购买专业版[ www.mybu.net ],麦布会员管理 Ver 1.0 专业版售价 200 元/套!');history.back(-1)</script>"
Response.End
rs.close
else
set rs = server.CreateObject("adodb.recordset")
sql = "Select * from MB_Member where M_ID=" & request("id") & ""
rs.open Sql,my_conn,1,1
end if
%>
<form action=edit.asp?id=<%=request("id")%> method=post name=reg>
  <div align="center">
    <center>
    <table border="1" cellpadding="3" cellspacing="0" width="400" bordercolor="#ACACAC" height="257" style="border-collapse: collapse">
      <tr>
        <td colspan="2" width="392" height="16" bgcolor="#BCBCBC">
          <p align="center"><font color="#FFFFFF">用户资料修改</font></td>
      </tr>
      <tr>
        <td width="91" height="5" bgcolor="#DEDEDE">用户名:</td>
        <td width="294" height="5" bgcolor="#DEDEDE"><%=rs("M_Name")%></td>
      </tr>
      <tr>
        <td width="91" height="3" bgcolor="#DEDEDE">用户组:</td>
        <td width="294" height="3" bgcolor="#DEDEDE">
        <select size="1" name="vip" style="border: 1px solid #ACACAC; background-color: #FFFFFF">
              <option value="<%=rs("M_VIP")%>" selected><%=rs("M_VIP")%>会员</option>
              <option value="普通">普通会员</option>
              <option value="VIP">VIP会员</option>
              </select></td>
      </tr>
      <tr>
        <td width="91" height="5" bgcolor="#DEDEDE">消费金额:</td>
        <td width="294" height="5" bgcolor="#DEDEDE">
        <input type="text" name="money" size="15" style="border: 1px solid #ACACAC; background-color: #FFFFFF" value="<%=rs("M_Sale")%>"> 
        元</td>
      </tr>
      <tr>
        <td width="91" height="19" bgcolor="#DEDEDE">E-mail:</td>
        <td width="294" height="19" bgcolor="#DEDEDE">
        <input type="text" name="email" size="24" style="border: 1px solid #ACACAC; background-color: #FFFFFF" value="<%=rs("M_Email")%>"></td>
      </tr>
      
         <tr>
        <td width="91" height="19" bgcolor="#DEDEDE">性别:</td>
        <td width="294" height="19" bgcolor="#DEDEDE"><select size="1" name="sex" style="border: 1px solid #ACACAC; background-color: #FFFFFF">
              <option><%=rs("M_sex")%></option>
              <option>女</option>
              <option>男</option>
              </select></td>
      </tr>
      
      <tr>
        <td width="91" height="5" bgcolor="#DEDEDE">QQ号码:</td>
        <td width="294" height="5" bgcolor="#DEDEDE">
        <input type="text" name="qq" size="15" maxlength="12" style="border: 1px solid #ACACAC; background-color: #FFFFFF" value="<%=rs("M_QQ")%>"></td>
      </tr>
      
      <tr>
        <td width="91" height="3" bgcolor="#DEDEDE">联系电话:</td>
        <td width="294" height="3" bgcolor="#DEDEDE">
        <input type="text" name="phone" size="18" maxlength="12" style="border: 1px solid #ACACAC; background-color: #FFFFFF" value="<%=rs("M_Phone")%>"></td>
      </tr>
      <tr>
        <td width="91" height="3" bgcolor="#DEDEDE">身份证号:</td>
        <td width="294" height="3" bgcolor="#DEDEDE">
        <input type="text" name="card" size="21" maxlength="20" style="border: 1px solid #ACACAC; background-color: #FFFFFF" value="<%=rs("M_Card")%>"></td>
      </tr>
      
      <tr>
        <td width="91" height="6" bgcolor="#DEDEDE">个人网站:</td>
        <td width="294" height="6" bgcolor="#DEDEDE">
        <input type="text" name="web" size="24" style="border: 1px solid #ACACAC; background-color: #FFFFFF" value="<%=rs("M_Web")%>"></td>
      </tr>
      
      <tr>
        <td width="392" colspan="2" height="15" bgcolor="#BCBCBC">
          <p align="center"><font color="#FFFFFF">您的密码</font></td>
      </tr>
     
      <tr>
        <td width="91" height="19" bgcolor="#DEDEDE">用户密码:</td>
        <td width="294" height="19" bgcolor="#DEDEDE">
        <input name="password" size="20" maxlength="20" style="border: 1px solid #ACACAC; background-color: #FFFFFF" value="<%=rs("M_Pass")%>"></td>
      </tr>
      <tr>
        <td width="385" height="21" colspan="2" align="center" bgcolor="#BCBCBC">
        <input type="hidden" name="edit" value="save">
        <input type="hidden" name="name" value="<%=session("name")%>">
        <input type="submit" value=" 提 交 " name="B1" style="color: #FFFFFF; border: 1px solid #DEDEDE; background-color: #ACACAC">&nbsp; 
        <input type="button" value=" 返 回 " onclick=javascript:history.go(-1) style="color: #FFFFFF; border: 1px solid #DEDEDE; background-color: #ACACAC"></td>
      </tr>
    </table>
    </center>
  </div>
</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -