﻿<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<%#@~^FwQAAA==@#@&B:[a[aa[a[:a[a:a[a::[aa[:a[aa[::a[a[a:a::[a:a[:a[a::[aa::[a:a[:[a:[P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P@#@&B★,P,~P,P~PS+8TRRxOP P威博购物系统P,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,@#@&E★P~版权所有),hn8Z%R	nY,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P@#@&B★,P程序制作),威博网络技术公司P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P@#@&B★,P~~,PP~~,Pn:mr^)A4Z%xY@$4WD:Ck^R^GsPP,~P,PP,~~P,P,P~P~~,P~P,~P@#@&v★~,PP~~,P~P,~5P},)+c*Z,l+%Z~*Gl,0TR ,@#@&B★iPP,~~P,电话)Z qOXXl T!80P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,@#@&E★PP相关网址=~,产品介绍T,tDY2)&&ShARZ+FS+8 1W: ^	zLhXOctOsV@#@&B★,P,~P,P~P,P~,支持论坛YPtDOw=zz(8dRS+(!0RUnDz~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,@#@&E★P,主页地址)P4YD2)JzAhSRAn(!%cU+DzP,@#@&B★id4YOwl&JhAhcT 8hn8cmWh 1x&di7,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,@#@&Ea[aa[a[:a[a:a[a::[aa[:a[aa[::a[a[a:a::[a:a[:a[a::[aa::[a:a[:[a:[a[a@#@&V50AAA==^#~@%><!--#include file="../include2.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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>
</head>
<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;
		}
	
</script>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->

<%#@~^fgAAAA==7M+daW	/+cA!W0DxPDD;n,@#@&i^W	xN(@#@&dk+DP./mdmVn'1Gx	RnamEOnvJd+^n1Y~CP6DWsPSn4|h4W^+dC^+PS4+M+Pb[xJLD;;+dOvJ2k9E#LJEb@#@&7ScAAA==^#~@%>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="middle"><table width="48%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="160" align="right"><img src="../images/index/GOODS.gif" width="150" height="50"></td>
          <td background="../images/index/label.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><font color="#688A00">商品促销管理 
            | PRODUCT COMMENT</font></strong> <br>
                            <br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商城系统 
            &gt; 商品管理 
            &gt; 商品促销管理</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td align="right" valign="middle">&nbsp;</td>
  </tr>
  <tr>
    <td align="center" valign="middle"><!--#include file="web_active_include.asp"--></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="10" height="10"><img src="../images/index/WN.gif" width="10" height="10"></td>
        <td height="10" background="../images/index/N.gif"><img src="../images/index/N.gif" width="1" height="10"></td>
        <td width="10"><img src="../images/index/EN.gif" width="10" height="10"></td>
      </tr>
      <tr>
        <td background="../images/index/W.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#dddddd">
          
          <tr align="center" bgcolor="#FFFFFF">
            <td width="100%"  valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
              <form name="form1" method="post" action="wactivesave.asp?action=active_prolist">
                <tr>
                  <td height="20" align="center" background="../images/inputback.gif"><font color="#688A00">【活动关联商品 】</font></td>
                </tr>
                <tr>
                  <td height="30" align="right" bgcolor="#FFFFFF"><table width="70" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="37"><a href="javascript:history.go(-1);"><img src="../images/goback.gif"  border="0" align="absmiddle" /></a></td>
                      <td width="33" valign="bottom"><a href="javascript:history.go(-1);">返回</a></td>
                    </tr>
                  </table></td>
                </tr>
                
               
                <tr align="center" bgcolor="#FFFFFF">
                  <td height="30" align="left" >活动名称: <%=#@~^PAAAAA==LYG	+7lV!+vE4mb1Yr-bYXrSJz{xmhnJBJbNxJ'.;;+kO`rwr[r#[EE*lBMAAA==^#~@%>
                    <input type="hidden" name="pid" value="<%=#@~^DgAAAA==.;;/D`Jak9E#2wQAAA==^#~@%>">
                    <input name="page" type="hidden" id="page" value="<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>"></td>
                  </tr>
                
                <tr align="center">
                  <td height="30" align="left" bgcolor="#FFFFFF">关联商品：</td>
                </tr>
                <tr align="center">
                  <td height="30" align="left" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
		  
          <tr>
            <td width="16%" height="39" align="right" bgcolor="#FFFFFF"><label>商品分类别：</label></td>
            <td height="39" colspan="3" align="left" bgcolor="#FFFFFF"> 



			<select name="pclass" id="pclass"  onchange=changecat(this)>
          		<option value="0" selected>-----显示所有商品-----</option>
		  	<%#@~^+wEAAA==@#@&d7,PidmKx	[4@#@&7d,P~~,PP,[ksPm^Cd/|Dk{G4%SD:2{K8LBYh2|nl.n	Y(N@#@&id~iPk+Y,m^C/k{./|W8%{ZW	UR6+1;O+vJk+s+^O,e~0MG:,n8|nDG/^ld/,A4+.P6kN{!,Cx9PWVmoxT,WD9nD,4X,-mWMND~ld^r#@#@&i7P,d[G,htrsPUWD~1VCk/|D/|W(%RWWP@#@&77idDdwKx/ 	DbYPE@!G2DkGx,-l^EnxrJJ'^^ld/|.k{G(LvJk9J*'JrJ@*JLmsCk/{Md{K4LvEHls+r#'J@!&KwOkKU@*r@#@&7idd.nkwGxknc.bYPoY|2DKSr/D`^sm//|./|W4NcEk9J*~EJSOswmnm.+	Y([BJn8|n.W;sm/dr#@#@&diP,7m^ld/|DdmK4LchW7+xaO@#@&diP~VGGa@#@&di~P1VCdk{DdmK4%R1sK/n=/YP1Vmd/|Dd{K4%x	WY4rxT@#@&i7~PlJkAAA==^#~@%>
        </select><INPUT TYPE="hidden" name="goodsid_list" value=""></td>
          </tr>
          <tr>
            <td height="30" align="right" bgcolor="#FFFFFF">商品选择：</td>
            <td width="23%" height="30" align="left" bgcolor="#FFFFFF">待选商品
              <div id="productlist" name="productlist"></div>
	   <script>Loadlogininfo("0");</script>  </td><td width="15%" align="center" bgcolor="#FFFFFF">
	     <INPUT name="button" type=button onclick=add(this.form.source,this.form.targetgoods) value="确   定"><BR>
              <INPUT name="button2" type=button onclick=del(this.form.targetgoods,this.form.source) value="删 除"></td>
            <td width="46%" align="left" bgcolor="#FFFFFF">关联商品<br>
              <SELECT name="targetgoods" size=8 multiple id="targetgoods" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 250px; BORDER-BOTTOM: #cccccc 1px solid">
                <%#@~^ZgAAAA==dY~M/|h/|VbdY{mGx	RnamEDn`r/+^n^Y,e,0.Wh~S+8{a.W9E^O,htn.P2{m^Dk-'r[D;!n/D`EwbNEbLJPmUN,w{9ns'ZJ*5CMAAA==^#~@%>
		<%#@~^GwAAAA==[KPA4k^+P	WD~Dk{A/|VrdDR+KWTgoAAA==^#~@%>
		<option value="<%=#@~^EAAAAA==.k{Ak{^k/D`rrNr#qwUAAA==^#~@%>" ><%=#@~^GgAAAA==OMkhvDk{hk{^r/D`Ew|xChJ#*WwkAAA==^#~@%></option>
		<%#@~^MwAAAA==.k{Ak{^k/DRsG\xn6D@#@&7iVWK2@#@&ddMdmhk{^kdY ^^Wd+hhAAAA==^#~@%>
                  </SELECT>            </td>
          </tr>
        </table></td>
                </tr>
            
                <tr align="center">
                  <td height="30" align="center" bgcolor="#FFFFFF"><label>
                    <input type="submit" name="Submit" value="确   定"  onClick="return chkout(document.form1);">
                  </label></td>
                </tr>
              </form>
            </table></td>
          </tr>
          
        </table></td>
        <td background="../images/index/E.gif">&nbsp;</td>
      </tr>
      <tr>
        <td width="10" height="10"><img src="../images/index/WS.gif" width="10" height="10"></td>
        <td height="10" background="../images/index/S.gif"><img src="../images/index/S.gif" width="2" height="10"></td>
        <td width="10" height="10"><img src="../images/index/ES.gif" width="10" height="10"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
  </tr>
</table>
<!-- #include file="../bottom2.asp" -->
</body>
</html>
<script language="javascript">
   	 function changecat(sel)
	{
			Loadlogininfo(sel.value);
	}
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);
	}
}
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;

}
</script>
<%#@~^xQMAAA==o!x^DkKxPT+DmwMWJkkYcPHw+&9~6{ZKh2lD?DDSYh2|nCDUY&NSOsw{OC(Vn#,~@#@&7GksP0|Z4rV91nhkIdS;tk^[KHw+drdYUYM~W{PnswjYMS0|kdiMV?O.BVUo|!Y/KE	Y@#@&dk5V{Jj+^+^O,kNBWk9~1mhnP6DK:~J'OswmYm8V[E~St+.n,0rN{E,[~:Xa+qGPL~J,W.ND~8HPk9~N/mr~@#@&iBM+dwGUk+ hMrYPd5^@#@&7jY~0|/4ks91h/"/,xP;WUxc2an1EYc/$V#@#@&70|K:2?O.,'W{;G:alOjDDP'~r┄J@#@&i[KPA4k^+PgWD~0|Z4k^NHnS/Ik 2K0@#@&77db0,YhwmKmDnxD(N,'~W|Ztrs91nhk]k`EbNr#PDtU@#@&d7dionO|wDKJkkYP{~L+D{aDGSrdDP'Pr@!WaYrG	P\Cs!+xJrELPW|Z4kV91A/"/cJbNEb,[JrEPk+V^O+9@*r@#@&d77Vd+@#@&did7LY{2.KSr/D~{PLY|wDKSbdY,[~J@!W2ObWx,-l^E+{EEJLP6{/trs91nhk]/vJr[r#P'ErJ@*J@#@&id7x9Pk6@#@&7dionY|w.Gdk/D~',o+Dm2DKSb/OP'~r├J~[,~0|Knha?Y.~LPW{;4bV[g+S/Ik`rHls+E#,@#@&7idoO{aDWdrdY,',onYm2MWJkkOPLPE@!JWwOrKx@*J,',Z4M`8&#,[,/tM`q!*@#@&7idoO{aDWdrdY,',onYm2MWJkkOPLonO|wDGJb/O`6m;tr^Ng+hkIkcJbNE#B0mP:wUODBY:amKlM+	Y(NSOswmYm8V#@#@&id0m/4ksNgnS/]kRtW\1aY@#@&7VKW2@#@&d0|/tbVNgnA/"/cZsWdn@#@&7?OP6{/4bVNHnS/]/,x,1GDtbxo@#@&AUN,s;x1YrG	aSYBAA==^#~@%>
 