⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reg2.asp

📁 使用Asp+Access+FSO+Jmail+Servu开发
💻 ASP
字号:
<%
if session("reg")<>true then
   response.write "<script>alert('对不起,您还没有阅读服务条款!');location.href='reg.asp'</script>"
   response.end
 end if
%>
<!--#include file="top.asp"-->
<%
set rshost=Server.CreateObject("ADODB.Recordset")
sqlhost="select * from host"
rshost.open sqlhost,conn,1,1
if rshost.eof and rshost.bof then   
response.redirect "error.asp?error=host"
response.end  
end if
%>
<script language="JavaScript" src="js/reg1.js"></script>
<table width='770' border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td width="190" height="300" align=center valign="top"><img src='images/reg_left_2.gif' name=reg_left width="160" height="200" border=0></td>
    <td width="1" background="images/bg_vline.gif"></td>
    <td align=center valign="top"><table align="center" background="images/line01.gif" border="0" cellpadding="0" cellspacing="0" height="24" width="100%">
      <tr>
        <td height="21">&nbsp;<img height="12" src="images/arrow.gif" width="12"> 当前位置:<a href="index.asp" title="首页"><%=site%></a> -&gt; 用户注册</td>
        </tr>
    </table>
      <br>      <table align="center" border="0" bordercolor="#000000" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td background="images/bar_bg.gif" width="18%"><img src="images/bar_left.gif" width="29" height="24" border="0"></td>
        <td background="images/bar_bg.gif" width="79%"><font color="#993300">第二步:选择用户名、空间类型</font></td>
        <td width="4%"><img src="images/bar_right.gif" width="20" height="25" border="0"></td>
      </tr>
    </table>      <table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="cccccc">
        <form name="reg" action="reg3.asp" method="post" onSubmit="return check_input()">
          <tr bgcolor="#FFFFFF">
            <td width="40%" align="right">用户名:</td>
            <td width="60%" valign="top">
              <input name="username" type="text" class="input" size="12" maxlength="8">
              <font color="#FF0000">*</font>
              <input name="button" type="button" class="button" onClick="javascript:Check()" value="检测用户名"><iframe name="check" width="0" height="0"></iframe>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">空间类型:</td>
            <td bgcolor="#FFFFFF">
              <select name="groups">
                <option>请选择</option>
                <%do while not rshost.eof%>
                <option value=<%=rshost("id")%>><%=rshost("name")%></option>
                <%rshost.movenext
                  loop
                  rshost.close
                  set rshost=nothing
                  %>
              </select>
            <font color="#FF0000">* </font>→<a href="space.asp" target="_blank">按此查看各类空间详细说明</a></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td colspan="2" align="center">
			<%
			if Request.Cookies("username")<>"" then
			response.write "对不起,需再次注册,请先<b><a href=login.asp?action=loginout>退出用户管理中心</a></b>!" 
			else
			response.write "<input name=submit type=submit class=button value=下一步>"
			end if
			%>
            </td>
          </tr>
        </form>
    </table></td>
  </tr>
</table>
<!--#include file="copyright.asp"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -