<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/MasterPage.master"
    Inherits="PowerEasy.SiteFactory.WebSite.Admin.Accessories.MessageManage" Title="短消息管理" %>
    
<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="Server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="Server">
<table style="width: 100%; margin: 0 auto;" cellpadding="0" cellspacing="0">
        <tr>
            <td id="AdminTabs">
                <ul>
                    <!-- CSS Tabs -->
                    <li <pe:ExtendedLiteral HtmlEncode="false" runat="server" ID="LitAll" />>
                        <asp:LinkButton ID="LinkAll" runat="server" CommandArgument="0" onclick="ShowBookmarks"><span>所有短消息</span></asp:LinkButton>
                    </li>
                    <li <pe:ExtendedLiteral HtmlEncode="false" runat="server" ID="LitNoRead" />>    
                       <asp:LinkButton ID="LinkNoRead" runat="server" CommandArgument="2" onclick="ShowBookmarks"><span>未读短消息</span></asp:LinkButton>
                    </li>
                    <li <pe:ExtendedLiteral HtmlEncode="false" runat="server" ID="LitIsRead" />>    
                       <asp:LinkButton ID="LinkIsRead" runat="server" CommandArgument="1" onclick="ShowBookmarks"><span>已读短消息</span></asp:LinkButton>
                    </li>
                </ul>
            </td>
        </tr>
       </table>
    <pec:ShowMessageListAdmin ID="ShowAdminMessageList" runat="server" />
    <br />
    <br />
    <table width="100%" cellpadding="3" cellspacing="0" class="border">
        <tr class="tdbg">
            <td align="right" style="width: 15%;">
                <strong>短消息搜索：</strong>
            </td>
            <td>
                <asp:DropDownList ID="DropSearch" runat="server">
                    <asp:ListItem Value="0">搜索类型</asp:ListItem>
                    <asp:ListItem Value="1">短消息主题</asp:ListItem>
                    <asp:ListItem Value="2">短消息内容</asp:ListItem>
                    <asp:ListItem Value="3">收件人</asp:ListItem>
                    <asp:ListItem Value="4">发件人</asp:ListItem>
                    <asp:ListItem Value="5">某个人</asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="TxtKeyword" runat="server">关键字</asp:TextBox>
                <asp:Button ID="BtnSubmit" runat="server" Text="搜索" OnClick="BtnSubmit_Click" />
                <pe:RequiredFieldValidator ID="ValrKeyword" runat="server" ControlToValidate="TxtKeyWord"
                    ErrorMessage="RequiredFieldValidator" SetFocusOnError="True" ShowRequiredText="false">请输入搜索的关键字！</pe:RequiredFieldValidator></td>
        </tr>
    </table>
    <br />
</asp:Content>
