<!--#include virtual="/show/adminhead.asp"-->
<!--#include file="adminleft.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />


 
<title><%=webname%>-最高权限-邮件/短信发信</title>
<%
call lognamecode()
call logquanxian("f3",1)
%>

<DIV>



<%
act=SafeRequestform("act")


if act="add" then

sj1=trim(SafeRequestform("sj1"))
sj2=trim(SafeRequestform("sj2"))

yx1=trim(SafeRequestform("yx1"))
yx2=trim(SafeRequestform("yx2"))
yx3=trim(SafeRequestform("yx3"))
geshi=SafeRequestform("geshi")



if SafeRequestform("sj1")<>"" and SafeRequestform("sj2")<>"" then
conn.Execute("Insert Into mailto(mfs,mto,mcon) values('1','"&sj1&"','"&sj2&"')")
end if

if SafeRequestform("yx1")<>"" and SafeRequestform("yx2")<>"" and SafeRequestform("yx3")<>"" then
conn.Execute("Insert Into mailto(mto,mti,mcon) values('"&yx1&"','"&trim(yx2)&"','"&trim(yx3)&"')")
end if
		
call PopErr2("加入发信队列成功","admintosms.asp")  
response.End()

end if


%>
<DIV id=main1200> 
<%call webleft()%>

<DIV id=main_right>
<DIV id=main_right_content>
<STYLE>.apply_style {
	POSITION: absolute
}
.right_title A {
	LINE-HEIGHT: 27px; WIDTH: 126px; DISPLAY: inline-block; BACKGROUND: url(<%=ossurl%>images/bg22.gif) no-repeat; HEIGHT: 27px
}
.right_title A.current {
	BACKGROUND: url(<%=ossurl%>images/main_right_title_bg.gif) no-repeat; COLOR: #fff; FONT-WEIGHT: bold
}
.table_style_1 TD {
	HEIGHT: 38px
}
.table_style_home_info TD {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; HEIGHT: 30px; PADDING-TOP: 0px
}
</STYLE>

<DIV class=right_titleadmin>&nbsp;&nbsp;邮件/短信发信</DIV>
<DIV class=main><br>
  <form action="" method="post" name="myform" id="myform"> 
  <table width="99%" border="0" cellpadding="0" cellspacing="0" class="table_style_a1">
  <tr>
    <td width="15%" align="center">手机号码：</td>
    <td width="85%"><input name="sj1" type="text" id="sj1" value="" size="62"></td>
  </tr>
  <tr>
    <td width="15%" align="center">手机短信内容：</td>
    <td width="85%"><textarea name="sj2" cols="55" rows="5" id="sj2"></textarea></td>
  </tr>
  <tr>
    <td width="15%" align="center">&nbsp;</td>
    <td width="85%">&nbsp;</td>
  </tr>
  <tr>
    <td width="15%" align="center">电子邮箱：</td>
    <td width="85%"><input name="yx1" type="text" id="yx1" value="" size="62"></td>
  </tr>
  <tr>
    <td width="15%" align="center">邮件标题：</td>
    <td width="85%"><input name="yx2" type="text" id="yx2" value="" size="62"></td>
  </tr>
  <tr>
    <td align="center">邮件内容：</td>
    <td><textarea name="yx3" cols="55" rows="5" id="yx3"></textarea></td>
  </tr>
  <tr>
    <td align="center">发送格式：</td>
    <td><input name="geshi" type="radio" value="1" checked >
      普通格式
        <input type="radio" name="geshi" value="0" >
        HTML格式
        <input name="act" type="hidden" id="act" value="add"></td>
  </tr>
  <tr>
    <td align="center">&nbsp;</td>
    <td><input type="submit" name="button" id="button" value="加入发信队列"></td>
  </tr>
</table>
<br>
</form>
</DIV>


</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>
<SCRIPT>
$(function(){
$('.left_title').each(function(){
   $(this).click(function(){
	   var index=$('.left_title').index(this);
	   if($(this).next().hasClass('hide_m')){
		   $(this).next().removeClass('hide_m');
           $(this).next().show();		 
		   $(this).find('img').attr('src','<%=ossurl%>images/expansion.gif');
		   $.cookie('m_index_'+index,'',{expires:0});
	   } else {
	       $(this).next().hide();
		   $(this).next().addClass('hide_m');
		   $(this).find('img').attr('src','<%=ossurl%>images/shrank.gif');		   
		   $.cookie('m_index_'+index,'none',{expires:365});
	   }
   })
})

$('.left_title').each(function(){
	var index=$('.left_title').index(this);
    $(this).next().css('display',$.cookie('m_index_'+index) ? $.cookie('m_index_'+index) : '');
	if($.cookie('m_index_'+index)){
	    $(this).next().addClass('hide_m');
	}
	$(this).find('img').attr('src',$.cookie('m_index_'+index) ? '<%=ossurl%>images/shrank.gif' : '<%=ossurl%>images/expansion.gif');
})
})

</SCRIPT>


<!--#include virtual="/show/footadmin.asp"-->
