?? class.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%> | 購物的天堂!|耐克(NIKE)運動鞋|阿迪達斯(ADIDAS)運動鞋|銳步(REEBOK)運動鞋|美津濃( Mizuno)運動鞋等各名牌運動鞋|休閑鞋|外貿鞋|外貿鞋網|青島外貿鞋網|外貿鞋批發|雅思|GRE|外語學習|光盤|VCD|DVD|新東方|籃球鞋 休閑鞋
跑步鞋 足球鞋</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
font-family: "宋體";
color: #FF0000;
font-weight: bold;
}
.style2 {
color: #0000FF;
font-weight: bold;
}
.style3 {
font-size: 11pt;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #FF9900;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<title><%=webname%>--<%if IsNumeric(request.QueryString("anid"))=False then
response.write"<script>alert(""輸入錯誤,如有疑問請聯系管理員!"");location.href=""index.asp"";</script>"
response.end
end if
if IsNumeric(request.QueryString("nid"))=False then
response.write"<script>alert(""輸入錯誤,如有疑問請聯系管理員!"");location.href=""index.asp"";</script>"
response.end
end if
leixing=lcase(trim(request("lx")))
select case leixing
case "big"
response.write "大類商品"
case "small"
response.write "小類商品"
case "tejia"
response.write "特價商品"
case "news"
response.write "新品上架"
case else
response.write "新品上架"
end select%></title>
</head>
<body bgcolor="#ffffff" onMouseOver="window.status='〖<%=webname%>〗<%=weburl%>為您打造全新概念的網上商城系統!';return false">
<a name="top"></a>
<!--#include file="top.asp" -->
<table width="976" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table align="left" border="0" cellpadding="0" cellspacing="0" width="976">
<tr>
<td><table align="left" border="0" cellpadding="0" cellspacing="0" width="854">
<tr>
<td><table align="left" border="0" cellpadding="0" cellspacing="0" width="854">
<tr>
<td valign="top" bgcolor="#FFFFFF"><table align="left" border="0" cellpadding="0" cellspacing="0" width="198">
<tr>
<td><img name="index_14" src="image/index_14.gif" width="198" height="28" border="0" alt=""></td>
</tr>
<tr>
<td><table align="left" border="0" cellpadding="0" cellspacing="0" width="198">
<tr>
<td width="17" background="image/index_17.gif"> </td>
<td width="181" bgcolor="#FFFFFF"><table border="0" cellpadding="0" cellspacing="0" width="172">
<tr>
<td><img src="image/left/left_login_01.gif" alt="" name="left_login_01" width="172" height="52" border="0"></td>
</tr>
<tr>
<td width="172" height="142" bgcolor="#F7F7F7"><!--#include file="history.asp" --></td>
</tr>
<tr>
<td><img name="left_login_03" src="image/left/left_login_03.gif" width="172" height="6" border="0" alt=""></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img name="index_19" src="image/index_19.gif" width="198" height="39" border="0" alt=""></td>
</tr>
<tr>
<td><table align="left" border="0" cellpadding="0" cellspacing="0" width="198">
<tr>
<td width="186" align="right" valign="top" background="image/index_21.gif"><table width="172" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="image/left/left_spfl.gif" width="172" height="45"></td>
</tr>
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F7F7F7">
<form name="form2" method="post" action="research.asp">
<tr>
<td width="30%">關 健 字</td>
<td width="70%" bgcolor="#FFFFFF" style="padding-left:10px"><input name="searchkey" type="text" class=wenbenkuang id="searchkey" size="10">
</td>
</tr>
<tr>
<td>商品分類</td>
<td bgcolor="#FFFFFF" style="padding-left:10px"><%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_anclass order by anclassidorder",conn,1,1
%>
<select class="wenbenkuang" name="anclassid">
<option value="0">查訊所有分類</option>
<%do while not rs.eof%>
<option value="<%=rs("anclassid")%>"><%=trim(rs("anclass"))%></option>
<%rs.movenext
loop
rs.close
set rs=nothing%>
</select>
</td>
</tr>
<tr>
<td>價格范圍</td>
<td bgcolor="#FFFFFF" style="padding-left:10px"><select class="wenbenkuang" name="jiage" id="jiage">
<option value="20">20元以下</option>
<option value="30">30元以下</option>
<option value="50" selected>50元以下</option>
<option value="100">100元以下</option>
<option value="500">500元以下</option>
<option value="1000">1000元以下</option>
<option value="10000">10000元以下</option>
<option value="100000">100000元以下</option>
</select>
</td>
</tr>
<tr>
<td>查找方式</td>
<td bgcolor="#FFFFFF" style="padding-left:10px"><script>
var selects111=[];
<%dim i
set rs=server.createobject("adodb.recordset")
rs.open "select * from Pingpai order by pingpaiorder",conn,1,1
'有大類
%>
selects111['2']=new Array(
<%
if rs.recordcount>0 then
for i=1 to rs.recordcount
if i=rs.recordcount then
%>
new Option('<%=trim(rs("pingpainame"))%>','<%=trim(rs("pingpainame"))%>'));
<% else
%>
new Option('<%=trim(rs("pingpainame"))%>','<%=trim(rs("pingpainame"))%>'),
<%
end if
rs.movenext
next
else
%>
new Option('',''));
<%
end if
rs.close
set rs=nothing
set rs=server.createobject("adodb.recordset")
rs.open "select * from shihe order by shiheorder",conn,1,1
'有大類
%>
selects111['3']=new Array(
<%
if rs.recordcount>0 then
for i=1 to rs.recordcount
if i=rs.recordcount then
%>
new Option('<%=trim(rs("shihename"))%>','<%=trim(rs("shihename"))%>'));
<% else
%>
new Option('<%=trim(rs("shihename"))%>','<%=trim(rs("shihename"))%>'),
<%
end if
rs.movenext
next
else
%>
new Option('',''));
<%
end if
rs.close
set rs=nothing
%>
function showselect()
{
if (document.form2.action.value=="2") {
T_select.style.display = "";
//加入內容
with (document.form2){
if(action.value) {
selectname.options.length=0;
for(var i=0;i<selects111[action.value].length;i++){
selectname.add(selects111[action.value][i]);
}
}
}
}else{
T_select.style.display = "none";
}
}
</script>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><select class="wenbenkuang" name="action" id="action" onChange="showselect();">
<option value="1" selected>商品名稱</option>
<option value="2">商品品牌</option>
<option value="3">內容簡介</option>
</select>
</td>
<td><table border="0" cellspacing="0" cellpadding="0" id=T_select style="DISPLAY: none">
<tr>
<td><select class="wenbenkuang" name="selectname">
</select>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" colspan="2" align="center"><input class="go-wenbenkuang" onClick="return checkk();" type=submit name="submit" value="開始查詢">
<input class="go-wenbenkuang" onclick="ClearReset()" type=reset name="Clear" value="表單重填">
</td>
</tr>
</form>
</table>
<!--#include file="leftmenu.asp" --></td>
</tr>
<tr>
<td width="186"><img src="image/left/left_rqph.gif" width="172" height="45"></td>
</tr>
<tr>
<td><!--#include file="rank1.asp" -->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -