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

📄 30q&a_you_reple.jsp.svn-base

📁 用手机浏览的一个类似于聊天室 博克 homepage 等 对这方面有 兴趣的朋友 有所帮助的
💻 SVN-BASE
字号:
<!-------------------------------------------------------------
* @ name: 30q&a_You_reple.jsp
* @ Author : linaZhou 
* @ date :2008-07-02
-------------------------------------------------------------->
<%@ page import='java.io.*,java.text.*,java.util.Date,java.util.*, 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="appConstants.jsp"%>
<%@ include file="formatUtil.jsp"%>
<%@ include file="../makeKOR.jsp"%>
<style   type="text/css">  
A:hover {
 COLOR: #000000; TEXT-DECORATION: underline
}
A:link {
 COLOR: #000000; TEXT-DECORATION: underline
}
A:visited {
 COLOR: #000000; TEXT-DECORATION: underline
}
</style> 
<%! 	 
public static String isNull(String str){ 
	if (str == null) 
		return ""; 
	else 
		return str; 
} 	
%>
	<% 
	/*------------------------------------------------------------------------------------------------------
	+	扁夯 颇扼固磐
	-------------------------------------------------------------------------------------------------------*/
	String mphone = request.getParameter("mphone");
	String gphone = request.getParameter("gphone");
	if(mphone == null){
		mphone= "09900100081";
	}	
	if(gphone == null){
		gphone = mphone;
	}
	mphone = getStrPhone(getLong(mphone));
 	gphone = getStrPhone(getLong(gphone));	
	/*------------------------------------------------------------------------------------------------------
		+	傈开 函荐
	-------------------------------------------------------------------------------------------------------*/
	int idx 		= 0;
    String nickname = "";
    int reCnt 		= 0;
    
    idx = Integer.parseInt(request.getParameter("idx"));
	/*------------------------------------------------------------------------------------------------------
	+	DB 包访 函荐
	-------------------------------------------------------------------------------------------------------*/
	PreparedStatement pstmt = null;
	Connection con = null;
	Statement stmt = null;
	ResultSet rs = null;
	String query1 = null;
    String sql = null;
    int ret = -1;
	/*------------------------------------------------------------------------------------------------------
	+	朝楼 包访	
	-------------------------------------------------------------------------------------------------------*/
	Timestamp di_date = null;
	Date today = new Date();
	SimpleDateFormat timeform;
	timeform = new SimpleDateFormat("MM/dd HH:mm");
	try
	{
	/*------------------------------------------------------------------------------------------------
	 *		DB 目池记
	 -------------------------------------------------------------------------------------------------*/
	%>
	<%@ include file="../getConnection.jsp"%>
	<%@ include file="bgColor.jsp"%>
	<%	
	/*------------------------------------------------------------------------------------------------
	 *		getnickname
	 -------------------------------------------------------------------------------------------------*/
	sql = " SELECT nickname FROM GT_User_Info WITH (READUNCOMMITTED) WHERE phonenum='"+gphone+"'" ; 
	pstmt = con.prepareStatement(sql);	
	rs = pstmt.executeQuery();		 
	if( rs.next() )
	{
		nickname = rs.getString("nickname");
	}else{
		nickname = "绝澜";
	}
	rs.close();
	pstmt.close();
		 
	query1 = " SELECT reCnt FROM GT_Ns30question WITH (READUNCOMMITTED) WHERE idx ="+idx;		 
	pstmt = con.prepareStatement(query1);		 
	rs = pstmt.executeQuery();		 
    if(rs.next()){ 
		reCnt =rs.getInt("reCnt");
	}
	rs.close();	 
	pstmt.close();
%>
<html>
<head>
<title></title>
<link href="http://entaz.mugeta.com/client/mugeta_v2_test/web/user/mobile.css" rel="stylesheet" type="text/css">
</head>
<body>	
<form name="repleForm" action="answerRepleAction.jsp" method="post" >
<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%>">
					<input name="idx" type="hidden" value="<%=idx%>">
					<input name="reCnt" type="hidden" value="<%=reCnt%>">
					<input type="hidden" name="mphone" value="<%=java.net.URLEncoder.encode(mphone)%>">	
					<input type="hidden" name="gphone" value="<%=java.net.URLEncoder.encode(gphone)%>"></td>
					<td bgcolor="<%=mainBgColor%>"><font color="#ffffff">春胶巩翠乞啊</font></td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- 鸥捞撇 场 -->
	<!-- 咯归 矫累 -->
	<tr height="5">
		<td></td>
	</tr>
	<!-- 咯归 场 -->
	<!-- 鸥捞撇 牧刨明 矫累 -->
	<tr>
		<td align="center">
			<font color="#716e63"><%=nickname%>丛狼 30巩 30翠俊 措秦
			皑惑<br>府敲阑 崔酒林技夸. 胶萍目甫 捞侩秦<br>
			岗瘤霸 皑惑 乞阑 巢扁磊备夸.</font>
		</td>
	</tr>
	<!-- 鸥捞撇 牧刨明 场 -->
	<!--咯归 矫累-->
	<tr>
		<td height="4"></td>
	</tr>
	<!--咯归 场-->
	<!-- 冠胶 矫累 -->
	<tr>
		<td>				
			<table width="176" border="0" cellspacing="0" cellpadding="0" bgcolor="#f5f3e6">
				<tr height="4">
					<td colspan="3"></td>
				</tr>
				<tr>
					<td width="8"></td>
					<td><font color="#acacac" size="3">郴侩涝仿(茄臂 400臂磊 800byte)</font></td>
					<td width="8"></td>
				</tr>
				<tr>
					<td width="8"></td>
					<td width="160">
					    <textarea name="repleContent" rows="15" cols="28" height="150" defaultimemode="1" imemode="0" maxlength="800"></textarea>					
					</td>
					<td width="8"></td>
				</tr>
				<tr height="4">
					<td colspan="3"></td>
				</tr>
				<tr>
					<td width="8"></td>
					<td align="center">
						<table border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td></td>
								<td width="66"><font color="#716e63">胶萍目 嘿捞扁</font></td>
								<td width="4"></td>
								<td width="64">
									<select name="stickerType" align="center" valign="middle">
										<option Selected value="1">青款阑呼绢!</option>
										<option value="2">磺磺!!</option>
										<option value="3">饿饿扼~</option>
										<option value="4">岗柳窍风!</option>
										<option value="5">率瘤拎夸!</option>
										<option value="6">快匡秦~</option>
										<option value="7">曼肋沁绢夸!</option>
										<option value="8">俊扼捞~!</option>
										<option value="9">谅例陛瘤!!</option>
										<option value="10">快空被!!</option>
									</select>
								</td>
								<td></td>
							</tr>							
						</table>							
					</td>
					<td width="8"></td>
				</tr>
				<tr height="4">
					<td colspan="3"></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:repleForm.submit();"><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="11">
		<td></td>
	</tr>
	<!-- 咯归 场 -->
	<!--版肺钎矫 矫累-->
	<tr>
		<td>
			<table width="176" border="0" cellspacing="0" cellpadding="0">
				<tr height="15">
					<td width="8" bgcolor="#BBC7C8"></td>
					<td bgcolor="#DAE6E8">&nbsp;<a href="<%=url_path%>/main.jsp?mphone=<%=mphone%>&gphone=<%=gphone%>">权</a>&gt;<a href="<%=url_path%>/mypage/my_confirm.jsp?mphone=<%=mphone%>&gphone=<%=gphone%>"><%=nickname%>丛狼迄乔</a>&gt;<a href="<%=url_path%>/news/NewsMain.jsp?mphone=<%=mphone%>&gphone=<%=gphone%>">春胶</a>&gt;巩翠乞啊</td>
					<td width="8" bgcolor="#BBC7C8"></td>
				</tr>
			</table>
		</td>
	</tr>
	<!--版肺钎矫 场-->
</table>
</form>
<!--窍窜 版肺钎矫 矫累-->
<%@ include file="../newbottom.jsp"%>
<!--窍窜 版肺钎矫 场-->
</body>
</html>
<%
	}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){}
	}
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -