📄 other_news_answer_modify_of_my_lhl.jsp
字号:
<%@ page language="java" pageEncoding="EUC-KR"%>
<%@ page import="java.io.*,java.text.*,java.util.Date,java.util.Vector, java.sql.*, com.entaz.lib.db.*, com.entaz.relay.net.* "%>
<%@ include file="../imgpath.jsp"%>
<%@ include file="appConstants.jsp"%>
<%@ include file="formatUtil.jsp"%>
<%@ include file="../common_func.jsp"%>
<%
int idxNsNews = Integer.parseInt(request.getParameter("idxNsNews")); //for insert GT_NsNews's idx
int idxNsNewsRE = Integer.parseInt(request.getParameter("idxNsNewsRE")); // It's table GT_NsNewsRE's idx
String mphone = request.getParameter("mphone");
String gphone = request.getParameter("gphone");
String text = "";
String usernickname = "";
String bgColor = "";
String url = "other_news_answer_modify_of_my_err_lhl.jsp";
Connection con = null;
PreparedStatement pstmt = null;
Statement stmt = null;
ResultSet rs = null;
try {
%>
<%@ include file="../getConnection.jsp"%>
<%@ include file="bgColor.jsp"%>
<%
String queryStrirng = "SELECT nickname FROM gt_user_info WITH (READUNCOMMITTED) WHERE phonenum = ?";//gphone
pstmt = con.prepareStatement(queryStrirng);
pstmt.setString(1, gphone);
rs = pstmt.executeQuery();
while(rs.next())
{
usernickname = rs.getString("nickname");
}
String queryNsNewsREString = "SELECT text FROM gt_nsnewsre WITH (READUNCOMMITTED) WHERE idx=?";
pstmt = con.prepareStatement(queryNsNewsREString);
pstmt.setInt(1, idxNsNewsRE);
rs = pstmt.executeQuery();
while(rs.next())
{
text = rs.getString("text");
}
rs.close();
pstmt.close();
con.close();
%>
<html>
<head>
<title>Other News Answer Modify of My</title>
<link rel="stylesheet" href="../mobile.css" type="text/css"></link>
</head>
<body>
<form action="<%= url %>" name="frm" method="post">
<input type="hidden" name="idxNsNews" value="<%=idxNsNews%>">
<input type="hidden" name="idxNsNewsRE" value="<%=idxNsNewsRE%>">
<input type="hidden" name="mphone" value="<%=mphone%>">
<input type="hidden" name="gphone" value="<%=gphone%>">
<input type="hidden" name="dispatch" value="update">
<table width="176" border="0" cellspacing="0" cellpadding="0">
<!-- 鸥捞撇 矫累 -->
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr height="19">
<td width="8" bgcolor="<%=mainBgColor%>"></td>
<td bgcolor="<%=mainBgColor%>"><font color="#ffffff">春胶翠函窍扁</font></td>
</tr>
</table>
</td>
</tr>
<!-- 鸥捞撇 场 -->
<!-- 咯归 矫累 -->
<tr height="4">
<td></td>
</tr>
<!-- 咯归 场 -->
<!-- 冠胶 矫累 -->
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="8"></td>
<td>
<font color="#acacac" size="3">郴侩涝仿(800byte)</font>
</td>
<td width="8"></td>
</tr>
<tr>
<td width="8"></td>
<td>
<textarea width="160" height="100" cols="30" rows="20" maxlength="800" name="text" defaultimemode="1" imemode="0"><%= text %></textarea>
</td>
<td width="8"></td>
</tr>
</table>
</td>
</tr>
<!-- 冠胶 场 -->
<!--咯归 矫累-->
<tr>
<td height="4"></td>
</tr>
<!--咯归 场-->
<!-- 滚瓢 矫累 -->
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr height="16">
<td></td>
<td width="35" bgcolor="<%=mainBgColor%>" align="center" ><a href="javascript:frm.submit();"><font color="#ffffff">荐沥</font></a></td>
<td width="2"></td>
<td width="35" bgcolor="<%=mainBgColor%>" align="center" ><a href="other_news_answer_modify_of_my_err_lhl.jsp?dispatch=delete&idxNsNews=<%=idxNsNews%>&idxNsNewsRE=<%=idxNsNewsRE%>&gphone=<%=gphone%>&mphone=<%=mphone%>"><font color="#ffffff">昏力</font></a></td>
<td width="2"></td>
<td width="35" bgcolor="<%=mainBgColor%>" align="center" ><a href="javascript:history.back();"><font color="#ffffff">秒家</font></a></td>
<td></td>
</tr>
</table>
</td>
</tr>
<!-- 滚瓢 场 -->
<!-- 咯归 矫累 -->
<tr height="12">
<td></td>
</tr>
<!-- 咯归 场 -->
<%
String step1=url_path+"/main.jsp?mphone="+mphone+"&gphone="+gphone;//权
String step2=url_path+"/mypage/my_confirm.jsp?mphone="+mphone+"&gphone="+gphone;
String step3=url_path+"/news/NewsMain.jsp?mphone="+mphone+"&gphone="+gphone;
%>
<!--版肺钎矫 矫累-->
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr height="15">
<td width="8" bgcolor="#BBC7C8"></td>
<td bgcolor="#DAE6E8">
<a href="<%=step1%>">权</a>><a href="<%=step2%>"><%= usernickname %>丛狼迄乔</a>><a href="<%=step3%>">春胶</a>>春胶翠函
</td>
<td width="8" bgcolor="#BBC7C8"></td>
</tr>
</table>
</td>
</tr>
<!--版肺钎矫 场-->
</table>
</form>
<%@ include file="../newbottom.jsp"%>
</body>
</html>
<%
} catch(Exception e) {
e.printStackTrace();
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -