📄 admin_htmlinfo.asp
字号:
<%@ LANGUAGE = VBScript %>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312" />
<TITLE>生成企业信息列表</TITLE>
<link rel="stylesheet" href="Images/Admin.css">
<script language="javascript" src="../Script/Admin.js"></script>
</HEAD>
<!--#include file="../Include/Const.asp" -->
<!--#include file="../Include/ConnSiteData.asp" -->
<!--#include file="Admin_htmlconfig.asp"-->
<BODY>
<%
Dim quanxian
quanxian=trim(Request.ServerVariables(name))
if Instr(session("AdminPurview"),"|34,")=0 then
response.write ("<br><br><div align=""center""><font style=""color:red; font-size:9pt; "")>您没有管理该模块的权限!</font></div>")
response.end
end if
if ISHTML = 0 then
response.Write "<script language='javascript'>alert('请先在【系统参数配置】中将静态HTML设置为开启!');history.go(-1);</script>"
response.End
end If
%>
<br>
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#6ab6b6" class="tableborder">
<tr>
<th height="24" nowrap="nowrap">企业信息:添加,修改介绍企业相关的内容</th>
</tr>
<tr>
<td height="24" align="center" nowrap="nowrap" class="forumrow"><a href="AboutEdit.asp?Result=Add" onclick='changeAdminFlag("添加企业信息")'>添加企业信息</a><font color="#0000FF"> | </font><a href="AboutList.asp" onclick='changeAdminFlag("企业信息")'>查看企业信息</a><font color="#0000FF"> | </font><a href="Admin_htmlinfo.asp" onclick='changeAdminFlag("生成企业信息列表")'>生成企业信息列表</a></td>
</tr>
</table>
<br>
<table class="tableborder" width="95%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr> <td width="300" class="forumrow"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td style="border-bottom: #ccc 1px solid; border-top: #ccc 1px solid; border-left: #ccc 1px solid; border-right: #ccc 1px solid"><img src="Images/Survey.gif" width="0" height="16" id="bar_img" name="bar_img" align="absmiddle"></td>
</tr>
</table></td>
<td class="forumrowhighlight"><span id="bar_txt2" name="bar_txt2" style="font-size:12px; color:red;"></span><span id="bar_txt1" name="bar_txt1" style="font-size:12px">0</span><span style="font-size:12px">%</span></td>
</tr>
</table>
</BODY>
</HTML>
<%
totalrec=Conn.Execute("select count(*) from LiangJingCMS_About")(0)
sql="Select * from LiangJingCMS_About order by ID desc"
Set Rs=Conn.Execute(sql)
if totalrec=0 then
Detail_Num=0
Else
Detail_Num=1
do while not rs.eof
ID=rs("ID")
call htmll("/CH/","/CH/",""&AboutNameDiy&""&Separated&""&ID&"."&HTMLName&"","About.asp","ID=",ID,"","")
call htmll("/EN/","/EN/",""&AboutNameDiy&""&Separated&""&ID&"."&HTMLName&"","About.asp","ID=",ID,"","")
Response.Write "<script>bar_img.width="&Fix((Detail_Num/totalrec)*300)&";"
Response.Write "bar_txt1.innerHTML=""已成功生成静态页"&Detail_Num*2&"页,完成比例:" & formatnumber(Detail_Num/totalrec*100) & """;</script>"
Response.Flush
rs.movenext
Detail_Num=Detail_Num+1
loop
end if
rs.close
set rs=Nothing
conn.close
set conn=Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -