📄 backinformation.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查看帖子信息</title>
</head>
<jsp:useBean id="connection" scope="request" class="com.JDBConnection"/>
<%
request.setCharacterEncoding("gb2312");
//String url=request.getParameter("url");
String ip=request.getRemoteHost();
String account="";
String oicq="";
String sex="";
String email="";
String title="";
if(session.getAttribute("account")!=null){
account=(String)session.getAttribute("account");
String sql="select * from tb_forumUser,tb_forumSend where tb_forumUser.account='"+account+"' and tb_forumSend.id='"+request.getParameter("id")+"'";
ResultSet rs=connection.executeQuery(sql);
try{
while(rs.next()){
sex=rs.getString("sex");
oicq=rs.getString("oicq");
email=rs.getString("email");
title=rs.getString("title");
}
}catch (Exception e){}
}
%>
<body onLoad="clockon(bgclock);">
<jsp:include page="top.jsp" flush="true"/>
<jsp:include page="top1.jsp" flush="true"/>
<jsp:include page="top2.jsp" flush="true"/>
<jsp:include page="top3.jsp" flush="true"/>
<table width="777" height="33" border="0" align="center" cellpadding="0" cellspacing="0" background="image/navigation3.jpg">
<tr>
<td> <font color="#FFFFFF">≡ 回复主题 ≡ </font></td>
</tr>
</table>
<table width="777" background="image/information.jpg" height="386" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="239" height="242" valign="top"> <table width="208" border="0" align="center">
<tr align="center">
<td width="202" height="40"> === 回复人信息 === </td>
</tr>
<tr align="center">
<td height="40"><%=account%></td>
</tr>
<tr align="center">
<td height="60">
<%if(sex.equals("男")){%>
<img src="image/boy.gif">
<%}else{%><img src="image/girl.gif"><%}%>
</td>
</tr>
<tr align="center">
<td height="40">我是:<%=sex%></td>
</tr>
<tr align="center">
<td height="40"><img src="image/email.gif"> <%=email%></td>
</tr>
<tr align="center">
<td height="40"><img src="image/oicq.gif"> QQ:<%=oicq%></td>
</tr>
<tr align="center">
<td height="40"><img src="image/ip.gif"> IP:<%=ip%></td>
</tr>
</table></td>
<td width="56"> </td>
<td width="482" valign="top">
<br> <table width="460" border="0">
<form name="form" method="post" action="backDealwith.jsp" onSubmit="return backInformation()">
<tr>
<td width="60" height="30">原 主 题:</td>
<td width="336"><%=title%>
<input type="hidden" name="id" value="<%=request.getParameter("id")%>"></td>
</tr>
<tr>
<td height="30">回复主题:</td>
<td><input name="title" type="text" size="54"></td>
</tr>
<tr>
<td height="226" valign="top"><br>回复内容:</td>
<td height="226"><textarea name="content" cols="53" rows="15"></textarea></td>
</tr>
<tr>
<td height="30"><p>字 节: </p></td>
<td height="30">最多允许1600个字节</td>
</tr>
<tr>
<td height="30"> </td>
<td height="30">
<input type="submit" name="Submit2" value="提交回复" class="btn_grey">
<input type="reset" name="Submit" value="重写回复" class="btn_grey">
<input type="button" name="Submit3" value="返回主题" class="btn_grey" onClick="window.location.href='index.jsp'"> </td>
</tr> </form>
</table></td></tr>
</table>
<jsp:include page="low.jsp" flush="true"/>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -