📄 main.asp
字号:
<!-- #Include File="conn.asp" -->
<!-- #include file="top1.asp" -->
<%
if a=1 then
response.write "<script language='javascript'>"
response.write "alert('你还没有登录,请重新登录');"
response.write "history.go(-1);"
response.write "</script>"
else
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"
%>
<%
set rs=server.CreateObject("ADODB.recordset")
rs.open "index",conn,3,3
name=rs("name")
rs.close
set rs=nothing
%>
<title><%=name%>管理系统</title>
<link rel="stylesheet" href="style.css" type="text/css">
<BODY leftmargin="0" bottommargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#DDEEFF">
<table cellpadding=3 cellspacing=1 border=0 width="95%" align=center>
<tr>
<td width="100%" valign=top>
<p><b>欢迎光临 <%=name%>钦州创涌科技--管理系统</b><br><BR></p>
在这里,您可以控制你所有的管理设置。请在此页的左侧选择您要进行管理的链接。<br><br>
如果你退出系统时,为了系统安全请按页面左上角的“<a href="logout.asp" target="_top">退出</a>”。
</td>
</tr>
</table><br>
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="tableBorder" align=center>
<tr><th class="tableHeaderText" colspan=2 height=25><%=name%>购物主机信息统计</th><tr>
<tr>
<td width="50%" class="forumRow" height=23>服务器类型:<%=Request.ServerVariables("OS")%>(IP:<%=Request.ServerVariables("LOCAL_ADDR")%>)</td>
<td width="50%" class="forumRowHighlight">脚本解释引擎:<%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></td>
</tr>
<tr>
<td width="50%" class="forumRow" height=23>站点物理路径:<%=request.ServerVariables("APPL_PHYSICAL_PATH")%></td>
<td width="50%" class="forumRowHighlight">数据库地址:</td>
</tr>
<tr>
<td width="50%" class="forumRow" height=23>FSO文本读写:<%If Not IsObjInstalled(theInstalledObjects(9)) Then%><b>×</b><%else%><b>√</b><%end if%></td>
<td width="50%" class="forumRowHighlight">数据库使用:<%If Not IsObjInstalled(theInstalledObjects(10)) Then%><b>×</b><%else%><b>√</b><%end if%></td>
</tr>
<tr>
<td width="50%" class="forumRow" height=23>Jmail组件支持:<%If Not IsObjInstalled(theInstalledObjects(13)) Then%><b>×</b><%else%><b>√</b><%end if%></td>
<td width="50%" class="forumRowHighlight">CDONTS组件支持:<%If Not IsObjInstalled(theInstalledObjects(14)) Then%><b>×</b><%else%><b>√</b><%end if%></td>
</tr>
</table><br>
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="tableBorder" align=center>
<tr><th class="tableHeaderText" colspan=2 height=25>购物系统开发</th>
<tr>
<td width="20%" class="forumRow" height=23>程序设计</td>
<td width="80%" class="forumRowHighlight">创涌科技(QQ:4592427 E-mail:<a href="mailto:root@cn520.com">gx77@gx77.com</a>)</td>
</tr>
</table>
<%
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
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -