nsort.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. <link href="css.css" rel="stylesheet" type="text/css">
  6. <%
  7. int sort_id,  nsort_id;
  8. String sort_name,Nsort_name="";
  9. sort_name="无此类";
  10. sort_id=0;
  11. nsort_id=0;
  12. if(request.getParameter("sort_id")==""||request.getParameter("nsort_id")=="")
  13.    {
  14.    response.sendRedirect("index.jsp");
  15.    }
  16. else
  17. {
  18. sort_id=Cint(request.getParameter("sort_id"));
  19. nsort_id=Cint(request.getParameter("nsort_id"));
  20.  sql="select * from Nsort where Nsort_id= "+nsort_id;
  21.     rs=mdb.executeQuery(sql);
  22.   if(rs.next()){
  23. Nsort_name=rs.getString("Nsort_name");
  24. }
  25. rs.close();
  26.  %>
  27. <table width=778 border=0 align="center" cellpadding=0 cellspacing=0>
  28.   <!--DWLayoutTable-->
  29.   <tr> 
  30.     <td width="778" height=426 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  31.         <!--DWLayoutTable-->
  32.         <tr> 
  33.           <td width="181" height="426" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  34.               <!--DWLayoutTable-->
  35.               <tr> 
  36.                 <td height=101 valign="top"> <table width="180" border="0" cellspacing="0" cellpadding="0" align="center">
  37.         <tr> 
  38.           <td valign="top"> 
  39.             <!--是否登陆及其显示-->
  40.             <%@ include file="dengluyufou.jsp"%>
  41.           </td>
  42.         </tr>
  43.       </table>
  44.       <table width="100%" border="0" cellspacing="0" cellpadding="0" height="5">
  45.         <tr> 
  46.           <td></td>
  47.         </tr>
  48.         <tr> 
  49.           <td></td>
  50.         </tr>
  51.       </table>
  52.       <!--------------------search page------------------------------>
  53.       <%@ include file="in-search.jsp"%>
  54.       <table width="100%" border="0" cellspacing="0" cellpadding="0" height="5">
  55.         <tr> 
  56.           <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
  57.               <tr> 
  58.                 <td> </td>
  59.               </tr>
  60.             </table>
  61.             <%@ include file="topsort.jsp"%>
  62.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  63.               <tr> 
  64.                 <td> </td>
  65.               </tr>
  66.               <tr> 
  67.                 <td align="center"> 
  68.                   <!-------------hot begin------------------>
  69.                   <%@ include file="hoton.jsp"%>
  70.                   <!------------hot end--------------->
  71.                 </td>
  72.               </tr>
  73.               <tr> </table></td>
  74.         </tr>
  75.       </table></td>
  76.               </tr>
  77.             </table></td>
  78.           <td width="12"> </td>
  79.           <td width="571" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  80.               <!--DWLayoutTable-->
  81.               <tr> 
  82.                 <td width="571" height="426" valign="top"> 
  83.                   
  84.                   <div align="center"><%@ include file="right2.jsp"%></div>
  85.                   </td>
  86.               </tr>
  87.             </table></td>
  88.           <td width="14"> </td>
  89.         </tr>
  90.       </table></td>
  91.   </tr>
  92. </table>
  93. </td>
  94.     </tr> 
  95. </table>
  96. </table>
  97. </table>
  98. </table>
  99. </table>
  100. </table>
  101. <%
  102. }//判断是否有小类ID结束
  103. %>
  104. <%@ include file="copy.jsp"%>