⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 b060b440a341001c1a8ddda4bfb018c3

📁 是一个网上手机超市
💻
字号:
<%@   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= 该网站为方便西工大教学职工,出售各类手机产品 name=description>
<META content=西北工业大学网上购物-手机系统 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.gif topMargin=0 onLoad="MM_preloadImages('IMAGES/skin8/dh-new.gif','IMAGES/skin8/dh-bbs.gif')">
<CENTER>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD background="/images/topbggreen.gif" colSpan=3 
    height=20></TD>
  </TR>
  <TR>
    <TD width=276 rowSpan=3><p class="STYLE5">&nbsp;</p>
      <p class="STYLE5">西北工业大学</p>
      <p class="STYLE5">网上手机超市</p></TD>
    <TD align=right width=33 height=21><IMG height=21 
      src="/images/topsan.gif" width=16 border=0></TD>
    <TD width=449>
      <TABLE height=21 cellSpacing=0 cellPadding=0 
      background="/images/topbggreen.gif" border=0>
        <TBODY>
        <TR>
          <TD align=right width=420 height=21>&nbsp; 购物车&nbsp;|&nbsp; 收藏箱&nbsp;|&nbsp; 用户中心&nbsp;|&nbsp; 网站帮助&nbsp;|&nbsp; 在线留言&nbsp;|&nbsp; 退出登陆&nbsp;&nbsp;        </TD>
        </TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD vAlign=center align=right colSpan=2 height=25>
      <MARQUEE id=zimu onmouseover=zimu.stop() onmouseout=zimu.start() 
      scrollDelay=200 align="middle">
      <FONT 
      color=#333333>庆祝香港回归十周年大酬宾!</FONT>
      </MARQUEE></TD></TR>
  <TR>
    <TD vAlign=bottom align=right colSpan=2 height=40><IMG alt=网站首页 
      src="images/dh-home1.gif" border=0 
      name=menu1><IMG alt=关于我们 
      src="images/dh-about1.gif" border=0 
      name=menu2><IMG alt=新品速递 
      src="images/dh-new1.gif" border=0 
      name=menu3><IMG alt=热力推荐 
      src="images/dh-good1.gif" border=0 
      name=menu4><IMG alt=热卖排行 
      src="images/dh-hot1.gif" border=0 
      name=menu5><IMG alt=特价促销 
      src="images/dh-tejia1.gif" border=0 
      name=menu6><IMG alt=留言反馈 
      src="images/dh-book1.gif" border=0 
      name=menu8></TD>
  </TR></TBODY></TABLE>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD align=middle width=760><a href="http://www.web600.net/"><img 
      alt=轻松打造属于自己的购物网站 src="images/banner.gif" 
      width=758 border=0></a></TD>
  </TR></TBODY></TABLE>
<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 = "";
 for(int j= 0;j<product.size();j++){
 
 if(((products)product.get(j)).getIsAptitude()){check ="是";}
 else check ="不是"; 
 %>
 <table width="100%" height="100%" border="2" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td width="30%"><A HREF = "showdetail.jsp?address=<%=((products)product.get(j)).getAddress() %> "><img SRC=<%=((products)product.get(j)).getAddress() %>></A></td>
<td width="70%">
<table width="337" border="1" cellspacing="1" cellpadding="1">
  <tr>
    <th width="136" scope="col">序列号</th>
    <th width="188" scope="col"><%=((products)product.get(j)).getProductorItem() %></th>
  </tr>
  <tr>
    <td>商品名字</td>
    <td><%=((products)product.get(j)).getProductorName() %></td>
  </tr>
  <tr>
    <td>库存量</td>
    <td><%=((products)product.get(j)).getQuantity() %></td>
  </tr>
  <tr>
    <td>供货商名字</td>
    <td><%=((products)product.get(j)).getProvideName() %></td>
  </tr>
  <tr>
    <td>型号</td>
    <td><%=((products)product.get(j)).getType() %></td>
  </tr>
  <tr>
    <td>价格</td>
    <td><%=((products)product.get(j)).getPrice() %></td>
  </tr>
  <tr>
    <td>外观样式</td>
    <td><%=((products)product.get(j)).getAppearance() %></td>
  </tr>
  <tr>
    <td>摄像头</td>
    <td><%=((products)product.get(j)).getPhotograph() %></td>
  </tr>
  <tr>
    <td>屏幕颜色</td>
    <td><%=((products)product.get(j)).getColor() %></td>
  </tr>
  <tr>
    <td>操作系统;</td>
    <td><%=((products)product.get(j)).getSystem() %></td>
  </tr>
  <tr>
    <td>铃声</td>
    <td><%=((products)product.get(j)).getRing() %></td>
  </tr>
  <tr>
    <td>储存功能;</td>
    <td><%=((products)product.get(j)).getSave() %></td>
  </tr>
   <tr>
    <td>是否是智能手机;</td>
    <td><%=check %></td>
  </tr>
</table>
</td>
</table>

 <%
  }
 %>
 <table>
 <tr>
 <td>
  第<%=page1%>页   共<%=totalpage %>页     
    
  <%if(page1<totalpage){%>   
    
  <a   href="showSearch.jsp?page=<%=page1+1%>&type = <%= type %>&producName = <%=prodName %>&account1 = <%=saccount1 %>&account2 = <%=saccount2  %>">下一页</a><%   
    
  }   
    
  %>     
    
  <%if(page1>1){%>   
    
  <a   href="showSearch.jsp?page=<%=page1-1%>&type = <%= type %>&producName = <%=prodName %>&account1 = <%=saccount1 %>&account2 = <%=saccount2  %>">上一页</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>关于我们</B></TD>
          <TD align=middle width="20%" height=22><B>购物指南</B></TD>
          <TD align=middle width="20%" height=22><B>服务保证</B></TD>
          <TD align=middle width="20%" height=22><B>客户服务</B></TD>
          <TD align=middle width="20%" height=22><B>其它说明</B></TD></TR>
        <TR bgColor=#ffffff>
          <TD align=middle height=23>&nbsp;关于我们&nbsp;</TD>
          <TD align=middle height=23>&nbsp;新手上路&nbsp;</TD>
          <TD align=middle height=23>&nbsp;隐私保护&nbsp;</TD>
          <TD align=middle height=23>&nbsp;会员中心&nbsp;</TD>
          <TD align=middle height=23>&nbsp;缺货登记&nbsp;</TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle height=23>&nbsp;网站动态&nbsp;</TD>
          <TD align=middle height=23>&nbsp;定购方式&nbsp;</TD>
          <TD align=middle height=23>&nbsp;服务保证&nbsp;</TD>
          <TD align=middle height=23>&nbsp;订单查询&nbsp;</TD>
          <TD align=middle height=23>&nbsp;投诉建议&nbsp;</TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle height=23>&nbsp;常见问题&nbsp;</TD>
          <TD align=middle height=23>&nbsp;如何付款&nbsp;</TD>
          <TD align=middle height=23>&nbsp;售后服务&nbsp;</TD>
          <TD align=middle height=23>&nbsp;汇款确认&nbsp;</TD>
          <TD align=middle height=23>&nbsp;友情链接&nbsp;</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&nbsp;&copy;&nbsp;20058&nbsp;-&nbsp;2006&nbsp;&nbsp;&nbsp;&nbsp;All&nbsp;Rights&nbsp;Reserved&nbsp;&nbsp; 
      Powered 
      by:buyok<BR>
      这里可添加网站联系方式、或其它重要的公示内容,此处内容请在后台综合设置下的“网页扩展”中修改<BR>编辑内容要换行时,请先按住shift键再按回车键,若直接回车将有较大行间隔      </P></TD>
    <TD vAlign=bottom width=30><A href="javascript:window.scroll(0,0);"><IMG 
      alt=回到页面顶部 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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -