📄 my_user_modiok.asp
字号:
<!-- #include file="conn.asp" -->
<!--#include file="webconfig.asp"-->
<%
'url=request.servervariables("HTTP_REFERER")
if session("userid")="" then
//response.write "<script>alert('你还未登陆,或登陆已超时,请重新登陆!!');</script>"
response.write "<script>this.location.href='login_window.asp';</script>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=webname%></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="include/top.asp" -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="1" bgcolor="#cccccc"></td>
<td width="160" height="100">
<!--#include file="include/left1.asp" -->
</td>
<td width="1" bgcolor="cccccc"></td>
<td align="center">
<!--#include file="include/search.asp" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top" width="12"> </td>
<td align="center" valign="top">
<%
cardtype=trim(request.form("cardtype"))
cardid=trim(request.form("cardid"))
guestname=trim(request.form("guestname"))
sex=trim(request.form("sex"))
birthyear=trim(request.form("birthyear"))
birthmonth=trim(request.form("birthmonth"))
birthday=trim(request.form("birthday"))
email=trim(request.form("email"))
qq=trim(request.form("qq"))
tel=trim(request.form("tel"))
mobilephone=trim(request.form("mobilephone"))
lationtime=trim(request.form("lationtime"))
city=trim(request.form("city"))
address=trim(request.form("address"))
pc=trim(request.form("pc"))
if mobilephone="" then
if tel="" then
response.write "<br>"
response.write "<font size='4' color='#0000FF'>为便于联系,常用电话和手机两者必须填写其中一项!</font><br>"
response.write "<br>"
response.write "<br>"
response.write "<input type='submit' name='Submit331' value='返回上一页' class='sinput' onClick='javascript:history.go(-1)'>"
response.end
end if
end if
sql="select * from Net008_user where userid='"&session("userid")&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,2
rs("cardtype")=cardtype
rs("cardid")=cardid
rs("guestname")=guestname
rs("sex")=sex
rs("birthyear")=birthyear
rs("birthmonth")=birthmonth
rs("birthday")=birthday
rs("email")=email
rs("qq")=qq
rs("tel")=tel
rs("mobilephone")=mobilephone
rs("lationtime")=lationtime
rs("city")=city
rs("address")=address
rs("pc")=pc
rs("updatedate")=now()
rs.update
rs.close
set rs=nothing
%>
<table cellspacing=0 cellpadding=5 width="98%" border=0>
<tbody>
<tr align="center">
<td bgcolor=#E1FBE3 height=20><font color="#ff9999"><b><font color="#FF6600">恭喜!</font><font color="#ff9999"><b><font color="#FF6600">您</font></b></font><font color="#FF6600">的个人资料修改成功!</font></b></font></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><font color="#006600">温馨提示>>以后如果您的详细资料有变动,请尽时登录本站更新,以便我们更好的为你服务!</font></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center">
<input type="button" name="Submit2" value="继续购物" onClick="javascript:window.location.href='index.asp'" class="input_cccccc">
<input type="button" name="Submit2" value="返回首页" onClick="javascript:window.location.href='index.asp'" class="input_cccccc">
</td>
</tr>
</tbody>
</table>
</td>
<td align="center" valign="top" width="12"> </td>
</tr>
</table>
</td>
<td width="1" bgcolor="cccccc"></td>
</tr>
</table>
<!-- #include file="include/bottom.asp" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -