<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnlineUser.aspx.cs" Inherits="TotCms.Web.Office.OnlineUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
     <title>在线用户</title>
  <link href="style/global.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table style="width: 100%;">
    <tr class="suphead">
    <td colspan="5">在线人员列表</td>
    </tr>    
    <tr class="lines">
        <td height="25"><b>姓名</b></td>
        <td><b>部门</b></td>
        <td><b>登录时间</b></td>
        <td><b>在线时长</b></td>
        <td><b>发送消息</b></td>
      </tr>
    <asp:Repeater ID="rpOnlines" runat="server">
      <ItemTemplate>
      <tr class="lines">
        <td><a href='Staff/Staff_Show.aspx?id=<%# Eval("StaffId") %>'><%# Eval("UserName") %></a></td>
        <td><%# Eval("DeptTitle") %></td>
        <td><%# Eval("LoginDate") %></td>
        <td><%# GetTime(Eval("LoginDate"))%></td>
        <td><a href='Msg/Msg_Add.aspx?ToId=<%# Eval("StaffId") %>'>发送-&gt;</a></td>
      </tr>
      </ItemTemplate>
    </asp:Repeater>
    </table>
    </form>
</body>
</html>
