<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<!--
'##################################################################                                                                 
'★         web08.net - 威博购物系统                                              
'★  版权所有: web08.net                                                                                                       
'★  程序制作: 威博网络技术公司                                     
'★           email:web08net@hotmail.com                           
'★            Q Q :645095280,475980829
'★	       电话:021-55520018                                                                                                         
'★  相关网址: [产品介绍] http://www.021web.com.cn/gwxt.html
'★            [支持论坛] http://bbs.web08.net/                                                                                     
'★  主页地址: http://www.web08.net/  
'★		http://www.021web.com.cn/			                                                                 
'###################################################################
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title>邮件群发</title>
<script language="javascript" src="js.js"></script>
<script language="javascript" src="mail_groupsend.js"></script>
</head>
<%#@~^DgAAAA==rkl[sk	`J8&+E#FAQAAA==^#~@%>
<!--#include file=../include2.asp-->

<%#@~^BgAAAA==^KxU94dAIAAA==^#~@%>
<script language="javascript">
<!--
function changecat(sel)
{
	Loadlogininfo(sel.value);
}
function changepic(sel)
{
	Loadpic(sel.value);
}
function clearsource()
{
	form1.source.options.length = 0;
	form1.fieldlist.options.length = 0;
}
function addsource(frmobj,tn,tv)
{
var no = new Option();
no.value = tv;
no.text = tn;
var frmbox = eval("form1."+frmobj);
frmbox.options[frmbox.options.length] = no;
}
function add(fbox,tbox) {
var j=0 ;
for(var i=0; i<fbox.options.length; i++) {
if(fbox.options[i].selected && fbox.options[i].value != "") {
var no = new Option();
no.value = fbox.options[i].value;
no.text = fbox.options[i].text;

for(var x=0; x<tbox.options.length; x++){
if(tbox.options[x].value == no.value){
j = 1 ;
break ;
}  
}
if(j == 0){
tbox.options[tbox.options.length] = no;
}
}
}
}

function del(fbox,tbox) {
for(var i=0; i<fbox.options.length; i++) {
if(fbox.options[i].selected && fbox.options[i].value != "") {
fbox.options[i].value = "";
fbox.options[i].text = "";
}
}
BumpUp(fbox);
}
function BumpUp(box)  {
for(var i=0; i<box.options.length; i++) {
if(box.options[i].value == "")  {
for(var j=i; j<box.options.length-1; j++)  {
	box.options[j].value = box.options[j+1].value;
	box.options[j].text = box.options[j+1].text;
}
var ln = i;
break;
}
}
if(ln < box.options.length)  {
	box.options.length -= 1;
	BumpUp(box);
}
}

-->
</script>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->
<center>
<!--#include file="../other/web_other_include.asp"-->
<div class="div-top">
<span class="left-span">&nbsp;&nbsp;<strong>管理中心</strong>  - 邮件群发系统 </span>
</div>

<div class="tab-div">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">

<tr bgcolor="#F1F1F1">
<td width="1083%" height="20" colspan="3" align="left" bgcolor="#FFFFFF"> <a href="sendmail.asp"> 所有会员群发</a> | <a href="sendmail.asp?action=mailgroup">邮件组群发</a> |  <a href="sendmail.asp?action=ordermail">订阅会员群发</a> | <a href="sendmail.asp?action=userclass">等级会员群发</a></td>
</tr>

<tr>
<td height="30" colspan="3" align="left">
<%#@~^HAAAAA==r6P.;!+/D`rCmDkGxr#xErPY4nxWwkAAA==^#~@%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form name="form1" method="post" action=""><tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">群发条件：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><p>
<input name="mailserverid" type="radio" value="1"  id="radio"checked onClick="user.style.display='none';uclass.style.display='none';mailclass.style.display='none';">
所有会员群发
</td>
</tr>
<tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"></a>选择邮件内容：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><SELECT name="mailcontentid" size=10  id="mailcontentid" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 250px; BORDER-BOTTOM: #cccccc 1px solid">
<%#@~^QgAAAA==dY~M/|:lbV{^W	x +X+^;D+`rd+^+mD~MP6DK:~n8|2hlbsKD[~St+.n,k['RE*UBcAAA==^#~@%>
<option value="<%=#@~^DQAAAA==.k{hmk^`JbNrbSQQAAA==^#~@%>"><%=#@~^EwAAAA==.k{hmk^`JA|PkDVnJ*eQYAAA==^#~@%></option>

