<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_Message_Manage, V5Shop.Member" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagPrefix="V5Shop" Namespace="V5Shop.Control" Assembly="V5Shop.Control" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<!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 id="Head1" runat="server">
    <title>站内短信管理</title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/membercss.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Control_Calendar.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
          <table border="0" cellpadding="5" cellspacing="0" class="membertable">
            <tr>
              <td height="20" colspan="2" background="../images/user/tbj10.gif" bgcolor="#65697A"><font color="FFFFFF"><strong><asp:Label ID="Label6" runat="server" Text="- 站内短信管理 -" style="color:#ffffff;font-weight:bold;" />      
          </strong></font></td>
        </tr>
        <tr>
          <td colspan="2" align="left" bgcolor="#FFFFFF"><div style="padding-right: 25px; padding-left: 25px; padding-bottom: 3px; color: #4b6888; padding-top: 3px; border-bottom: #cccccc 1px solid">
              <input name="checkbox" type="checkbox" class="checkbox" id="CheckAllBox" onclick="CheckAll()" />
             全选
        　    <asp:LinkButton ID="btnAdd" runat="server" ForeColor="#4B6888" OnClick="btnAdd_Click"><img src="images/icon/key_email.gif" alt="Read/Write Property"/> 发送短信</asp:LinkButton>
        　    <asp:LinkButton ID="btnEdit" runat="server" CausesValidation="False" ForeColor="#4B6888" OnClick="btnEdit_Click" OnClientClick="return CheckEdit()"><img src="images/icon/key_detail.gif" alt="阅读"/> 阅读</asp:LinkButton>
        　    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" ForeColor="#4B6888" OnClick="btnDel_Click" OnClientClick="return CheckDel()"><img src="images/icon/key_delete.gif" alt="删除选中"/> 删除选中</asp:LinkButton>
            </div>
              <div id="content">
                <div class="listborder">
                  <V5Shop:V5ShopGridView ID="GridViewShow" runat="server" OnRowDataBound="GridViewShow_RowDataBound"
                    AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CssClass="datalist" 
                    HeaderStyle-Height="18px" HeaderStyle-ForeColor="#000" EmptyDataText="没有查询到任何记录" TableName="UserMsgIndex">
                    <Columns>
                    <asp:TemplateField ItemStyle-Width="5%">
                      <ItemTemplate>
                        <input name="checkbox2" type="checkbox" class="checkbox" id="CheckBoxID" onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" value='<%# Eval("ID") %>' runat="server" mouse="out"/>
                      </ItemTemplate>
                      <itemstyle horizontalalign="Center"  />        
                    </asp:TemplateField>
                    <asp:BoundField ItemStyle-Width="5%" DataField="IsRead" SortExpression="IsRead" HeaderText="状态"/>
                    <asp:BoundField ItemStyle-Width="20%" DataField="Title" SortExpression="Title" HeaderText="标题"/>
                    <asp:BoundField ItemStyle-Width="15%" DataField="Date" SortExpression="Date" HeaderText="发送时间"/>
                    <asp:BoundField ItemStyle-Width="10%" DataField="SendName" SortExpression="SendName" HeaderText="发送人"/>
                    </Columns>
                  </V5Shop:V5ShopGridView>
                </div>
              </div>
            <div id="hiddenfield">
                <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
                <asp:HiddenField ID="PageIndex" runat="server" Value="0"/>
                <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0"/>
                <uc1:HiddenField ID="Alert" runat="server" />
            </div></td>
        </tr>
      </table>
    </div>
    </form>
</body>
</html>
