return_ly.jsp
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:3k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <%@ include file="conn.jsp"%>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <title>回复</title>
  7. <style type="text/css">
  8. <!--
  9. @import url("style.css");
  10. .style2 {font-size: 9pt}
  11. -->
  12. </style>
  13. </head>
  14. <%
  15.  if (session.getAttribute("adminname")==null)
  16.   response.sendRedirect("sorry.jsp");
  17. %>
  18.                                                                                                                                                                                                                                                                                                                                              
  19. <%
  20. String idz = new String(request.getParameter("id").getBytes("iso-8859-1"));
  21. int id = Integer.parseInt(idz);
  22. String condition="select * from users where id="+idz;
  23. rs=stmt.executeQuery(condition);
  24. rs.next();
  25. %>
  26. <body bgcolor="DBC7C0" background="img/beijing.gif">
  27. <table width="523" border="0" align="center" cellpadding="0" cellspacing="1">
  28.   <tr>
  29.     <td>
  30. <form name="form1" method="POST" action="add_return_operate.jsp?id=<%=id%>">
  31.         <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle3">
  32.           <tr> 
  33.             <td width="12%"><img src="img/top1.gif" width="81" height="22"></td>
  34.             <td width="86%" background="img/top2.gif">&nbsp;</td>
  35.             <td width="2%"><img src="img/top3.gif" width="47" height="22"></td>
  36.           </tr>
  37.         </table>
  38.         <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle0">
  39.           <tr bgcolor="#F5F5F5"> 
  40.             <td width="112" align="center" class="font0">姓名:</td>
  41.             <td width="538"> <span class="style2"><%=rs.getString("name")%></span></td>
  42.           </tr>
  43.           <tr> 
  44.             <td align="center" bgcolor="#FFFFFF" class="font0">内容:</td>
  45.             <td bgcolor="#FFFFFF"><span class="style2"><%=rs.getString("content")%> </span></td>
  46.           </tr>
  47.           <tr bgcolor="#FFE3DD"> 
  48.             <td align="center" bgcolor="#F5F5F5" class="font0">回复:</td>
  49.             <td bgcolor="#F5F5F5"> 
  50.               <textarea name="recontent" cols="60" rows="10" style="border:1px double rgb(187,185,185);font:9pt"><%=rs.getString("recontent")%></textarea>
  51.             </td>
  52.           </tr>
  53.           <tr align="center" bgcolor="#FFFFFF"> 
  54.             <td height="30" colspan="2"> 
  55.               <input type="submit" name="Submit" value="&#22238;&#22797;" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
  56.               
  57.               <input type="reset" name="Submit2" value="&#21462;&#28040;" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
  58.             </td>
  59.           </tr>
  60.         </table>
  61.       
  62.         <table border="0" width="650" cellspacing="0" cellpadding="0" height="7" align="center">
  63.           <tr> 
  64.             <td width="2%" align="center"><img src="img/end1.gif" width="12" height="14"></td>
  65.             <td width="89%" align="center" background="img/end2.gif"></td>
  66.             <td width="9%" align="center"><img src="img/end3.gif" width="65" height="14"></td>
  67.           </tr>
  68.         </table>
  69.         
  70.       </form></td>
  71.   </tr>
  72. </table>
  73. </body>
  74. <% 
  75. rs.close();
  76. stmt.close(); 
  77. conn.close();
  78. %>
  79.   
  80. </html>