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

📄 lovemng_zp.jsp

📁 用手机浏览的一个类似于聊天室 博克 homepage 等 对这方面有 兴趣的朋友 有所帮助的
💻 JSP
📖 第 1 页 / 共 2 页
字号:
				
				int count = 0 ; //其捞瘤 墨款磐 函荐
				while(count<pagesize)
				{
				count++;
				strOppNickname = rs.getString("nickname");
				sex = rs.getInt("sex");
				age = rs.getInt("age");	
				guestPhone = rs.getString("phonenum");
				regdate =rs.getString("regdate");
				text = rs.getString("text");
				
				
				/*------------------------------------------------------------------------------------------------
				 *		Quiz opponent's attentionPoint
				 -------------------------------------------------------------------------------------------------*/
				sql = " select nickname,sex,(substring(convert(varchar(8),getDate(),112),0,5)-year) age,attention_point "
					+" from Gt_user_info a WITH (READUNCOMMITTED), gt_lucky_attention_point b WITH (READUNCOMMITTED) where a.phonenum=b.phonenum and convert(bigint,a.phonenum)="+Long.parseLong(mphone)+" and b.guest_phone ="+Long.parseLong(guestPhone);
				pstmt = con.prepareStatement(sql);
				
				rs1 = pstmt.executeQuery();
				if(rs1.next()){
					attentionPoint = rs1.getInt("attention_point");
				}
				
				/*------------------------------------------------------------------------------------------------
				 *		Quiz opponent's attentionPoint
				 -------------------------------------------------------------------------------------------------*/
				sql = " select nickname,sex,(substring(convert(varchar(8),getDate(),112),0,5)-year) age,attention_point "
					+" from Gt_user_info a WITH (READUNCOMMITTED), gt_lucky_attention_point b WITH (READUNCOMMITTED) where a.phonenum=b.phonenum and convert(bigint,a.phonenum)="+Long.parseLong(guestPhone)+" and b.guest_phone ="+Long.parseLong(mphone);
				pstmt = con.prepareStatement(sql);
				
				rs1 = pstmt.executeQuery();
				if(rs1.next()){
					myAttentionPoint = rs1.getInt("attention_point");
				}
		 %>
		 
		 
		 <tr>
		<td>
			<table width="176" bgcolor="#eeeeee" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td colspan="2" height="2"></td>
				</tr>
				<tr>
					<td width="15" height="15">
					<%if(sex ==1) { %> 
						<img src="<%=img_path%>images/soulmate/icon_01.png">
					<%}else{ %>
						<img src="<%=img_path%>images/soulmate/m.png">
					 <%}%>
					</td>
					<td><font color="#545454"><b><a href="<%=url_path+"/soulmate/LoveMatch_zp.jsp?mphone="+mphone+"&gphone="+guestPhone%>"><%=strOppNickname%>丛</a></b></font>&nbsp;
						<font color="#c085ed"><%if(sex == 1){ %>
											咯己  <%=age%>技
											<%}else{ %>
											巢己 <%=age%>技
											<%} %></font></td>
				</tr>
				<tr>
					<td width="15"></td>
					<td><font color="#909090"><%=regdate%></font></td>
				</tr>
				<tr>
					<td colspan="2" height="3"></td>
				</tr>

				<!--概莫 郴侩 矫累-->
				<tr>
					<td colspan="2">
						<table width="176" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td colspan="3" height="3"></td>
							</tr>
							<tr>
								<td width="15"></td>
								<td><font color="#ff6b94"><%=strOppNickname%>丛俊</font><br>
									<font color="#ff6b94">措茄 包缴档</font>&nbsp;<font color="#ff6b94" size="5">
											<%
											if(myAttentionPoint>=24){
											%>
												<%=strNickname %>丛阑 亮酒窍绊 乐绢夸~
											<%												
											}else if(myAttentionPoint>=20 && myAttentionPoint<=23){
											%>
												<%=strNickname %>丛俊霸 包缴捞 乐绢夸~
											<%
											}else{
											
												for(int k=0;k<myAttentionPoint/4;k++){
											%>
											<%
												}
												if(myAttentionPoint%4>=2){
											%>
											<% 
												}
											}
											%>
									</font><br>
									<font color="#ff6b94">郴霸 焊咯霖 包缴档</font>&nbsp;<font color="#ff6b94" size="5"><%
											if(attentionPoint>=24){
											%>
												<%=strOppNickname %>丛阑 亮酒窍绊 乐绢夸~
											<%												
											}else if(attentionPoint>=20 && attentionPoint<=23){
											%>
												<%=strOppNickname %>丛俊霸 包缴捞 乐绢夸~
											<%
											}else{
											
												for(int j=0;j<attentionPoint/4;j++){
											%>
											<%
												}
												if(attentionPoint%4>=2){
											%>
											<% 
												}
											}
											%></font>
								</td>
								<td width="5"></td>
							</tr>
							<tr>
								<td colspan="3" height="3"></td>
							</tr>
							<tr>
								<td width="15"></td>
								<td><font color="#ababab"><%=text%></font></td>
								<td width="5"></td>
							</tr>
							<tr>
								<td colspan="3" height="9"></td>
							</tr>
						</table>
					</td>
				</tr>
				<!--概莫 郴侩 场-->
			</table>
		</td>
	</tr>

	
	<tr>
		<td height="5"></td>
	</tr>
	<%
			if(rs.isLast())
				{ //盖 付瘤阜 饭内靛 老版快
					 break;
				}
				else
				{
					rs.next();
				}
			} 
		
		
		 %>
	<tr>
		<td>
			<!--其捞瘤 傅农 矫累-->
			<table width="176" height="16" bgcolor="#e8f2f2" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="16" colspan="6" bgcolor="#e8f2f2" valign="bottom" align="center">
						<%//其捞瘤 备泅何
	int limit = 5 ;   //其捞瘤 府胶飘 俺荐 瘤沥	
	int temp =(pageNUM-1) % limit ;	//矫累 其捞瘤 备窍扁
	int startPage = pageNUM - temp;
%>
<%// [捞傈] 傅农 眠啊窍扁
   if ((startPage-limit)>0){ %>
	<a href="<%=pageurl%>&pageNUM=<%=startPage-1%>&queryCondition=<%=queryCondition%>"><font color="#DB1A00">捞傈</font></a>&nbsp;
   <%}
   //其捞瘤 锅龋 唱凯窍扁
   if(isNoPage == 0)
   {
	 for(int i=startPage ; i<(startPage+limit);i++)
     {
	   if( i == pageNUM)
	   {%>
			<font color="#DB1A00"><b><%=i%></b></font>&nbsp;
	<% }
	   else
	   { %>
			<a href="<%=pageurl%>&pageNUM=<%=i%>&queryCondition=<%=queryCondition%>"><font color="#DB1A00"><%=i%></font></a>&nbsp;
    <% }
	   if(i >= pagecount) break;
	 }
   }
   else
	  out.println("钎矫 且 郴侩捞 绝嚼聪促.");
   //[促澜] 傅农 眠啊
   if((startPage+limit)<=pagecount){ %>
	<a href="<%=pageurl%>&pageNUM=<%=(startPage+limit)%>&queryCondition=<%=queryCondition%>"><font color="#DB1A00">促澜</font></a>&nbsp;
   <%}
%>	
					</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="#c789ff" align="center"><a href="<%=url_path%>/soulmate/Soulmate_zp.jsp?mphone=<%=mphone%>&gphone=<%=mphone %>"><font color="#ffffff">倒酒啊扁</font></a></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>
					<td width="10" bgcolor="#BBC7C8"></td>
					<td width="156" bgcolor="#DAE6E8" height="15">&nbsp;<a href="<%=url_path+"/main.jsp?mphone="+mphone+"&gphone="+mphone%>">权</a>&gt;<a href="<%=url_path%>/mypage/my_confirm.jsp?mphone=<%=mphone%>&gphone=<%=mphone%>"><%=strNickname%>丛狼 迄乔</a></td>
					<td width="10" bgcolor="#BBC7C8"></td>
				</tr>
				<tr>
					<td width="10" bgcolor="#BBC7C8"></td>
					<td width="156" bgcolor="#DAE6E8" height="15">&nbsp;&nbsp;&nbsp;&gt;<a href="<%=url_path+"/soulmate/Soulmate_zp.jsp?mphone="+mphone+"&gphone="+mphone%>">家匡皋捞飘</a>&gt;局沥</td>
					<td width="10" bgcolor="#BBC7C8"></td>
				</tr>
			</table>
		</td>
	</tr>
<!--窍窜 版肺钎矫 场-->

</table>
<!--窍窜 版肺钎矫 矫累-->
	<%@ include file="../newbottom.jsp"%>
<!--窍窜 版肺钎矫 场-->
</form>
</body>
</html>
<%
		}
	catch(Exception e)
	{
		throw e;
	}
	finally
	{ 
		if ( rs != null ) { try { rs.close(); } catch ( Exception e ) { } }
		if ( stmt != null ) { try { stmt.close(); } catch ( Exception e ) { } }
		if ( con != null ) { try { con.close(); } catch ( Exception e ) { } }
	}
%>

⌨️ 快捷键说明

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