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

📄 b0b7c4ab9941001c132ef35cd10ddd17

📁 是一个网上手机超市
💻
📖 第 1 页 / 共 3 页
字号:
        String type=request.getParameter("sort");
        String straccount=request.getParameter("account1");
         String endaccount=request.getParameter("account2");
       if(type==null){
        type="";
       }else{
        type=new String(type.getBytes("ISO-8859-1"),"gb2312");
       }
       if(straccount==null){straccount="";}
       if(endaccount==null){endaccount="";}
       
       showProduct.product_search("",type,straccount,endaccount);
       Vector produc = showProduct.getProducts();
       int totalpage =showProduct.getPageCount();
       int curpage;
       if(intipage == null){
        curpage=1;
       }else{
      	 curpage = Integer.parseInt(intipage);
      	 if(curpage<1)curpage = 1;
      	 else if(curpage>totalpage)curpage=totalpage;
       }
       showProduct.setPage(curpage);
       showProduct.product_search("",type,straccount,endaccount);
       produc = showProduct.getProducts();
       %>
       <table>
       <% 
       for(int i = 0;i<produc.size();i++){
       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></img></A>
                  </TD>
				 </TR>
              <TR>
                <TD> <div align="center">名称:<B><%=((products)produc.get(i)).getProductorName()  %></B></div></TD>
              </TR>
              <TR>
                <TD><div align="center">型号:<B><%=((products)produc.get(i)).getType()  %></B></div></TD>
              </TR>
              <TR>
                <TD><div align="center">热卖价:<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">型号:<B><%=((products)produc.get(i)).getType()  %></B></div></TD>
              </TR>
              <TR>
                <TD><div align="center">热卖价:<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">型号:<B><%=((products)produc.get(i)).getType()  %></B></div></TD>
              </TR>
              <TR>
                <TD><div align="center">热卖价:<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></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>
  第<%=curpage%>页   共<%=totalpage %>页     
    
  <%if(curpage<totalpage){%>   
    
  <a   href="afterlogin.jsp?page=<%=curpage+1%>&userid=<%=name %>&sort=<%=type %>&account1=<%=straccount %>&account2=<%=endaccount %>">下一页</a>
  <%   
    
  }   
    
  %>     
    
  <%if(curpage>1){%>   
    
  <a   href="afterlogin.jsp?page=<%=curpage-1%>&userid=<%=name %>&sort=<%=type %>&account1=<%=straccount %>&account2=<%=endaccount %>">上一页</a><%   
    
  }   
    
  %>     
    
  </td> 
  
 
     
 <th>
  <%
   for(int k = 0;k<totalpage;k++){
   if(k+1==curpage){
  %>
  <%=k+1 %>
  <%
  }else{
  %>
  <a   href="afterlogin.jsp?page=<%=k+1 %>&userid=<%=name %>&sort=<%=type %>&account1=<%=straccount %>&account2=<%=endaccount %>"><%=k+1 %></a>
  <%
  } 
  }
  %>
   
  </th>
       </tr>
      </table>    
           
      <TABLE>
        <TBODY>
        <TR>
          <TD height=5></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<STYLE type=text/css>.up {
	MARGIN-TOP: -139px; MARGIN-LEFT: 0px
}
</STYLE>

<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></CENTER>
<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></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 + -