bbstat.aspx
资源名称:论坛源码.rar [点击查看]
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:5k
源码类别:
.net编程
开发平台:
C#
- <%@ Page language="c#" Codebehind="bbstat.aspx.cs" AutoEventWireup="false" Inherits="kuangren.bbstat" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <meta name="vs_showGrid" content="False">
- <title>狂人论坛-论坛状态图例</title>
- <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
- <meta name="CODE_LANGUAGE" Content="C#">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body leftmargin="0" topmargin="0">
- <!--#include file="sitehead.aspx" -->
- <div align="center">
- <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
- <tr>
- <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle">
- <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2>
- → 论坛状态 → <%=title%></td>
- </tr>
- </table>
- <br>
- <table width="97%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6595d6"
- style="BORDER-COLLAPSE: collapse">
- <tr class="title_link">
- <td class="title"><div align="center"> <strong><a href="bbstat.aspx?action=1">今日帖数图例</a></strong></div></td>
- <td class="title"><div align="center"> <strong> <a href="bbstat.aspx?action=2">主题帖数图例</a></strong></div></td>
- <td class="title"><div align="center"> <strong><a href="bbstat.aspx?action=3">总帖数图例</a></strong></div></td>
- <td class="title"><div align="center"> <strong><a href="bbsonline.aspx">在线图例</a></strong>
- </div></td>
- <td class="title"><div align="center"> <strong><a href="bbsonline_detail.aspx">在线情况</a></strong>
- </div></td>
- </tr>
- <tr >
- <td colspan="5" ><div align="center">目前<strong>狂人论坛</strong> 今日帖数:<%=sumthree1%>
- 帖子总数:<%=(sumone+sumtwo)%> 主题总数:<%=sumone%></div></td>
- </tr>
- </table>
- <br>
- <table cellSpacing="1" cellPadding="4" width="97%" align="center" bgColor="#6595d6" border="0">
- <tr class="title_link" align="center">
- <td class="title" style="HEIGHT: 2px" width="27%">论坛名称</td>
- <td width="56%" class="title" style="HEIGHT: 2px">图形比例</td>
- <td width="17%" class="title" style="HEIGHT: 2px">总帖数</td>
- </tr>
- <asp:repeater id="bbstat1" runat="server">
- <itemtemplate>
- <tr align="center" bgcolor="#FFFFFF" style="padding-top: 5px; padding-bottom: 5px;">
- <td width="27%" bgcolor="#e2ebf5"><%# DataBinder.Eval(Container.DataItem,"f2_caption") %> </td>
- <td bgcolor="#FFFFFF"><div align="left">
- <table width="480" height="12" border="0" cellpadding="0" cellspacing="0">
- <tr> <%if (Convert.ToUInt32(Request.QueryString["action"])==1){%>
- <td width="<%#(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_todaynum").ToString())/sumthree)*480+1%>" bgcolor="#6595d6"></td>
- <td width="<%#480-(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_todaynum").ToString())/sumthree)*480%>" bgcolor="#F0F0F0"></td>
- <%}if (Convert.ToUInt32(Request.QueryString["action"])==2){%>
- <td width="<%#(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_topicnum").ToString())/sumone)*480+1%>" bgcolor="#6595d6"></td>
- <td width="<%#480-(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_topicnum").ToString())/sumone)*480%>" bgcolor="#F0F0F0"></td>
- <%}if (Convert.ToUInt32(Request.QueryString["action"])==3){%>
- <td width="<%#((Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_topicnum").ToString())+Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_replynum").ToString()))/(sumone+sumtwo))*480+1%>" bgcolor="#6595d6"></td>
- <td width="<%#480-((Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_topicnum").ToString())+Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_replynum").ToString()))/(sumone+sumtwo))*480%>" bgcolor="#F0F0F0"></td>
- <%}%>
- </tr>
- </table>
- </div></td>
- <td bgcolor="#e2ebf5">
- <%# Judgenum(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_todaynum").ToString()),Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_topicnum").ToString()),Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f2_replynum").ToString())) %>
- </td>
- </tr>
- </itemtemplate>
- </asp:repeater>
- <tr align="center" bgColor="#ffffff" height="28">
- <td colSpan="3"></td>
- </tr>
- </table>
- </div>
- <!--#include file="sitefloor.aspx" -->
- </body>
- </HTML>