<%@ Language=VBScript %>
<!--#include virtual="/inc-freehost-function/FreeHostEmail.asp"-->
<!--#include virtual="/inc-freehost-function/FreeHostFunction.asp"-->
<!--#include virtual="/inc-freehost-function/FreeHostFunctionMain.asp"-->
<%
If request("userfor")<>"" Then response.redirect "smssendtoserver.asp?ServerlistID="&request("ServerlistID")&"&type="&request("type")&"&da="&request("da")&"&userfor="&request("userfor")&"&SendNum=群发不用改这儿&Content="&request("Content")
If request("userforvps")<>"" Then response.redirect "smssendtoservervps.asp?ServerlistID="&request("ServerlistID")&"&type="&request("type")&"&da="&request("da")&"&userfor="&request("userfor")&"&SendNum=群发不用改这儿&Content="&request("Content")
server.ScriptTimeout =3600
If session("admau")="" Then
	ef=True
	ec="授权非法，有可能是超时造成的。"
elseIf session("canmailuser")="" Then
	ef=True
	ec="您没有此操作的权限。"
elseIf IsNull(Application("SMSKey")) Or Application("SMSKey")="" Then
	ef=True
	ec="请您先设置站点管理---系统参数中的短信接口才能使用本功能。"
ElseIf len(Request("SendNum"))<>11 Or  not IsNumeric(Request("SendNum")) Then
	ef=True
	ec="请提供准确的手机号码！"
ElseIf lenb(Request("Content"))>140 Then
	ef=True
	ec="内容超长了！"
end if
if not ef then
%>
<!--#include virtual="/inc-freehost-function/htmlwrite.asp"--><%=htmlwrite("html8")%>
<%=htmlwrite("html9")%>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="img/midtop4.gif">
  <TBODY>
    <TR>
      <TD width=53 align="left" background="img/midtop1.gif"><strong> 　 </strong><font color="#FFFFFF">─<strong>&gt;</strong></font> </TD>
      <TD align="left"><table height="59"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="7" background="img/midtop.gif">&nbsp;</td>
          <td width="90" align="center" valign="middle" background="img/r3.jpg" id="tableTop1" style="Cursor:hand"><a href="smsone.asp"><font color="#FFFFFF"><strong>发短信</strong></font></a></td>
          <td width="5" background="img/midtop2.gif">&nbsp;</td>
        </tr>
      </table></TD>
      <TD width="83">&nbsp;</TD>
      <TD width="83" align="left">&nbsp;</TD>
      <TD align="left">&nbsp;</TD>
      <TD width=23 align="right"><IMG height=59 
                  src="img/rtop4.jpg" 
                  width=19></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD width=19 background="img/midlef.gif" id=rightid>&nbsp;</TD>
      <TD height="300" align="center" vAlign=top bgcolor="#FFFFFF">
	<div id="truecon">  

<table width="65%"  border="0" cellspacing="1" cellpadding="2">
  <tr>
    <td>
	
	
	<br><DIV class="tableborder">
<table width="100%"  border="0" align="center" cellpadding="2" cellspacing="1">
  <tr align="center" bordercolor="#000000" bgcolor="#999999">
    <td height="24" colspan="4" background="img/tablebg.gif"><font color="#990000"><font color="#FFFFFF">返回信息</font></font></td>
  </tr>
  <tr bordercolor="#000000" bgcolor="#E4EAF2">
    <td width="14%"><font color="#000000">&nbsp; </font></td>
    <td width="86%" colspan="3" align="left">
	
	
<br>
<br>　
返回信息<br>
<br>
<%

Dim username
username=session("admusername")
ret=SendSms(Request("SendNum"),Request("Content"),0,Now,"")
%><%=ret%>    </td>
  </tr>


  <tr bordercolor="#000000" bgcolor="#E4EAF2">
    <td height="37" colspan="4" align="right" bgcolor="#E4EAF2"><font color="#000000"> 　　　</font><a href="#top"><font color="#6B9EDE" face="Arial, Helvetica, sans-serif">Top↑</font></a>	</td>
    </tr>


</table>
	</div>

	
	
	</td>
  </tr>
</table>

</div>

      </TD>
      <TD width=18 background="img/midri.gif">&nbsp;</TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
    <TR>
      <TD width=30><IMG height=19 
                  src="img/rb1.jpg" 
                  width=30></TD>
      <TD 
                background=img/rb2.jpg>&nbsp;</TD>
      <TD width=30><IMG height=19 
                  src="img/rb3.jpg" 
                  width=30></TD>
    </TR>
  </TBODY>
</TABLE>
<%=htmlwrite("html10")%>
<%end if
if ef then
Response.Redirect "e.asp?e="&ec
end if%>
