<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Site_UserLog" %>

<!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>
    <title>管理员日志</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Site_UserLog.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrapper-div">    
<!-- 列表管理 -->
        <!-- 标 -->
            <div class="title-tab">
            <div class="title"><span class="title-ico titico10 F B">管理员日志</span></div>
            <ul class="menu">
                <li><a class="<%=sift=="all"?"active":"" %>" href="<%=getFormUrl %>?sift=&username=<%=userName %>&page=1"><span>全部</span></a></li>
                <li><a class="<%=sift=="0"?"active":"" %>" href="<%=getFormUrl %>?sift=0&username=<%=userName %>&page=1"><span>登录类</span></a></li>
                <li><a class="<%=sift=="1"?"active":"" %>" href="<%=getFormUrl %>?sift=1&username=<%=userName %>&page=1"><span>添加类</span></a></li>
                <li><a class="<%=sift=="2"?"active":"" %>" href="<%=getFormUrl %>?sift=2&username=<%=userName %>&page=1"><span>编辑类</span></a></li>
                <li><a class="<%=sift=="3"?"active":"" %>" href="<%=getFormUrl %>?sift=3&username=<%=userName %>&page=1"><span>删除类</span></a></li>
            </ul>       
            </div>
        <!-- end 标 -->
        
        <div class="clear-8"></div>
            <span class="tbox_form"><input type="text" id="userNameSerach_txt" value="<%=userName %>" class="input162 f_left m_right6" /></span>
            <a href="<%=getFormUrl %>" id="userNameSerach_Btn" class="bule-btn W f_left text_centent">用户名查找</a>
            <p class="PageBox">
                <%=getPagesInfo%>
            </p>
        <div class="clear-8"></div>
        
        <!-- 通用table -->
        <table class="table-1">
        	<thead>
            	<tr>
                	<th width="16%" class="text_left">操作人</th>
                    <th width="38%" class="text_left">动作明细 <span class="X NoB">[日志总数:<%=_pageCount %>]</span></th>
                    <th width="26%" class="text_left">对象页</th>
                    <th width="12%">操作时间</th>
                    <th width="8%">操作</th>
                </tr>
            </thead>
            <tbody id="siteUserLog_Tbody">
            <%if (_UserLogDat.Rows.Count > 0) %>
            <%{ %>
                <% for (int i = 0; i < _UserLogDat.Rows.Count; i++) %>
                <%{ %>
            	    <tr>
                	    <td class="text_left">
                        <input class="align_middle" type="checkbox" name="logId_chk" value="<%=_UserLogDat.Rows[i]["id"].ToString()%>" />
                        <span class="H B"><%=_UserLogDat.Rows[i]["username"].ToString()%></span></td>
                        <td class="text_left"><span class="H"><%=_UserLogDat.Rows[i]["intro"].ToString()%></span></td>
                        <td class="text_left"><span class="X Size9"><%=_UserLogDat.Rows[i]["objectpage"].ToString()%></span></td>
                        <td>
                            <span class="G">(<%=getTime1(_UserLogDat.Rows[i]["addtime"].ToString())%>)</span><br />
                            <span class="V Size9"><%=getTime2(_UserLogDat.Rows[i]["addtime"].ToString())%></span>
                        </td>
                        <td >
                            <a href="<%=_UserLogDat.Rows[i]["id"].ToString() %>" rel="del" class="R underline">[删除]</a>
                        </td>
                    </tr>
                <%} %>
            <%} %>
            <%else %>
            <%{ %>
            <tr>
                <td  colspan="5" class="text_left"><span class="V">暂无数据</span></td>
            </tr>
            <%} %>
            </tbody>
        </table>

        <div class="clear-8"></div>
            <input type="button" id="allLogList_Btn" class="bule-btn W f_left text_centent m_right6" value="全选/反选" />
            <input type="button" id="delChekLog_Btn" class="bule-btn W f_left text_centent" value="删除所选" />
            <p class="PageBox">
                <%=getPagesInfo%>
            </p>
        <div class="clear-8"></div>

        <!-- end 通用table -->
    <!-- end 列表管理 -->
    </div>
</body>
</html>
