?? product_listflag.asp
字號:
<%
dim dbpath
dbpath=""
%>
<!--#include file=Conn.asp -->
<!--#include file=include/MyRequest.asp -->
<!--#include file="Sub.asp"-->
<!--#include file=include/Pages.asp-->
<%
flag=Request("flag")
select case flag
case 1
main_title="新品速遞"
case 2
main_title="精品推薦"
case 3
main_title="特價商品"
end select
//參數設置表中相關參數調出
Set rs=Server.CreateObject("ADODB.Recordset")
sql="select root_option_NumsPerRow,root_option_WidthSPic,root_option_HeighSPic,root_option_RowsPerPage from root_option where id=1"
rs.open sql,conn,1,1
root_option_NumsPerRow =rs(0)
root_option_WidthSPic =rs(1)
root_option_HeighSPic =rs(2)
root_option_RowsPerPage =rs(3)
rs.close
set rs=nothing
if root_option_WidthSPic="" then root_option_WidthSPic=80
if root_option_HeighSPic="" then root_option_HeighSPic=80
NumsPerPage=root_option_NumsPerRow*root_option_RowsPerPage
if NumsPerPage="" then NumsPerPage=20
if NumsPerPage="0" then NumsPerPage=20
if root_option_NumsPerRow="" then root_option_NumsPerRow=5
call up(main_title,main_title,main_title)
response.write "<tr><td>"
call Product_ListFlag(flag,root_option_NumsPerRow,NumsPerPage)
response.write "</td></tr>"
call down()
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -