?? edit.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">
<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 + -