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

📄 register.aspx.vb

📁 本程序修改自飞天BBS 7.0 将原来的ASP语法迁移为ASP.NET并封装成DLL ASP.NET相对ASP有更快的执行效率以及更高的并发访问量 基于ASP.NET的DLL可以运行在支持ASP
💻 VB
📖 第 1 页 / 共 5 页
字号:
' ***************************************************
' *        本程序由AspToAspX风火轮0.99转换生成      *
' *        http://Www.AspToAspX.Cn                  *
' *        Q Q :  139227536                         *
' *        QQ群:  17152722                          *
' *        MSN :  gzliangjianhua@hotmail.com        *
' *        EMail  AspToDll@vip.163.com              *
' ***************************************************
Imports Microsoft.VisualBasic
Imports System.Web
Imports System.Math
Imports System.Web.SessionState


Public Class _REGISTER
    Inherits System.Web.UI.Page
    Implements IHttpHandler, AspToAspX_Interface

    Public AspToAspX_Host_Class_Object As Object

Public i
Public regoff
Public usernamelng
Public pswlng
Public jmailoff
Public getcodeoff
Public usernamelng1
Public usernamelng2
Public pswlng1
Public pswlng2
Public allprovince
Public everyprovince
Public linkdb
Public ft
Public ku
Public ckiesdomain
Public conndb
Public ConnectionString
Public allpc
Public allp
Public pc
Public eachcity
Public tpnum
    Public ASPX_CONN As _CONN
    Public ASPX_PRO_CITY As _PRO_CITY
    Public ASPX_INC_BBSTAIL_HTM As _INC_BBSTAIL_HTM
#Region "..."
    Public Sub AspToAspX_InitIncludeFiles()
        ASPX_CONN = New _CONN()
        ASPX_CONN.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
        ASPX_CONN.AspToAspX_InitIncludeFiles()
        ASPX_PRO_CITY = New _PRO_CITY()
        ASPX_PRO_CITY.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
        ASPX_PRO_CITY.AspToAspX_InitIncludeFiles()
        ASPX_INC_BBSTAIL_HTM = New _INC_BBSTAIL_HTM()
        ASPX_INC_BBSTAIL_HTM.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
        ASPX_INC_BBSTAIL_HTM.AspToAspX_InitIncludeFiles()
    End Sub

    Public Sub AspToAspX_UnloadIncludeFiles()
        ASPX_CONN.AspToAspX_UnloadIncludeFiles()
        ASPX_CONN = Nothing
        ASPX_PRO_CITY.AspToAspX_UnloadIncludeFiles()
        ASPX_PRO_CITY = Nothing
        ASPX_INC_BBSTAIL_HTM.AspToAspX_UnloadIncludeFiles()
        ASPX_INC_BBSTAIL_HTM = Nothing
    End Sub

