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

📄 ftbbsmyinfo.aspx.vb

📁 本程序修改自飞天BBS 7.0 将原来的ASP语法迁移为ASP.NET并封装成DLL ASP.NET相对ASP有更快的执行效率以及更高的并发访问量 基于ASP.NET的DLL可以运行在支持ASP
💻 VB
📖 第 1 页 / 共 3 页
字号:
' ***************************************************
' *        本程序由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 _FTBBSMYINFO
    Inherits System.Web.UI.Page
    Implements IHttpHandler, AspToAspX_Interface

    Public AspToAspX_Host_Class_Object As Object

Public postuserid
Public ftbbsuser
Public defaulthome
Public homepage
Public sql
Public rsx
Public clubuser_id
Public clubuser_name
Public payuser
Public userimg
Public clubuser_money
Public clubuser_email
Public clubuser_address
Public clubuser_reg_date
Public clubuser_enter_count
Public clubuser_sex
Public clubuser_marriage
Public clubuser_lasttime
Public signname
Public postnum
Public jingyuan
Public tili
Public touxian
Public jibie
Public linkdb
Public ft
Public ku
Public ckiesdomain
Public conndb
Public ConnectionString
Public userinfo
Public userinfox
Public rs As ADODB.Recordset
Public num
Public smsnum
    Public ASPX_CONN As _CONN
    Public ASPX_FTBBS_NAV As _FTBBS_NAV
    Public ASPX_BBSUSER As _BBSUSER
    Public ASPX_INC_UBBCODE As _INC_UBBCODE
    Public ASPX_TOUXIANFUN As _TOUXIANFUN
    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_FTBBS_NAV = New _FTBBS_NAV()
        ASPX_FTBBS_NAV.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
        ASPX_FTBBS_NAV.AspToAspX_InitIncludeFiles()
        ASPX_BBSUSER = New _BBSUSER()
        ASPX_BBSUSER.AspToAspX_Host_Class_Object = AspToAspX_Host_Class_Object
        ASPX_BBSUSER.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()
        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_FTBBS_NAV.AspToAspX_UnloadIncludeFiles()
        ASPX_FTBBS_NAV = Nothing
        ASPX_BBSUSER.AspToAspX_UnloadIncludeFiles()
        ASPX_BBSUSER = Nothing
        ASPX_INC_UBBCODE.AspToAspX_UnloadIncludeFiles()
        ASPX_INC_UBBCODE = Nothing
        ASPX_TOUXIANFUN.AspToAspX_UnloadIncludeFiles()
        ASPX_TOUXIANFUN = 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_FTBBS_NAV.AspToAspX_Page_Init ( )
    ASPX_BBSUSER.AspToAspX_Page_Init ( )
    ASPX_INC_UBBCODE.AspToAspX_Page_Init ( )
    ASPX_TOUXIANFUN.AspToAspX_Page_Init ( )
    postuserid = Request.QueryString ( "postuserid" ) '7
    ftbbsuser = Request.QueryString ( "ftbbsuser" ) '8
    FTBBS_HTML_MB ( ft ) '9
    defaulthome = Application ( "FTBBSMB" ) ( 31 , 0 ) '10
    If AspToAspX_CheckDBNull ( defaulthome ) = 1 Then '11
        homepage = "ftbbshome.aspx" '12
    Else '13
        homepage = "main.aspx" '14
    End If '15
    If AspToAspX_CheckDBNull ( postuserid ) = EmptyString.Value Then '16
        sql = "select clubuser_id,clubuser_name,payuser,clubuser_money,userimg,clubuser_email,clubuser_address,clubuser_reg_date,clubuser_enter_count,clubuser_sex,clubuser_marriage,clubuser_lasttime,signname,postnum,tili,jingyuan from " & ft & "clubuser where clubuser_name='" & ftbbsuser & "'" '17
    Else '18
        sql = "select clubuser_id,clubuser_name,payuser,clubuser_money,userimg,clubuser_email,clubuser_address,clubuser_reg_date,clubuser_enter_count,clubuser_sex,clubuser_marriage,clubuser_lasttime,signname,postnum,tili,jingyuan from " & ft & "clubuser where clubuser_id=" & postuserid '19
    End If '20
    rsx = New ADODB.Recordset ( ) '21
    rsx.Open ( sql , conn , 3 , 1 ) '22
    If Not rsx.EOF Then '23
        clubuser_id = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_id" ) .Value) '24
        clubuser_name = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_name" ) .Value) '25
        payuser = AspToAspX_CheckDBNull(rsx.Fields ( "payuser" ) .Value) '26
        userimg = AspToAspX_CheckDBNull(rsx.Fields ( "userimg" ) .Value) '27
        clubuser_money = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_money" ) .Value) '28
        clubuser_email = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_email" ) .Value) '29
        clubuser_address = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_address" ) .Value) '30
        clubuser_reg_date = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_reg_date" ) .Value) '31
        clubuser_enter_count = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_enter_count" ) .Value) '32
        clubuser_sex = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_sex" ) .Value) '33
        clubuser_marriage = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_marriage" ) .Value) '34
        clubuser_lasttime = AspToAspX_CheckDBNull(rsx.Fields ( "clubuser_lasttime" ) .Value) '35
        signname = ftbbsubbcode ( AspToAspX_CheckDBNull(rsx.Fields ( "signname" ) .Value) ) '36
        postnum = AspToAspX_CheckDBNull(rsx.Fields ( "postnum" ) .Value) '37
        jingyuan = AspToAspX_CheckDBNull(rsx.Fields ( "jingyuan" ) .Value) '38
        tili = AspToAspX_CheckDBNull(rsx.Fields ( "tili" ) .Value) '39
    End If '40
    rsx.Close ( ) '41
    rsx = Nothing '42
    touxian = touxianvalue ( jingyuan , ft ) '43
    jibie = replace ( jibievalue ( jingyuan , ft ) , "../" , "" ) '44
    Response.Write ( vbCrLf )
    Response.Write ( "<HTML><HEAD>" & Chr ( 13 ) ) '46
    Response.Write ( "<title>用户个人资料</title>" & Chr ( 13 ) ) '47
    Response.Write ( "<META http-equiv=Content-Type content=text/html;charset=utf-8>" & Chr ( 13 ) ) '48
    Response.Write ( "<script language=javascript src=""inc/cookies.js""></script>" & Chr ( 13 ) ) '49
    Response.Write ( "<script>" & Chr ( 13 ) ) '50
    Response.Write ( "var stylecook = getCookie(""STYLESHOW"");" & Chr ( 13 ) ) '51
    Response.Write ( "var style;" & Chr ( 13 ) ) '52
    Response.Write ( "var strstyle;" & Chr ( 13 ) ) '53
    Response.Write ( "if(stylecook=="""")" & Chr ( 13 ) ) '54
    Response.Write ( "{" & Chr ( 13 ) ) '55
    Response.Write ( " stylecook=1;" & Chr ( 13 ) ) '56
    Response.Write ( "}" & Chr ( 13 ) ) '57
    Response.Write ( "else" & Chr ( 13 ) ) '58
    Response.Write ( "{" & Chr ( 13 ) ) '59
    Response.Write ( " stylecook++;" & Chr ( 13 ) ) '60
    Response.Write ( "}" & Chr ( 13 ) ) '61
    Response.Write ( "style=""main0""+stylecook+"".css"";" & Chr ( 13 ) ) '62
    Response.Write ( "strstyle=""<link href=\""css/""+style+""\""  rel=\""stylesheet\"" type=\""text/css\""> "";" & Chr ( 13 ) ) '63
    Response.Write ( "document.write(strstyle);" & Chr ( 13 ) ) '64
    Response.Write ( "</script>" & Chr ( 13 ) ) '65
    Response.Write ( "</HEAD>" & Chr ( 13 ) ) '66
    Response.Write ( "</head>" & Chr ( 13 ) ) '67
    Response.Write ( "<body>" & Chr ( 13 ) ) '68
    If AspToAspX_CheckDBNull ( getcookie ( "ftbbstype" ) ) = 1 Then '70
        Response.Write ( headhtml ) '71
    End If '72
    Response.Write ( vbCrLf )
    Response.Write ( "<table width=""99%"" border=0 align=""center"" cellpadding=2 cellspacing=1 class=""maintbbg"">" & Chr ( 13 ) ) '74
    Response.Write ( "  <tbody>" & Chr ( 13 ) ) '75
    Response.Write ( "   <tr> " & Chr ( 13 ) ) '76
    Response.Write ( "     <td height=""25"" class=""f12bg"">&nbsp;" ) '77
    Response.Write ( userinfo ) '77
    Response.Write ( "</td>" & Chr ( 13 ) ) '77
    Response.Write ( "   </tr>" & Chr ( 13 ) ) '78
    Response.Write ( "   <tr> " & Chr ( 13 ) ) '79
    Response.Write ( "    <td height=""25"" class=""maintbtr3"">&nbsp;<a href=""" ) '80
    Response.Write ( homepage ) '80
    Response.Write ( """>论坛首页</a> >> 个人资料:</td>" & Chr ( 13 ) ) '80
    Response.Write ( "   </tr>" & Chr ( 13 ) ) '81
    Response.Write ( "  </tbody>" & Chr ( 13 ) ) '82
    Response.Write ( "</table>" & Chr ( 13 ) ) '83
    Response.Write ( "<table cellspacing=0 cellpadding=0 width=""99%"" align=center border=0>" & Chr ( 13 ) ) '84
    Response.Write ( "  <tr> " & Chr ( 13 ) ) '85
    Response.Write ( "    <td height=8></td>" & Chr ( 13 ) ) '86
    Response.Write ( "  </tr>" & Chr ( 13 ) ) '87
    Response.Write ( "</table>" & Chr ( 13 ) ) '88
    Response.Write ( "<table width=""99%"" border=""0"" align=""center"" cellpadding=""0"" class=""listborder"" cellspacing=""1"">" & Chr ( 13 ) ) '89
    Response.Write ( "  <tr valign=""middle""> " & Chr ( 13 ) ) '90
    Response.Write ( "    <td height=""26"" colspan=""2"" class=""f12bg""><div align=""center"">个人资料</div></td>" & Chr ( 13 ) ) '91
    Response.Write ( "  </tr>" & Chr ( 13 ) ) '92
    Response.Write ( "  <tr> " & Chr ( 13 ) ) '93
    Response.Write ( "    <td width=""30%"" valign=""top"" class=""maintbtr3""> <table width=""190"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"" class=""photo"">" & Chr ( 13 ) ) '94
    Response.Write ( "        <tr> " & Chr ( 13 ) ) '95
    Response.Write ( "          <td align=""center"" class=""image""><img src=""userheadimg/" ) '96
    Response.Write ( userimg ) '96
    Response.Write ( """ border=""0"" onload=""javascript:if(this.width>120) this.width=120""> " & Chr ( 13 ) ) '96
    Response.Write ( "          </td>" & Chr ( 13 ) ) '97
    Response.Write ( "        </tr>" & Chr ( 13 ) ) '98
    Response.Write ( "        <tr> " & Chr ( 13 ) ) '99
    Response.Write ( "          <td height=""28"" align=""center"" class=""f12""> <a href=""friendbbs.aspx?userid=" ) '100
    Response.Write ( clubuser_id ) '100
    Response.Write ( """> " & Chr ( 13 ) ) '100
    Response.Write ( "            <img src='blogimages/ico_adfriend.gif' border='0' align='absmiddle'>加为好友</a> " & Chr ( 13 ) ) '101
    Response.Write ( "            | <a href=""smsbbs.aspx?postuserid=" ) '102
    Response.Write ( clubuser_id ) '102
    Response.Write ( """> <img src=""blogimages/ico_sendmsg.gif"" border=""0"" align=""absmiddle"">发送消息</a> " & Chr ( 13 ) ) '102
    Response.Write ( "          </td>" & Chr ( 13 ) ) '103
    Response.Write ( "        </tr>" & Chr ( 13 ) ) '104
    Response.Write ( "      </table></td>" & Chr ( 13 ) ) '105
    Response.Write ( "    <td class=""maintbtr3"">" & Chr ( 13 ) ) '106
    Response.Write ( "      <table width=""98%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">" & Chr ( 13 ) ) '107

⌨️ 快捷键说明

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