sort.jsp
上传用户:szlmxq
上传日期:2014-01-31
资源大小:740k
文件大小:3k
源码类别:

Applet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=GBK" language="java" import="java.sql.*" %>
  2. <%@ page autoFlush="true" errorPage="error.html"%>
  3. <html>
  4. <%@ include file="top.jsp"%>
  5. <%
  6. int sort_id,  Nsort_id;
  7. String sort_name,Nsort_name;
  8. sort_name="无此类";
  9. sort_id=0;
  10. if(request.getParameter("sort_id")=="")
  11.    {
  12.    response.sendRedirect("index.jsp");
  13.    }
  14. else
  15. {
  16. sort_id=Cint(request.getParameter("sort_id"));
  17.  sql="select * from sort where sort_ID="+sort_id;
  18.     rs=mdb.executeQuery(sql);
  19.   if(rs.next()){
  20. sort_name=rs.getString("sort_name");
  21. }
  22.  %>
  23. <table width=778 border=0 align="center" cellpadding=0 cellspacing=0>
  24.   <!--DWLayoutTable-->
  25.      <tr> 
  26.       <td colspan=2 height=3></td>
  27.       <td width="572"></td>
  28.       <td width="12"></td>
  29.     </tr>
  30.     <tr> 
  31.       <!--------------------------left begin---------------------------------------------->
  32.       <td width="181" height="554" valign="top"> <table width="180" border="0" cellspacing="0" cellpadding="0" align="center">
  33.           <tr> 
  34.             <td valign="top"> 
  35.               <!--是否登陆及其显示-->
  36.               <%@ include file="dengluyufou.jsp"%>
  37.             </td>
  38.           </tr>
  39.         </table>
  40.         <table width="100%" border="0" cellspacing="0" cellpadding="0" height="5">
  41.           <tr> 
  42.             <td></td>
  43.           </tr>
  44.           <tr> 
  45.             <td></td>
  46.           </tr>
  47.         </table>
  48.         <!--------------------search page------------------------------>
  49.         <%@ include file="in-search.jsp"%>
  50.         <table width="100%" border="0" cellspacing="0" cellpadding="0" height="5">
  51.           <tr> 
  52.             <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
  53.                 <tr> 
  54.                   <td> </td>
  55.                 </tr>
  56.               </table>
  57.               <%@ include file="topsort.jsp"%>
  58.               <table width="100%" border="0" cellspacing="0" cellpadding="0">
  59.                 <tr> 
  60.                   <td> </td>
  61.                 </tr>
  62.                 <tr> 
  63.                   <td align="center"> 
  64.                     <!-------------hot begin------------------>
  65.                     <%@ include file="hoton.jsp"%>
  66.                     <!------------hot end--------------->
  67.                   </td>
  68.                 </tr>
  69.                 <tr> </table></td>
  70.           </tr>
  71.         </table></td>
  72.       <td width="13"> </td>
  73.       <td valign="top"> 
  74.         <!-------------------------right------------------------------->
  75.             <%@ include file="right.jsp"%>
  76.           
  77.         
  78.       </td>
  79.       <!--------------------------left end--------------------------------------------->
  80.       <td rowspan="2"> </td>
  81.     </tr> 
  82. </table>
  83. </td>
  84.     </tr> 
  85. </table>
  86. </table>
  87. </table>
  88. </table>
  89. </table>
  90. </table>
  91. <%
  92. }//判断是否有小类ID结束
  93. %>
  94. <%@ include file="copy.jsp"%>