#End Region
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
        AspToAspXGlobal.Application = Application
        AspToAspXGlobal.Server = Server
        AspToAspXGlobal.Response = Response
        AspToAspXGlobal.Request = Request
        AspToAspXGlobal.Session = Session
        AspToAspX_Host_Class_Object = Me
        AspToAspX_InitIncludeFiles()
        AspToAspX_Page_Init()
        End Sub
    Public Sub AspToAspX_Page_Init()
    On Error GoTo _AspToAspX_Err
    ASPX_CONN.AspToAspX_Page_Init ( )
    ASPX_PRO_CITY.AspToAspX_Page_Init ( )
    FTBBS_HTML_MB ( ft ) '4
    regoff = Application ( "FTBBSMB" ) ( 17 , 0 ) '5
    usernamelng = Application ( "FTBBSMB" ) ( 22 , 0 ) '6
    pswlng = Application ( "FTBBSMB" ) ( 23 , 0 ) '7
    jmailoff = Application ( "FTBBSMB" ) ( 24 , 0 ) '8
    getcodeoff = Application ( "FTBBSMB" ) ( 30 , 0 ) '9
    usernamelng1 = AspToAspX_Split ( usernamelng , "-" ) ( 0 ) '10
    usernamelng2 = AspToAspX_Split ( usernamelng , "-" ) ( 1 ) '11
    pswlng1 = AspToAspX_Split ( pswlng , "-" ) ( 0 ) '12
    pswlng2 = AspToAspX_Split ( pswlng , "-" ) ( 1 ) '13
    Response.Write ( vbCrLf )
    Response.Write ( "<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">" & Chr ( 13 ) ) '15
    Response.Write ( "<html xmlns=""http://www.w3.org/1999/xhtml"">" & Chr ( 13 ) ) '16
    Response.Write ( "<head>" & Chr ( 13 ) ) '17
    Response.Write ( "<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" />" & Chr ( 13 ) ) '18
    Response.Write ( "</head>" & Chr ( 13 ) ) '19
    Response.Write ( "<script language=javascript src=""inc/cookies.js""></script>" & Chr ( 13 ) ) '20
    Response.Write ( "<script>" & Chr ( 13 ) ) '21
    Response.Write ( "var stylecook = getCookie(""STYLESHOW"");" & Chr ( 13 ) ) '22
    Response.Write ( "var style;" & Chr ( 13 ) ) '23
    Response.Write ( "var strstyle;" & Chr ( 13 ) ) '24
    Response.Write ( "if(stylecook=="""")" & Chr ( 13 ) ) '25
    Response.Write ( "{" & Chr ( 13 ) ) '26
    Response.Write ( " stylecook=1;" & Chr ( 13 ) ) '27
    Response.Write ( "}" & Chr ( 13 ) ) '28
    Response.Write ( "else" & Chr ( 13 ) ) '29
    Response.Write ( "{" & Chr ( 13 ) ) '30
    Response.Write ( " stylecook++;" & Chr ( 13 ) ) '31
    Response.Write ( "}" & Chr ( 13 ) ) '32
    Response.Write ( "style=""main0""+stylecook+"".css"";" & Chr ( 13 ) ) '33
    Response.Write ( "strstyle=""<link href=\""css/""+style+""\""  rel=\""stylesheet\"" type=\""text/css\""> "";" & Chr ( 13 ) ) '34
    Response.Write ( "document.write(strstyle);" & Chr ( 13 ) ) '35
    Response.Write ( "</script>" & Chr ( 13 ) ) '36
    Response.Write ( "<script language=javascript src=""js/resetcode.js""></script>" & Chr ( 13 ) ) '37
    Response.Write ( "<title>新用户注册</title>" & Chr ( 13 ) ) '38
    Response.Write ( "<body>" & Chr ( 13 ) ) '39
    If AspToAspX_CheckDBNull ( getcookie ( "ftbbstype" ) ) = 1 Then '41
        Response.Write ( headhtml ) '42
    End If '43
    Response.Write ( vbCrLf )
    Response.Write ( "<div id=""bg"">" & Chr ( 13 ) ) '45
    Response.Write ( "  <div id=""stopa"">" & Chr ( 13 ) ) '46
    Response.Write ( "   <div id=""slogin""> <strong>注册前请先阅读本站协议并填写以下注册信息<span class=S></span> </strong> </div>" & Chr ( 13 ) ) '47
    Response.Write ( "<form name=""form1"" method=post action=""regact.aspx"" />" & Chr ( 13 ) ) '48
    Response.Write ( "<div id='ftbbs_reg'>" & Chr ( 13 ) ) '49
    Response.Write ( "<div class='reg_content'><fieldset><legend>注册协议</legend>" & Chr ( 13 ) ) '50
    Response.Write ( "<ul> " & Chr ( 13 ) ) '51
    Response.Write ( "<li class='r_msg'><img src='images/li_none.gif' class='okimg' id='d_uname_img' /> <b>欢迎您加入本站参加交流和讨论,本站为公共论坛,为维护网上公共秩序和社会稳定,请您自觉遵守以下协议:</b></li>" & Chr ( 13 ) ) '52
    Response.Write ( "</ul>" & Chr ( 13 ) ) '53
    Response.Write ( "<ul>" & Chr ( 13 ) ) '54
    Response.Write ( "<li class='r_msg'><img src='images/li_none.gif' class='okimg' id='d_uname_img' /> 1.不得发布任何色情非法,以及危害国家安全的言论;</li>" & Chr ( 13 ) ) '55
    Response.Write ( "</ul>" & Chr ( 13 ) ) '56
    Response.Write ( "<ul>" & Chr ( 13 ) ) '57
    Response.Write ( "<li class='r_msg'><img src='images/li_none.gif' class='okimg' id='d_uname_img' /> 2.严禁链接有关政治敏感,色情,宗教敏感,迷信,恐怖主义等一切违法信息;</li>" & Chr ( 13 ) ) '58
    Response.Write ( "</ul>" & Chr ( 13 ) ) '59
    Response.Write ( "<ul>" & Chr ( 13 ) ) '60
    Response.Write ( "<li class='r_msg'><img src='images/li_none.gif' class='okimg' id='d_uname_img' /> 3.您将承担一切因您的行为而直接或间接导致的民事或刑事法律责任;</li>" & Chr ( 13 ) ) '61
    Response.Write ( "</ul>" & Chr ( 13 ) ) '62
    Response.Write ( "<ul>" & Chr ( 13 ) ) '63
    Response.Write ( "<li class='r_msg'><img src='images/li_none.gif' class='okimg' id='d_uname_img' /> 4.互相尊重,遵守互联网络道德,对自己的言论和行为负责,严禁互相恶意攻击,漫骂;</li>" & Chr ( 13 ) ) '64
    Response.Write ( "</ul>" & Chr ( 13 ) ) '65
    Response.Write ( "<ul>" & Chr ( 13 ) ) '66
    Response.Write ( "<li class='r_msg'><img src='images/li_none.gif' class='okimg' id='d_uname_img' /> 5.本站管理员拥有所有管理权限,删贴不另行通知用户.</li>" & Chr ( 13 ) ) '67
    Response.Write ( "</ul>" & Chr ( 13 ) ) '68
    Response.Write ( "</fieldset></div>" & Chr ( 13 ) ) '69
    Response.Write ( "<br>" & Chr ( 13 ) ) '70
    Response.Write ( "<div class='reg_content'><fieldset><legend>您的名称</legend>" & Chr ( 13 ) ) '71
    Response.Write ( "<ul> " & Chr ( 13 ) ) '72
    Response.Write ( "<li class='r_left'><img src='images/li_none.gif' class='okimg' id='d_uname_img' /> 您的用户名:</li>" & Chr ( 13 ) ) '73
    Response.Write ( "<li class='r_right'> <input name=username type=text id=uname size=15 maxlength=30 onFocus=""on_input('d_uname');"" onblur='out_uname(this.value);'></li>" & Chr ( 13 ) ) '74
    Response.Write ( "<li class='r_msg'><div id='d_uname' class='d_default'></div><div id='d_pre' class='d_default' style=""display:none""></div></li>" & Chr ( 13 ) ) '75
    Response.Write ( "</ul>" & Chr ( 13 ) ) '76
    Response.Write ( "<!--" & Chr ( 13 ) ) '77
    Response.Write ( "<ul>" & Chr ( 13 ) ) '78
    Response.Write ( "<li class='r_left'> <span id='chkssn_stat'></span> </li>" & Chr ( 13 ) ) '79
    Response.Write ( "<li class='r_right'><input type='button' id='checkbotton' onClick=""chkuser();""' value='查看用户名是否可用'></li>" & Chr ( 13 ) ) '80
    Response.Write ( "</ul>" & Chr ( 13 ) ) '81
    Response.Write ( "-->" & Chr ( 13 ) ) '82
    Response.Write ( "</fieldset></div>" & Chr ( 13 ) ) '83
    Response.Write ( "<br>" & Chr ( 13 ) ) '84
    Response.Write ( "<div class='reg_content'><fieldset><legend>安全资料</legend>" & Chr ( 13 ) ) '85
    Response.Write ( "<ul>" & Chr ( 13 ) ) '86
    Response.Write ( "<li class='r_left'><img src='images/li_none.gif' class='okimg' id='d_upwd1_img' /> 输入登录密码:</li>" & Chr ( 13 ) ) '87
    Response.Write ( "<li class='r_right'><input name=password type=password id=upwd size=20 maxlength=12 onKeyUp='EvalPwdStrength(this.value);' onFocus=""on_input('d_upwd1');"" onblur='out_upwd1();'> <li class='r_msg'><div id='d_upwd1' class='d_default'></div></li></ul>" & Chr ( 13 ) ) '88
    Response.Write ( "<ul>" & Chr ( 13 ) ) '89
    Response.Write ( "<li class='r_left'></li>" & Chr ( 13 ) ) '90
    Response.Write ( "<li class='r_right'><div id='pws' class='ftbbs_pws'><div id='idSM1' class='ftbbs_pws0'><span style='font-size:1px'>&nbsp;</span><span id='idSMT1' >弱</span></div><div id='idSM2' class='ftbbs_pws0'  style='border-left:solid 1px #DEDEDE'><span style='font-size:1px'>&nbsp;</span><span id='idSMT2' >中</span></div><div id='idSM3' class='ftbbs_pws0' style='border-left:solid 1px #DEDEDE'><span style='font-size:1px'>&nbsp;</span><span id='idSMT3' >强</span></div></div></li>" & Chr ( 13 ) ) '91
    Response.Write ( "</ul>" & Chr ( 13 ) ) '92
    Response.Write ( "<ul> " & Chr ( 13 ) ) '93

⌨️ 快捷键说明

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