<%#@~^XgAAAA==.k{hmk^Rm^Wkn@#@&@#@&/Y~.k{:mrV{mW	U +X+1EO+cEk+s+1OPCPW.K:P	n({3:mr^GMN,htD~2q{js^lLxZPJ*vB4AAA==^#~@%>
<%#@~^GwAAAA==~9W~StbV+,xKOPM/m:mks W0,~TAkAAA==^#~@%>
<option value="<%=#@~^DQAAAA==.k{hmk^`JbNrbSQQAAA==^#~@%>"><%=#@~^EwAAAA==.k{hmk^`JA|PkDVnJ*eQYAAA==^#~@%></option>
<%#@~^KQAAAA==.k{hmk^R:K\U+XY@#@&^WG2@#@&Dkm:mkVc^sWk+ng0AAA==^#~@%>
</select>
<label>
<input type="hidden" name="mailclassid" value="1">
<input type="hidden" name="mailobjectid" value="1">
</label></td>
</tr>
<tr align="center">
<td width="20%" height="30" bgcolor="#FFFFFF">&nbsp;</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF"><input type="button" name="Submit122" value=" 执 行 " onClick="javascript:SetMailSendState(mailserverid.value,mailclassid.value,mailcontentid.value,mailobjectid.value)"></td>
</tr></form>
</table>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>        
<%#@~^JQAAAA==r6P.;!+/D`rCmDkGxr#xEslk^LDKEwr~OtxKw0AAA==^#~@%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form name="form1" method="post" action=""><tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">群发条件：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><p>
<input name="mailserverid" type="radio" value="2"  id="radio"checked onClick="user.style.display='none';uclass.style.display='none';mailclass.style.display='none';">
邮件组会员群发</td>
</tr>
<tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">选择邮件组：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><SELECT name="mailclassid" size=10  id="mailclassid" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 250px; BORDER-BOTTOM: #cccccc 1px solid">
<%#@~^OwAAAA==dY~M/|h/|VbdY{mGx	RnamEDn`r/+^n^Y,e,0.Wh~q+8{tCk^l..mXPEbUxUAAA==^#~@%>
<%#@~^GwAAAA==[KPA4k^+P	WD~Dk{A/|VrdDR+KWTgoAAA==^#~@%>
<option value="<%=#@~^EAAAAA==.k{Ak{^k/D`r(fr#awUAAA==^#~@%>" ><%=#@~^HgAAAA==OMkhvDk{hk{^r/D`EHz{).M1lsnJ*#fgoAAA==^#~@%></option>
<%#@~^LwAAAA==.k{Ak{^k/DRsG\xn6D@#@&sKWw@#@&Dk{hkmskkYcmsWdnYhAAAA==^#~@%>
</SELECT></td>
</tr>
<tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"></a>选择邮件内容：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><SELECT name="mailcontentid" size=10  id="mailcontentid" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 250px; BORDER-BOTTOM: #cccccc 1px solid">
<%#@~^TAAAAA==@#@&/nDPM/{slbs'1WUxc+an1EYcJk+V^OPCP6DG:~	4m2sCk^G.9Ph4nM+~2qmUssmo{!J*WhkAAA==^#~@%>
<%#@~^GwAAAA==~9W~StbV+,xKOPM/m:mks W0,~TAkAAA==^#~@%>
<option value="<%=#@~^DQAAAA==.k{hmk^`JbNrbSQQAAA==^#~@%>"><%=#@~^EwAAAA==.k{hmk^`JA|PkDVnJ*eQYAAA==^#~@%></option>
<%#@~^KQAAAA==.k{hmk^R:K\U+XY@#@&^WG2@#@&Dkm:mkVc^sWk+ng0AAA==^#~@%>
</select>
<label>
<input type="hidden" name="mailobjectid" value="1">
</label></td>
</tr>
<tr align="center">
<td width="20%" height="30" bgcolor="#FFFFFF">&nbsp;</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF"><input type="button" name="Submit123" value=" 执 行 " onClick="javascript:SetMailSendState(mailserverid.value,mailclassid.value,mailcontentid.value,mailobjectid.value)"></td>
</tr></form>
</table>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> 
<%#@~^JQAAAA==r6P.;!+/D`rCmDkGxr#xEKDN.:mkVr~OtxGg0AAA==^#~@%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
<form name="form1" method="post" action=""><tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">群发条件：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><p>
<input name="mailserverid" type="radio" value="3"  id="radio"checked onClick="user.style.display='none';uclass.style.display='none';mailclass.style.display='none';">
订阅会员群发
</td>
</tr>
<tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"></a>选择邮件内容：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><SELECT name="mailcontentid" size=10  id="mailcontentid" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 250px; BORDER-BOTTOM: #cccccc 1px solid">
<%#@~^TAAAAA==@#@&/nDPM/{slbs'1WUxc+an1EYcJk+V^OPCP6DG:~	4m2sCk^G.9Ph4nM+~2qmUssmo{!J*WhkAAA==^#~@%>
<%#@~^GwAAAA==~9W~StbV+,xKOPM/m:mks W0,~TAkAAA==^#~@%>
<option value="<%=#@~^DQAAAA==.k{hmk^`JbNrbSQQAAA==^#~@%>"><%=#@~^EwAAAA==.k{hmk^`JA|PkDVnJ*eQYAAA==^#~@%></option>
<%#@~^KQAAAA==.k{hmk^R:K\U+XY@#@&^WG2@#@&Dkm:mkVc^sWk+ng0AAA==^#~@%>
</select>
<label>
<input type="hidden" name="mailclassid" value="1">
<input type="hidden" name="mailobjectid" value="1">
</label></td>
</tr>
<tr align="center">
<td width="20%" height="30" bgcolor="#FFFFFF">&nbsp;</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF"><input type="button" name="Submit124" value=" 执 行 " onClick="javascript:SetMailSendState(mailserverid.value,mailclassid.value,mailcontentid.value,mailobjectid.value)"></td>
</tr></form>
</table>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> 
			  <%#@~^JQAAAA==r6P.;!+/D`rCmDkGxr#xE!/+M^Vm//r~OtxMA0AAA==^#~@%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form name="form1" method="post" action=""><tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">群发条件：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><p>
<input name="mailserverid" type="radio" value="4"  id="radio"checked onClick="user.style.display='none';uclass.style.display='none';mailclass.style.display='none';">
等级会员群发</td>
</tr>
<tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">请选择会员等级：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><SELECT name="mailclassid" size=10 multiple id="mailclassid" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH:250px; BORDER-BOTTOM: #cccccc 1px solid">
<%#@~^OwAAAA==dY~M/|h/|VbdY{mGx	RnamEDn`r/+^n^Y,e,0.Wh~q+8{`d+MZsCk/PEbRhUAAA==^#~@%>
<%#@~^GwAAAA==[KPA4k^+P	WD~Dk{A/|VrdDR+KWTgoAAA==^#~@%>
<option value="<%=#@~^EAAAAA==.k{Ak{^k/D`rrNr#qwUAAA==^#~@%>" ><%=#@~^GwAAAA==OMkhvDk{hk{^r/D`Ej;{HCs+J*bYwkAAA==^#~@%></option>
<%#@~^LwAAAA==.k{Ak{^k/DRsG\xn6D@#@&sKWw@#@&Dk{hkmskkYcmsWdnYhAAAA==^#~@%>
</SELECT></td>
</tr>
<tr align="center">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"></a>选择邮件内容：</td>
<td width="80%" align="left" bgcolor="#FFFFFF"><SELECT name="mailcontentid" size=10  id="mailcontentid" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 250px; BORDER-BOTTOM: #cccccc 1px solid">
<%#@~^TAAAAA==@#@&/nDPM/{slbs'1WUxc+an1EYcJk+V^OPCP6DG:~	4m2sCk^G.9Ph4nM+~2qmUssmo{!J*WhkAAA==^#~@%>
<%#@~^GwAAAA==~9W~StbV+,xKOPM/m:mks W0,~TAkAAA==^#~@%>
<option value="<%=#@~^DQAAAA==.k{hmk^`JbNrbSQQAAA==^#~@%>"><%=#@~^EwAAAA==.k{hmk^`JA|PkDVnJ*eQYAAA==^#~@%></option>
<%#@~^KQAAAA==.k{hmk^R:K\U+XY@#@&^WG2@#@&Dkm:mkVc^sWk+ng0AAA==^#~@%>
</select>
<label>
<input type="hidden" name="mailobjectid" value="1">
</label></td>
</tr>
<tr align="center">
<td width="20%" height="30" bgcolor="#FFFFFF">&nbsp;</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF"><input type="button" name="Submit12" value=" 执 行 " onClick="javascript:SetMailSendState(mailserverid.value,mailclassid.value,mailcontentid.value,mailobjectid.value)"></td>
</tr></form>
</table>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>              </tr>
</table>
</div>
</center>
<!-- #include file="../bottom2.asp" -->
</body>
</html>
<div id="SendStateContent" style="DISPLAY:none; Z-INDEX:1001; POSITION:absolute; background-color:#FFFFFF;">
<table height="100%" width="100%" border=0 cellpadding=0 cellspacing=0>
<tr>
<td>
<table bgcolor="#FFFFFF" height="150" width="300" align="center" style="border:1px solid #000000" cellpadding=3 cellspacing=0 border=0>
<tr>
<td height="24" style="font-size:14px;background-color:#999999;color:#ffffff;font-weight:bold"> &nbsp; 信 息 提 示</td>
</tr>
<tr>
<td align="center" valign="middle" id="div_content">
	正在发送邮件...，请不要点其他链接或刷新<br><br>
合计总数量：<span id="total_allnum">0</span> 条，发送成功：<span id="succeed_allnum">0</span> 条，发送失败：<span id="failing_allnum">0</span> 条

</td>
</tr>
<tr height='40'>
<td align='center' id="div_button"><input id='div_btnOK' name="div_btnOK" type=button value=' 中止发送 ' onClick="javascript:window.location='?';"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<%#@~^qwIAAA==@#@&:CbV4k/DWMzk9'.+$EndDRp!nDH?YMrUovJslrV4rkYGDHrNr#@#@&b0Prd&xO+TnM`hmk^tkkYK.XbNbPDtnU@#@&mKUx94@#@&dnY,Dk'^WUUc+a+1;Y`EdV+^O,YGw,q,e~6DK:P]h8{slrV4kdOKDXY~h4+D~rN{JLPhlrs4kdYK.XbN~'rJ#@#@&b0~xKO,Ddc+K0PDtU@#@&dd+	NOrs+'Md`r/+	[Oks+r#@#@&v^^ld/b['M/cE1VlddbNE#@#@&i:CbV1WxD+	Ok9'./vJhCbVmKUYxYb[E#@#@&i:CksdD-+MrN{Ddcr:lrsk+.\.bNE*@#@&d:mk^G4N+^YbNx.k`JsCk^W4Nn^YbNr#@#@&7sm/O{sCk^k[xM/`Esm/O{sCbVr9J*@#@&i/UNkYCY'.dvJ/UNkYlDnE#@#@&iYGYCs	Eh'Md`rYGOmVx;hr#@#@&id!m^+9xEs'Md`r/;m1+n[	E:rb@#@&d0mrsk	o	Eh'.dvJWlbsk	oU;sJ#@#@&imslkdbNx8@#@&+x9PbW@#@&DdR1VGd)/OPM/'	GOtbxT@#@&+U[,kW@#@&@#@&b0~~b/qUOonDvhmks1W	Y+	Yb[#,lUN,kd(	Y+TnDv:lbsd+M\DrNb~mx[Pknx9/OCD+'ETrPOtUC9wAAA==^#~@%>
<script language="javascript">
<!--
sendnum_all=<%=#@~^CAAAAA==OKYC^x!:dAMAAA==^#~@%>;
succeednum_all=<%=#@~^CgAAAA==d!m^+9xEsLAQAAA==^#~@%>;
failingnum_all=<%=#@~^CgAAAA==WmksbxTxEsKgQAAA==^#~@%>;
SetContinueSend(<%=#@~^DAAAAA==hmksk+M\+Mk9BwUAAA==^#~@%>,<%=#@~^BwAAAA==^^ldkk94wIAAA==^#~@%>,<%=#@~^DQAAAA==hmks1W	Y+	Yb[awUAAA==^#~@%>,<%=#@~^DAAAAA==hmksK4N+mDk95wQAAA==^#~@%>,<%=#@~^CwAAAA==sm/O|:mkVbNgwQAAA==^#~@%>,<%=#@~^DQAAAA==hmks4kkYWMXb[ggUAAA==^#~@%>);
-->
</script>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
<script>
<!--
function addrecordset()
{

	location='configmail.asp';
}
function ListUpdate(ID,page)
{
	location='configmail.asp?PID='+ID+'&page='+page;
}
-->
</script>



