⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gameuserment_modify.jsp

📁 用手机浏览的一个类似于聊天室 博克 homepage 等 对这方面有 兴趣的朋友 有所帮助的
💻 JSP
字号:
<%@ 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"%>
<%
	/*------------------------------------------------------------------------------------------------------
	+	扁夯 颇扼固磐
	-------------------------------------------------------------------------------------------------------*/
	String	mphone				= request.getParameter("mphone");
	String	gphone				= request.getParameter("mphone");
	String	szIdx					=	request.getParameter("idx");
	String	szGameIdx			=	request.getParameter("game_idx");
	String	szPlayType			=	request.getParameter("gamePlayType");
	
	if(szPlayType == null || "".equals(szPlayType) || "null".equals(szPlayType))
	{
		szPlayType = "1";
	}

	String	szDefaultParam	=	"mphone="+mphone+"&gphone="+gphone+"&game_idx="+szGameIdx+"&gamePlayType="+szPlayType;
	
	String	szSQL				=	null;
	String	szText				=	null;
	String	szGameName		=	null;
	String	szType				=	null;

	Connection					con		= null;
	PreparedStatement		pstmt	= null;
	Statement					stmt		= null;
	ResultSet					rs			= null;

	try
	{
		//=========================== 傍烹函券累诀 : 2008-01-21 ===========================

		/**
		 * 公丰霸烙鸥款 矫胶袍痢八 棺 喉发蜡历 八免
		 * 
		 * @ date		?8-01-21
		 * @ version			1.2.0
		 */

		String SYSTEM_PARAMETER_SET = "?mphone="+request.getParameter("mphone")+"&gphone="+request.getParameter("mphone");
		String SYSTEM_PHONE_NUMBER = request.getParameter("mphone");

		// 矫胶袍 痢八 眉农
		//
		if(IS_SYSTEM_CHECK)
		{
			if( ! IS_TESTER_MODE )
			{
				response.sendRedirect(url_path+"/system_notice.jsp"+SYSTEM_PARAMETER_SET);
				return;
			}
		}
		// DB 楷搬捞 登瘤 臼阑 锭, 救郴芒栏肺 捞悼
		//
		con = DBConnector.getConnection(db_name);
		if( con == null )
		{
			response.sendRedirect(url_path+"/system_notice2.jsp"+SYSTEM_PARAMETER_SET);
			return;
		}
		// 矫胶袍痢八 吝捞咯档 抛胶磐绰 荤侩啊瓷
		//
		if( IS_TESTER_MODE )
		{
			boolean isTester = DBConnector.chkTester( con, SYSTEM_PHONE_NUMBER );
			if( ! isTester )
			{
				response.sendRedirect(url_path+"/system_notice.jsp"+SYSTEM_PARAMETER_SET);
				return;
			}
		}
		// 喉发蜡历牢瘤 眉农, 
		//
		boolean isBlackUser = DBConnector.chkBlackList( con, SYSTEM_PHONE_NUMBER );
		if( isBlackUser ) 
		{
			response.sendRedirect(url_path+"/bad_member.jsp"+SYSTEM_PARAMETER_SET);
			return;
		}

		//=========================== 傍烹函券累诀 : 2008-01-21 ===========================
		

		/*------------------------------------------------------------------------------------------------------
		+	霸烙疙 啊廉坷扁
		-------------------------------------------------------------------------------------------------------*/
		szSQL = "SELECT game_title FROM GT_game WHERE game_idx = " + szGameIdx;
		pstmt = con.prepareStatement(szSQL);
		rs = pstmt.executeQuery();

		if( rs.next() )
		{
			szGameName = rs.getString("game_title");
		}

		rs.close();
		pstmt.close();
		
		/*------------------------------------------------------------------------------------------------------
		+	臂 郴侩 啊廉坷扁
		-------------------------------------------------------------------------------------------------------*/
		szSQL = "SELECT text,idx FROM GT_GameUserMent WHERE phonenum = "+Long.parseLong(mphone)+" AND gameIdx = " + szGameIdx;
		pstmt = con.prepareStatement(szSQL);
		rs = pstmt.executeQuery();

		if( rs.next() )
		{
			szText	= rs.getString("text");
			szIdx		= rs.getString("idx");
			szType	=	"modify";
		}
		else
		{
			szText = "珐欧内膏飘啊 绝嚼聪促.\r\n累己秦林技夸";
			szIdx		= "0";
			szType	=	"reg";
		}
		
		rs.close();
		pstmt.close();
	}
	catch(Exception e)
	{
		out.println(e);
		throw e;
	}
	finally
	{
		if(rs !=null) try{rs.close();}catch(Exception se){}
		if(pstmt !=null) try{pstmt.close();}catch(Exception es){}
		if(stmt !=null) try{stmt.close();}catch(Exception es){}
		if(con !=null) try{con.close();}catch(Exception es){}
	}
