?? reg_3.asp
字號:
<!--#include file="conn.asp" -->
<!--#include file="mail_inc.asp" -->
<%
userid=Trim(Request.Form("userid"))
if userid=empty then
Response.Write("請不要在外面提交資料..非法提交...<br>請<a href=reg.asp>返回>></a>")
Response.end
end if
sql="select * from user where userid='"&userid&"'"
rs.open sql,conn,2,3
if not rs.eof then
Response.Write("請不要重復(fù)刷新本頁..非法提交...<br>請<a href=index.asp>返回>></a>")
Response.end
end if
rs.addnew
rs("userid")=userid
rs("password")=Trim(Request.Form("password1"))
rs("name")=Trim(Request.Form("name"))
rs("province")=Trim(Request.Form("province"))
rs("address")=Trim(Request.Form("address"))
rs("email")=Trim(Request.Form("email"))
rs("qq")=Trim(Request.Form("qq"))
rs("tel")=Trim(Request.Form("tel"))
rs.update
rs.close
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE><%=page_name%> – <%=page_title%></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK
href="images/style.css" type=text/css rel=stylesheet>
<STYLE type=text/css>
BODY {
FONT-SIZE: 12px; MARGIN: 0px; FONT-FAMILY: "Verdana"; BACKGROUND-COLOR: #ffffff
}
INPUT {
BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; HEIGHT: 20px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc
}
</STYLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
</HEAD>
<BODY leftMargin=0 background="images/bg.jpg" topMargin=0 marginheight="0" marginwidth="0">
<DIV align=left>
<!--#include file="head.asp" -->
<TABLE height=1 cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD width=760 height=1><DIV align=center><IMG height=117 src="images/userreg.gif" width=760
border=0></DIV></TD>
</TR>
</TBODY>
</TABLE>
<TABLE height=528 cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD bgColor=#999999 colSpan=3 height=1><IMG
src="images/blank_2.gif" border=0></TD>
</TR>
<TR>
<TD vAlign=top width=136 background=images/bg_l.gif height=545><TABLE height=122 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" height=104><P align=center><IMG height=85 src="images/ureg.gif" width=134> </P></TD>
</TR>
<TR>
<TD width="100%" height=18></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD vAlign=top width=592 bgColor=#ffffff height=545><TABLE height=73 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="100%" height=30><P style="MARGIN-LEFT: 20px">您的位置: <A
href="index.asp">首頁</A> > 用戶注冊 </P></TD>
</TR>
<tr>
<td height="25"> </td>
</tr>
<tr>
<td><table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td><p align="center"><a href="user.asp"><img src="images/succ.jpg" width="420" height="120" border="0"></a></p>
<p align="center">您的用戶名是:<strong><font color="#FF0000"><%= userid %></font></strong> 您的密碼:<strong><font color="#FF0000"><%= Trim(Request.Form("password1")) %></font></strong></p>
<p align="center"> </p>
<p align="center">請記好您的用戶名和密碼.這將是您在本站的唯一標(biāo)志,請保存好您的密碼..</p>
<p align="center"> </p>
<p align="center">如果要修改您的資料請登錄到管理中心進(jìn)行更改...</p>
<%
if page_jmail then
call SendMail(request("email"),"您好!!",page_mail_body)
end if
%>
</td>
</tr>
</table></td>
</tr>
</TBODY>
</TABLE>
<br>
</TD>
<TD width=32 background=images/bg_r.gif
height=545> </TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD bgColor=#999999><IMG height=1 src="images/spacer.gif"
width=1></TD>
</TR>
</TBODY>
</TABLE>
<!--#include file="foot.asp" -->
<%conn.close
set conn= nothing
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -