📄 infopressmate_g.jsp.svn-base
字号:
<!-------------------------------------------------------------
* @ name: infopressmate_g.jsp
* @ Author : ranxu
* @ date :2008-06-06
-------------------------------------------------------------->
<%@ page import='java.io.*,java.text.*,java.util.Date,java.util.Vector, java.sql.*, com.entaz.lib.db.*, com.entaz.relay.net.*' contentType='text/html;charset=euc-kr'%>
<%@ include file="../imgpath.jsp"%>
<%@ include file="../common_func.jsp"%>
<%
/*------------------------------------------------------------------------------------------------------
parameter from last page:knowmate_s.jap or knowmate_k.jap
-------------------------------------------------------------------------------------------------------*/
String hostNickname = request.getParameter("nickname");
String mphone = request.getParameter("mphone");
String gphone = request.getParameter("gphone");
/*------------------------------------------------------------------------------------------------------
+ parameter of current page
-------------------------------------------------------------------------------------------------------*/
String guestNickname = "";
/*------------------------------------------------------------------------------------------------------
+ DB
-------------------------------------------------------------------------------------------------------*/
PreparedStatement pstmt = null;
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
String sql = null;
int ret = -1;
/*------------------------------------------------------------------------------------------------------
+ guestNickname
-------------------------------------------------------------------------------------------------------*/
con = DBConnector.getConnection(db_name);
if (con == null) {
return;
}
sql = " select nickname from gt_user_info where phonenum='"+mphone+"'";
pstmt = con.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next()) {
guestNickname = rs.getString("nickname");
}
rs.close();
pstmt.close();
/*------------------------------------------------------------------------------------------------
insert info of the guest who answered all questions
add by ranxu 2008-06-10
-------------------------------------------------------------------------------------------------*/
if(!guestNickname.equals("")){
con = DBConnector.getConnection(db_name);
if( con == null )
{
return;
}
sql = "insert into gt_lucky_request (phonenum,guest_phone,nickname) values (?,?,?)";
pstmt = con.prepareStatement(sql);
pstmt.setLong(1,Long.parseLong(gphone));
pstmt.setLong(2,Long.parseLong(mphone));
pstmt.setString(3,guestNickname);
ret = pstmt.executeUpdate();
if(ret==-1){
return;
}
pstmt.close();
}
%>
<html>
<head>
<link href="http://entaz.mugeta.com/client/mugeta_v2_test/web/user/mobile.css" rel="stylesheet" type="text/css">
<title>权> 酒捞叼咯几磊丛俊霸 炼福扁</title>
</head>
<body>
<!--剧侥
<tr>
<td>
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
-->
<table width="240" border="0" cellspacing="0" cellpadding="0">
<!--鸥捞撇 矫累-->
<tr>
<td>
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" height="2" bgcolor="#c789ff"></td>
</tr>
<tr>
<td width="10" height="15" bgcolor="#9819e9"></td>
<td height="15" bgcolor="#9819e9"><font color="#ffffff">酒捞叼咯几磊丛俊霸 炼福扁</font></td>
</tr>
<tr>
<td colspan="2" height="2" bgcolor="#c789ff"></td>
</tr>
<tr>
<td colspan="2" height="1" bgcolor="#9819e9"></td>
</tr>
</table>
</td>
</tr>
<!--鸥捞撇 场-->
<!--咯归 矫累-->
<tr>
<td height="8"></td>
</tr>
<!--咯归 场-->
<!--臂 冠胶 矫累-->
<tr>
<td>
<table width="240" bgcolor="#dae6e8"" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" height="3"></td>
</tr>
<tr>
<td width="3"></td>
<td>
<table width="234" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" height="20"></td>
</tr>
<!--臂郴侩 矫累-->
<tr>
<td></td>
<td width="220" align="center"><font color="#9819e9"><%=hostNickname %></font>丛俊霸<br>
巩力甫 歹 钱绢 崔扼绊 炼福扁甫 沁嚼聪促...<br><br>
<font color="#9819e9"><%=hostNickname %></font>丛捞 巩力甫 歹 钱搁<br>
率瘤肺 翠捞 坷霸 邓聪促.<br><br>
歹 巩力甫 钱霸 登搁 客辑<br>
促矫 犬牢甫 秦 焊技夸^^</td>
<td></td>
</tr>
<!--臂郴侩 场-->
<tr>
<td colspan="3" height="20"></td>
</tr>
</table>
</td>
<td width="3"></td>
</tr>
<tr>
<td colspan="3" height="3"></td>
</tr>
</table>
</td>
</tr>
<!--臂 冠胶 场-->
<tr>
<td height="7"></td>
</tr>
<!--滚瓢 矫累-->
<tr>
<td>
<table width="240" height="17" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
<td width="40" height="17" bgcolor="#bd7eff" align="center"><a href="<%=url_path%>/soulmate/soulmate_g.jsp?mphone=<%=mphone%>&gphone=<%=gphone %>"><font color="#ffffff">犬牢</font></a></td>
<td></td>
</tr>
</table>
</td>
</tr>
<!--滚瓢 场-->
<!--咯归 矫累-->
<tr>
<td height="46"></td>
</tr>
<!--咯归 场-->
<!--窍窜 版肺钎矫 矫累-->
<tr>
<td>
<table width="240" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" bgcolor="#BBC7C8"></td>
<td width="220" bgcolor="#DAE6E8" height="19"> <a href="<%=url_path+"/main.jsp?mphone="+mphone+"&gphone="+gphone%>">权</a>>
<a href="<%=url_path%>/mypage/my_confirm.jsp?mphone=<%=mphone%>&gphone=0<%=gphone%>"><%=hostNickname%>丛狼 迄乔</a>>
<a href="<%=url_path%>/soulmate/soulmate_g.jsp?mphone=<%=mphone%>&gphone=<%=gphone %>">家匡皋捞飘</a>>炼福扁</td>
<td width="10" bgcolor="#BBC7C8"></td>
</tr>
</table>
</td>
</tr>
<!--窍窜 版肺钎矫 场-->
</table>
<!--窍窜 版肺钎矫 矫累-->
<%@ include file="../newbottom.jsp"%>
<!--窍窜 版肺钎矫 场-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -