📄 main.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%option explicit%>
<!--#include file="../Conn.asp"-->
<!--#include file="../SysCls/KS_CommonCls.asp"-->
<!--#include file="Inc/Session.asp"-->
<%
'===================================================================================================================
'软件名称:科汛网站管理系统
'当前版本:科汛网站管理系统 V2.2 SP2 Free
'Copyright (C) 2006-2008 Kesion.Com All rights reserved.
'产品咨询QQ:9537636,41904294
'技术支持QQ:111394,54004407
'程序版权:科汛网络
'程序开发:科汛网络开发组(总策划:林文仲)
'E-Mail :kesioncms@hotmail.com webmaster@kesion.com
'官方网站:http://www.kesion.com
'演示站点:http://test.kesion.com
'郑重声明:
' ①、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求;
' ②、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息;
' ③、科汛网络保留此软件的法律追究权利
'===================================================================================================================
Dim KSCls
Set KSCls = New LeftFrame
KSCls.Execute()
Set KSCls = Nothing
Class LeftFrame
Private KSCMS
Private Sub Class_Initialize()
Set KSCMS=New CommonCls
End Sub
Private Sub Class_Terminate()
Set KSCMS=Nothing
End Sub
Public Sub Execute()
With Response
.Write "<html>"
.Write "<head>"
.Write "<meta http-equiv=""Content-Type"" content=""text/html; charset=gb2312"">"
.Write "<link href=""Inc/Admin_Style.CSS"" rel=""stylesheet"" type=""text/css"">"
.Write "<script language=""JavaScript"" src=""JS/Common.js""></script>"
.Write "<title>后台操作区</title>"
.Write "<style type=""text/css"">" & vbCrLf
.Write "<!--" & vbCrLf
.Write "body {" & vbCrLf
.Write " background-color: #FFFFFF;"
.Write " margin-left: 0px;"
.Write "}" & vbCrLf
.Write ".STYLE4 {color: #000000}" & vbCrLf
.Write "-->" & vbCrLf
.Write "</style>" & vbCrLf
.Write "</head>"
.Write "<body background=""Images/MainBg.gif"" leftmargin=""0"" topmargin=""0"" marginwidth=""0"" marginheight=""0"" scroll=no onselectstart=""return false;"" oncontextmenu=""return false;"">"
.Write "<table width=""100%"" height=""100%"" border=""0"" cellpadding=""0"" cellspacing=""0"">"
.Write " <tr>"
.Write " <td height=""50%"" valign=""top"">"
.Write " <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" class=""sortbutton"">"
.Write " <tr>"
.Write " <td height=""23"" align=""right""><table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
.Write " <tr>"
.Write " <td><strong>"
.Write "<input class=""buttonstyle"" name=""button12"" title=""修改后台登录密码"" type=""button"" value=""修改密码"" onClick=""OpenWindow('User/UserFrame.asp?Url=EditAdminPass.asp&PageTitle=修改后台登录密码&AdminID=" & Request.Cookies(KSCMS.SiteSn)("AdminName") & "',360,160,window);"" >"
.Write " <input class=""buttonstyle"" name=""button1"" title=""访问官方站点"" type=""button"" value=""官方站点"" onClick=""window.open('http://www.kesion.com','','');"" >"
.Write " </strong></td>"
.Write " <td align=""right""> <strong>当前版本:<font color=#993300>"
.Write Application("VerInfo")
.Write " </font></strong> <strong>官方版本:</strong><script src=""http://www.kesion.com/websystem/showver.asp""></script> </td>"
.Write " </tr>"
.Write " </table>"
.Write " </td>"
.Write " </tr>"
.Write " </table>"
.Write "<table width=""90%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">"
.Write " <tr>"
.Write " <td height=""10"" colspan=""2""> <div align=""right""></div></td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td width=""48%"" align=""left""></td>"
.Write " <td width=""52%"" height=""25"" align=""right""><font color=red>" & Request.Cookies(KSCMS.SiteSn)("AdminName") & "</font> 您好,今天是:"
.Write " <script language=""JavaScript"" src=""js/date.js""></script></td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td width=""48%"" align=""left""></td>"
.Write " <td height=""25"" align=""right"" valign=""top"" nowrap>"
Dim RS
Set RS = Server.CreateObject("Adodb.Recordset")
RS.Open "Select * From KS_Admin Where UserName='" & Request.Cookies(KSCMS.SiteSn)("AdminName") & "'", Conn, 1, 1
If Not RS.EOF Then
.Write "后台身份: "
If Request.Cookies(KSCMS.SiteSn)("SuperTF") = 0 Then
.Write "普通管理员"
Else
.Write "超级管理员"
End If
.Write " 登录次数:" & RS("LoginTimes") & "次 本次登录时间:" & RS("LastLoginTime")
End If
RS.Close
Conn.Close
Set Conn = Nothing
Set RS = Nothing
.Write " </td>"
.Write " </tr>"
.Write " </table>"
.Write " </td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""50%"" valign=""bottom"">"
.Write " <table width=""90%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">"
.Write " <tr>"
.Write " <td height=""25"" align=""right"">产品开发:科汛网络<a href=""http://www.kesion.com"" target=""_blank""><span class=""STYLE1"">(Www.Kesion.Com)</span> </a></td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""30"" align=""right""> 业务咨询QQ:9537636 41904294 技术支持QQ:111394 54004407</td>"
.Write " </tr>"
.Write " </table></td>"
.Write " </tr>"
.Write "<tr><td><div style=""text-align:right;color:#003300"">------------------------------------------------------------------------------------------------</div>"
.Write "<div style=""height:30px;text-align:right"">KeSion CMS V 2.2, Copyright (c) 2006-2008 <a href=""http://www.kesion.com/"" target=""_blank""><font color=#ff6600>KeSion.Com</font></a>. All Rights Reserved . </div></td></tr>"
.Write "</table>"
.Write "</body>"
.Write "</html>"
End With
End Sub
End Class
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -