<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sys_Sending.aspx.cs" Inherits="MTCUN.Mobile.SMS.sys_Sending"
    Title="正在发送-消息" %>

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../User_Col/col_Header.ascx" TagName="col_Header" TagPrefix="uc3" %>
<!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">
    <link id="mobileCss" runat="server" href="../themes/mobile.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <uc3:col_Header ID="col_Header1" runat="server" />
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>

        <div id="web_page_contents">

            <div class="biao_zhun_suo_jin">
                <div class="kuai_show">
                    <h1 style="text-align: center">发送队列</h1>

                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick" Enabled="False">
                            </asp:Timer>
                            <asp:Repeater ID="repBlock" runat="server">
                                <ItemTemplate>
                                    <div class="kuai">
                                        <h1 class="auto_length_title">
                                            <%# ShowSMSGroup((string)Eval("TargetNo"))%>
                                        </h1>

                                        <table class="table_simple_kuan" cellspacing="0" border="0">
                                            <tr>
                                                <td style="width: 65px">编号：</td>
                                                <td style="width: auto"><%# Eval("smsID") %></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 65px">内容：</td>
                                                <td style="width: auto"><%# Eval("Content") %></td>
                                            </tr>
                                            <tr>
                                                <td style="width: auto">时间：</td>
                                                <td style="width: auto"><%#Eval("DateAndTime") %></td>
                                            </tr>
                                            <tr>
                                                <td style="width: auto">接收者：</td>
                                                <td style="width: auto"><%# Eval("ClientName") %></td>
                                            </tr>
                                            <tr>
                                                <td style="width: auto">发送者：</td>
                                                <td style="width: auto"><%# Eval("TrueName") %></td>
                                            </tr>
                                            <tr>
                                                <td style="width: auto" colspan="2">
                                                    <div class="striking">
                                                        失败次数：<%# Eval("Errors") %>
                                                        <%--类型：<%# ShowMsgType((int)Eval("App")) %>--%>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <asp:CheckBox ID="cbxAutoRefresh" runat="server" AutoPostBack="True" OnCheckedChanged="cbxAutoRefresh_CheckedChanged"
                        Text="自动刷新" />
                </div>

                <div style="text-align: right" class="pager_button">
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always">
                        <ContentTemplate>
                            <asp:Literal ID="litPagerButton" runat="server"></asp:Literal>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>

                <div>
                    <label class="lab_button">
                        <asp:Button ID="btnClear" runat="server" OnClick="btnClear_Click" Text="清空队列" />
                    </label>

                </div>
            </div>

        </div>
    </form>
</body>
</html>
