📄 zcmain.asp
字号:
<%@language=vbscript codepage=936 %>
<!--#include file="articleconn.asp"-->
<%
Dim theInstalledObjects(17)
theInstalledObjects(0) = "MSWC.AdRotator"
theInstalledObjects(1) = "MSWC.BrowserType"
theInstalledObjects(2) = "MSWC.NextLink"
theInstalledObjects(3) = "MSWC.Tools"
theInstalledObjects(4) = "MSWC.Status"
theInstalledObjects(5) = "MSWC.Counters"
theInstalledObjects(6) = "IISSample.ContentRotator"
theInstalledObjects(7) = "IISSample.PageCounter"
theInstalledObjects(8) = "MSWC.PermissionChecker"
theInstalledObjects(9) = "Scripting.FileSystemObject"
theInstalledObjects(10) = "adodb.connection"
theInstalledObjects(11) = "SoftArtisans.FileUp"
theInstalledObjects(12) = "SoftArtisans.FileManager"
theInstalledObjects(13) = "JMail.SMTPMail"
theInstalledObjects(14) = "CDONTS.NewMail"
theInstalledObjects(15) = "Persits.MailSender"
theInstalledObjects(16) = "LyfUpload.UploadFile"
theInstalledObjects(17) = "Persits.Upload.1"
%>
<html>
<head>
<title>后台管理首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="inc/Admin_Style.css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="0" cellspacing="0" width="100%" cellpadding="0" id="table1">
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table2">
<tr>
<td width="481" background="IMAGES/admin_main_01.gif" height="25">
</td>
<td> </td>
<td width="20"> </td>
</tr>
<tr>
<td><img height="43" src="IMAGES/admin_main_02.gif" width="481"></td>
<td vAlign="top"> </td>
<td> </td>
</tr>
<tr>
<td><img height="35" src="IMAGES/admin_main_03.gif" width="481"></td>
<td align="right" background="IMAGES/admin_main_04bg.gif">
<img height="35" src="IMAGES/admin_main_04.gif" width="68"></td>
<td background="IMAGES/admin_main_04bg.gif"> </td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table3">
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file="top1.asp"-->
<br>
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="border" align=center>
<tr align="center" bgcolor="#429AEF">
<td height=25 colspan=2 ><strong><font color="#FFFFFF">服 务 器 信 息</font></strong><tr>
<tr>
<td width="50%" class="tdbg" height=23>服务器类型:<%=Request.ServerVariables("OS")%>(IP:<%=Request.ServerVariables("LOCAL_ADDR")%>)</td>
<td width="50%" class="tdbg">脚本解释引擎:<%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></td>
</tr>
<tr>
<td width="50%" class="tdbg" height=23>站点物理路径:<%=request.ServerVariables("APPL_PHYSICAL_PATH")%></td>
<td width="50%" class="tdbg">数据库地址:<%=db%></td>
</tr>
<tr>
<td width="50%" class="tdbg" height=23>FSO文本读写:
<%If Not IsObjInstalled(theInstalledObjects(9)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
<td width="50%" class="tdbg">数据库使用:
<%If Not IsObjInstalled(theInstalledObjects(10)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
</tr>
<tr>
<td width="50%" class="tdbg" height=23>Jmail组件支持:
<%If Not IsObjInstalled(theInstalledObjects(13)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
<td width="50%" class="tdbg">CDONTS组件支持:
<%If Not IsObjInstalled(theInstalledObjects(14)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
</tr>
<tr>
<td class="tdbg" height=23> </td>
<td align="right" class="tdbg"> </td>
</tr>
</table>
<br>
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="border" align=center>
<tr align="center" bgcolor="#429AEF">
<td height=25 ><strong><font color="#FFFFFF" Arial, Helvetica, sans-serif>联 系 我 们</font></strong>
<tr>
<td width="100%" class="tdbg" height=138> QQ:45223<p> http://www.1000n.com</td>
</tr>
</table>
<div align="center"><br>
<BR>
</div>
</body>
</html>
<%
Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
Set xTestObj = Nothing
Err = 0
End Function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -