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

📄 s2earchresult.jsp

📁 电子商务网站使用MVC模式B/S结构功能不是很全适合初学者看
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%@page import="java.util.Hashtable"%>
<%@page import="java.util.ArrayList" %>

<script src="<%=request.getContextPath()%>/js/useSpecialText.js"></script> 
<script src="<%=request.getContextPath()%>/js/showDiv.js"></script> 
<script src="<%=request.getContextPath()%>/js/search.js"></script> 

<% 
		if(request.getParameter("logged")!=null){
%>
			<script language="javascript">
				alert("???1?′μ???£???μ???£?μ???3é1|oó?μí3??°???éì?··?è??úμ?1o??3μ");
			</script>
<%	
		}else if(request.getParameter("done")!=null){		
%>		
			<script language="javascript">
				alert("2ù×÷3é1|");
			</script>
<%
		}	
%>		

<style type="text/css">
<!--
A {
    COLOR: #3333CC; TEXT-DECORATION: none ;border-bottom:1px dotted
}
.mobile_top5_1{
	margin:5px 4;
	padding:0;
	width:190px;
	height:127px;
   background:url(<%=request.getContextPath()%>/image/moblie_bg1.gif);
}
.mobile_top5_1 h4{
 margin:22px 5px 2 1px;
 font-size:12px; 
 width:20px; 
 height:100px; 
 float:left; 
 text-align: center; 
 font-weight:normal;
}
.mobile_top5_1 table{
margin:5px 5px 2px 0; 
float:right;
}
.aindex{color: blue;font-size: 13px}
.currentindex{color: red;font-size: 13px}
.index{color: black;font-size: 12px}
.style1 {color: #ECE9D8;font-size: 12px}
.style3 {font-size: 12px}
.style4 {color: #3333CC}
-->
</style>
<body onresize="x956203888510();" onload="x956203888444();"  text="#990000">
<center>
<table    width="757" height="333" border="1" align="center" cellpadding="0" cellspacing="1">
  <tr >
    <td width="202" valign="top"  background="<%=request.getContextPath()%>/image/6.gif" >
		<table  width="198" height="179" cellspacing="1">
	  		<tr><td  background="image/06.gif" colspan="2">
				<div align="center"><span class="style1"  >???÷????</span>
			  </div></td>
			</tr>	
	  		<form name="search" method="post" action="<%=request.getContextPath()%>/searchAction">
    		<tr><td width="60" height="20" class="style1">ê??ú?·?? </td>
    		<td width="129">
        		<div align="center">
                  <select name="card" id="tryComboBoxID" style="position:absolute; " onChange = "if (x956203888447!=null) {x956203888447.x956203888455();}" onresize = "if (x956203888447!=null) {x956203888447.x956203888454();}" >
                    <option value="nokia" selected>nokia</option>
                    <option value="samsung" selected>samsung</option>
                    <option value="sony">sony</option>
                    <option value="-----è?òa-----">-----è?òa-----</option>
                  </select>
       		  </div>
			  </td>
   			</tr>
          
    		
    		<tr><td height="29" class="style1">ê??úààDí</td>
    		<td>
    			<select name="model"  size="1" id="model">
            <option value="?±°?">?±°?</option>
            <option value="????">????</option>
            <option value="·-??">·-??</option>
            <option value="Dy×a">Dy×a</option>
            <option value="-----è?òa-----" selected>-----è?òa-----</option>
              </select>
   			  </td>
    		</tr>
    		<tr><td height="24" class="style1">????1|?ü</td>
    		<td>
    			<select name="photo" size="1" id="photo">
                  <option value="??óD">??óD</option>
                  <option value="&lt;100íò">&lt;100íò</option>
                  <option value="100~200">100~200</option>
		    <option value="200~300">200~300</option>
                  <option value="&gt;300">&gt;300</option>
                  <option value="-----è?òa-----" selected>-----è?òa-----</option>
              </select>
			  </td>
    		</tr>
    		<tr><td height="27" class="style1">í?????ê?</td>
    		<td>
    			<select name="net" size="1" id="net" >
                  <option value="cdma">cdma</option>
                  <option value="gsmμ¥?μ">gsmμ¥?μ</option>
                  <option value="gsm???μ">gsm???μ</option>
                  <option value="gsmèy?μ">gsmèy?μ</option>
                  <option value="-----è?òa-----" selected>-----è?òa-----</option>
              </select>
   			  </td>
    		</tr>
    		<tr><td class="style1">1|?üì?μ?</td>
    		<td>
    			<select name="special" size="1">
                  <option value="á÷??ì?">á÷??ì?.</option>
                  <option value="à??à">à??à</option>
                  <option value="2ê?á">2ê?á</option>
                  <option value="?é????">?é????</option>
                  <option value="wap">wap</option>
                  <option value="gprs">gprs</option>
                  <option value="oìía">oìía</option>
                  <option value="java">java</option>
                  <option value="mms?¨">mms?¨</option>
                  <option value="mp3">mp3</option>
                  <option value="ê?ò?">ê?ò?</option>
                  <option value="usb">usb</option>
                  <option value="-----è?òa-----" selected>-----è?òa-----</option>
              </select>
			  </td>
    		</tr>
        	<tr><td height="29" colspan="2" > 
				  <input name="key" type="text" title="?é???÷μ?°üo?′?1??ü×?μ?è?o?éì?·" id="key" size="10" height=22> 
				  <input type="submit" name="submit" value="搜索" > </a>
			    </td>
        	</tr>
        
    </form>
	  </table>
	  <DIV id=tickerbg style="POSITION: absolute"></DIV><DIV id=ticker style="POSITION: absolute"></DIV>
      <DIV class=mobile_top5_1>
        <H4>è?????DD°?</H4>
        <TABLE cellSpacing=0 cellPadding=0 width=150 height="" border=0>
          <TBODY>
            <TR>
              <TH width=95 height=20 align=middle class="style3" scope=col>?úDí</TH>
              <TH width=30 height=20 align=middle class="style3 style4" scope=col>è???</TH>
            </TR>
			
			<%	
				ArrayList list;
				Hashtable table=new Hashtable();
				String card="",num="",model="",photo="",net="",price="",special="",picture="",describe="",restNum="";
				int id=0;

						list=(ArrayList)(application.getAttribute("concernPhone".toUpperCase()));
						if(list!=null){	
							for(int i=0;i<list.size();i++){
								table=(Hashtable)list.get(i);
								int concern=1;
								String mes="?·??:"+table.get("card".toUpperCase()).toString();
								 mes=mes+"<br>Dío?:"+table.get("num".toUpperCase()).toString();
								 mes=mes+"<br>?úDí:"+table.get("model".toUpperCase()).toString();
								 mes=mes+"<br>?à?ú:"+table.get("photo".toUpperCase()).toString();
								 mes=mes+"<br>ì?μ?:"+table.get("special".toUpperCase()).toString();
								concern=Integer.parseInt(table.get("concern".toUpperCase()).toString());
								if(concern/100>15)concern=30;
								else if(concern/100>14)concern=28;
								else if(concern/100>13)concern=26;
								else if(concern/100>12)concern=24;
								else if(concern/100>11)concern=22;
								else if(concern/100>10)concern=20;
								else if(concern/100>9)concern=18;
								else if(concern/100>8)concern=16;
								else if(concern/100>7)concern=14;
								else if(concern/100>6)concern=12;
								else if(concern/100>5)concern=10;
								else if(concern/100>4)concern=8;
								else if(concern/100>3)concern=6;
								else if(concern/100>2)concern=4;
								else concern=1;
								String str=table.get("showString".toUpperCase()).toString();
								id=	Integer.parseInt(table.get("id".toUpperCase()).toString());
								if(i%2==0)out.print("<TR align=middle bgColor=#f3f3f3>");
								else out.print("<TR align=middle>");
								out.print("<TD align=center height=18><a href=\""+request.getContextPath()+"/clientShowOneCommodityAction?id="+id+"\" onmouseover=\"showmessage('"+mes+"')\" onmouseout=hideticker() target=\"_blank\">"+str+"</a></td>");
								out.print("<TD align=left height=18><IMG height=10 src=\""+request.getContextPath()+"/image/hotlevel.gif\" width="+concern+"></TD>");
								out.print("</TR>");
							}
						}
					%>
          </TBODY>
        </TABLE>
      </DIV>
      <DIV class=mobile_top5_1>
        <H4>D??ú??DD°?</H4>
        <TABLE cellSpacing=0 cellPadding=0 width=140 border=0>
          <TBODY>
            <TR>
              <TH width=63 height=18 align=left class="style3" scope=col>?úDí</TH>
              <TH width=50 height=18 align=middle class="style3 style4" scope=col>è???</TH>
            </TR>
            <%	
						list=(ArrayList)(application.getAttribute("newPhone".toUpperCase()));
						if(list!=null){	
							for(int i=0;i<list.size();i++){
								table=(Hashtable)list.get(i);
								int concern=1;
								
								int sh=concern=Integer.parseInt(table.get("concern".toUpperCase()).toString());
								if(concern/100>15)concern=30;
								else if(concern/100>14)concern=28;
								else if(concern/100>13)concern=26;
								else if(concern/100>12)concern=24;
								else if(concern/100>11)concern=22;
								else if(concern/100>10)concern=20;
								else if(concern/100>9)concern=18;
								else if(concern/100>8)concern=16;
								else if(concern/100>7)concern=14;
								else if(concern/100>6)concern=12;
								else if(concern/100>5)concern=10;
								else if(concern/100>4)concern=8;
								else if(concern/100>3)concern=6;
								else if(concern/100>2)concern=4;
								else concern=1;
								String str=table.get("showString".toUpperCase()).toString();
								id=	Integer.parseInt(table.get("id".toUpperCase()).toString());
								if(i%2==0)out.print("<TR align=middle bgColor=#f3f3f3>");
								else out.print("<TR align=middle>");
								out.print("<TD align=left height=18><a href=\""+request.getContextPath()+"/clientShowOneCommodityAction?id="+id+"\" target=\"_blank\">"+str+"</a></TD>");
								out.print("<TD align=left height=18><IMG height=7 src=\""+request.getContextPath()+"/image/hotlevel.gif\" width="+concern+"></TD>");
								out.print("</TR>");
							}
						}
					%>
          </TBODY>
        </TABLE>
    </DIV>
	<table cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
		<tr>
			<td>
				<img src="<%=request.getContextPath()%>/image/fh.gif" width="197">
			</td>
		</tr>
		<tr height="100">	
			<td bgcolor="#CCCCCC" height="100">	
				<marquee behavior="scroll" direction="up" loop="-1" height="120" id=zimu onmouseover=zimu.stop() onmouseout=zimu.start() scrollDelay=120>
<%	
					list=(ArrayList)(application.getAttribute("sentOrders".toUpperCase()));
					if(list!=null){	
						for(int i=0;i<list.size();i++){

⌨️ 快捷键说明

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