onlineper.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:4k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="onlineper.aspx.vb" Inherits="ioffice.onlineper" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title>登录日志</title>
  6. <meta content="Microsoft FrontPage 5.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
  11. <script language="jscript">
  12. function closewin()
  13. {
  14. if (parent.frames.length>0)
  15. {
  16. location.replace("../../desktop.aspx")
  17. }else{
  18. window.close()
  19. }
  20. }
  21. function re()
  22. {
  23. location.reload()
  24. }
  25. </script>
  26. </HEAD>
  27. <body bottomMargin="0" leftMargin="0" topMargin="0" onload='setInterval("re()",60000)' rightMargin="0" MS_POSITIONING="GridLayout">
  28. <form id="Form1" method="post" runat="server">
  29. <FONT face="宋体">
  30. <TABLE style="LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  31. <TR>
  32. <TD style="HEIGHT: 30px" vAlign="top">
  33. <TABLE style="WIDTH: 100%; HEIGHT: 20px" cellSpacing="0" cellPadding="0" bgColor="#887858" border="0">
  34. <TR>
  35. <TD class="titlebar" style="WIDTH: 591px; HEIGHT: 20px">
  36. &nbsp;登录日志:活动记录
  37. </TD>
  38. <TD style="HEIGHT: 20px" noWrap align="right">
  39. <asp:label id="lblUName" runat="server" CssClass="uname"></asp:label>
  40. </TD>
  41. </TR>
  42. </TABLE>
  43. </TD>
  44. </TR>
  45. <TR>
  46. <TD vAlign="top" align="middle">
  47. <TABLE style="WIDTH: 95%; HEIGHT: 428px" cellSpacing="0" cellPadding="0" border="0">
  48. <TR>
  49. <TD style="HEIGHT: 426px" vAlign="top">
  50. <TABLE style="WIDTH: 100%" cellSpacing="0" cellPadding="0" border="0">
  51. <TR>
  52. <TD class="tttable">
  53. 登录列表(在线人数:
  54. <asp:label id="lblOnNum" runat="server" CssClass="tttable" ForeColor="Green"></asp:label>
  55. )
  56. </TD>
  57. <TD class="td" style="WIDTH: 80px" align="right">
  58. <A href="#">刷新 </A>
  59. </TD>
  60. <TD class="td" style="WIDTH: 80px">
  61. <A href="#" onclick="closewin()">关闭</A>
  62. </TD>
  63. </TR>
  64. </TABLE>
  65. <asp:datagrid id="dgdAcLoginInfo" runat="server" CssClass="td" BackColor="#F0F0E8" BorderColor="#999999" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False" AllowSorting="True" DataKeyField="sessionid">
  66. <AlternatingItemStyle BackColor="#F8F4E4"></AlternatingItemStyle>
  67. <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
  68. <Columns>
  69. <asp:BoundColumn Visible="False" DataField="loginid" SortExpression="loginid" HeaderText="登录帐号"></asp:BoundColumn>
  70. <asp:BoundColumn DataField="username" SortExpression="username" HeaderText="姓名"></asp:BoundColumn>
  71. <asp:BoundColumn DataField="logintime" SortExpression="logintime" HeaderText="登录时间"></asp:BoundColumn>
  72. <asp:BoundColumn DataField="contime" SortExpression="contime" HeaderText="&lt;img src=../../img/button/clock.gif border=0 /&gt; 连接时间"></asp:BoundColumn>
  73. <asp:BoundColumn DataField="loginip" SortExpression="loginip" HeaderText="IP地址"></asp:BoundColumn>
  74. <asp:ButtonColumn Text="&lt;img src=../../img/button/closecon.gif alt=关闭会话 border=0 /&gt;" CommandName="Delete">
  75. <HeaderStyle Width="20px"></HeaderStyle>
  76. </asp:ButtonColumn>
  77. </Columns>
  78. <PagerStyle PageButtonCount="15" Mode="NumericPages"></PagerStyle>
  79. </asp:datagrid>
  80. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  81. <TR>
  82. <TD style="WIDTH: 82.85%; HEIGHT: 10px">
  83. </TD>
  84. <TD>
  85. </TD>
  86. </TR>
  87. <TR>
  88. <TD class="tttable" style="WIDTH: 86.25%" align="right">
  89. 相关链接:<A href="putlineper.aspx"> </A>
  90. </TD>
  91. <TD class="td" style="WIDTH: 80px">
  92. <asp:hyperlink id="lnkHis" runat="server">历史记录</asp:hyperlink>
  93. </TD>
  94. </TR>
  95. </TABLE>
  96. </TD>
  97. </TR>
  98. </TABLE>
  99. </TD>
  100. </TR>
  101. </TABLE>
  102. </FONT>
  103. </form>
  104. </body>
  105. </HTML>