?? e040531cc044001c1cd2f32d24749d08
字號(hào):
<%@ page import= "java.io.*,java.util.*" language="java" pageEncoding="GBK" %>
<%@ page import= "hall.products" %>
<jsp:useBean id="serchProduct" class="hall.opProduct" scope="page"></jsp:useBean>
<HTML>
<HEAD>
<TITLE>NWPU Online Shop</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content= 該網(wǎng)站為方便西工大教學(xué)職工,出售各類手機(jī)產(chǎn)品 name=description>
<META content=西北工業(yè)大學(xué)網(wǎng)上購(gòu)物-手機(jī)系統(tǒng) name=keywords>
<LINK href="images/css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.STYLE5 {font-size: 18px}
-->
</style>
</HEAD>
<BODY text=#000000 bgProperties=fixed leftMargin=0 background=images/background.jpg topMargin=0 onLoad="MM_preloadImages('IMAGES/skin8/dh-new.gif','IMAGES/skin8/dh-bbs.gif')">
<CENTER>
<img src="images/title1.jpg" width="760" height="160">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="760" height=70">
<param name="movie" value="list.swf">
<param name="quality" value="high">
<embed src="list.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="50"></embed>
</object>
<HR>
<%
String type = request.getParameter("type");
if(type==null){
type="";
}else{
type=new String(type.getBytes("ISO-8859-1"),"gb2312");
}
String prodName = request.getParameter("producName");
String saccount1 = request.getParameter("account1");
String saccount2 = request.getParameter("account2");
if(!serchProduct.product_search(prodName,type, saccount1,saccount2)){
%>
<jsp:forward page="failSearch.jsp"/>
<%
}
else{
String current =request.getParameter("page");
int totalpage = serchProduct.getPageCount();
int page1 = 1;
if(current == null) page1 = 1;
else{
page1 = java.lang.Integer.parseInt(current);
if(page1<1)page1 = 1;
else if(page1 > totalpage)page1 = totalpage;
}
serchProduct.setPage(page1);
serchProduct.product_search(prodName,type, saccount1,saccount2);
Vector product = serchProduct.getProducts();
String check = "";
%>
<table>
<%
for(int j= 0;j<product.size();j++){
if((i+1)%3==1){
%>
<tr>
<td>
<TABLE cellSpacing=0 cellPadding=1 width="88%" align=center border=0
valign="middle">
<TBODY>
<TR>
<TD vAlign=bottom align=middle><A HREF = "showdetail.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG
src=<%=((products)produc.get(i)).getAddress()%> width="171" height="160"
border=0 /></A>
</TD>
</TR>
<TR>
<TD> <div align="center">名稱:<B><%=((products)produc.get(i)).getProductorName() %></B></div></TD>
</TR>
<TR>
<TD><div align="center">型號(hào):<B><%=((products)produc.get(i)).getType() %></B></div></TD>
</TR>
<TR>
<TD><div align="center">熱賣價(jià):<span class="STYLE6"></span><B><FONT color=red><%=((products)produc.get(i)).getPrice() %></FONT></B></div></TD>
</TR>
<TR>
<TD></TD>
</TR>
<TR>
<TD><div align="center"><A HREF = "buyinfo.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG src="images/buy.gif"
border=0></img></A><A HREF = "collect.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG src="images/fav.gif"
border=0></img></A></div></TD></TR></TBODY></TABLE>
</td>
<%
}
else if((i+1)%3==0){
%>
<td>
<TABLE cellSpacing=0 cellPadding=1 width="88%" align=center border=0
valign="middle">
<TBODY>
<TR>
<TD vAlign=bottom align=middle><A HREF = "showdetail.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG
src=<%=((products)produc.get(i)).getAddress() %> width="171" height="160"
border=0></img></A>
</TD>
</TR>
<TR>
<TD> <div align="center">名稱:<B><%=((products)produc.get(i)).getProductorName() %></B></div></TD>
</TR>
<TR>
<TD><div align="center">型號(hào):<B><%=((products)produc.get(i)).getType() %></B></div></TD>
</TR>
<TR>
<TD><div align="center">熱賣價(jià):<span class="STYLE6"></span><B><FONT color=red><%=((products)produc.get(i)).getPrice() %></FONT></B></div></TD>
</TR>
<TR>
<TD></TD>
</TR>
<TR>
<TD><div align="center"><A HREF = "buyinfo.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG src="images/buy.gif"
border=0></img></A><A HREF = "collect.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG src="images/fav.gif"
border=0></img></A></div></TD></TR></TBODY></TABLE>
</td>
</tr>
<%
}else{
%>
<td>
<TABLE cellSpacing=0 cellPadding=1 width="88%" align=center border=0
valign="middle">
<TBODY>
<TR>
<TD vAlign=bottom align=middle><A HREF = "showdetail.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG
src=<%=((products)produc.get(i)).getAddress() %> width="171" height="160"
border=0></img></A>
</TD>
</TR>
<TR>
<TD> <div align="center">名稱:<B><%=((products)produc.get(i)).getProductorName() %></B></div></TD>
</TR>
<TR>
<TD><div align="center">型號(hào):<B><%=((products)produc.get(i)).getType() %></B></div></TD>
</TR>
<TR>
<TD><div align="center">熱賣價(jià):<span class="STYLE6"></span><B><FONT color=red><%=((products)produc.get(i)).getPrice() %></FONT></B></div></TD>
</TR>
<TR>
<TD></TD>
</TR>
<TR>
<TD><div align="center"><A HREF = "buyinfo.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG src="images/buy.gif"
border=0></img></A><A HREF = "collect.jsp?producItem=<%=((products)produc.get(i)).getProductorItem() %> "><IMG src="images/fav.gif"
border=0></img></A></div></TD></TR></TBODY></TABLE>
</td>
<%
}
}
%>
<tr>
<td>
第<%=page1%>頁(yè) 共<%=totalpage %>頁(yè)
<%if(page1<totalpage){%>
<a href="showSearch.jsp?page=<%=page1+1%>&type=<%=type %>&producName=<%=prodName %>&account1=<%=saccount1 %>&account2=<%=saccount2 %>">下一頁(yè)</a><%
}
%>
<%if(page1>1){%>
<a href="showSearch.jsp?page=<%=page1-1%>&type=<%=type %>&producName=<%=prodName %>&account1=<%=saccount1 %>&account2=<%=saccount2 %>">上一頁(yè)</a><%
}
%>
</td>
<th>
<%
for(int k = 0;k<totalpage;k++){
%>
<a href="showSearch.jsp?page=<%=k+1 %>&type=<%= type %>&producName=<%=prodName %>&account1=<%=saccount1 %>&account2=<%=saccount2 %>"><%=k+1 %></a>
<%
}
%>
</th>
</tr>
<table>
<HR>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 bgColor=#ffffff
border=0 aling="center">
<TBODY>
<TR>
<TD align=middle>
<TABLE cellSpacing=1 cellPadding=0 width=720 align=center bgColor=#cccccc
border=0>
<TBODY>
<TR bgColor=#f1f1f1>
<TD align=middle width="20%" height=22><B>關(guān)于我們</B></TD>
<TD align=middle width="20%" height=22><B>購(gòu)物指南</B></TD>
<TD align=middle width="20%" height=22><B>服務(wù)保證</B></TD>
<TD align=middle width="20%" height=22><B>客戶服務(wù)</B></TD>
<TD align=middle width="20%" height=22><B>其它說明</B></TD></TR>
<TR bgColor=#ffffff>
<TD align=middle height=23> 關(guān)于我們 </TD>
<TD align=middle height=23> 新手上路 </TD>
<TD align=middle height=23> 隱私保護(hù) </TD>
<TD align=middle height=23> 會(huì)員中心 </TD>
<TD align=middle height=23> 缺貨登記 </TD>
</TR>
<TR bgColor=#ffffff>
<TD align=middle height=23> 網(wǎng)站動(dòng)態(tài) </TD>
<TD align=middle height=23> 定購(gòu)方式 </TD>
<TD align=middle height=23> 服務(wù)保證 </TD>
<TD align=middle height=23> 訂單查詢 </TD>
<TD align=middle height=23> 投訴建議 </TD>
</TR>
<TR bgColor=#ffffff>
<TD align=middle height=23> 常見問題 </TD>
<TD align=middle height=23> 如何付款 </TD>
<TD align=middle height=23> 售后服務(wù) </TD>
<TD align=middle height=23> 匯款確認(rèn) </TD>
<TD align=middle height=23> 友情鏈接 </TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD height=10></TD></TR></TBODY></TABLE>
<TABLE class=grayline cellSpacing=1 cellPadding=0 width=760 align=center bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站互建友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
</TR></TBODY></TABLE>
<TABLE class=grayline height=15 cellSpacing=0 cellPadding=0 width=760
align=center bgColor=#ffffff
background=images/botbg.gif border=0>
<TBODY>
<TR>
<TD height=10></TD></TR></TBODY></TABLE>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
bgColor=#ffffff background=images/backdown.gif
border=0>
<TBODY>
<TR>
<TD height=10>impo</TD></TR>
<TR>
<TD align=middle>
<P
align=center>Copyright © 20058 - 2006 All Rights Reserved
Powered
by:buyok<BR>
這里可添加網(wǎng)站聯(lián)系方式、或其它重要的公示內(nèi)容,此處內(nèi)容請(qǐng)?jiān)诤笈_(tái)綜合設(shè)置下的“網(wǎng)頁(yè)擴(kuò)展”中修改<BR>編輯內(nèi)容要換行時(shí),請(qǐng)先按住shift鍵再按回車鍵,若直接回車將有較大行間隔 </P></TD>
<TD vAlign=bottom width=30><A href="javascript:window.scroll(0,0);"><IMG
alt=回到頁(yè)面頂部 src="images/backtop.gif"
border=0></A></TD></TR></TBODY></TABLE>
<SCRIPT language=javascript>
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</SCRIPT>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -