📄 register2.asp
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<!--#include file="../Include/Class_Pass.asp" -->
<%
Dim Username,Password,Comid,Question,Answer,Email
Username = Replace_text(Request.Form("username")) '//用户名
Password = Replace_text(Request.Form("password")) '//密码
Randomize timer
znum = cint(8999*Rnd+1000)
Comid = "VR"&gen_key(10)&znum '//会员ID
Question = Replace_text(Request.Form("question")) '//问题提示
Answer = Replace_text(Request.Form("answer")) '//提示答案
Email = Replace_text(Request.Form("mailbox")) '//电子邮件
Dim Agree
'//检验用户是否同意用户协议
Agree = Replace_text(request.form("agree"))
If Agree = "" Then
Response.write "<script >alert('"&Cls_WebName&" 提示:\n\n对不起,您没有同意用户服务协议,请重新注册...');history.back(-1);</script>"
Response.end
End if
Set Rs = Server.createobject("ADODB.recordset")
Rs.open "Select username,Email,comid From [pH_Company_Base] Where username='"&username&"' or comid='"&comid&"'",conn,1,1
if not rs.eof or not rs.bof then
if rs("username")=username or rs("comid")=comid then
CloseRs
CloseDb
response.write "<script >alert('"&Cls_WebName&" 提示:\n\n对不起,你的帐号已经使用了,请重新选择帐号并继续注册...');history.back(-1);</script>"
response.end
end if
end if
CloseRs
CloseDb
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Css/Style.css" type=text/css rel=stylesheet>
<title><%= Cls_WebName %> -- 企业会员注册</title>
</head>
<script language="JavaScript" src="../js/Company_Register2.js"></script>
<body>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<!--#include file="../Include/Header.asp" -->
</td>
</tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" height="75" valign="bottom"><img src="../Images/reg_01.gif" width="280" height="67"></td>
<td width="50%" valign="bottom"><img src="../Images/reg2_3.gif" width="380" height="54"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><hr size="1" color="#f1b5a1"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25"><FONT color=#cc0000><STRONG
class=font14b>第二步 详细资料</STRONG></FONT>(说明:带“<FONT
color=#ff0000>*</FONT>”号的为必填项)</td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<form action="Register_Ok.asp" name="reg" method="POST" onSubmit="return check_reg();">
<tr>
<td align="center"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#f1b5a1">
<tr>
<td valign="top" bgcolor="#FFFFFF"> <TABLE cellSpacing=0 cellPadding=0 width=99% align=center
border=0>
<TBODY>
<TR>
<TD class=font-14 height=3></TD>
</TR>
<TR>
<TD class=font-14 bgColor=#ff7800 height=21> <FONT style="MARGIN-TOP: 2px; MARGIN-LEFT: 10px" color=#ffffff><strong>基本资料</strong></FONT></TD>
</TR>
<TR>
<TD bgColor=#e2e2e2 height=2></TD>
</TR>
</TBODY>
</TABLE>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="17%" height="30" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 企业名称:</td>
<td height="30"> <input name="companyname" type="text" id="companyname" size="50" maxlength="50" style="width:200px;">
如:<%= Cls_WebName %></td>
</tr>
<tr>
<td width="17%" height="30" align="right" bgcolor="#fff7f0">证件号码:</td>
<td height="30" bgcolor="#fff7f0"> <input name="licence" type="text" size="25" maxlength="25" style="width:200px;">
<font color="#50463d">企业的营业执照等</font> </td>
</tr>
<tr>
<td height="30" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 所属行业:</td>
<td height="30"> <select name="industry" id="industry" style="width:200px;">
<option value="1">互联网、电子商务</option>
<option value="2">计算机业(软件、数据库、系统集成)</option>
<option value="3">计算机业(硬件、网络设备)</option>
<option value="4">电子、微电子技术</option>
<option value="5">通讯、电信业</option>
<option value="6">家电业</option>
<option value="7">批发零售(百货、超市、专卖店)</option>
<option value="8">贸易、商务、进出口</option>
<option value="9">电气</option>
<option value="10">电力、能源、矿产业</option>
<option value="11">石油、化工业</option>
<option value="12">生物工程、制药、环保</option>
<option value="13">机械制造、机电设备、重工业</option>
<option value="14">汽车、摩托车</option>
<option value="15">仪器仪表、电工设备</option>
<option value="16">广告、公关、设计</option>
<option value="17">媒体、影视制作、新闻出版</option>
<option value="18">艺术、文化传播</option>
<option value="19">快速消费品(食品、饮料、粮油、化妆品、烟酒)</option>
<option value="20">纺织品业(服饰、鞋类、家纺用品、皮具)</option>
<option value="21">咨询业(顾问、会计师、审计师、法律)</option>
<option value="22">金融业(投资、保险、证券、银行、基金)</option>
<option value="23">建筑、房地产、物业管理、装潢</option>
<option value="24">餐饮、娱乐、酒店</option>
<option value="25">运输、物流、快递</option>
<option value="26">旅游业</option>
<option value="27">办公设备、文化体育休闲用品、家居用品</option>
<option value="28">印刷、包装、造纸</option>
<option value="29">生产、制造、加工</option>
<option value="30">教育、培训、科研院所</option>
<option value="31">医疗、保健、卫生服务</option>
<option value="32">英才交流、中介</option>
<option value="33">协会、社团、政府公用事业、社区服务</option>
<option value="34">农、林、牧、副、渔业</option>
<option value="35">其他</option>
</select> </td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#fff7f0"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 企业性质:</td>
<td height="30" bgcolor="#fff7f0"> <select name="properity" style="width:120px;">
<option value="1">国有企业</option>
<option value="2">外资企业</option>
<option value="3">合资企业</option>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -