📄 register.asp
字号:
<!--#INCLUDE FILE="data.asp" -->
<!--#INCLUDE FILE="mouse.js" -->
<%
Set rs= Server.CreateObject("ADODB.Recordset")
strSql="select * from bumen"
rs.open strSql,Conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script Language="javaScript">
<!--
function validate()
{
if (document.myform.name.value=="")
{
alert("姓名不能为空");
document.myform.name.focus();
return false ;
}
if (document.myform.Userid.value=="")
{
alert("登录帐号不能为空");
document.myform.Userid.focus();
return false ;
}
if (document.myform.company.value=="")
{
alert("单位名称不能为空");
document.myform.company.focus();
return false ;
}
if (document.myform.tel.value=="")
{
alert("电话号码不能为空");
document.myform.tel.focus();
return false ;
}
if (document.myform.email.value=="")
{
alert("电子邮件不能为空");
document.myform.email.focus();
return false ;
}
if (document.myform.question.value=="")
{
alert("密码问题不能为空");
document.myform.question.focus();
return false ;
}
if (document.myform.answer.value=="")
{
alert("密码答案不能为空");
document.myform.answer.focus();
return false ;
}
if (document.myform.password.value=="")
{
alert("密码不能为空");
document.myform.password.focus();
return false ;
}
return true;
}
//-->
</script>
<title>企业资料上报下载系统</title>
</head>
<link href="web.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0">
<div align="center">
<table width="100%" height="88" border="0" cellspacing="0">
<tr>
<td valign="bottom" background="images/topbg.gif"> <div align="center">
</div></td>
</tr>
</table>
<table border="0" width="508" cellspacing="0" cellpadding="0" height="306">
<tr>
<td width="508"> <table border="0" width="508" cellspacing="0" cellpadding="0" height="291">
<tr>
<td width="12"> </td>
<td width="463"> <form method="post" action="zhuce.asp" name="myform" onsubmit="return validate()">
<table width="101%" border="0" cellspacing="1" cellpadding="2">
<tr >
<td class="heading" align="center"> <div align="center">
<center>
<table width="81%" border="0" cellspacing="0" cellpadding="0" bgcolor="#0000FF" bordercolorlight="#000000">
<tr>
<td width="2%" align="right"></td>
<td height="25" align="left">
<p align="center"><font color="#FFFFFF"><b>申 请
帐 号</b></font></p></td>
<td width="3%"></td>
</tr>
</table>
</center>
</div></td>
</tr>
</table>
<div align="center">
<table WIDTH="80%" BORDER="1" CELLSPACING="0" CELLPADDING="0" BORDERCOLORDARK="#FFFFFF" BORDERCOLOR="#FFFFFF" BORDERCOLORLIGHT="#000000">
<tr>
<td WIDTH="17%" VALIGN="top"> <p ALIGN="right">你的姓名:</p></td>
<td WIDTH="83%"> <input TYPE="text" NAME="name" CLASS="form" SIZE="24">
<font color="#FF0000">**</font></td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top" HEIGHT="6"> <p ALIGN="right">登录帐号:</p></td>
<td WIDTH="83%" HEIGHT="6"> <input TYPE="text" NAME="Userid" CLASS="form" SIZE="24">
(<FONT COLOR="#FF0000">请用您的实名进行注册,否则不予以审核</FONT>)</td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top" HEIGHT="16"> <p ALIGN="right">登录密码:</p></td>
<td WIDTH="83%" HEIGHT="16"> <input TYPE="password" NAME="password" CLASS="form" SIZE="24">
<font color="#FF0000">**</font></td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top" HEIGHT="16"> <p ALIGN="right">密码问题:</p></td>
<td WIDTH="83%" HEIGHT="16"> <input TYPE="text" NAME="question" CLASS="form" SIZE="24">
<font color="#FF0000"> **</font></td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top" HEIGHT="16"> <p ALIGN="right">密码答案:</p></td>
<td WIDTH="83%" HEIGHT="16"> <input TYPE="text" NAME="answer" CLASS="form" SIZE="24">
<font color="#FF0000">**</font></td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top"> <p ALIGN="right">单位名称: </td>
<td WIDTH="83%"> <input type="text" name="company" size="24">
<font color="#FF0000">**</font></td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top"> <p ALIGN="right">手机号码:</p></td>
<td WIDTH="83%"> <input TYPE="text" NAME="mobile" CLASS="form" SIZE="24">
</td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top" HEIGHT="27"> <p ALIGN="right">电话号码:</p></td>
<td WIDTH="83%" HEIGHT="27"> <input TYPE="text" NAME="tel" CLASS="form" SIZE="24">
<font color="#FF0000">**</font></td>
</tr>
<tr>
<td WIDTH="17%" VALIGN="top"> <p ALIGN="right">电子邮件:</p></td>
<td WIDTH="83%"> <input TYPE="text" NAME="email" CLASS="form" SIZE="24">
<font color="#FF0000">**</font></td>
</tr>
<%if session("id")<>"" then %>
<tr>
<td width="17%" valign="top"> <p align="right">管理权限:</p></td>
<td width="83%"> <select NAME="admin">
<option value="a" <%if rs("权限")="a" then%>selected<%end if%>>超级用户</option>
<option value="b" <%if rs("权限")="b" then%>selected<%end if%>>管理员</option>
<option value="c" <%if rs("权限")="c" then%>selected<%end if%>>普通用户</option>
</select> </td>
</tr>
<%end if%>
</table>
</div>
<div align="center">
<input type=image src="images/add_off.gif" name="I1">
<a href="javaScript:window.close()"><img border="0" src="images/close_1.gif"></a>
</div>
</form>
<p align="center"><font color="#FF0000">系统提醒您:后面带有" **"
是必填内容!</font></td>
<td width="33"> </td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -