bbsonline.aspx
资源名称:论坛源码.rar [点击查看]
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:4k
源码类别:
.net编程
开发平台:
C#
- <%@ Page language="c#" Codebehind="bbsonline.aspx.cs" AutoEventWireup="false" Inherits="kuangren.bbsonline" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <TITLE>狂人论坛-论坛状态图例</TITLE>
- <meta content="False" name="vs_showGrid">
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <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>→
- 论坛状态 → 在线图例</td>
- </tr>
- </table>
- <br>
- <table style="BORDER-COLLAPSE: collapse" borderColor="#6595d6" cellSpacing="0" cellPadding="4"
- width="97%" align="center" border="1">
- <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">当前论坛共有<%=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 class="title" style="HEIGHT: 2px" width="56%">图形比例</td>
- <td class="title" style="HEIGHT: 2px" width="17%">在线人数</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"> </div>
- <table width="480" height="12" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="<%#(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"expr1000"))/sumone)*480+1%>" bgcolor="#6595d6"></td>
- <td width="<%#480-(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"expr1000"))/sumone)*480%>" bgcolor="#f0f0f0"></td>
- </tr>
- </table></td>
- <td bgcolor="#e2ebf5">
- <%# DataBinder.Eval(Container.DataItem,"expr1000") %>
- </td>
- </tr>
- </itemtemplate>
- </asp:repeater>
- <tr align="center" bgcolor="#FFFFFF" style="padding-top: 5px; padding-bottom: 5px;">
- <td bgcolor="#e2ebf5">其他位置</td>
- <td bgcolor="#FFFFFF"><table width="480" height="12" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="<%#(sumonea/sumone)*480+1%>" bgcolor="#6595d6"></td>
- <td width="<%#480-(sumonea/sumone)*480%>" bgcolor="#f0f0f0"></td>
- </tr>
- </table></td>
- <td bgcolor="#e2ebf5"><%=sumonea%></td>
- </tr>
- <tr align="center" bgColor="#ffffff" height="28">
- <td colSpan="3"></td>
- </tr>
- </table>
- </div>
- <!--#include file="sitefloor.aspx" --></body>
- </HTML>