add_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. String MessageID=new String(request.getParameter("id").getBytes("ISO-8859-1"));
  20. String condition="select * from users where id='"+MessageID+"'";
  21. rs=stmt.executeQuery(condition);
  22. rs.first();
  23. %>
  24. <body bgcolor="DBC7C0" background="img/beijing.gif">
  25. <table width="523" border="0" align="center" cellpadding="0" cellspacing="1">
  26.   <tr>
  27.     <td>
  28. <form name="form1" method="POST" action="add_return_ly_operate.jsp?id=<%=MessageID%>">
  29.         <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle3">
  30.           <tr> 
  31.             <td width="12%"><img src="img/top1.gif" width="81" height="22"></td>
  32.             <td width="86%" background="img/top2.gif">&nbsp;</td>
  33.             <td width="2%"><img src="img/top3.gif" width="47" height="22"></td>
  34.           </tr>
  35.         </table>
  36.         <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle0">
  37.           <tr bgcolor="#F5F5F5"> 
  38.             <td width="112" align="center" class="font0">姓名:</td>
  39.             <td width="538"> <span class="style2"><%=rs.getString("name")%></span></td>
  40.           </tr>
  41.           <tr> 
  42.             <td align="center" bgcolor="#FFFFFF" class="font0">内容:</td>
  43.             <td bgcolor="#FFFFFF"><span class="style2"><%=rs.getString("content")%> </span></td>
  44.           </tr>
  45.           <tr bgcolor="#FFE3DD"> 
  46.             <td align="center" bgcolor="#F5F5F5" class="font0">回复:</td>
  47.             <td bgcolor="#F5F5F5"> 
  48.               <textarea name="recontent" id="recontent"cols="60" rows="10" style="border:1px double rgb(187,185,185);font:9pt"></textarea>
  49.             </td>
  50.           </tr>
  51.           <tr align="center" bgcolor="#FFFFFF"> 
  52.             <td height="30" colspan="2"> 
  53.               <input type="submit" name="Submit" value="&#22238;&#22797;" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
  54.               
  55.               <input type="reset" name="reset" value="取消" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
  56.             </td>
  57.           </tr>
  58.         </table>
  59.       
  60.         <table border="0" width="650" cellspacing="0" cellpadding="0" height="7" align="center">
  61.           <tr> 
  62.             <td width="2%" align="center"><img src="img/end1.gif" width="12" height="14"></td>
  63.             <td width="89%" align="center" background="img/end2.gif"></td>
  64.             <td width="9%" align="center"><img src="img/end3.gif" width="65" height="14"></td>
  65.           </tr>
  66.         </table>
  67.         
  68.       </form></td>
  69.   </tr>
  70. </table>
  71. </body>
  72. <% 
  73. rs.close();
  74. stmt.close(); 
  75. conn.close();
  76. %>
  77.   
  78. </html>