bbsonline.aspx
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:4k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="bbsonline.aspx.cs" AutoEventWireup="false" Inherits="kuangren.bbsonline" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <TITLE>狂人论坛-论坛状态图例</TITLE>
  6. <meta content="False" name="vs_showGrid">
  7. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  8. <meta content="C#" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  12. <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
  13. </HEAD>
  14. <body leftMargin="0" topMargin="0">
  15. <!--#include file="sitehead.aspx" -->
  16. <div align="center">
  17. <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  18. <tr>
  19.       <td bgColor="#f0f0f0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle"> 
  20.         <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2>→ 
  21.         论坛状态 → 在线图例</td>
  22. </tr>
  23. </table>
  24. <br>
  25.   <table style="BORDER-COLLAPSE: collapse" borderColor="#6595d6" cellSpacing="0" cellPadding="4"
  26. width="97%" align="center" border="1">
  27.     <tr class="title_link"> 
  28.       <td class="title"> <div align="center"><strong><A href="bbstat.aspx?action=1">今日帖数图例</A></strong></div></td>
  29.       <td class="title"> <div align="center"><strong><A href="bbstat.aspx?action=2">主题帖数图例</A></strong></div></td>
  30.       <td class="title"> <div align="center"><strong><A href="bbstat.aspx?action=3">总帖数图例</A></strong></div></td>
  31.       <td class="title"> <div align="center"><strong><a href="bbsonline.aspx">在线图例</a></strong> 
  32.         </div></td>
  33.       <td class="title"> <div align="center"><strong><a href="bbsonline_detail.aspx">在线情况</a></strong> 
  34.         </div></td>
  35.     </tr>
  36.     <tr> 
  37.       <td colSpan="5"> <div align="center">当前论坛共有<%=sumone%>位用户在线</div></td>
  38.     </tr>
  39.   </table>
  40.   <br>
  41.   <table cellSpacing="1" cellPadding="4" width="97%" align="center" bgColor="#6595d6" border="0">
  42.     <tr class="title_link" align="center"> 
  43.       <td class="title" style="HEIGHT: 2px" width="27%">论坛名称</td>
  44.       <td class="title" style="HEIGHT: 2px" width="56%">图形比例</td>
  45.       <td class="title" style="HEIGHT: 2px" width="17%">在线人数</td>
  46.     </tr>
  47.     <asp:repeater id="bbstat1" runat="server"> 
  48.       <itemtemplate> 
  49.         <tr align="center" bgcolor="#FFFFFF" style="padding-top: 5px; padding-bottom: 5px;"> 
  50.           <td width="27%" bgcolor="#e2ebf5"> 
  51.             <%# DataBinder.Eval(Container.DataItem,"f2_caption") %>
  52.           </td>
  53.           <td bgcolor="#FFFFFF"><div align="left"> </div>
  54.             <table width="480" height="12" border="0" cellpadding="0" cellspacing="0">
  55.               <tr>
  56.                 <td width="<%#(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"expr1000"))/sumone)*480+1%>" bgcolor="#6595d6"></td>
  57.                 <td width="<%#480-(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"expr1000"))/sumone)*480%>" bgcolor="#f0f0f0"></td>
  58.               </tr>
  59.             </table></td>
  60.           <td bgcolor="#e2ebf5"> 
  61.             <%# DataBinder.Eval(Container.DataItem,"expr1000") %>
  62.           </td>
  63.         </tr> 
  64.      </itemtemplate>
  65.     </asp:repeater>
  66.         <tr align="center" bgcolor="#FFFFFF" style="padding-top: 5px; padding-bottom: 5px;"> 
  67.           
  68.       <td bgcolor="#e2ebf5">其他位置</td>
  69.           <td bgcolor="#FFFFFF"><table width="480" height="12" border="0" cellpadding="0" cellspacing="0">
  70.           <tr> 
  71.             <td width="<%#(sumonea/sumone)*480+1%>" bgcolor="#6595d6"></td>
  72.             <td width="<%#480-(sumonea/sumone)*480%>" bgcolor="#f0f0f0"></td>
  73.           </tr>
  74.         </table></td>
  75.           
  76.       <td bgcolor="#e2ebf5"><%=sumonea%></td>
  77.         </tr>
  78.     <tr align="center" bgColor="#ffffff" height="28"> 
  79.       <td colSpan="3"></td>
  80.     </tr>
  81.   </table>
  82. </div>
  83. <!--#include file="sitefloor.aspx" --></body>
  84. </HTML>