<%@ Language=VBScript %>
<%
If session("admau")="" Then
	ef=True
	ec="授权非法，有可能是超时造成的。"
elseIf session("canmailuser")="" Then
	ef=True
	ec="您没有此操作的权限。"
end if
if not ef Then

If request("Submit")="执行群发短信" Then response.redirect "smsone.asp?ServerlistID="&request("ServerlistID")&"&type="&request("type")&"&da="&request("da")&"&userfor="&request("userfor")&"&SendNum=群发不用改这儿&Content=请写短信内容"

If request("Submit")="执行群发云服务器短信" Then response.redirect "smsone.asp?ServerlistID="&request("ServerlistIDvps")&"&type="&request("typevps")&"&da="&request("davps")&"&userforvps="&request("userforvps")&"&SendNum=群发不用改这儿&Content=请写短信内容"

%>
<!--#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="gmail.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>
<%if request.QueryString("type")="user" then%>
<form name="form1" method="post" action="gemailsendtouser.asp?<%=request.QueryString%>">
<%elseif request.QueryString("type")="agent" then%>
<form name="form1" method="post" action="gemailsendtoagent.asp?<%=request.QueryString%>">
<%elseif request.QueryString("type")="server" then%>
<form name="form1" method="post" action="gemailsendtoserver.asp?<%=request.QueryString%>">
<%elseif request.QueryString("typevps")="server" then%>
<form name="form1" method="post" action="gemailsendtoservervps.asp?<%=request.QueryString%>">
<%elseif request.QueryString("type")="icp" then%>
<form name="form1" method="post" action="gemailsendtoicp.asp?<%=request.QueryString%>">
<%else%>
<form name="form1" method="post" action="gemailsend.asp?<%=request.QueryString%>">
<%end if%>
  标　　题：
    <input name="suject" type="text" id="suject" value="<%
	if Request.QueryString ("type")="host" then
	%>虚拟主机即将到期通知<%end if%><%
	if Request.QueryString ("type")="email" then
	%>邮箱即将到期通知<%end if%><%
	if Request.QueryString ("type")="Sql" then
	%>数据库即将到期通知<%end if%>" size="40">
  <br>
  <br>
  邮件内容：
  <textarea name="body" cols="50" rows="30" id="body"><%
	if Request.QueryString ("type")="host" then
	%>您的虚拟主机即将到期，请您留意续期。有任何问题请与我们联系。<%end if%><%
	if Request.QueryString ("type")="email" then
	%>您的邮箱即将到期，请您留意续期。有任何问题请与我们联系。<%end if%><%
	if Request.QueryString ("type")="Sql" then
	%>您的数据库即将到期，请您留意续期。有任何问题请与我们联系。<%end if%></textarea>
  <br>
  可以用html语法，换行请用&lt;br&gt;<br>
  <%if request.QueryString("type")="icp" then%>
  <br>请选择类型：
  <select name="op">
  <option value="0">未录入数据</option>
		  <option value="1">管理员录入数据</option>
            <option value="2">用户已录入数据</option>
			<option value="3">管理员已审核</option>
			<option value="4">用户需补充数据</option>
			<option value="5">已提交工信部</option>
			<option value="6">备案审核未通过</option>
			<option value="7">备案成功</option>
          </select>
<br><br>
  <%end if%>　　　　　
  <input type="submit" name="Submit" value="马上发送">
</form>
	
	</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%>
<%=ec%>
<%end if%>
<script>
var partable=parent.document.getElementById("table0");
if (partable!=null)
partable.style.display='';

partable=parent.document.getElementById("outconM");
if (partable!=null)
{partable.innerHTML = truecon.innerHTML;
document.body.innerHTML=partable.innerHTML;}
</script>

