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

📄 answerregisteradd.jsp

📁 用手机浏览的一个类似于聊天室 博克 homepage 等 对这方面有 兴趣的朋友 有所帮助的
💻 JSP
📖 第 1 页 / 共 3 页
字号:
<!-------------------------------------------------------------
* @ name: answerRegisterAdd.jsp
* @ Author : linaZhou 
* @ date :2008-06-25
-------------------------------------------------------------->
<%@ 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));
    /*------------------------------------------------------------------------------------------------------
	+	傈开 函荐
	-------------------------------------------------------------------------------------------------------*/
	String nickname 					= "";
	String answerType					= "0";
	int type 							= 0;
	
	if(request.getParameter("answerType") != null){
		answerType = request.getParameter("answerType");
	}
	type = Integer.parseInt(answerType);
	/*------------------------------------------------------------------------------------------------------
	+	DB 包访 函荐
	-------------------------------------------------------------------------------------------------------*/
	PreparedStatement pstmt = null;
	Connection con = null;
	Statement stmt = null;
	ResultSet rs = null;
	String query1 = null;
    String sql = null;
	/*------------------------------------------------------------------------------------------------------
	+	朝楼 包访	
	-------------------------------------------------------------------------------------------------------*/
	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"%>
	<%  
    /**************************************
			胶鸥客 嘎苗焊绰 矾宏款技!
	***************************************/
	stmt = con.createStatement(); 	
	query1=" SELECT nickname FROM GT_user_Info WITH (READUNCOMMITTED) WHERE phonenum = CONVERT( bigint,'"+mphone+"')";
	rs=stmt.executeQuery(query1);
	if(rs.next()){
		nickname = rs.getString("nickname");
	}
	if(rs != null)  rs.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>
	<!-- 咯归 场 -->
	<!-- 龙巩 矫累 -->
<%
	if(answerType.equals("0")){
%>
<table width="240" border="0" cellspacing="0" cellpadding="0">
	<!-- 鸥捞撇 矫累 -->
	<tr>
		<td>
			<table width="240" 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="8">
		<td></td>
	</tr>
	<!-- 咯归 场 -->
	<!-- 辑宏 鸥捞撇 矫累 -->
	<tr>
		<td align="center">
			<font color="#716e63">30巩 30翠篮 汲沥登绢 乐绰 </font><font color="<%=mainBgColor%>">扁夯巩翠</font><font color="#716e63">苞</font><br>
			<font color="#716e63">磊脚捞 操固绰 </font><font color="<%=mainBgColor%>">磊蜡巩翠 </font><font color="#716e63">吝 茄啊瘤甫 急琶</font><br>
			<font color="#716e63">窍寂辑 操固角 荐 乐嚼聪促.</font>
		</td>
	</tr>
	<tr height="8">
		<td></td>
	</tr>
	<tr>
		<td>
			<form name="answerFormType" action="answerRegisterAdd.jsp" method="post" >
			<table width="240" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>
						<input type="hidden" name="mphone" value="<%=java.net.URLEncoder.encode(mphone)%>">	
						<input type="hidden" name="gphone" value="<%=java.net.URLEncoder.encode(gphone)%>">	
					</td>
					<td width="76">
						<select name="answerType" align="center" valign="middle">							
							<option value="0" selected> 扁夯巩翠 </option>
							<option value="1"> 磊蜡巩翠 </option>
						</select>
					</td>
					<td width="2"></td>
					<td width="33" bgcolor="<%=mainBgColor%>" align="center"><a href="javascript:document.answerFormType.submit();"><font color="#ffffff">犬牢</font></a></td>
					<td></td>
				</tr>
			</table>
			</form>
		</td>
	</tr>
	<tr height="8">
		<td></td>
	</tr>	
	<tr>
		<!-- 痢急 矫累 -->
		<td>
			<table width="240" border="0" cellspacing="0" cellpadding="0">
				<tr height="1">
					<td width="4"></td>
					<td bgcolor="#efebd5"></td>
					<td width="4"></td>
				</tr>
			</table>
		</td>
		<!-- 痢急 场 -->
	</tr>	
	<!-- 辑宏 鸥捞撇 场 -->
	<!-- 咯归 矫累 -->
	<tr height="8">
		<td></td>
	</tr>
</table>	
<form name="answerForm" action="answerRegisterAction.jsp" method="post" >
<table width="240" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<table width="240" border="0" cellspacing="0" cellpadding="0">	
				<tr>
					<td width="10">
					<input type="hidden" name="type" value = 0> 					
				    <input type="hidden" name="nickname" value="<%=nickname%>">	
				    <input type="hidden" name="mphone" value="<%=mphone%>">	
				    <input type="hidden" name="gphone" value="<%=gphone%>">						     
					<input type="hidden" name="question01" value="郴 喊疙 :">
					<input type="hidden" name="question02" value="虐/个公霸 :">	
					<input type="hidden" name="question03" value="矫仿 :">		
					<input type="hidden" name="question04" value="亮酒窍绰 澜侥 :">	
					<input type="hidden" name="question05" value="饺绢窍绰 澜侥 :">	
					<input type="hidden" name="question06" value="亮酒窍绰 楷抗牢 :">	
					<input type="hidden" name="question07" value="郴 秒固 :">	
					<input type="hidden" name="question08" value="捞惑屈 :">	
					<input type="hidden" name="question09" value="亮酒窍绰 箭磊 :">	
					<input type="hidden" name="question10" value="郴 己拜 :">	
					<input type="hidden" name="question11" value="瘤陛 庆绢胶鸥老 :">	
					<input type="hidden" name="question12" value="眠备窍绰 菩记 :">	
					<input type="hidden" name="question13" value="亮酒窍绰 胶器明 :">	
					<input type="hidden" name="question14" value="瘤陛 绒措迄 骇家府 :">	
					<input type="hidden" name="question15" value="绒措迄 历厘锅龋 1锅 :">	
					<input type="hidden" name="question16" value="窍风 侩捣 :">	
					<input type="hidden" name="question17" value="荤绰 镑 :">	
					<input type="hidden" name="question18" value="亮酒窍绰 康拳 :">	
					<input type="hidden" name="question19" value="亮酒窍绰 祸彬 :">	
					<input type="hidden" name="question20" value="亮酒窍绰 唱扼 :">	
					<input type="hidden" name="question21" value="窍风 公霸鸥 捞侩矫埃 :">	
					<input type="hidden" name="question22" value="榴败啊绰 厘家 :">	
					<input type="hidden" name="question23" value="磊林窍绰 霸烙 :">	
					<input type="hidden" name="question24" value="亮酒窍绰 朝揪 :">	
					<input type="hidden" name="question25" value="扁撅俊 巢绰 氓 :">	
					<input type="hidden" name="question26" value="脆篮 蜡疙牢 :">	
					<input type="hidden" name="question27" value="亮酒窍绰 拌例 :">	
					<input type="hidden" name="question28" value="爱绊 酵篮 拱扒 :">	
					<input type="hidden" name="question29" value="亮酒窍绰 某腐磐 :">	
					<input type="hidden" name="question30" value="模备甸俊霸 :">
					</td>
					<td>										
						<table border="0" cellspacing="0" cellpadding="0">							
							<tr align="right">
								<td><font color="<%=mainBgColor%>" size="3">茄臂20磊鳖瘤涝仿啊瓷(40byte)</font></td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>
							<tr>
								<td>
									<font color="#716e63">1. 郴 喊疙 : </font><input name="answer01" type="text" width="157" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">2. 虐/个公霸 : </font><input name="answer02" type="text" width="144" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>
							<tr>
								<td>
									<font color="#716e63">3. 矫仿 : </font><input name="answer03" type="text" width="172" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">4. 亮酒窍绰 澜侥 : </font><input name="answer04" type="text" width="124" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>						
							<tr>
								<td>
									<font color="#716e63">5. 饺绢窍绰 澜侥 : </font><input name="answer05" type="text" width="124" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">6. 亮酒窍绰 楷抗牢 : </font><input name="answer06" type="text" width="113" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">7. 郴 秒固 : </font><input name="answer07" type="text" width="157" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">8. 捞惑屈 : </font><input name="answer08" type="text" width="161" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">9. 亮酒窍绰 箭磊 : </font><input name="answer09" type="text" width="124" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">10. 郴 己拜 : </font><input name="answer10" type="text" width="151" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">11. 瘤陛 庆绢胶鸥老 : </font><input name="answer11" type="text" width="107" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">12. 眠备窍绰 菩记 : </font><input name="answer12" type="text" width="118" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">13. 亮酒窍绰 胶器明 : </font><input name="answer13" type="text" width="107" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>						
							<tr>
								<td>
									<font color="#716e63">14. 瘤陛 绒措迄 骇家府 : </font><input name="answer14" type="text" width="92" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">15. 绒措迄 历厘锅龋 1锅 : </font><input name="answer15" type="text" width="86" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>						
							<tr>
								<td>
									<font color="#716e63">16. 窍风 侩捣 : </font><input name="answer16" type="text" width="140" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>
							<tr height="4">
								<td></td>
							</tr>							
							<tr>
								<td>
									<font color="#716e63">17. 荤绰 镑 : </font><input name="answer17" type="text" width="151" defaultimemode="1" imemode="0" maxlength="40">
								</td>
							</tr>

⌨️ 快捷键说明

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