return_ly.jsp
资源名称:zyp.rar [点击查看]
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ include file="conn.jsp"%>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>回复</title>
- <style type="text/css">
- <!--
- @import url("style.css");
- .style2 {font-size: 9pt}
- -->
- </style>
- </head>
- <%
- if (session.getAttribute("adminname")==null)
- response.sendRedirect("sorry.jsp");
- %>
- <%
- String idz = new String(request.getParameter("id").getBytes("iso-8859-1"));
- int id = Integer.parseInt(idz);
- String condition="select * from users where id="+idz;
- rs=stmt.executeQuery(condition);
- rs.next();
- %>
- <body bgcolor="DBC7C0" background="img/beijing.gif">
- <table width="523" border="0" align="center" cellpadding="0" cellspacing="1">
- <tr>
- <td>
- <form name="form1" method="POST" action="add_return_operate.jsp?id=<%=id%>">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle3">
- <tr>
- <td width="12%"><img src="img/top1.gif" width="81" height="22"></td>
- <td width="86%" background="img/top2.gif"> </td>
- <td width="2%"><img src="img/top3.gif" width="47" height="22"></td>
- </tr>
- </table>
- <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle0">
- <tr bgcolor="#F5F5F5">
- <td width="112" align="center" class="font0">姓名:</td>
- <td width="538"> <span class="style2"><%=rs.getString("name")%></span></td>
- </tr>
- <tr>
- <td align="center" bgcolor="#FFFFFF" class="font0">内容:</td>
- <td bgcolor="#FFFFFF"><span class="style2"><%=rs.getString("content")%> </span></td>
- </tr>
- <tr bgcolor="#FFE3DD">
- <td align="center" bgcolor="#F5F5F5" class="font0">回复:</td>
- <td bgcolor="#F5F5F5">
- <textarea name="recontent" cols="60" rows="10" style="border:1px double rgb(187,185,185);font:9pt"><%=rs.getString("recontent")%></textarea>
- </td>
- </tr>
- <tr align="center" bgcolor="#FFFFFF">
- <td height="30" colspan="2">
- <input type="submit" name="Submit" value="回复" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
- <input type="reset" name="Submit2" value="取消" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
- </td>
- </tr>
- </table>
- <table border="0" width="650" cellspacing="0" cellpadding="0" height="7" align="center">
- <tr>
- <td width="2%" align="center"><img src="img/end1.gif" width="12" height="14"></td>
- <td width="89%" align="center" background="img/end2.gif"></td>
- <td width="9%" align="center"><img src="img/end3.gif" width="65" height="14"></td>
- </tr>
- </table>
- </form></td>
- </tr>
- </table>
- </body>
- <%
- rs.close();
- stmt.close();
- conn.close();
- %>
- </html>