paihang.jsp
上传用户:helenhuo66
上传日期:2007-06-01
资源大小:865k
文件大小:3k
源码类别:

百货/超市行业

开发平台:

Java

  1. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  2.                           <tr> 
  3.                             <td valign="top" align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
  4.                                 <tr> 
  5.                                   <td height="3"></td>
  6.                                 </tr>
  7.                               </table>
  8.                               <table width="165" border="0" cellspacing="0" cellpadding="0">
  9.                                 <tr> 
  10.                                   <td align="center"> <img border="0" src="img/promo_list_top.gif" width="100%" height="4"></td>
  11.                                 </tr>
  12.                                 <tr> 
  13.                                   <td align="center" bgcolor="#DBC2B0">销售排行</td>
  14.                                 </tr>
  15.                                 <tr> 
  16.                                   <td  align="center">
  17.    <%@include file="paihang2.jsp"%>
  18.                                   </td>
  19.                                 </tr>
  20.                                 <tr> 
  21.                                   <td> </td>
  22.                                 </tr>
  23.                               </table>
  24.                               <table width="100%" border="0" cellspacing="0" cellpadding="0">
  25.                                 <tr> 
  26.                                   <td> </td>
  27.                                 </tr>
  28.                               </table>
  29.                               
  30.                               <!-- --------------------------友情链接----------------------------------------------->
  31.                               <table width="165" border="0" cellspacing="0" cellpadding="0" height="18" style="border-collapse: collapse" bordercolor="#111111">
  32.                                 <tr> 
  33.                                   <td align="center" bgcolor="#FFFFFF">
  34.   <!----------------------------------------最新新闻----------------------------------------------->
  35.         <%@ include file="topnews.jsp"%> 
  36.   <!-----------------------------最新新闻结束------------------------------------>
  37. </td>
  38.                                 </tr>
  39.                                 <tr> 
  40.                                   <td align="center"><img border="0" src="img/promo_list_top.gif" width="100%" height="4"></td>
  41.                                 </tr>
  42.                                 <tr> 
  43.                                   <td align="center" height="20" bgcolor="#DBC2B0"> 
  44.                                     <b>友情链接</b></td>
  45.                                 </tr>
  46.                                 <tr> 
  47.                                   <td bgcolor="#F5EFE7"> <p style="line-height:150%" align=center> 
  48.                                       <%      
  49. sql="select * from ad order by bs";
  50. rs=mdb.executeQuery(sql);
  51. String url;
  52. String wordlink;
  53.       while (rs.next())
  54.   {
  55.   
  56.      out.print("<a href="+rs.getString("url").trim()+" target=_blank>"+rs.getString("wordlink").trim()+"</a><br>");
  57.       }
  58.       
  59.      
  60.       %>
  61.                                     </p></td>
  62.                                 </tr>
  63.                               </table>
  64.                               <!---------------------------------友情链接结束----------------------------------------------->
  65.                             </td>
  66.                           </tr>
  67.                         </table>