📄 makeall.asp
字号:
<!--#include file="Session.asp"-->
<!--#include file="Conn.asp"-->
<HEAD>
<TITLE>产品页面生成</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<LINK href="css.css" rel=stylesheet>
</HEAD>
<BODY LEFTMARGIN=0 TOPMARGIN=2 MARGINWIDTH=0 MARGINHEIGHT=0 oncontextmenu=self.event.returnValue=false>
<div align="center">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="mainmiddle">
<tr>
<td width="29" height="32"> <div align="left">
<p class="maindaohang"> </p>
</div></td>
<td width="709"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
</table>
<b><font color="#000000"><b> <span class="bigNavi">产品页面生成</span> </b></font></b></td>
<td width="8" class="mainrights"></td>
</tr>
</table>
<br>
<br>
<br>
<table width="37%" height="26" border="0" align="center" cellpadding="3" cellspacing="1" class="tabbgcolor">
<tr class="tabbgcolorli">
<td width="25%" height="20"> <div align="center">
<p align="left" class="tabbgcolorli">产品页面生成</p>
</div></td>
</tr>
</table>
<br>
<table width="37%" height="95" border="0" align="center" cellpadding="3" cellspacing="1" class="tabbgcolor">
<tr class="tabbgcolorli">
<td width="25%" height="20"> <div align="center">
<p class="tabbgcolorli">
<%
'=======================================
'88red科技独立开发完成本程序,并提供免费技术支持与升级服务
'官方网站 http://www.88red.com QQ:8375158 TEL:13964489818
'对于商业客户,本站提供细致周到的各项售后服务;对于盗版客户恕不提供,对于散播本程序者本站将追究其法律责任
'88red科技将陆续开发其他各种先进程序,例如企业网站建站系统等等,对老客户购买其他程序给予最大程度的优惠,欢迎洽谈
'=======================================
if request("page")<>"" then
page=cint(request("page"))
else
page=1
end if
set rs=server.createobject("adodb.recordset")
bcid=request("mc1")
if request("type")="all" then
sql="select * from cp order by id desc"
type1=true
else
sql="select * from cp where bclassid="+cstr(bcid)+" order by id desc"
end if
rs.open sql,conn,1,1
if rs.eof then
response.write"<script language=javascript>alert('没有产品,请添加产品!');this.location.href='javascript:history.go(-1)';</script>"
response.end
else
mpage1=rs.recordcount
rs.move (page-1)*1
id1=rs("id")
end if
rs.close
set rs=nothing
response.write"<b><font color=""#FF0000"">"&page&"</font>/<font color=""#FF0000"">"&mpage1&"</font> 正在生成产品页面,请等待......</b><span id=showImport></span><IE:Download ID=""oDownload"" STYLE=""behavior:url(#default#download)"" />"
response.write"<script>function onDownloadDone(downDate){showImport.innerHTML=downDate}oDownload.startDownload('makeall1.asp?gid="&id1&"',onDownloadDone)</script>"
if page<mpage1 then
if type1=true then
response.write"<meta http-equiv=""refresh"" content=""0;url='makeall.asp?type=all&page="&page+1&"'"">"
else
response.write"<meta http-equiv=""refresh"" content=""0;url='makeall.asp?mc1="&bcid&"&page="&page+1&"'"">"
end if
else
response.write"<br> <b>操作成功:共生成产品页面<font color=""#FF0000"">"&request("page")&"</font>个"
end if
%>
<br>
<br>
<a href="mb.asp">[返回]</a></p>
</div></td>
</tr>
</table>
<p><br>
</p>
<br>
</div>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -