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

📄 ranking_school_tot.jsp

📁 用手机浏览的一个类似于聊天室 博克 homepage 等 对这方面有 兴趣的朋友 有所帮助的
💻 JSP
📖 第 1 页 / 共 2 页
字号:
					<td width="168">
						<table width="168" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
							
								<!-- 弊覆 何盒 -->
								<td width="69" bgcolor="#d3e2e5" height="71" align="center" valign="middle">
									<table width="65" border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td width="65" height="67" bgcolor="#FFFFFF"><img src="<%=img_path%>images/202img/202_school/<%=school_img_name%>.png"></td>
										</tr>
									</table>
								</td>
								<!-- 弊覆 何盒 场 -->
								
								<td width="4"></td>
								
								<!-- 快螟 咆胶飘 何盒 -->
								<td width="95" align="center" valign="middle"><table width="95" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td height="1" colspan="7" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                  <tr>
                                    <td width="1" height="5" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                    <td height="5" colspan="5"></td>
                                    <td width="1" height="5" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                  <tr>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                    <td width="2" height="14"></td>
                                    <td width="25" height="14" align="left" valign="middle">盒幅:</td>
                                    <td colspan="2" align="right" valign="middle"><font color="#909090"><%=school_area_middle%></font></td>
                                    <td width="2" height="14"></td>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                  <tr>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                    <td width="2" height="14"></td>
                                    <td height="14" colspan="2" align="left" valign="middle">切积荐:</td>
                                    <td width="45" height="14" align="right" valign="middle"><font color="#909090"><%=school_mam_cnt%>疙</font></td>
                                    <td width="2" height="14"></td>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                  <tr>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                    <td width="2" height="14"></td>
                                    <td height="14" colspan="2" align="left" valign="middle">醚霸矫臂:</td>
                                    <td width="45" height="14" align="right" valign="middle"><font color="#909090"><%=school_book_cnt%>俺</font></td>
                                    <td width="2" height="14"></td>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                  <tr>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                    <td width="2" height="14"></td>
                                    <td height="14" colspan="2" align="left" valign="middle">悼竿切背:</td>
                                    <td width="45" height="14" align="right" valign="middle"><font color="#909090">
									
									<%
									if(school_idx_join > 0)
									{
									%>
										<a href="<%=url_path%>/school/school_master.jsp?mphone=<%=mphone%>&gphone=<%=mphone%>&school_idx=<%=school_idx_join%>"><%=school_join_name%></a>
									<%
									}
									else
									{
									%>
										<%=school_join_name%>
									<%
									}
									%>
									
									</font></td>
                                    <td width="2" height="14"></td>
                                    <td width="1" height="14" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                  <tr>
                                    <td width="1" height="5" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                    <td height="5" colspan="5"></td>
                                    <td width="1" height="5" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                  <tr>
                                    <td height="1" colspan="7" background="<%=img_path%>images/202img/202_dot/dot_gray3.png"></td>
                                  </tr>
                                </table></td>
								<!-- 快螟 咆胶飘 何盒 场 -->
								
							</tr>
						</table>
					</td>
					<td width="4" bgcolor="#ffffff"></td>
				</tr>
			</table>
		</td>
	</tr>
		<!-- 墨其 1困 何盒 场 -->

	<tr> 
		<td align="center">
			<table width="168" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="4" colspan="2"></td>
				</tr>
				<tr>
					<td width="73">&nbsp;</td>
					<td width="95" align="right" bgcolor="#ffe0e4"><font color="#ff4759"><%=point%>痢</font>&nbsp;</td>
				</tr>
				<tr>
					<td height="4" colspan="2"></td>
				</tr>
			</table>
	  </td>
	</tr>


	<tr>
		<td width="176" height="2" background="<%=img_path%>images/202img/202_dot/dot_pink3.png"></td>
	</tr>

	<tr height="5">
		<td bgcolor="#ffa7b5"></td>
	</tr>

	<tr height="3">
		<td></td>
	</tr>


  
<%
//瘤沥 其捞瘤 鳖瘤 焊郴扁 场-----------------------------------------------------
//瘤沥等 肮荐 府胶飘 焊咯林扁-----------------------------------------------------
		int count = 0 ; //其捞瘤 墨款磐 函荐
		while(count < pagesize)
		{
			rankNumber++;

			switch(rs.getInt(2))
			{
				case 1:
					school_img_name = "middle_";
					break;
				case 2:
					school_img_name = "high_";
					break;
				case 3:
					school_img_name = "university_";
					break;
				case 4:
					school_img_name = "public_";
					break;
			}

			if(rs.getString(10).equals("咯磊"))
				school_img_name = school_img_name+"g";
			else if(school_sex.equals("巢磊"))
				school_img_name = school_img_name+"b";
			else
				school_img_name = school_img_name+"c";

%>
<!-- 1锅掳 府胶飘 矫累 -->
	<tr>
		<td><table cellpadding="0" cellspacing="0">
          <!-- 酒官鸥 1 府胶飘 扼牢 矫累 -->
          <tr>
            <td height="3" colspan="3" bgcolor="#DAE6E8"></td>
            <td height="3"></td>
            <td height="3" colspan="3" bgcolor="#DAE6E8"></td>
          </tr>
          <tr>
            <!--酒官鸥 何盒 矫累-->
            <td width="3" height="41" bgcolor="#DAE6E8"></td>
            <td width="48" height="41"><img src="<%=img_path%>images/202img/202_school/<%=school_img_name%>_s.png"></td>
            <td width="3" height="41" bgcolor="#DAE6E8"></td>
            <!--酒官鸥 何盒 场-->
            <td width="3" height="41"></td>
            <!--咆胶飘 何盒 矫累-->
            <td width="4" height="41" bgcolor="#DAE6E8"></td>
            <td width="111" height="41" align="center" bgcolor="#DAE6E8"><table cellpadding="0" cellspacing="0" bgcolor="#DAE6E8">
                <tr>
                  <td width="94" height="24"><font color="#ff4759"><%=rankNumber%>困&nbsp;</font> <font color="#888888"><%=rs.getInt(10)%>痢</font></td>
                  <td width="17" align="center">
				  
						<% if(rankNumber==2) out.println("<img src='"+img_path+"images/202img/202_ranking/medal_2.png' width=11 height=14>");
						else if(rankNumber==3) out.println("<img src='"+img_path+"images/202img/202_ranking/medal_3.png' width=11 height=14>"); %>	
				  
				  </td>
                </tr>
                <tr>
                  <td height="17" colspan="2"><a href="<%=url_path%>/school/school_master.jsp?mphone=<%=mphone%>&gphone=<%=mphone%>&school_idx=<%=rs.getInt(7)%>"><%=rs.getString(8)%></a></td>
                </tr>
            </table></td>
            <td width="4" height="41" bgcolor="#DAE6E8"></td>
            <!--咆胶飘 何盒 场-->
          </tr>
          <tr>
            <td height="3" colspan="3" bgcolor="#DAE6E8"></td>
            <td height="3"></td>
            <td height="3" colspan="3" bgcolor="#DAE6E8"></td>
          </tr>
          <tr>
            <td height="3" colspan="7"></td>
          </tr>
          <!-- 酒官鸥 1 府胶飘 扼牢 场 -->
        </table>		</td>
	</tr>
<!-- 1锅掳 府胶飘 场 -->

<%
//其捞瘤 逞扁扁-----------------------------------------------------
			if(rs.isLast())
			{ //盖 付瘤阜 饭内靛 老版快
				 break;
			}
			else
			{
				rs.next();
			}
			count++;
//其捞瘤 逞扁扁-----------------------------------------------------
		}
//==========================================================================================================
		if(pageset != null)  pageset.close(); 
		if(rs != null)  rs.close(); 
		if(pstmt != null)  pstmt.close(); 
		if(stmt != null)  stmt.close(); 
		if(con != null)  con.close(); 
	}
	catch(Exception e)
	{
		out.println(e);
	}
	finally
	{
		if(pageset != null) try{ pageset.close(); }catch(Exception se){}
		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){}
	}
%>

	<tr> 
		<td height="15" align="center" valign="middle" bgcolor="#ffe0e4">
	
<%
//其捞瘤 备泅何-----------------------------------------------------
	int limit = 4 ;   //其捞瘤 府胶飘 俺荐 瘤沥	
	int temp =(pageNUM-1) % limit ;	//矫累 其捞瘤 备窍扁
	int startPage = pageNUM - temp;
	String pageurl=url_path+"/ranking/ranking_school_tot.jsp?mphone="+mphone+"&gphone="+gphone+"&school_type="+school_type;
%>

			<font color="#ff6780">
<%// [捞傈] 傅农 眠啊窍扁
   if ((startPage-limit)>0){ %>
	<a href="<%=pageurl%>&pageNUM=<%=startPage-1%>">捞傈</a>&nbsp;
   <%}
   //其捞瘤 锅龋 唱凯窍扁
   if(isNoPage == 0)
   {
	 for(int i=startPage ; i<(startPage+limit);i++)
     {
	   if( i == pageNUM)
	   {%>
			<b><%=i%></b>&nbsp;
	<% }
	   else
	   { %>
			<a href="<%=pageurl%>&pageNUM=<%=i%>"><%=i%></a>&nbsp;
    <% }
	   if(i >= pagecount) break;	
	 }
   }
   else
	  out.println("钎矫 且 郴侩捞 绝嚼聪促.");
   //[促澜] 傅农 眠啊
   if((startPage+limit)<=pagecount){ %>
	<a href="<%=pageurl%>&pageNUM=<%=(startPage+limit)%>">促澜</a>&nbsp;
   <%}
//其捞瘤 备泅何 场-----------------------------------------------------
%>	
		
		</font></td>
	</tr>

	<tr>
		<td height="3"></td>
	</tr>

	<!-- 窍窜 滚瓢 -->
	<tr> 
		<td align="center">
		<table width="176" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr> 
				<td width="43" bgcolor="#ffffff"></td>
				<td height="15" width="90" align="center" bgcolor="#ff8eab"><font color="#FFFFFF"><a href="<%=link2%>">鸥款珐欧权栏肺</a></font></td>
				<td width="43" bgcolor="#ffffff"></td>
			</tr>
		</table>
		</td>
	</tr>
	<!-- 滚瓢 场 -->

	<tr>
		<td height="11"></td>
	</tr>

</table>

<!-- 窍窜 匙厚霸捞记 -->
<table width="176" border="0" cellspacing="0" cellpadding="0">
  <tr height="15">
	<td width="7" bgcolor="#BBC7C8"></td>
	<td width="162" bgcolor="#DAE6E8">
		<a href="<%=url_path%>/main.jsp?mphone=<%=mphone%>&gphone=<%=mphone%>">权</a>&gt; <a href="<%=link2%>">鸥款珐欧</a> &gt; 胶酿珐欧
	</td>
	<td width="7" bgcolor="#BBC7C8"></td>
  </tr>
</table>

<%@ include file="../newbottom.jsp"%>
<!-- 窍窜 匙厚霸捞记 场 -->

</body>

</html>

⌨️ 快捷键说明

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