📄 ranking_all.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ranking_all.ascx.cs" Inherits="qruan.ranking_all" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<style type="text/css">
.STYLE1 { FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: green }
.STYLE2 {
FONT-WEIGHT: bold;
COLOR: #ff4433;
font-size: 12px;
}
.STYLE3 {
font-size: 12px;
font-weight: bold;
}
.STYLE4 {font-size: 12px}
</style>
<table width="581" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="7"> </td>
<td width="574"><table width="570" height="473" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#81ce1b">
<td height="28" bgcolor="#FFFFFF"> <span class="STYLE1">积分排行榜</span></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#afe195">
<td valign="top" bgcolor="#ffffff"><table width="98%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#D7AC1D" bgcolor="#D7AC1D">
<asp:Repeater id="Repeater1" runat="server">
<HeaderTemplate>
<tr bgcolor="#F7FCAD">
<td width="60" height="30" align="center" bgcolor="#F7FCAD" style="border-left:none; border-bottom:none; border-right:none; border-top:none"><span class="STYLE3"> 排 行</span></td>
<td width="60" align="center" bgcolor="#F7FCAD" style="border-left:none; border-bottom:none; border-right:none; border-top:none"><span class="STYLE3"> 积分</span></td>
<td width="106" align="center" bgcolor="#F7FCAD" style="border-left:none; border-bottom:none; border-right:none; border-top:none"><span class="STYLE3"> 城市</span></td>
<td width="106" align="center" bgcolor="#F7FCAD" style="border-left:none; border-bottom:none; border-right:none; border-top:none"><span class="STYLE3"> 街道</span></td>
<td width="140" align="center" bgcolor="#F7FCAD" style="border-left:none; border-bottom:none; border-right:none; border-top:none"><span class="STYLE3"> 用户名</span></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr <%# bgcolor_str() %>>
<td height="23" align="center" style="border-left:none; border-bottom:none; border-right:none; "><span class="STYLE2"><%# ranking_num2() %> </span> </td>
<td align="center" style="font-size:12px;border-left:none; border-bottom:none; border-right:none; "><%# DataBinder.Eval(Container.DataItem,"u_cent") %></td>
<td align="center" style="font-size:12px;border-left:none; border-bottom:none; border-right:none;"><%# DataBinder.Eval(Container.DataItem,"u_city") %></td>
<td align="center" style="font-size:12px;border-left:none; border-bottom:none; border-right:none;"><%# DataBinder.Eval(Container.DataItem,"u_road") %></td>
<td align="center" style="font-size:12px;border-left:none; border-bottom:none; border-right:none;"><%# DataBinder.Eval(Container.DataItem,"username") %></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table></td>
</tr>
<tr>
<td height="26" align="right" valign="middle" bgcolor="#F7FCAD" style="font-size:12px"><table id="Table_02" width="574" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src="images/index_03_04_13_03.gif" width="574" height="5" alt="" /></td>
</tr>
<tr>
<td><img src="images/index_03_04_13_04.gif" width="8" height="23" alt="" /></td>
<td width="559" height="23" bgcolor="#F7F7F7"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right" valign="bottom"><img src="images/17.gif" width="5" height="7" /><span class="STYLE4"> 第
<asp:label id="lbCurrentPage" runat="server">1</asp:label>
页 共
<asp:Label ID="lbTotalPage" runat="server">1</asp:Label>
页
<asp:hyperlink id="hlkFirstPage" accessKey="s" runat="server">首页</asp:hyperlink>
<asp:hyperlink id="hlkPrevPage" runat="server">上一页</asp:hyperlink>
<asp:hyperlink id="hlkNextPage" runat="server">下一页</asp:hyperlink>
<asp:hyperlink id="hlkLastPage" accessKey="d" runat="server" ToolTip="到最后一页">尾页</asp:hyperlink>
</span></td>
</tr>
</table></td>
<td><img src="images/index_03_04_13_06.gif" width="7" height="23" alt="" /></td>
</tr>
<tr>
<td colspan="3"><img src="images/index_03_04_13_07.gif" width="574" height="2" alt="" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -