<%@ 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>
<title>商城系统-威博单用户商城后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>
<!--#include file=../include2.asp-->
<script language="JavaScript" type="text/JavaScript">
function uppic(model,frmname) 
{
  window.open("../upload/upload.asp?uppath=active&ProdId="+model+"&frmname="+frmname,"upload", "width=550, height=280, resizable=no,menubar=1,scrollbars=1")
}
</script>
<STYLE type=text/css>
#dhtmltooltip {
	font-size: 9pt;BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 4px; Z-INDEX: 100; FILTER: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=120); VISIBILITY: hidden; PADDING-BOTTOM: 4px; BORDER-LEFT: gray 1px solid; WIDTH: 150px; PADDING-TOP: 4px; BORDER-BOTTOM: gray 1px solid; POSITION: absolute; BACKGROUND-COLOR: #cccccc
}
</STYLE>
<div id='dhtmltooltip' height=250 width=250><img src=""/></div>
<script language="javascript" src="../../js/jump.js"></script>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->
<script language='javascript'>
<!--
 function Loadlogininfo(str1)

	{	
	var result,url;
	var j;
	url = "Pro_Moreproduct.asp?catid="+str1
	var xmlDoc=new ActiveXObject("Microsoft.XMLDOM") 
	xmlDoc.async=false;
	xmlDoc.load(url);
	document.getElementById("productlist").innerHTML=xmlDoc.childNodes(1).childNodes(0).childNodes(0).text;
	}
		
	function changecat(sel)
	{
		Loadlogininfo(sel.value);
	}
-->
</script>
 <script language="javascript">
<!--
function chkout(frm)
	{
		var goodsidlist = "";
		var first = true;
		for(var x=0; x<frm.targetgoods.options.length; x++){
			if(first)
			{
				goodsidlist = goodsidlist + frm.targetgoods.options[x].value;
				first = false;
			}
			else{
				goodsidlist = goodsidlist + "," + frm.targetgoods.options[x].value;
			}
		}	
		frm.goodsid_list.value = goodsidlist;

}

	function changecat(sel)
	{
			Loadlogininfo(sel.value);
	}
	function changepic(sel)
	{
			Loadpic(sel.value);
	}
	function clearsource()
	{
		myform.source.options.length = 0;
		myform.fieldlist.options.length = 0;
	}
	function addsource(frmobj,tn,tv)
	{
		var no = new Option();
		no.value = tv;
		no.text = tn;
		var frmbox = eval("myform."+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>
<center>
<!--#include file="../mall/web_mall_include.asp"-->
<div class="div-top">
<span class="right-span"><a href="javascript:history.go(-1);"><font color="#990000">添加促销活动</font></a>&nbsp;&nbsp;</span>
<span class="left-span">&nbsp;&nbsp;<strong>管理中心</strong>  - <%#@~^GQAAAA==r6P.;!+/D`r2k9Jb'rJ~O4+xGggAAA==^#~@%>添加促销活动<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>促销活动编辑<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> </span>
</div>
<div class="tab-div">
<%#@~^GQAAAA==r6P.;!+/D`r2k9Jb'rJ~O4+xGggAAA==^#~@%>
<table width="100%" border="0" cellpadding="1" cellspacing="0" bgcolor="#CCCCCC">
<form action="wactivesave.asp?action=addactive" method="post" name="myform">   
<tr>
<td height="25" colspan="2" align="right" valign="middle" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CDD2D8"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
  <td height="20" align="right" valign="middle">&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
<td width="20%" height="20" align="right" valign="middle"> 优惠活动名称：</td>
<td width="80%">
<input type="text" name="actname" maxlength="50">
<font color="#FF648C">* </font><font color="#999999">请使用一句简洁的话来概括此次优惠活动。 </FONT></td>
</tr>

</table>                                                </td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 上传大图：</td>
<td width="80%"><input name="bigphoto" type="text" id="Templet" size="50" value="" maxlength="100"><input type="button" name="Submit" value="上传大图" onClick="javascript:uppic('one','bigphoto');"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 上传小图：</td>
<td width="80%"><input name="smallphoto" type="text" id="smallphoto" size="50" value="" maxlength="100">  <input type="button" name="Submit" value="上传小图" onClick="javascript:uppic('one','smallphoto');"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 请选择模版类型：</td>
<td width="80%"><p>
<label>
<input name="tmp" type="radio" onClick="showtmp.style.display='';showurltmp.style.display='none'" value="1" checked>
本地模版</label>

<label>
<input type="radio" name="tmp" value="0" onClick="showtmp.style.display='none';showurltmp.style.display=''">
连接地址</label>

</p></td>
</tr>
</table></td>
</tr>
<tr  id="showtmp">
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle">本地模版选择：</td>
<td width="80%"><input name="Templet" type="text" id="Templet" size="50" value="<%=#@~^EAAAAA==	4m;{4N/|l1Ok7+OQYAAA==^#~@%>" maxlength="100">
<input type="button" name="Submit3" value="选择模板" onClick="OpenWindowAndSetValue('../../inc/SelectTemplet.asp?CurrPath=<%=#@~^EQAAAA==	4m;{k+Y!w6GV9+.zAYAAA==^#~@%><%=#@~^EAAAAA==	4m:2tnSAKUmf&IKQUAAA==^#~@%>',400,300,window,document.myform.Templet);document.myform.Templet.focus();"></td>
</tr>
</table></td>
</tr>
<tr style="display:none" id="showurltmp">
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 请输入活动URL地址：</td>
<td width="80%"><input name="TempletUrl" type="text" id="TempletUrl" size="50" value="" maxlength="100"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right"> 适用会员等级：</td>
<td align="left">
<input type="radio" name="memlevel" value="1" onClick="showstyle(0)">全部会员（包括非注册会员）
<input name="memlevel" type="radio" value="2" onClick="showstyle(0)" checked>所有注册会员
<input name="memlevel" type="radio" value="3" onClick="showstyle(3)"> 等级会员							</td>
</tr>
<tr id="tshow" style="display:none">
<td width="20%" height="25" align="right"> 请选择会员等级：</td>
<td align="left"><select name="uclass"  multiple id="uclass" style="width:40%">
<%#@~^bAAAAA==^KxU94@#@&/Y,./|mslk/x^Kxxcn6mEDncJk+^+^Y~M,0.Ws~4m;k+D/sm/dPK.9+.,4HPk9P9n/1Jb@#@&kW~M/{1slk/RGWPDtx~fCQAAA==^#~@%>
<option value="">请添加活动类型</option>
<%#@~^IgAAAA==n^/n@#@&9WPStbs+,xGY,Ddm1VlkdRW0,PwsAAA==^#~@%>
<option value="<%=#@~^DgAAAA==.k{^^lk/`rk9E#vAQAAA==^#~@%>"><%=#@~^GQAAAA==OMkhvDk{m^lkd`rj/{glhnr##dAgAAA==^#~@%></option>
<%#@~^OQAAAA==.k{^^lk/RsW7nx6O@#@&VGGa@#@&Md{1Vlkd m^Wk+@#@&nU9Pr0@#@&2BAAAA==^#~@%>
</select><INPUT TYPE="hidden" name="goodsid_list" value=""> </td>
</tr>
<tr>
<td height="25" align="right">说明：</td>
<td align="left"> <font color="#FF648C">等级会员是指积分值达到或者高于某一个数值时才能享受此优惠活动</font></td>
</tr>													
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right" valign="middle">指定购买金额：</td>
<td align="left" valign="middle">
<input name="actmoney" type="radio" value="1" onClick="showproctect(1)" >指定购买金额
<input name="actmoney" type="radio" value="0" checked onClick="showproctect(0)"> 不指定</td>
</tr>
<tr id="moneyshow" style="display:'none'">
<td width="20%" height="25" align="right" valign="middle">输入购买金额：</td>
<td align="left" valign="middle">
<input name="moneycount" type="text" value="" size=8> 此数值是指当用户一次消费金额>=此值后，才能参加此活动						      </td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right" valign="middle">活动类型：</td>
<td align="left" valign="middle">
<input name="acttype" type="radio" value="1" onClick="showstyle1(1)">依附商品
<input name="acttype" type="radio" value="2" checked onClick="showstyle1(2)">独立活动</td>
</tr>
<tr>
<td width="20%" height="25" align="right" valign="middle">说明：</td>
<td align="left" valign="middle">
1：依附商品是指针对某一种或者某一大类商品推出的活动。<br>
2：独立活动是指针对所有商品推出的活动，凡满足条件者均可参加活动<br>
3：当您选择依附商品选项时，<font color="#FF648C">购买金额一项</font>将失效                                                    </tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right" valign="middle">赠送方式：</td>
<td align="left" valign="middle">
<input name="actmethod" type="radio" value="1">全部赠送
<input name="actmethod" type="radio" value="2" checked>只选其一</td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="top">赠品内容： </td>
<td align="left" valign="middle"><table width="100%"  border="0" cellspacing="3" cellpadding="0" class="right2">
<tr>
<td align=left>是否有礼品：<input type="radio" name="petflag" value="1" onClick="petshow.style.display=''">是 <input type="radio" name="petflag" value="0" checked onClick="petshow.style.display='none'">否 </td>
</tr>
<tr id="petshow" style="display:'none'">
<td><select name="petid"  multiple id="petid"  style="width:40%" >
<%#@~^eAAAAA==^KxU94@#@&/Y,./|mslk/x^Kxxcn6mEDncJk+^+^Y~M,0.Ws~4m!b0Yd~StnD~V{dDlD+'8PK.ND~4HPr[,N+k^J*@#@&bW~Dk{1VC/d WWPD4+	PVCgAAA==^#~@%>
<option value="">请添礼品</option>
<%#@~^IgAAAA==n^/n@#@&9WPStbs+,xGY,Ddm1VlkdRW0,PwsAAA==^#~@%>
<option value="<%=#@~^DgAAAA==.k{^^lk/`rk9E#vAQAAA==^#~@%>"><%=#@~^GAAAAA==OMkhvDk{m^lkd`rMmxm:nE*#QwgAAA==^#~@%></option>
<%#@~^OQAAAA==.k{^^lk/RsW7nx6O@#@&VGGa@#@&Md{1Vlkd m^Wk+@#@&nU9Pr0@#@&2BAAAA==^#~@%>
</select></td>
</tr>
<tr>
<td align=left>是否送优惠券：
<input type="radio" name="Benefit" value="1" onClick="bagshow.style.display=''">是 <input type="radio" name="Benefit" value="0" checked onClick="bagshow.style.display='none'">否</td>
</tr>
<tr id="bagshow" style="display:'none'">
<td><select name="Benefitid"  multiple id="petid"  style="width:40%" >
<%#@~^egAAAA==^KxU94@#@&/Y,./|mslk/x^Kxxcn6mEDncJk+^+^Y~M,0.Ws~4m$x+WrDPAt.P$w{wVlT'Z~WMNnD,4z~bNP9n/1J#@#@&r0,Dk{^VCdkRnW6~Y4+U~rSgAAA==^#~@%>
<option value="">请添加通用优惠券</option>
<%#@~^IgAAAA==n^/n@#@&9WPStbs+,xGY,Ddm1VlkdRW0,PwsAAA==^#~@%>
<option value="<%=#@~^DgAAAA==.k{^^lk/`rk9E#vAQAAA==^#~@%>"><%=#@~^GQAAAA==OMkhvDk{m^lkd`rAo{glhnr##ZAgAAA==^#~@%></option>
<%#@~^OQAAAA==.k{^^lk/RsW7nx6O@#@&VGGa@#@&Md{1Vlkd m^Wk+@#@&nU9Pr0@#@&2BAAAA==^#~@%>
</select></td>
</tr>
<tr style="display:'none'">
<td align=left>是否有折扣：<input type="radio" name="discount" value="1" onClick="discshow.style.display=''">是 <input type="radio" name="discount" value="0" checked onClick="discshow.style.display='none'">否</td>
</tr>
<tr id="discshow" style="display:'none'">
<td>
输入折扣率：<input type="text" name="disrate" value=""   size=8 ONKEYPRESS="event.returnValue=IsDigit();">0~1之间的数字
消耗积分：<input type="text" name="usemarks" value=""   size=8><br>
详细说明：<br>1.如有折扣且不扣积分，则保留消耗积分一项为空。<br>
<!--2.如果有折扣且需要消耗积分。且折扣率和积分成递增关系，请保留折扣率为空<br>-->
2.如需扣积分 则两项均不为空。如折扣率为9，消耗积分为200 系统则自动判别为 享受九折需要200且不能改变<br>
<!--4.针对折扣率和积分消耗成递增关系：系统会自动判断折扣率和积分的关系！<a onclick="window.open('dialog.asp?action=dishelp','','top=200,left=200,width=260,height=320')" style="cursor:hand"><font color=red><br>查看详细说明</font></a>-->							   </td>
</tr>
<tr>
<td align=left>是否送积分：<input type="radio" name="remarks" value="1" onClick="markshow.style.display=''">是 <input type="radio" name="remarks" value="0" checked onClick="markshow.style.display='none'">否</td>
</tr>
<tr id="markshow" style="display:'none'">
<td>输入赠送积分：<input type="text" name="marks" value=""   size=15 ONKEYPRESS="event.returnValue=IsDigit();" maxlength="4"></td>
</tr>
</table>						    </td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="top">活动期限： </td>
<td align="left" valign="middle">    
<input type="radio" name="actexp" value="1" checked onClick="actexpshow.style.display='none';actshowmount.style.display='none';actshowper.style.display='none'">长期活动，无时间限制<br>
<input type="radio" name="actexp" value="2" onClick="actexpshow.style.display='';myform.actstate[1].checked=true;actshowmount.style.display='none';actshowper.style.display='none'">短期活动，有时间限制<br>
<input type="radio" name="actexp" value="3"  onclick="actexpshow.style.display='none';actshowmount.style.display='';actshowper.style.display='none'">礼品数量有限送完为止<br>
<input type="radio" name="actexp" value="4"  onclick="actexpshow.style.display='none';actshowmount.style.display='none';actshowper.style.display=''">定期活动						     </td>
</tr>
<tr id="actexpshow" style="display:'none'">
<td width="20%" height="20" align="right" valign="middle">选择起止：</td>
<td align="left" valign="middle">
<script language=javascript src=changetime.js></script> 
开始日期:<INPUT TYPE="text" NAME="actexp_s" size=12  onClick="getDateString(this,oCalendarChs)" readonly class=inputa>
结束日期:<INPUT TYPE="text" NAME="actexp_e" size=12  onClick="getDateString(this,oCalendarChs)" readonly class=inputa>						    </td>
</tr>
<tr id="actshowmount" style="display:'none'">
<td width="20%" height="20" align="right" valign="middle">输入数量：</td>
<td align="left" valign="middle">
<INPUT TYPE="text" NAME="actpercount" size=12 class=inputa ONKEYPRESS="event.returnValue=IsDigit();" maxlength="6">						    </td>
</tr>
<tr id="actshowper" style="display:'none'">
<td width="20%" height="20" align="right" valign="middle">选择日期：</td>
<td align="left" valign="middle">选择月
<input type="text" name="permonth" value="" class=inputa size="6" ONKEYPRESS="event.returnValue=IsDigit();" maxlength="2">
输入日期：<INPUT TYPE="text" NAME="actperday" size=12 class=inputa><br>日期如有多个 请以","隔开.如2月1,15号						    </td>
</tr>
</table></td>
</tr>

<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="top"> 优惠详细说明：</td>
<td align="left" valign="middle"></td>
</tr>
<tr>
<td align="left" valign="top">						    </td>
<td align="left" valign="top"><input type="hidden" name="notice" value=''> 
<iframe id="content" src="../../editor/ewebeditor.asp?id=notice&style=edubbs" frameborder="0" scrolling="no" width="100%" height="320"></iframe></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="3" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="top"> 活动是否立即开始：</td>
<td align="left" valign="middle"><input type="radio" name="actstate" value="1" checked>是 <input type="radio" name="actstate" value="0">否 <font color="#FF648C">注意:此选项对短期活动无效</font></td>
</tr>
</table></td>
</tr>
<tr>
<td width="20%" align="center" bgcolor="#FFFFFF"><label></label></td>
<td width="80%" height="50" align="left" bgcolor="#FFFFFF">
<input name="Submit4" type="submit" class="ModeBarBtnOn" value=" 确 定 ">
<input name="Submit22" type="reset" class="ModeBarBtnOn" value=" 取 消 ">
  <label></label></td>
</tr>

</table></td>
</tr>
</table></td>
</tr>
</form>
</table>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
<%#@~^HAAAAA==r6P.;!+/D`r2k9Jb@!@*JE~Dt+	VwgAAA==^#~@%>
<%#@~^XwAAAA==@#@&mG	x94@#@&/OPM/xmKxU 6+1;Y`Jkns+1Y,e~0.GsP	+(mb1Yr-bYX~A4+.+,r9'ELD;E/DcJak[J*[EE*@#@&Ax0AAA==^#~@%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
<form action="wactivesave.asp?action=editactive" method="post" name="myform">

<tr>
<td height="25" align="right" valign="middle" bgcolor="#FFFFFF"><INPUT TYPE="hidden" name="goodsid_list" value="">
<table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" class="right2">
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
  <td height="20" align="right" valign="middle">&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
<td width="20%" height="20" align="right" valign="middle"> 优惠活动名称：</td>
<td><input type="text" name="actname" value="<%=#@~^DAAAAA==.k`Em{	l:J*2wMAAA==^#~@%>" class=inputa maxlength="50"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 上传大图：</td>
<td width="80%"><input name="bigphoto" type="text" id="bigphoto" size="50" value="<%=#@~^DgAAAA==.k`Em{(koak1E#qAQAAA==^#~@%>" maxlength="100">  <img src="../images/icon-viewpic.gif" width="18" height="18" onMouseOver="javascript:ddrivetip('<img width=350 src=../../<%=#@~^DgAAAA==.k`Em{(koak1E#qAQAAA==^#~@%>>','#ffffff',350)" onMouseOut="hideddrivetip()"><input type="button" name="Submit" value="上传大图" onClick="javascript:uppic('one','bigphoto');"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="9" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 上传小图：</td>
<td width="80%"><input name="smallphoto" type="text" id="smallphoto" size="50" value="<%=#@~^EAAAAA==.k`Ez{k:l^Varmr#bwUAAA==^#~@%>" maxlength="100"> <img src="../images/icon-viewpic.gif" width="18" height="18" onMouseOver="javascript:ddrivetip('<img width=350 src=../../<%=#@~^EAAAAA==.k`Ez{k:l^Varmr#bwUAAA==^#~@%>>','#ffffff',350)" onMouseOut="hideddrivetip()"> <input type="button" name="Submit" value="上传小图" onClick="javascript:uppic('one','smallphoto');"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 请选择模版类型：</td>
<td width="80%"><p>
<label>
<input name="tmp" type="radio" onClick="showtmp.style.display='';showurltmp.style.display='none'" value="1" <%#@~^FgAAAA==r6P.k`rl{6VmLJ*'qPDtnUAAcAAA==^#~@%> checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
本地模版</label>

<label>
<input type="radio" name="tmp" value="0" onClick="showtmp.style.display='none';showurltmp.style.display=''" <%#@~^FgAAAA==r6P.k`rl{6VmLJ*'TPDtnU/wYAAA==^#~@%> checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
连接地址</label>

</p></td>
</tr>
</table></td>
</tr>
<tr  id="showtmp" <%#@~^FgAAAA==r6P.k`rl{6VmLJ*'qPDtnUAAcAAA==^#~@%> <%#@~^BAAAAA==n^/nqQEAAA==^#~@%> style="display:none"<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle">本地模版选择：</td>
<td width="80%"><input name="Templet" type="text" id="Templet" size="50" value="<%=#@~^EwAAAA==OMkhvDk`J:+s2VYE#*YgYAAA==^#~@%>" maxlength="100">
<input type="button" name="Submit3" value="选择模板" onClick="OpenWindowAndSetValue('../../inc/SelectTemplet.asp?CurrPath=<%=#@~^EQAAAA==	4m;{k+Y!w6GV9+.zAYAAA==^#~@%><%=#@~^EAAAAA==	4m:2tnSAKUmf&IKQUAAA==^#~@%>',400,300,window,document.myform.Templet);document.myform.Templet.focus();"></td>
</tr>
</table></td>
</tr>
<tr <%#@~^FgAAAA==r6P.k`rl{6VmLJ*'TPDtnU/wYAAA==^#~@%>  <%#@~^BAAAAA==n^/nqQEAAA==^#~@%>style="display:none"<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> id="showurltmp">
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 请输入模版链接地址：</td>
<td width="80%"><input name="TempletUrl" type="text" id="TempletUrl" size="50"  value="<%=#@~^FAAAAA==OMkhvDk`Jm{Dhw!DsJ*#6wYAAA==^#~@%>"  maxlength="100"></td>
</tr>
</table></td>
</tr>

<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right"> 适用会员等级：</td>
<td align="left">
<%#@~^xwAAAA==@#@&/n^+1YP1lknPM/cJz{\nssVmLJ*@#@&1Cd+,F=@#@&Yh2kY.'r全部会员包括非注册会员E@#@&mCdP l@#@&YhwkOM'E全部会员注册会员r@#@&mlk+,f)@#@&O:a/O.{JJ,'oYE1sC/kxm:n`.dvJ){!^Vm/dE*#[EE@#@&nx9~k+smD@#@&M+k2W	/nRSDrOPYs2/DD@#@&aTEAAA==^#~@%>							</td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right" valign="middle">指定购买金额：</td>
<td align="left" valign="middle">
<%#@~^qwAAAA==@#@&Yha/DD'rJ@#@&/VnmDP^Ck+PMd`rb{tGU+Hs^lLJb@#@&mC/~!=@#@&Osw/O.{J没有金额限制E@#@&^m/n,F=@#@&D:adYM'E一次购买金额在J,[.dvJb|\W	+Xrb'J元以上r@#@&+UN~dVnmD@#@&M+d2Kx/n SDrY~D:2kYM@#@&0CkAAA==^#~@%>                                                    </tr>
<tr id="moneyshow" style="display:'none'">
<td width="20%" height="25" align="right" valign="middle">输入购买金额：</td>
<td align="left" valign="middle">
<input name="moneycount" type="text" value="" size=8> 此数值是指当用户一次消费金额>=此值后，才能参加此活动						      </td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right" valign="middle">活动类型：</td>
<td align="left" valign="middle"><%#@~^FgAAAA==r6P.k`rl{DXanJ*'qPDtnUKAcAAA==^#~@%>依附商品活动<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>独立活动<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%></td>
</tr>
<tr>
<td width="20%" height="25" align="right" valign="middle">说明：</td>
<td align="left" valign="middle">
1：依附商品是指针对某一种或者某一大类商品推出的活动。<br>
2：独立活动是指针对所有商品推出的活动，凡满足条件者均可参加活动<br>                                                    </tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="25" align="right" valign="middle">赠送方式：</td>
<td align="left" valign="middle"><%#@~^GAAAAA==r6P.k`rl{s+D4W9Jb'8PO4x5wcAAA==^#~@%>享受全部优惠<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>活动礼品中任选其一<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="top">赠品内容： </td>
<td align="left" valign="middle">
<%#@~^GQAAAA==r6P.k`rb{h+DoVmoE#{!~O4+x6AcAAA==^#~@%>
无礼品
<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>
礼品名称：<%=#@~^GgAAAA==LYLb0Dxls+v./vJ){h+Or9J#*7AgAAA==^#~@%>
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%><br>
<%#@~^HQAAAA==r6P.k`rb{~+	n0bYoVmoEb{!PD4+	fAkAAA==^#~@%>
无优惠券
<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>
优惠券名称：<%=#@~^OwAAAA==A4mT+D:E^YbUls+cJq+8m~+xWkDJ~r$o{gls+E~.dvJ){~nx0rO&NJbbABQAAA==^#~@%>
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%><br>
<%#@~^HAAAAA==r6P.k`rb{"+tCD0sslTJbxZPY4nxAQkAAA==^#~@%>
无积分
<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>
赠送积分：<%=#@~^DAAAAA==.k`Ez{slD0J*xQMAAA==^#~@%>
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%><br>						    </td>
</tr>
</table></td>
</tr>

<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle">活动期限： </td>
<td align="left" valign="middle">    
<%#@~^GgAAAA==~b0~M/vJb|b1O+XwE#{F~O4+x,6wcAAA==^#~@%>
长期活动
<%#@~^HgAAAA==~Vdk6PDk`r){zmO+XwEb{ PD4+	PlQkAAA==^#~@%>
短期活动：开始日期<%=#@~^EQAAAA==.k`Ez{UYlMYGCYJbpgUAAA==^#~@%> 结束日期<%=#@~^EQAAAA==.k`Ez{UYlMYGCYJbpgUAAA==^#~@%>
<%#@~^HgAAAA==~Vdk6PDk`r){zmO+XwEb{&PD4+	PlgkAAA==^#~@%>
数量有限，送完为止
<%#@~^HgAAAA==~Vdk6PDk`r){zmO+XwEb{cPD4+	PlwkAAA==^#~@%>
定期活动：<%=#@~^EAAAAA==.k`Ez{:k:s^Cor#IwUAAA==^#~@%>月<%=#@~^DwAAAA==.k`Ez{:k:4DAJ*9gQAAA==^#~@%>为活动日
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>						     </td>
</tr>
</table></td>
</tr>

<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="top"> 优惠详细说明：</td>
<td align="left" valign="middle" width="80%"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" align="left" valign="top">											     </td>
<td width="80%" align="left" valign="top"><input type="hidden" name="notice" value='<%=#@~^DwAAAA==.k`Ez{;WxD+	OJ*9QQAAA==^#~@%>'>
<iframe id="content" src="../../editor/ewebeditor.asp?id=notice&style=edubbs" frameborder="0" scrolling="no" width="100%" height="320"></iframe>		</td>
</tr>
</table></td>
</tr>
<tr>
<td height="9" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="middle"> 当前状态：</td>
<td align="left" valign="middle">
<%#@~^GQAAAA==~b0~M/vJb|?DCYJb'ZPO4xPhgcAAA==^#~@%>
尚未开始
<%#@~^HAAAAA==n^/nb0,D/vJzm?DlO+r#xq,YtUPEAkAAA==^#~@%>
活动进行中...
<%#@~^HAAAAA==n^/nb0,D/vJzm?DlO+r#x+,YtUPEQkAAA==^#~@%>
活动已结束
<%#@~^HAAAAA==n^/nb0,D/vJzm?DlO+r#xf,YtUPEgkAAA==^#~@%>
活动已取消
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>						    </td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="right2">
<tr>
<td width="20%" height="20" align="right" valign="top"> 活动是否立即开始：</td>
<td align="left" valign="middle"><input type="radio" name="actstate" value="1" <%#@~^FwAAAA==r6P.k`rb{UYmO+r#xF,Y4n	RwcAAA==^#~@%> checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
是
<input type="radio" name="actstate" value="0" <%#@~^FwAAAA==r6P.k`rb{UYmO+r#x!,Y4n	RgcAAA==^#~@%> checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
否 <font color="#FF648C">注意:此选项对短期活动无效</font></td>
</tr>
</table></td>
</tr>
<tr>
<td width="20%" align="center" bgcolor="#FFFFFF">&nbsp;&nbsp;</td>
<td width="80%" height="50" align="left" bgcolor="#FFFFFF"><input type="hidden" name="actid" value="<%=#@~^DgAAAA==.;;/D`Jak9E#2wQAAA==^#~@%>">
  <input type="hidden" name="page" value="<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>">
  &nbsp;&nbsp;
  <input name="Submit42" type="submit" class="ModeBarBtnOn" value=" 确 定 ">
  <input name="Submit222" type="reset" class="ModeBarBtnOn" value=" 取 消 ">
  <label></label></td>
</tr>
</table></td>
</tr>
</form>
</table>
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>
</div>
</center>
<!-- #include file="../bottom2.asp" -->
</body>
</html>
<%#@~^CAAAAA==@#@&@#@&LgAAAA==^#~@%>
 <script type="text/javascript">
	function showstyle(type)
	{
		if (type == 3){
			tshow.style.display = "";
		}else{
			tshow.style.display = "none";
		}
	}
	function showstyle1(type)
	{
		if (type == 1){
			if(myform.actmoney[0].checked==true)
			{
				alert("您已经指定了购买金额，如果选择依附商品，则购买金额将自动被忽略");
				moneyshow.style.display = "none";
				myform.actmoney[1].checked=true;
			}
		}else{
			//myform.actmoney.disabled=false;
		}
	}
	function showproctect(type)
	{
		if (type == 1){
			if(myform.acttype[0].checked==true)
			{
				alert("您选择了活动类型是依附商品,则无法再指定购买金额\n如果要指定购买金额，请先设置活动类型为独立活动");
				moneyshow.style.display = "none";
				myform.actmoney[1].checked=true;
			}
			else
			{
				moneyshow.style.display = "";	
			}
		}else{
			moneyshow.style.display = "none";
		}
	}
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}

var oCalendarEn=new PopupCalendar("oCalendarEn");
oCalendarEn.Init();
var oCalendarChs=new PopupCalendar("oCalendarChs");
oCalendarChs.weekDaySting=new Array("日","一","二","三","四","五","六");
oCalendarChs.monthSting=new Array("一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月");
oCalendarChs.oBtnTodayTitle="今天";
oCalendarChs.oBtnCancelTitle="取消";
oCalendarChs.Init();

</script>
<%#@~^zQMAAA==@#@&s;	mDkW	PTnY|w.WdkdOvKXanqG~0|/G:alD?ODSOswmnm.+	Y([BY:2mDl8Vb,P@#@&dGk:,0|/tbV[1hd]k~Z4rV9KXanJkkYUY.~Wm:+hwUODB0mrkjDsjDDSV	L|MnDZKExD@#@&7/$VxJU+sn1YPb[~6kNBHC:P6DG:~ELYhw|Ol(Vn'rPh4nM+~0b[{J~LP:XwqG~[,J~WMNn.,4X,rN,N+k^EP@#@&iB.+d2Kxd+cADbYn~k;V@#@&i?nY,W|Z4bV91+S/"dP{P/W	x 3X+m!O+v/;^b@#@&i0|Kn:2jDD~'6mZK:2CD?Y.~LPE┄J@#@&iNG,h4kVPgGY,0mZ4ks[g+hk]/c2W6@#@&didb0~Yh2|nCDUY&N~x,0{/4bV[1AkIdvJbNJ*PD4+	@#@&did7LY{a.Wdk/D~xPT+D{2DGJb/OPL~J@!W2ObWx~-mV;+{ErJ',0|ZtbV9H+S/]/vJr[r#PLEJrP/snmD+9@*E@#@&7idnVkn@#@&d77io+OmaDGSbdDPx,oY{aDKJkkY~[,J@!GaYkKUP7lV!nxJrJLPW{/4bV[1A/"/cEbNJb~LJEJ@*E@#@&7idxN,k6@#@&id7oYm2MWSbdY,'PTnO{aDKSr/O~LPE├J,'P,0mP:wjOMP'P6m;tr^Ng+hkIkcJglh+r#~@#@&ddiL+D{wMGJkkY,'~onO|w.Wdr/DP'~r@!zG2DkGx@*E,[~;tM`F2#,'P;t.`8!b@#@&ddiL+D{wMGJkkY,'~onO|w.Wdr/DP'LY{2.KSr/Dc6{/4k^N1hk]/vJrNr#SW|K+s2?DD~Dh2{hlM+UY([BYhw|Ol(Vnb@#@&d7W|Z4k^[g+AkIkRHK\H+XY@#@&iVGGa@#@&iW{;tk^[H+S/"/ ZsGk+@#@&ij+DPWm;tks[g+A/"d,'~gWDtk	o@#@&2	N~s!x^ObWx@#@&lyYBAA==^#~@%>
 

