📄 check.aspx.vb
字号:
' ***************************************************
' * 本程序由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 _CHECK
Inherits System.Web.UI.Page
Implements IHttpHandler, AspToAspX_Interface
Public AspToAspX_Host_Class_Object As Object
Public i
Public clubuser_id_cookie
Public name_cookie
Public bbsuser_cookie
Public payuser_cookie
Public url
Public upfiletype
Public upfilesize
Public getcodeoff
Public htm_ext
Public shoff
Public postbegintime
Public postendtime
Public postget
Public ip
Public BoardID_1
Public BoardID_2
Public returnurl
Public refbhturl
Public codestr
Public codename
Public BBS_Cate_Name1
Public BBS_Cate_QS1
Public BBS_Cate_Name2
Public BBS_Cate_Manager_Name
Public BBS_Cate_QS2
Public title
Public titlecolor
Public zhiye
Public menu
Public ticon
Public bbs_img
Public bbs_img_display
Public fd
Public flag
Public xsjf
Public xsdaynum
Public vfname
Public Random
Public file2name
Public FileName
Public nlstr
Public Sql_arrest
Public rs_arrest
Public inFolder
Public myFolder
Public fileStreamObj
Public rsql
Public AspToAspX_Str
Public rs As ADODB.Recordset
Public clubuser_id
Public jingyuan
Public tili
Public clubuser_money
Public img
Public clubuser_reg_date
Public signname
Public bz
Public procity
Public clubuser_zip
Public xzstr
Public xzarr
Public ar
Public br
Public xzimg
Public xzms
Public touxian
Public jibie
Public indate
Public hhmm
Public deletedvalue
Public htmfilename
Public sql
Public rsr
Public TitleID
Public strsql
Public page
Public home
Public mainbbscate
Public bbsfbht
Public bbspoll
Public postmb
Public repostformmb
Public HtmlNLA
Public userip
Public blogtypeid
Public linkdb
Public ft
Public ku
Public ckiesdomain
Public conndb
Public ConnectionString
Public FTBBS
Public bbs_img_text
Public img_url
Public img_url_text
Public YN
Public ASPX_CONN As _CONN
Public ASPX_BBSUSER As _BBSUSER
Public ASPX_INC_HTMLENCODE2 As _INC_HTMLENCODE2
Public ASPX_INC_UBBCODE As _INC_UBBCODE
Public ASPX_TOUXIANFUN As _TOUXIANFUN
#Region "..."
Public Sub AspToAspX_InitIncludeFiles()
ASPX_CONN = New _CONN()
ASPX_CONN.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
ASPX_CONN.AspToAspX_InitIncludeFiles()
ASPX_BBSUSER = New _BBSUSER()
ASPX_BBSUSER.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
ASPX_BBSUSER.AspToAspX_InitIncludeFiles()
ASPX_INC_HTMLENCODE2 = New _INC_HTMLENCODE2()
ASPX_INC_HTMLENCODE2.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
ASPX_INC_HTMLENCODE2.AspToAspX_InitIncludeFiles()
ASPX_INC_UBBCODE = New _INC_UBBCODE()
ASPX_INC_UBBCODE.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
ASPX_INC_UBBCODE.AspToAspX_InitIncludeFiles()
ASPX_TOUXIANFUN = New _TOUXIANFUN()
ASPX_TOUXIANFUN.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
ASPX_TOUXIANFUN.AspToAspX_InitIncludeFiles()
End Sub
Public Sub AspToAspX_UnloadIncludeFiles()
ASPX_CONN.AspToAspX_UnloadIncludeFiles()
ASPX_CONN = Nothing
ASPX_BBSUSER.AspToAspX_UnloadIncludeFiles()
ASPX_BBSUSER = Nothing
ASPX_INC_HTMLENCODE2.AspToAspX_UnloadIncludeFiles()
ASPX_INC_HTMLENCODE2 = Nothing
ASPX_INC_UBBCODE.AspToAspX_UnloadIncludeFiles()
ASPX_INC_UBBCODE = Nothing
ASPX_TOUXIANFUN.AspToAspX_UnloadIncludeFiles()
ASPX_TOUXIANFUN = 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_BBSUSER.AspToAspX_Page_Init ( )
ASPX_INC_HTMLENCODE2.AspToAspX_Page_Init ( )
ASPX_INC_UBBCODE.AspToAspX_Page_Init ( )
ASPX_TOUXIANFUN.AspToAspX_Page_Init ( )
clubuser_id_cookie = getcookie ( "clubuser_id" ) '7
name_cookie = getcookie ( "name" ) '8
bbsuser_cookie = getcookie ( "bbsuser" ) '9
payuser_cookie = getcookie ( "payuser" ) '10
If Not AspToAspX_CheckIsNumeric ( clubuser_id_cookie ) Then '11
Response.Write ( "用户ID错误" ) '12
Response.End ( ) '13
End If '14
FTBBS_HTML_MB ( ft ) '15
url = Application ( "FTBBSMB" ) ( 10 , 0 ) '16
upfiletype = Application ( "FTBBSMB" ) ( 12 , 0 ) '17
upfilesize = Application ( "FTBBSMB" ) ( 13 , 0 ) '18
getcodeoff = Application ( "FTBBSMB" ) ( 30 , 0 ) '19
htm_ext = Application ( "FTBBSMB" ) ( 32 , 0 ) '20
shoff = Application ( "FTBBSMB" ) ( 38 , 0 ) '21
postbegintime = Application ( "FTBBSMB" ) ( 42 , 0 ) '22
postendtime = Application ( "FTBBSMB" ) ( 43 , 0 ) '23
postget = Application ( "FTBBSMB" ) ( 48 , 0 ) '24
If AspToAspX_CheckDBNull ( htm_ext ) = EmptyString.Value Then
htm_ext = ".htm"
End If
'25
ip = AspToAspX_GetRequestServerVariables ( "remote_addr" ) '26
BoardID_1 = AspToAspX_CheckIsNothing ( Request.Form ( "BoardID_1" ) ) '27
BoardID_2 = AspToAspX_CheckIsNothing ( Request.Form ( "BoardID_2" ) ) '28
returnurl = "main.aspx?layer_1=" & BoardID_1 & "&layer_2=" & BoardID_2 '29
refbhturl = "fbht.aspx?layer_1=" & BoardID_1 & "&layer_2=" & BoardID_2 '30
If AspToAspX_CheckDBNull ( payuser_cookie ) = 3 Then '31
ftbbs_msg ( "你的用户名被管理员封锁,请联系管理员!" , returnurl ) '32
End If '33
If AspToAspX_CheckDBNull ( Session ( FTBBS & "LastPostTime" ) ) = EmptyString.Value Then '34
Session ( FTBBS & "LastPostTime" ) = DateAndTime.Now '35
Else '36
If AspToAspX_DateDiff ( "s" , Session ( FTBBS & "LastPostTime" ) , DateAndTime.Now ) < = Application ( "FTBBSMB" ) ( 18 , 0 ) Then '37
ftbbs_msg ( "连续发帖间隔时间不能少于" & Application ( "FTBBSMB" ) ( 18 , 0 ) & "秒!" , refbhturl ) '38
Else '39
Session ( FTBBS & "LastPostTime" ) = DateAndTime.Now '40
End If '41
End If '42
If AspToAspX_CheckDBNull ( getcodeoff ) = 1 Then '44
codestr = Trim ( AspToAspX_CheckIsNothing ( Request.Form ( "codestr" ) ) ) '45
codename = Trim ( AspToAspX_CheckIsNothing ( Request.Form ( "codename" ) ) ) '46
If AspToAspX_CStr ( Session ( "GetCode" & codename ) ) < > AspToAspX_CStr ( codestr ) Then '47
ftbbs_msg ( "验证码错误,请重新输入!" , refbhturl ) '48
End If '49
End If '50
FTBBS_BZ_NAME ( BoardID_1 , ft ) '52
BBS_Cate_Name1 = Application ( "BBS_Cate_Name1" ) '53
BBS_Cate_QS1 = Application ( "BBS_Cate_QS1" ) '54
FTBBS_BZ_NAME2 ( BoardID_1 , BoardID_2 , ft ) '55
BBS_Cate_Name2 = Application ( "BBS_Cate_Name2" ) '56
BBS_Cate_Manager_Name = Application ( "BBS_Cate_Manager_Name" ) '57
BBS_Cate_QS2 = Application ( "BBS_Cate_QS2" ) '58
title = trim ( AspToAspX_CheckIsNothing ( Request.Form ( "title" ) ) ) '60
title = htmlencode2 ( title ) '61
title = Checkstr ( title ) '62
titlecolor = trim ( AspToAspX_CheckIsNothing ( Request.Form ( "titlecolor" ) ) ) '63
zhiye = trim ( AspToAspX_CheckIsNothing ( Request.Form ( "zhiye" ) ) ) '64
menu = trim ( AspToAspX_CheckIsNothing ( Request.Form ( "menu" ) ) ) '66
ticon = trim ( AspToAspX_CheckIsNothing ( Request.Form ( "ticon" ) ) ) '67
bbs_img = AspToAspX_CheckIsNothing ( Request.Form ( "bbs_img" ) ) '68
bbs_img_display = AspToAspX_CheckIsNothing ( Request.Form ( "bbs_img_display" ) ) '69
fd = AspToAspX_CheckIsNothing ( Request.Form ( "fd" ) ) '70
If AspToAspX_CheckDBNull ( fd ) = "5" Then '71
flag = 5 '72
xsjf = AspToAspX_CheckIsNothing ( Request.Form ( "xsjf" ) ) '73
xsdaynum = AspToAspX_CheckIsNothing ( Request.Form ( "xsdaynum" ) ) '74
Else '75
flag = AspToAspX_CheckIsNothing ( Request.Form ( "flag" ) ) '76
End If '77
If AspToAspX_CheckDBNull ( Session ( "filename" ) ) = EmptyString.Value Then '78
vfname = makefilename ( DateAndTime.Now ) '79
Randomize ( ) '80
Random = AspToAspX_Int ( ( 1000 - 100 + 1 ) * AspToAspX_Rnd + 100 ) '81
file2name = vfname & "a" & Random & htm_ext '82
Session ( "filename" ) = file2name '83
End If '84
FileName = Session ( "filename" ) '85
nlstr = Request ( "menu" ) '86
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -