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

<!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_Memorandum.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 titico11 F B">管理员备忘录</span></div>    
            </div>
        <!-- end 标 -->
        
        <div class="clear-8"></div>
            <span class="tbox_form">
                <select id="userMemorandum_select" class="input162 f_left m_right6">
                <option value="0">== 全部用户备忘录 ==</option>
                <%for (int i = 0; i < _userDat.Rows.Count; i++) %>
                <%{ %>
                <option <%=userid==_userDat.Rows[i]["id"].ToString()?"selected=selected":"" %> value="<%=_userDat.Rows[i]["id"].ToString() %>"><%=_userDat.Rows[i]["username"].ToString()%></option>
                <%} %>
                </select>
            </span>
            <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="64%" class="text_left">备忘内容 <span class="X NoB">[备注总数:<%=_pageCount %>]</span></th>
                    <th width="12%">操作时间</th>
                    <% if (nowUserClassID == "1")%>
                    <%{%>
                    <th width="8%">操作</th>
                    <%} %>
                </tr>
            </thead>
            <tbody id="siteUserMemorandum_Tbody">
            <%if (_memorandumDat.Rows.Count > 0) %>
            <%{ %>
                <%for (int i = 0; i < _memorandumDat.Rows.Count; i++) %>
                <%{ %>
            	    <tr>
                	    <td class="text_left">
                        <span class="H B"><%=_memorandumDat.Rows[i]["username"].ToString()%></span></td>
                        <td class="text_left"><span class="H"><%=_memorandumDat.Rows[i]["content"].ToString()%></span></td>
                        <td>
                            <span class="G">(<%=getTime1(_memorandumDat.Rows[i]["addtime"].ToString())%>)</span><br />
                            <span class="V Size9"><%=getTime1(_memorandumDat.Rows[i]["addtime"].ToString())%></span>
                        </td>
                        <% if (nowUserClassID == "1")%>
                        <%{%>
                        <td>
                            
                            <a href="<%=_memorandumDat.Rows[i]["id"].ToString() %>" rel="del" rev="<%=_memorandumDat.Rows[i]["username"].ToString() %>" class="R underline">[删除]</a>
                        </td>
                        <%}%>
                    </tr>
                <%} %>
            <%} %>
            <%else %>
            <%{ %>
            <tr>
                <td  colspan="4" class="text_left"><span class="V">暂无数据</span></td>
            </tr>
            <%} %>
            </tbody>
        </table>

        <div class="clear-8"></div>
            <p class="PageBox">
                <%=getPagesInfo %>
            </p>
        <div class="clear-8"></div>

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