📄 gamecouple.jsp.svn-base
字号:
<!--------------------------------------------------------------------------------------------------------------
*@富巢扁扁
*@Author : 弥眠岿 (2008-5-22)
*@Images : 其捞瘤 救俊 甸绢啊绰 捞固瘤
1) bg_01.png - 抛捞喉 弥惑窜 硅版捞固瘤(仟弗祸)
--------------------------------------------------------------------------------------------------------------->
<%@ 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"%>
<%@ include file="../makeKOR.jsp"%>
<%
/***********************************************************************
@ Page Description
富巢扁扁 其捞瘤
@ Parameter
***********************************************************************/
/*------------------------------------------------------------------------------------------------------
+ 扁夯 颇扼固磐
-------------------------------------------------------------------------------------------------------*/
String mphone= request.getParameter("mphone");
long mmphone = Long.parseLong(mphone);
String gphone= request.getParameter("gphone");
String name = java.net.URLDecoder.decode(makeKOR(request.getParameter("name")));
String gamePlayType = request.getParameter("gamePlayType");
int sex = Integer.parseInt(request.getParameter("sex"));
String nickname = java.net.URLDecoder.decode(makeKOR(request.getParameter("nickname")));
String game_title =java.net.URLDecoder.decode(makeKOR(request.getParameter("game_title")));
int game_idx =Integer.parseInt(request.getParameter("game_idx"));
/*------------------------------------------------------------------------------------------------------
+ DB 包访 函荐
-------------------------------------------------------------------------------------------------------*/
PreparedStatement pstmt = null;
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
String szCount = null;
try
{
/*------------------------------------------------------------------------------------------------
* DB 目池记
-------------------------------------------------------------------------------------------------*/
%><%@ include file="../getConnection.jsp"%><%
/*------------------------------------------------------------------------------------------------
* GT_GameCoupleLog insert
-------------------------------------------------------------------------------------------------*/
szCount="insert into GT_GameCoupleLog (phonenum,regdate) values (?,CONVERT(char(20),GETDATE(),110))";
pstmt = con.prepareStatement(szCount);
pstmt.setLong(1,mmphone);
pstmt.executeUpdate();
pstmt.close();
/*------------------------------------------------------------------------------------------------
* GT_GameCouple insert
-------------------------------------------------------------------------------------------------*/
szCount="insert into GT_GameCouple (game_idx,game_title,phonenum_man,nickname_man,phonenum_woman,"
+"nickname_woman,gamescore_man,gamescore_woman,regdate)"
+" values (?,?,?,?,?,?,0,0,CONVERT(char(20),GETDATE(),110))";
pstmt = con.prepareStatement(szCount);
pstmt.setInt(1,game_idx);
pstmt.setString(2,game_title);
if(sex == 1)
{
pstmt.setString(3,mphone);
pstmt.setString(4,nickname);
pstmt.setString(5,gphone);
pstmt.setString(6,name);
}
else
{
pstmt.setString(3,gphone);
pstmt.setString(4,name);
pstmt.setString(5,mphone);
pstmt.setString(6,nickname);
}
pstmt.executeUpdate();
pstmt.close();
}
catch(Exception e)
{
out.println(e);
}
finally
{
if(rs != null) try{ rs.close(); }catch(Exception se){}
if(pstmt != null) try{ pstmt.close(); }catch(Exception se){}
if(stmt != null) try{ stmt.close(); }catch(Exception se){}
if(con != null) try{ con.close(); }catch(Exception se){}
}
%>
<html>
<head>
<link href="../mobile.css" rel="stylesheet" type="text/css">
<title>富巢扁扁</title>
</head>
<!--剧侥
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
-->
<body>
<form name="form1" action="GameGuestBook_proc.jsp" method="post">
<input type="hidden" name="gametype" value="0"/>
<input type="hidden" name="mphone" value="<%= mphone%>"/>
<input type="hidden" name="gphone" value="<%= gphone%>"/>
<input type="hidden" name="name" value="<%= name%>"/>
<input type="hidden" name="gamePlayType" value="<%= gamePlayType%>"/>
<input type="hidden" name="game_idx" value="<%= game_idx%>"/>
<input type="hidden" name="game_title" value="<%= game_title%>"/>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<!--鸥捞撇 矫累-->
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" height="2" bgcolor="#a8bfff"></td>
</tr>
<tr>
<td width="6" height="14" bgcolor="#6a76f2"></td>
<td height="14" bgcolor="#6a76f2"><font color="#ffffff">富 巢扁扁</font></td>
</tr>
<tr>
<td colspan="2" height="2" bgcolor="#a8bfff"></td>
</tr>
<tr>
<td colspan="2" height="1" bgcolor="#6a76f2"></td>
</tr>
</table>
</td>
</tr>
<!--鸥捞撇 场-->
<!--咯归 矫累-->
<tr>
<td height="5"></td>
</tr>
<!--咯归 场-->
<!--皋飘 冠胶 矫累-->
<tr>
<td align="center">
<font color="#616667">惑措狼 规疙废俊<br>
巢辨 富阑 利绢林技夸. 殿废窍搁<br>
官肺 霸烙捞 矫累邓聪促.</font>
</td>
</tr>
<!--皋飘 冠胶 场-->
<!--咯归 矫累-->
<tr>
<td height="5"></td>
</tr>
<!--咯归 场-->
<!--舅覆 冠胶 矫累-->
<tr>
<td>
<table width="176" bgcolor="#dae6e8" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" height="5"></td>
</tr>
<!--酒官鸥 郴侩 冠胶 矫累-->
<tr>
<td width="8"></td>
<td>
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<!--酒官鸥 矫累-->
<td width="48" align="top" ><img src="<%=ava_path%>display_thumb.jsp?mphone=<%=mphone%>&gphone=<%=gphone%>" width="48" height="54" border="0"></td>
<!--酒官鸥 场-->
<td width="8"></td>
<!--郴侩 矫累-->
<td width="108">
<table width="108" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="17"><font color="#6466ff"><b>罐绰捞 :</b></font></td>
</tr>
<tr>
<td height="17"><a href="<%=url_path%>/mypage/my_confirm.jsp?mphone=<%=mphone%>&gphone=<%=gphone%>"><font color="#6466ff"><%=name %></font></a></td>
</tr>
</table>
</td>
<!--郴侩 场-->
</tr>
</table>
</td>
<td width="8"></td>
</tr>
<!--酒官鸥 郴侩 冠胶 场-->
<tr>
<td colspan="3" height="3"></td>
</tr>
<!--涝仿 冠胶 矫累-->
<tr>
<td width="8"></td>
<td>
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<textarea name="guestbook" rows="85" cols="27" maxlength="300"></textarea>
</td>
</tr>
</table>
</td>
<td width="8"></td>
</tr>
<!--涝仿 冠胶 场-->
<tr>
<td colspan="3" height="5"></td>
</tr>
</table>
</td>
</tr>
<!--舅覆 冠胶 场-->
<!--咯归 矫累-->
<tr>
<td height="5"></td>
</tr>
<!--咯归 场-->
<!--滚瓢 矫累-->
<tr>
<td>
<table width="176" height="16" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
<td width="55" height="16" bgcolor="#a8bfff" align="center"><a href="javascript:form1.submit()"><font color="#ffffff">殿废窍扁</font></a></td>
<td></td>
</tr>
</table>
</td>
</tr>
<!--滚瓢 场-->
<!--咯归 矫累-->
<tr>
<td height="10"></td>
</tr>
<!--咯归 场-->
<!--窍窜 版肺钎矫 矫累-->
<tr>
<td>
<table width="176" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" bgcolor="#BBC7C8"></td>
<td width="156" bgcolor="#DAE6E8" height="19"> <a href="<%=url_path+"/main.jsp?mphone="+mphone+"&gphone="+gphone%>"> 权</a>> <a href="<%=url_path+"/ranking/game.jsp?mphone="+mphone+"&gphone="+gphone+"&linkFlag=0"%>">霸烙皋牢</a>>目敲霸烙</td>
<td width="10" bgcolor="#BBC7C8"></td>
</tr>
</table>
</td>
</tr>
<!--窍窜 版肺钎矫 场-->
</table>
<!--窍窜 版肺钎矫 矫累-->
<%@ include file="../newbottom.jsp"%>
<!--窍窜 版肺钎矫 场-->
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -