📄 ranking_school_tot.jsp
字号:
<tr>
<td height="95" width="95" bgcolor="#FFFFFF"><img src="<%=img_path%>images/296img/296_school/<%=school_img_name%>.png"></td>
</tr>
</table>
</td>
<!-- 弊覆 何盒 场 -->
<td width="5"></td>
<!-- 快螟 咆胶飘 何盒 -->
<td width="121" align="center" valign="middle"><table width="121" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="1" colspan="7" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td width="1" height="5" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
<td height="5" colspan="5"></td>
<td width="1" height="5" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
<td width="4" height="17"></td>
<td width="30" height="17" align="left" valign="middle">盒幅:</td>
<td colspan="2" align="right" valign="middle"><font color="#909090"><%=school_area_middle%></font></td>
<td width="4" height="17"></td>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
<td width="4" height="17"></td>
<td height="17" colspan="2" align="left" valign="middle">切积荐:</td>
<td width="55" height="17" align="right" valign="middle"><font color="#909090"><%=school_mam_cnt%>疙</font></td>
<td width="4" height="17"></td>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
<td width="4" height="17"></td>
<td height="17" colspan="2" align="left" valign="middle">醚霸矫臂:</td>
<td width="55" height="17" align="right" valign="middle"><font color="#909090"><%=school_book_cnt%>俺</font></td>
<td width="4" height="17"></td>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
<td width="4" height="17"></td>
<td height="17" colspan="2" align="left" valign="middle">悼竿切背:</td>
<td width="55" height="17" 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="4" height="17"></td>
<td width="1" height="17" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td width="1" height="5" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
<td height="5" colspan="5"></td>
<td width="1" height="5" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td height="1" colspan="7" background="<%=img_path%>images/296img/296_cafe/black_dot.png"></td>
</tr>
<tr>
<td height="3" colspan="7"></td>
</tr>
<tr>
<td height="15" colspan="7" align="right" valign="middle" bgcolor="#ffe0e4"><font color="#ff4759"><%=point%> 痢</font> </td>
</tr>
</table></td>
<!-- 快螟 咆胶飘 何盒 场 -->
</tr>
</table>
</td>
<td width="8" bgcolor="#ffffff"></td>
</tr>
</table>
</td>
</tr>
<!--墨其珐欧 荐沥等 UI html 场-->
<tr>
<td height="4" colspan="2"></td>
</tr>
<tr>
<td height="2" colspan="2" background="<%=img_path%>images/296img/296_dot/dot_pink3.png"></td>
</tr>
<tr>
<td height="7" colspan="2" bgcolor="#ffaec5"></td>
</tr>
<tr>
<td height="5" colspan="2"></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";
%>
<!--霸矫拱 矫累-->
<tr>
<td colspan="2">
<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/296img/296_school/<%=school_img_name%>_s.png"> </td>
<td width="3" height="41" bgcolor="#DAE6E8"></td>
<!--酒官鸥 何盒 场-->
<td width="3" height="41"></td>
<!--咆胶飘 何盒 矫累-->
<td width="8" height="41" bgcolor="#DAE6E8"></td>
<td width="167" height="41" align="center" bgcolor="#DAE6E8">
<table cellpadding="0" cellspacing="0" bgcolor="#DAE6E8">
<tr>
<td width="150" height="24">
<font color="#ff4759"><%=rankNumber%>困 </font>
<font color="#888888"><%=rs.getInt(10)%>痢</font></td>
<td width="17" align="center">
<% if(rankNumber==2) out.println("<img src='"+img_path+"images/296img/296_ranking/medal_2.png' width=12 height=15>");
else if(rankNumber==3) out.println("<img src='"+img_path+"images/296img/296_ranking/medal_3.png' width=12 height=15>"); %>
</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="8" 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>
<!--霸矫拱 场-->
<%
//其捞瘤 逞扁扁-----------------------------------------------------
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){}
}
%>
<%
//其捞瘤 备泅何-----------------------------------------------------
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;
%>
<tr>
<td height="19" bgcolor="#ffe0e4" colspan="2" align="center">
<font color="#ff6780">
<%// [捞傈] 傅农 眠啊窍扁
if ((startPage-limit)>0){ %>
<a href="<%=pageurl%>&pageNUM=<%=startPage-1%>">捞傈</a>
<%}
//其捞瘤 锅龋 唱凯窍扁
if(isNoPage == 0)
{
for(int i=startPage ; i<(startPage+limit);i++)
{
if( i == pageNUM)
{%>
<b><%=i%></b>
<% }
else
{ %>
<a href="<%=pageurl%>&pageNUM=<%=i%>"><%=i%></a>
<% }
if(i >= pagecount) break;
}
}
else
out.println("钎矫 且 郴侩捞 绝嚼聪促.");
//[促澜] 傅农 眠啊
if((startPage+limit)<=pagecount){ %>
<a href="<%=pageurl%>&pageNUM=<%=(startPage+limit)%>">促澜</a>
<%}
//其捞瘤 备泅何 场-----------------------------------------------------
%>
</font>
</td>
</tr>
<tr>
<td height="3" colspan="2"></td>
</tr>
<tr>
<td height="17" colspan="2">
<table width="96" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="17" width="96" align="center" bgcolor="#ff8eab">
<font color="#ffffff"><a href="<%=link2%>">鸥款珐欧权栏肺</a></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="11" colspan="2"></td>
</tr>
</table>
<!-- 窍窜 匙厚霸捞记 -->
<table cellpadding="0" cellspacing="0" width="240" height="20">
<tr>
<td width="10" bgcolor="#BDC7CE" valign="bottom"> </td>
<td width="220" bgcolor="#DEE7EF" valign="bottom"> <a href="<%=url_path%>/main.jsp?mphone=<%=mphone%>&gphone=<%=mphone%>">权</a> >
<a href="<%=link2%>">鸥款珐欧</a> >
胶酿珐欧
</td>
<td width="10" bgcolor="#BDC7CE"> </td>
</tr>
</table>
<%@ include file="../newbottom.jsp"%>
<!-- 窍窜 匙厚霸捞记 场 -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -