?? 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 + -