%>

<!--
* @ 权 > 霸烙鸥款 > 臂静扁
* @ Author : 辫瘤绕( 2008-01-16 )
* @ Images : 其捞瘤 救俊 甸绢啊绰 捞固瘤
-->
<html>
<head>
<title>臂静扁</title>
<link href="mobile.css" rel="stylesheet" type="text/css">
</head>
<body>

<form method="post" name="form1" action="<%=url_path%>/game/GameUserMent_proc.jsp">

<input type="hidden" name="refer" value="2">
<input type="hidden" name="type" value="<%=szType%>">
<input type="hidden" name="Idx" value="<%=szIdx%>">
<input type="hidden" name="mphone" value="<%=mphone%>">
<input type="hidden" name="gphone" value="<%=gphone%>">
<input type="hidden" name="game_idx" value="<%=szGameIdx%>">
<input type="hidden" name="gamePlayType" value="<%=szPlayType%>">


<table width="176" border="0" cellspacing="0" cellpadding="0">
<!--鸥捞撇 矫累-->
	<tr>
		<td>

			<table width="176" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="3" bgcolor="#A8BFFF"></td>
				</tr>
				<tr>
					<td height="13" bgcolor="#6A76F2">&nbsp;&nbsp;<font color="#ffffff"><%=szGameName%></font></td>
				</tr>
				<tr>
					<td height="3" bgcolor="#A8BFFF"></td>
				</tr>
				<tr>
					<td height="1" bgcolor="#6A76F2"></td>
				</tr>
			</table>

		</td>
	</tr>
<!--鸥捞撇 矫累-->

<!--咯归 矫累-->
  <tr>
    <td height="3"></td>
  </tr>
<!--咯归 场-->

  <tr>
    <td align="center">
		<font color="#666666">珐欧拳搁俊辑 焊咯龙 郴侩阑<br>累己秦 林技夸.<font color="#ff0000">(垮汲,厚规 矫 版绊,碍硼贸府)</font></font>

	</td>
  </tr>

<!--咯归 矫累-->
  <tr>
    <td height="8"></td>
  </tr>
<!--咯归 场-->


<!--咆胶飘 涝仿 矫累-->
  <tr> 
     <td align="center" bgcolor="#dae6e8">
		<table>
			<tr>
				<td width="10"></td>
				<td>
				     <table border="0" cellspacing="0" cellpadding="0">
						<tr height="6">
							<td></td>
						</tr>
 
						<tr>
							<td width="156" align="center">
							<!--角力 咆胶飘 免仿 矫累-->
								<textarea rows="8" cols="25" height="115" width="156" name="text" defaultimemode="1" maxlength="200"><%=szText%></textarea>
							<!--角力 咆胶飘 免仿 场-->
							</td>
						</tr>

						<tr height="6">
						    <td></td>
						 </tr>
        </table>
				</td>
				<td width="10"></td>
			</tr>
		</table>
        </td>
  </tr>
<!--咆胶飘 涝仿 场-->


<!--咯归 矫累-->
  <tr>
    <td height="3"></td>
  </tr>
<!--咯归 场-->




<!--滚瓢 矫累-->
  <tr>
    <td align="center">
        <table>
           <tr height="16">
				<td></td>
              <td width="55" bgcolor="#a8bfff" align="center"><font color="#ffffff"><a href="javascript:document.form1.submit();">历厘</a></font></td>
			  <td></td>
	
          </tr>
        </table>
    </td>
  </tr>
<!--滚瓢 场-->




<!--咯归 矫累-->
  <tr>
    <td height="11"></td>
  </tr>
<!--咯归 场--> 


<!--版肺钎矫 矫累-->
  <tr>
     <td>
		<table width="176" border="0" cellpadding="0" cellspacing="0">
		<tr height="15">
			<td width="10" bgcolor="#BBC7C8"></td>
			<td bgcolor="#DAE6E8">&nbsp;<a href="<%=url_path%>/main.jsp?mphone=<%=mphone%>&gphone=<%=gphone%>">权</a>&gt;<a href="<%=url_path%>/ranking/game_gamename.jsp?<%=szDefaultParam%>">霸烙鸥款</a>&gt;珐欧内膏飘</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 + -