<%@ 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">
<script language="JavaScript" src="../../ajax/Prototype.js" type="text/JavaScript"></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>
<script language="javascript">
<!--
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
function Loadlogininfo(str1,str2,str3)
{	
	var result,url;
	var j;
	url = "Pro_brand.asp?brandid="+str2+"&ctypeid="+str3+"&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 uppic(model,frmname) 
{
  window.open("../upload/upload.asp?uppath=product&ProdId="+model+"&frmname="+frmname,"upload", "width=550, height=280, resizable=no,menubar=1,scrollbars=1")
}
function showuppic(model,frmname) 
{
  window.open("../upload/upload.asp?uppath=moreproduct&ProdId="+model+"&frmname="+frmname,"upload", "width=550, height=280, resizable=no,menubar=1,scrollbars=1")
}
function changecat(sel)
{
 	Loadlogininfo(sel.value,'','1');
	showsx();
}
	
function changebrand(sel)
{
	 Loadlogininfo(sel.value,'','0');
	 showsx();
}
	
function view(obj,a)
{
	if(a == 1){
		obj.style.display="";
	}else{
		obj.style.display="none";
	}
}

function check(frm)
{  
  chkout(myform);

  if(document.myform.pname.value=='') 
  {
    	alert("请输入商品名称！");
	document.myform.pname.focus();
	return false;
  }
  if(document.myform.fid.value=='') {
  	alert("请选择商品分类！");

    	return false;
  }
 if(document.myform.Templet.value=='') {
  	alert("模版不能为空！");
	document.myform.Templet.focus();
       	return false;
  } 
   if(document.myform.markprice.value=='') {
	document.myform.markprice.focus();
    	alert("请输入市场价称！");
	return false;
  }
     if(checkspace(document.myform.memberprice.value)) {
	document.myform.memberprice.focus();
    	alert("请输入商城价！");
	return false;
  }
  if(checkspace(document.myform.score.value)) {
	document.myform.score.focus();
    	alert("不赠送积分请保留为0");
	return false;
  }

    if(document.myform.volumn.value=='') {
	document.myform.volumn.focus();
    alert("请输入计量单位！");
	return false;
  } 
   if  (document.myform.keyword.value.length>500)
  {document.myform.keyword.focus();
    alert("关键字不能超过500字符");
	return false;
  }
     if  (document.myform.Description.value.length>500)
  {document.myform.Description.focus();
    alert("描述不能超过500字符");
	return false;
  }
     if  (document.myform.shortcontent.value.length>500)
  {document.myform.shortcontent.focus();
    alert("简述不能超过500字符");
	return false;
  }
}
 function getmore()
 {
 	Menu(this.form,1)
 }
function formatFloat(src, pos)
{
    return Math.round(src*Math.pow(10, pos))/Math.pow(10, pos);
}

 function setselfprice(obj)
{
	var discount=[];
	var tds = obj.parentNode.parentNode.parentNode.getElementsByTagName('td');
	for(var i=0;i<tds.length;i++){
		if(tds[i].className == 'discount')
			discount[tds[i].getAttribute('level')]=parseFloat(tds[i].innerHTML);
	}
	var ipts = obj.parentNode.parentNode.parentNode.getElementsByTagName('input');
	for(var i=0;i<ipts.length;i++){
		var lv = ipts[i].getAttribute('level');
		if(lv){
			//ipts[i].value = Math.round(parseFloat($('memberprice').value) * discount[lv]*100)/100;
			ipts[i].value = formatFloat(parseFloat($('memberprice').value) * discount[lv],2);
		}
	}
}
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
function regInput(obj, reg, inputStr)
{
	var docSel	= document.selection.createRange()
	if (docSel.parentElement().tagName != "INPUT")	return false
	oSel = docSel.duplicate()
	oSel.text = ""
	var srcRange	= obj.createTextRange()
	oSel.setEndPoint("StartToStart", srcRange)
	var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
	return reg.test(str)
}

/*显示商品配件*/
function getissale(itemid)
{
var url = 'showissale.asp';
var pars = '';
var wAjax = new Ajax.Updater(itemid, url, {method: 'get', parameters: pars});
}

/*搜索商品*/
function dosearch(itemkey1,itemkey2,itemkey3)
{
	var classkey=$(itemkey1).value;
	var prokey=escape($(itemkey2).value);
	var url = 'searchgood.asp?action=searchgoods&classkey='+classkey+'&prokey='+prokey;
	var pars = '';
	var wAjax = new Ajax.Updater(itemkey3, url, {method: 'get', parameters: pars});
}
function showsalegoodinfo(itemkey1,itemkey2)
{
	var url = 'searchgood.asp?action=searchgoodsinfo&prokey='+itemkey1;
	var Action = '';
	var myAjax = new Ajax.Request(url,{method:'get',parameters:Action,onComplete:SetTOvalue});
	$('goodtmp').value=itemkey1;
	$('goodtmpname').value=itemkey2;
}
function SetTOvalue(OriginalRequest)
{
	$('goodprice').value=OriginalRequest.responseText;
}
function doadd()
{
	var itemkey4=$('salegoodid').value;
	if ($('masterselect').checked)
	{
		var masterstr="必选";
		var mastervalue="1"
	}
	else
	{
		var masterstr="可选"
		var mastervalue="0"
	}
	var optiontext=$('goodtmpname').value+'---'+$('goodprice').value+'---'+masterstr;
	var optionvalue=$('goodtmp').value+'|'+$('goodprice').value+'|'+mastervalue;
	var itemkey1=optionvalue;

	if (itemkey4=="")
	{
		var tocallserver=true;
	}
	else
	{
		var tocallserver=true;
		keyid=itemkey4.split(",")
		for (i=0;i<keyid.length;i++)
		{
			if (itemkey1.split("|")[0]==keyid[i].split("|")[0])
			{
				tocallserver=false;
				break;
			}
		}
	}
	if($('waitgoodslist').selectedIndex==-1)
	{
		tocallserver=false;
	}
	if(tocallserver)
	{
		if ($('salegoodid').value=="")
		{
			$('salegoodid').value=itemkey1;
		}
		else
		{
			$('salegoodid').value=$('salegoodid').value+","+optionvalue;
		}
		var opt=new Option(optiontext,optionvalue);
       		$('salegoodlist').options.add(opt);
	}
}

function dodel()
{
	if($('salegoodlist').selectedIndex!=-1)
	{
		var tmpgoodidlist=$('salegoodid').value.replace(','+$('salegoodlist').options[$('salegoodlist').selectedIndex].value,"");
		var tmpgoodidlist=tmpgoodidlist.replace($('salegoodlist')[$('salegoodlist').selectedIndex].value+',',"");
		var tmpgoodidlist=tmpgoodidlist.replace($('salegoodlist')[$('salegoodlist').selectedIndex].value,"");
		var tmpgoodidlist=tmpgoodidlist.replace(",,",",");
		$('salegoodid').value=tmpgoodidlist
       		$('salegoodlist').options.remove($('salegoodlist').selectedIndex);
	}
}
function dodelall()
{
       	$('salegoodlist').options.length=0;
       	$('salegoodid').value="";  
}
function showselectsalegood(stritemkey1)
{
	stritemkey = stritemkey1;
	if (stritemkey!="")
	{
		setTimeout('doshowselectsalegood(stritemkey)',1000);
	}
}

function doshowselectsalegood(stritemkey)
{
	var itemkeyvalue=stritemkey;
	$('salegoodid').value=itemkeyvalue;
	var prostr=escape(itemkeyvalue);
	var url2 = 'searchgood.asp?action=showselectsalegoods&prostr='+prostr;
	var pars2 = '';
	var wAjax = new Ajax.Updater('salegoods', url2, {method: 'get', parameters: pars2});
}
//-->
</script>
<!--#include file=../include2.asp-->
</head>
<%#@~^kgAAAA==@#@&dU!:{+({;mZKEUYgEh8D`rrNr~JSn8{aDKN;mOEBJAt.+,Fxqr#_q@#@&dd+kdbWUvJS{m^lkdk9Jb'rJ@#@&i:/TxJ添加r@#@&irWPM+$En/Ocrk[J*@!@*rJ~O4+x~hkoxJ编辑r@#@&NSYAAA==^#~@%>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<center>
<!--#include file="../loading2.asp" -->
<!--#include file=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>  - <%=#@~^AwAAAA==hkoRwEAAA==^#~@%>商品 </span>
</div>

<div class="tab-div">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<td colspan="1" align="right" width="98%"  bgcolor="#FFFFFF"><input type="checkbox" name="one" value="1" onClick="showinfo(0)">采用一页编辑</td>
</tr>
</table>

<!--添加开始-->
<%#@~^GAAAAA==r6P.;!+/D`rrNr#xJrPO4xqgcAAA==^#~@%>
<form name="myform" method="post" action="wprosave.asp?Action=addproduct">
<div id="w_show0" style="display:" align="left">
<table width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<td align="center" width="100" background="../images/pro_bj.gif"  height="25" id="bj1"><span onClick="showinfo(1)" style="cursor:hand;">基本信息</span></td>
<td align="center" width="100" background="../images/pro_bj1.gif" height="25" id="bj2"><span onClick="showinfo(2)" style="cursor:hand;">分类及价格</span></td>
<td align="center" width="100" background="../images/pro_bj1.gif" height="25" id="bj3"><span onClick="showinfo(3)" style="cursor:hand;">商品图片</span></td>
<td align="center" width="100" background="../images/pro_bj1.gif" height="25" id="bj4"><span onClick="showinfo(4)" style="cursor:hand;">搜索优化</span></td>
<td align="center" width="100" background="../images/pro_bj1.gif" height="25" id="bj5"><span onClick="showinfo(5)" style="cursor:hand;">扩展分类</span></td>
<td align="center" width="100" background="../images/pro_bj1.gif" height="25" id="bj6"><span onClick="showinfo(6)" style="cursor:hand;">商品配件</span></td>
</tr>
</table>
</div><br>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#dddddd" class="tableline" style="border:soild 1px;">
<tr>
<td width="20%" height="35" align="right" bgcolor="#FFFFFF"><strong>商品长名称：</strong></td>
<td bgcolor="#FFFFFF" align=left>
<input name="pname" type="text" id="pname" size="30" maxlength="80"  ><br>建议控制在20个字左右（最佳效果）</td>
<td bgcolor="#FFFFFF" align=right><strong>商品短名称：</strong></td>
<td bgcolor="#FFFFFF" align=left>
<input name="shortname" type="text" id="shortname" size="30" maxlength="20"><br>建议控制在5个字左右（最佳效果）</td>
</tr>
<tr>
<td width="20%" height="60" align="right" bgcolor="#FFFFFF"><strong>商品编号：</strong></td>
<td bgcolor="#FFFFFF" align=left colspan="3"><%=#@~^CwAAAA==LY2MW	E:v#MgQAAA==^#~@%><br><font color="#888888">如果不填写编号 系统会自动生成一个商品编号</font>
</td>
</tr>
</table>

<!--基本信息部分-->
<div id="w_show1" style="display:">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">模版选择：</td>
<td bgcolor="#FFFFFF"><input name="Templet" type="text" id="Templet" maxlength="100" size="50" value="<%=#@~^OwAAAA==OMkhvoYW	+7CV!+cJS+8mD+:aslD+JBEP{aDKN;mOEBJO{!d+6VCL{FJbb9hQAAA==^#~@%>">  <input type="button" name="Submit" value="选择模板" onClick="OpenWindowAndSetValue('../../inc/SelectTemplet.asp?CurrPath=<%=#@~^EgAAAA==	4m;{k+Y!w6GV9+.P7AYAAA==^#~@%><%=#@~^EAAAAA==	4m:2tnSAKUmf&IKQUAAA==^#~@%>',400,300,window,document.myform.Templet);document.myform.Templet.focus();"></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">库存警告：</td>
<td bgcolor="#FFFFFF"><input name="ifalarm" type="radio" onClick="view(alarmshow,1)" value="1">                    开启
<input type="radio" name="ifalarm" onClick="view(alarmshow,0)" value="0" checked >                  关闭</td>
</tr>
<tr id="alarmshow" style="DISPLAY:none">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">警告数量：</td>
<td bgcolor="#FFFFFF"><input name="alarmnum" type="text" id="alarmnum" size="12" value="" maxlength="4" ONKEYPRESS="event.returnValue=IsDigit();">
<font color="#888888">如选“是”并设置警报数量，当库存实际数量低于此设定值时后台桌面将提醒管理员增加库存；</font></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">初始库存：</td>
<td bgcolor="#FFFFFF">
<INPUT NAME="stock" SIZE="5" TYPE="text" VALUE="1"  onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" onKeyUp="value=value.replace(/[^\d]/g,'')">
<input name="volumn" type="text" id="volumn" value="件" size="5" ></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品重量：</td>
<td bgcolor="#FFFFFF">
<input name="weight" type="text" id="weight" value="0" size="15" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,	/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))">kg </td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"><p>商品属性：</p></td>
<td bgcolor="#FFFFFF">
<input name="fabu" type="checkbox" id="fabu" value="1" checked>上架
<input name="Truegood" type="checkbox" id="Truegood" value="1" checked>实体商品
<input name="tuijian" type="checkbox" id="tuijian" value="1">推荐
<!--<input name="tuijian2" type="checkbox" id="tuijian2" value="1" style="display:none">特别推荐-->
<input name="hot" type="checkbox" id="hot" value="1">热卖 
<input name="tejia" type="checkbox" id="tejia" value="1">特价
<input name="new" type="checkbox" id="new" value="1"> 新品</td>
</tr>
<script language="VBScript" type="text/VBScript">
function nt_spshux()
sp_xianshishu="<table width='100%' border=0 cellspacing=0 cellpadding=3>"
for s_s=1 to myform.amount.value
sp_xianshishu=sp_xianshishu&" <tr> <td width='30%'><div align=right>属性名：<input name=sp_name"&s_s&" type='text'  id=sp_name"&s_s&"  size=10  ></div></td><td width='70%'>属性值：<input name=sp_value"&s_s&"  type='text'   id=sp_value"&s_s&" > <input type='checkbox' name=ord"&s_s&" value='1'>加入定单选项</td></tr>"
next
sp_xianshishu=sp_xianshishu&"</table>"
sp_sx.innerhtml=sp_xianshishu
end function
function nt_spshuzeng()
s_ss=myform.amount.value+1
myform.amount.value=s_ss
jiaspxianshi="<table width='100%' border=0 cellspacing=0 cellpadding=3><tr> <td width='30%'><div align=right>属性名：<input name=sp_name"&s_ss&" type='text'  id=sp_name"&s_ss&"  size=10 ></div></td><td width='70%'>属性值：<input name=sp_value"&s_ss&"  type='text'   id=sp_value"&s_ss&" > <input type='checkbox' name=ord"&s_ss&" value='1'>加入定单选项</td></tr></table>"
sp_sx.innerhtml=sp_sx.innerhtml&jiaspxianshi
end function
</script>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">自定义属性：</td>
<td bgcolor="#FFFFFF"><strong>
<input name="amount" type="text"  id="amount" value="1" size="5" ONKEYPRESS="event.returnValue=IsDigit();">个
<input name="ttttt" type="button" value="设置" src="../nt_image/btn_ok.gif" width="31" height="15" onClick="nt_spshux();">
<input type="button" name="Submit2"  value="增加1个" onClick="nt_spshuzeng()"></td>
</tr>
<tr>
<td colspan=2 bgcolor="#FFFFFF"><span id="sp_sx">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="30%" align="right">属性名：
<input name="sp_name1" type="text"  id="sp_name1" value="" size="10" maxlength="50"></td>
<td width="70%">属性值：
<input name="sp_value1" type="text"  id="sp_value1" value="" maxlength="100">
&nbsp;
<input type="checkbox" name="ord1" value="1">
加入定单选项</td>
</tr>
</table>
</span></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp; <img src="../images/help.gif" width="17" height="17"  onMouseOver="javascript:ddrivetip('<span class=showtitle>友情提示:</span><br><span class=showtip>当用户购买商品时,订单总额满足一定金额可进行购买,</span>','#ffffff', 224)" onMouseOut="hideddrivetip()">是否换购商品：</td>
<td bgcolor="#FFFFFF">
<input name="change" type="radio" value="0" checked onClick="changesale.style.display='none'">否      		    
<input type="radio" name="change" value="1" onClick="changesale.style.display=''">是&nbsp;&nbsp;如果选择换购商品 商品价格只使用 "商城价" ,会员等级价格将不能使用</td>
</tr>
<tr id="changesale" style="display:none">
<td height="30" align="right" bgcolor="#FFFFFF"></td>
<td bgcolor="#FFFFFF">订单满足
<input name="ordermoney" type="text" id="ordermoney" size="10" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" maxlength="8">
元  可购买该商品</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp; <img src="../images/help.gif" width="17" height="17"  onMouseOver="javascript:ddrivetip('<span class=showtitle>友情提示:</span><br><span class=showtip>如果开启积分兑换,将无法用钱进行购买，只能用积分兑换商品</span>','#ffffff', 224)" onMouseOut="hideddrivetip()">是否允许积分兑换：</td>
<td bgcolor="#FFFFFF">
<input name="scoreflag" type="radio" value="0" checked onClick="w_changesore.style.display='none'">否
<input type="radio" name="scoreflag" value="1" onClick="w_changesore.style.display=''">是</td>
</tr>
<tr id="w_changesore" style="display:none">
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;兑换积分：</td>
<td bgcolor="#FFFFFF">
<input name="changescore" type="text" size="10" value="" ONKEYPRESS="event.returnValue=IsDigit();" maxlength="7"> 该商品所允许兑换的积分</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">商品排序：</td>
<td bgcolor="#FFFFFF"><strong>
<input name="orderid" type="text" size="10" maxlength="8" value=<%=#@~^AwAAAA==U!:UAEAAA==^#~@%> onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))">
</strong></td>
</tr>
<tr>
  <td height="30" align="right" bgcolor="#FFFFFF">浏览量：</td>
  <td bgcolor="#FFFFFF"><input name="Attrac" type="text" id="Attrac" value="0" size="10" maxlength="10"></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">商品简述：</td>
<td bgcolor="#FFFFFF"><textarea name="shortcontent" cols="50" rows="6" id="shortcontent"  onpropertychange="if(value.length>500) value=value.substr(0,500)"></textarea>此项用于在商品显示时 对商品的简述(<span class="STYLE1">最多500个汉字</span>)</td>
</tr>

<tr>
<td height="30" align="right" valign="top" bgcolor="#FFFFFF"><br>商品详细：</td>
<td height="30" align="left" bgcolor="#FFFFFF">
<input type="hidden" name="content" value="">
<input type=hidden name="d_savefilename">
<IFRAME ID="editor" src="../../editor/ewebeditor.asp?id=content&style=web_product&savefilename=d_savefilename" frameborder="0" scrolling="no" width="95%" height="400"></IFRAME></td>
</tr>
</table>
</div><br>

<!--分类/价格 部分-->
<div  style="display:" id="w_show2">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品分类：</td>
<td bgcolor="#FFFFFF">
<select name="fid" id="fid"  onchange=changecat(this)>
<option value="" selected>-----请选择-----</option>
<%#@~^ugAAAA==~1WU	N(@#@&k+D~Dk'd+M\n.cmDCYW4Nn^YvJmNGN8 M+^WM[/YEb@#@&/5s{Jd+^n1Y~CP6DWsPqn4|n.W;VCdkPh4nDP0b[x!,WMNnD~8HPrN,C/1J@#@&M/RG2x~/$sBmG	xBF~2@#@&[W,h4k^+~UKYPMdRW0@#@&rN{Dk`Ek[E*@#@&kzkAAA==^#~@%>
<option value="<%=#@~^CAAAAA==.k`EbNr#RwIAAA==^#~@%>|<%=#@~^DQAAAA==.k`E^+7+Vr#3q7gMAAA==^#~@%>"><%=#@~^CgAAAA==.k`E	ls+J*GwMAAA==^#~@%></option>
<%#@~^IgAAAA==~1ls^P	WV\s`rn4|n.G;VlkdJBkNBqbYAsAAA==^#~@%>
<%#@~^OgAAAA==~@#@&.kRsW\xaY@#@&sWKw~@#@&D/c^VK/+,l~/Y,Dd'UGDtrxT@#@&BxAAAA==^#~@%>
</select>                  </td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp; <img src="../images/help.gif" width="17" height="17"  onMouseOver="javascript:ddrivetip('<span class=showtitle>友情提示:</span><br><span class=showtip>请在商品分类管理中,对品牌进行关联,否则品牌无法显示</span>','#ffffff', 224)" onMouseOut="hideddrivetip()">商品品牌：</td>
<td bgcolor="#FFFFFF"><div id="productlist" name="productlist"></div>
<script>Loadlogininfo('0|0','','1');</script></td>
</tr>
<tr id="mainprice" style="display:none">
<td height="30" align="center" bgcolor="#FFFFFF" colspan=2><div id="showprice"></div></td>
</tr>
<tr id="mainpricelist" style="display:none">
<td height="30" align="center" bgcolor="#FFFFFF" colspan=2><div id="pricelist" align='center'></div></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">赠送积分：</td>
<td bgcolor="#FFFFFF"><INPUT name="score" VALUE="0" SIZE="5" TYPE="text" ONKEYPRESS	= "return regInput(this,/^[0-9]*$/,String.fromCharCode(event.keyCode))" ONPASTE	= "return regInput(this,/^[0-9]*$/,window.clipboardData.getData('Text'))" ONDROP= "return regInput(this,/^[0-9]*$/,event.dataTransfer.getData('Text'))" maxlength="5">分</td>
</tr>


<tr>
<td height="30" align="right" bgcolor="#FFFFFF">商品价格：</td>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" colspan="2"><table width="100%" border="0" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1">
<tr>
<td height="30" colspan="4" align="center" bgcolor="#FFFFFF"><table width="100%" border="0">
<tr>
<script language="VBScript" type="text/VBScript">
function nt_spshuzeng_1()
s_ss=myform.amount_1.value+1
myform.amount_1.value=s_ss
jiaspxianshi="<table width='100%' border=0 cellspacing=0 cellpadding=3><tr> <td width='28%'><div align=right>成本名称：<input name=sp_name_1_"&s_ss&" type='text'  id=sp_name_1_"&s_ss&"  size=10 ></div></td><td width='72%'>成本价格：<input name=sp_value_1_"&s_ss&"  type='text'   id=sp_value_1_"&s_ss&" ></td></tr></table>"
sp_sx_1.innerhtml=sp_sx_1.innerhtml&jiaspxianshi
end function
</script>
<td width="10%" height="30" align="right">商品成本：</td>
<td height="30"><input type="button" name="Submit22"  value="增加1个" onClick="nt_spshuzeng_1()">&nbsp;&nbsp;<input type="checkbox" name="autoremember" value="1" checked>自动记忆</td>
</tr>
<%#@~^WQAAAA==~b0~b/	EV^`Mn;!+dYcmGG0k+kcJS+4|2.k1+^kdYEb*PGD,.+$EndDRmGG0kn/vES+8|wMkmVbdYr#xJrPO4xP0h8AAA==^#~@%>
<tr>
<td colspan=2 bgcolor="#FFFFFF"><span id="sp_sx_1">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="26%" align="right">成本名称：<input name="sp_name_1_1" type="text" value="" size="10" maxlength="10"></td>
<td width="74%">成本价格：<input name="sp_value_1_1" type="text" value="" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,	/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))">&nbsp;<input name="amount_1" type="hidden"  class="input" value="1" size="5" maxlength="8"></td>
</tr>
</table>
</span></td>
</tr>
<%#@~^BgAAAA==~VdP6QEAAA==^#~@%>
<tr>
<td colspan=2 bgcolor="#FFFFFF"><span id="sp_sx_1">
<%#@~^igAAAA==@#@&rH,2"Ir"P"3?`H3Pg2pP@#@&Ys2'kwVbOcD;!+dY ^KWVkd`rhn8|wDr^Vr/DE*~Ef^r#@#@&0K.Pb'TPDW~;(WE	[`D:w*7@#@&D:a/ODxdaVrYvO:a`rbBJ@$@$E*@#@&6SYAAA==^#~@%>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr> 
<td width="26%"><div align="right">成本名称：<input name="sp_name_1_<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" type="text"   value="<%=#@~^CQAAAA==OswdDDv!#KwMAAA==^#~@%>" size="10" maxlength="10"></div></td>
<td width="74%">成本价格：<input name="sp_value_1_<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" type="text"   value="<%=#@~^CQAAAA==OswdDDvF#LAMAAA==^#~@%>" maxlength="8" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,	/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))"></td>
</tr>
</table>
<%#@~^BgAAAA==~	+aDP/wEAAA==^#~@%>			</td></tr>
<input name="amount_1" type="hidden"  class=inputa value="<%=#@~^DQAAAA==;(W;	NvY:a#3qiwQAAA==^#~@%>" size="5">
<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>
<tr>
<td width="10%" height="30" align="right">市场价格：</td>
<td width="78%"><input name="markprice" type="text" id="markprice" size="5" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste="return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,	/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" VALUE="" >元</td>
</tr>
<tr>
<td width="10%" height="30" align="right">商城价格： </td>
<td><input name="memberprice" type="text" id="memberprice" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" value="" size="5" onpaste="return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop= "return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" >元</td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" align="center" bgcolor="#FFFFFF">等级名称</td>
<td align="center" bgcolor="#FFFFFF">等级积分</td>
<td align="center" bgcolor="#FFFFFF">等级折扣</td>
<td align="center" bgcolor="#FFFFFF">等级价格</td>
</tr>
<%#@~^vgAAAA==@#@&/nDPk+V6wMrm'd+M\n.cmDCYW4Nn^YvJmNGN8 M+^WM[/YEb@#@&/5s{Jd+^n1Y~CP6DWsPqn4|jd+MmsCk/PK.NDP(z~j;{UmGDn~9+dmr@#@&k+sWaDk^ncW2+	~k;sBmKxxB&Bq@#@&kxF,@#@&[KPh4rVPxKO~/V6w.k^nc+G0,@#@&bjwAAA==^#~@%>
<tr>
<td align="center" bgcolor="#FFFFFF" height="25"><FONT color="#FF0000"><%=#@~^FAAAAA==dVWaDbm+vJ!^{glh+r#CgcAAA==^#~@%></FONT></td>
<td align="center" bgcolor="#FFFFFF"><FONT color="#FF0000"><%=#@~^FQAAAA==dVWaDbm+vJ`/{UmGDJbRQcAAA==^#~@%></FONT></td>
<td  align="center" bgcolor="#FFFFFF" class=discount level="<%=#@~^AQAAAA==raQAAAA==^#~@%>"><%=#@~^HgAAAA==ck+s6wMkm`riZ|Nr/1W;UDJ#Jq!Z#wwkAAA==^#~@%></td>
<td align="center" bgcolor="#FFFFFF">
<input name="selfprice<%=#@~^AQAAAA==raQAAAA==^#~@%>" type="text" id="selfprice<%=#@~^AQAAAA==raQAAAA==^#~@%>" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" value=""  level="<%=#@~^AQAAAA==raQAAAA==^#~@%>" size="5" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop= "return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" >元
<input type="hidden" name="lev_id<%=#@~^AQAAAA==raQAAAA==^#~@%>"  value="<%=#@~^DwAAAA==dVWaDbm+vJb[J*HwUAAA==^#~@%>">			  </td>
</tr>
<%#@~^KwAAAA==@#@&/n^0aDk1+chW7+U+XY@#@&b'k3q@#@&VWK2@#@&4goAAA==^#~@%>
<tr>
<td colspan="4" align="center" bgcolor="#FFFFFF"><INPUT class=inputstyle onclick=setselfprice(this) type=button value=自动计算会员等级折扣价格 name=cal></td>
</tr>
</table>			</td>
</tr>

<tr>
<td height="30" colspan="2" align="center"></td>
</tr>
<SCRIPT language=JavaScript>
<!--
level_arr = new Array();
level_arr[0] = 1;
//-->
</SCRIPT>
<input type="hidden" name="ptotal"  value="<%=#@~^FQAAAA==dVWaDbm+cD^WMN^W!xOkwgAAA==^#~@%>">
<%#@~^JwAAAA==dVWaDbm+cm^G/PlPk+O~k+V62Dbm+{UGY4k	o2A4AAA==^#~@%>		
</table></td>
</tr>
</table><br>
</div>

<!--商品图片部分-->
<div style="display:'none'" id="w_show3">
<table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">视频文件地址：</td>
<td bgcolor="#FFFFFF"><input name="moveurl" type="text" id="moveurl" size="30" value="http://"></td>
</tr>

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">视频文件名称：</td>
<td bgcolor="#FFFFFF"><input name="movename" type="text" size="30" value=""></td>
</tr>

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">视频高宽：</td>
<td bgcolor="#FFFFFF"><input name="movexy" type="text" id="movexy" size="30" value="">注意格式.如200*300</td>
</tr>

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">图片类型：</td>
<td bgcolor="#FFFFFF">
<input name="pictype" type="radio" value="1" checked onClick="typepic.style.display='';typepic2.style.display='none'">
本地上传                  
<input type="radio" name="pictype" value="0" onClick="typepic.style.display='none';typepic2.style.display=''">
远程连接
<br>
</td>
</tr>
<tr id="typepic" >
<td height="30" colspan="2" align="right" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0">
<tr>
<td width="20%" align="right">商品大图片：</td>
<td bgcolor="#FFFFFF"><input name="photo" type="text" id="photo" size="30">
<input type="button" name="Submit3" value="上传大图片"  onClick="javascript:uppic('one','photo');">&nbsp;<font color="#688A00">（建议尺寸：请控制在 250*250像素 以内)</font></td>
</tr>
<tr>
<td width="20%" align="right">商品小图：</td>
<td bgcolor="#FFFFFF"><input name="smallphoto" type="text" id="smallphoto" size="30">
<input type="button" name="Submit32" value="上传小图片"  onClick="javascript:uppic('one','smallphoto');">&nbsp;<font color="#688A00">（建议尺寸：请控制在 90*90像素 左右)</font></td>
</tr>
</table></td>
</tr>
<tr style="display:none" id="typepic2">
<td height="30" colspan="2" align="right" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0">
<tr>
<td width="20%" align="right">商品大图远程地址：</td>
<td bgcolor="#FFFFFF"><input name="photourl" type="text" id="photourl" size="30"></td>
</tr>
<tr>
<td width="20%" align="right">商品小图远程地址：</td>
<td><input name="photourl2" type="text" id="photourl2" size="30"></td>
</tr>
</table></td>
</tr>

<tr>
<td height="50" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF"><p><font color="#006699">备注：如果您在“系统参数设置中 ”开启 缩略图功能，并且您的空间支持我们所提供缩略图组件 系统将会自动生成商品小图，商品小图的宽高 则在 缩略图中设置， 远程链接图片请以“http://”开头</font></p>                    </td>
</tr>
<script language="VBScript" type="text/VBScript">
function nt_spshux_pic()
sp_xianshishu_pic="<table width='100%' border=0 cellspacing=0 cellpadding=3>"
for s_s_pic=1 to myform.amount_pic.value
sp_xianshishu_pic=sp_xianshishu_pic&" <tr> <td width='28%'> <input type='text' name=ord_pic"&s_s_pic&" value='' size='40'><input name=SelectPic"&s_s_pic&" type='button' id=SelectPic"&s_s_pic&" value='选择图片' onClick='javascript:showuppic(""one"",""ord_pic"&s_s_pic&""");'></td></tr>"
next
sp_xianshishu_pic=sp_xianshishu_pic&"</table>"
sp_sx_pic.innerhtml=sp_xianshishu_pic
//msgbox(sp_xianshishu_pic)
end function
function nt_spshuzeng_pic()
s_ss_pic=myform.amount_pic.value+1
myform.amount_pic.value=s_ss_pic
jiaspxianshi_pic="<table width='100%' border=0 cellspacing=0 cellpadding=3><tr> <td width='28%'> <input type='text' name=ord_pic"&s_ss_pic&" value='' size='40'><input name=SelectPic"&s_ss&" type='button' id=SelectPic"&s_ss_pic&" value='选择图片' onClick='javascript:showuppic(""one"",""ord_pic"&s_ss_pic&""");'></td></tr></table>"
sp_sx_pic.innerhtml=sp_sx_pic.innerhtml&jiaspxianshi_pic
end function
</script>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF"><input name="amount_pic" type="text"  class="input10b" id="amount_pic" value="1" size="5">个
<input name="aabbbdd" type="button" value="设置"  width="31" height="15" onClick="nt_spshux_pic();">
<input type="button" name="Submit2"  value="增加1个" onClick="nt_spshuzeng_pic()"></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">上传多图</td>
<td bgcolor="#FFFFFF"><span id="sp_sx_pic">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>

<td width="39%">
<input name="ord_pic1" type="text" id="ord_pic1" value="" size="40">
<input name="SelectPic" type="button" id="SelectPic" value="选择图片" onClick="javascript:showuppic('one','ord_pic1');"></td>
</tr>
</table>
</span></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF">多图不支持远程图片。</td>
</tr>
</table><br>
</div>

<!--搜索优化部分-->
<div style="display:'none'" id="w_show4">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品关键字：</td>
<td bgcolor="#FFFFFF"><textarea name="keyword" cols="50" rows="6" id="keyword" class="text2" onpropertychange="if(value.length>500) value=value.substr(0,500)"></textarea></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF">此项将用于搜索引擎的搜索(<span class="STYLE1">最多500个汉字</span>)</td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品描述：</td>
<td bgcolor="#FFFFFF"><textarea name="Description" cols="50" rows="6" id="Description" class="text2"  onpropertychange="if(value.length>500) value=value.substr(0,500)"></textarea></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF">此项将用于搜索引擎的搜索(<span class="STYLE1">最多500个汉字</span>)</td>
</tr>
</table>
</div>

<!--扩展类别 部分-->
<div  style="display:'none'" id="w_show5">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" valign="middle"><br>
扩展分类：</td>
<td width="20%" bgcolor="#FFFFFF">&nbsp;<b>可选分类</b><br>
<select name="source" style="WIDTH: 200px" size="15" multiple>
<option value="" selected>-----请选择-----</option>
<%#@~^uwAAAA==~1WU	N(@#@&k+D~Dk'd+M\n.cmDCYW4Nn^YvJmNGN8 M+^WM[/YEb@#@&/5s{Jd+^n1Y~CP6DWsPqn4|n.W;VCdkPh4nDP0b[x!,PKD[+.~(X~k9~lkmE@#@&D/ Ga+UPk5^~^Kx	~FB&@#@&NKPAtbVn~	WY,./c+W6@#@&k9'M/cJr[r#@#@&szkAAA==^#~@%>
<option value="<%=#@~^CAAAAA==.k`EbNr#RwIAAA==^#~@%>|<%=#@~^DQAAAA==.k`E^+7+Vr#3q7gMAAA==^#~@%>"><%=#@~^CgAAAA==.k`E	ls+J*GwMAAA==^#~@%></option>
<%#@~^IgAAAA==~1ls^P	WV\s`rn4|n.G;VlkdJBkNBqbYAsAAA==^#~@%>
<%#@~^OgAAAA==~@#@&.kRsW\xaY@#@&sWKw~@#@&D/c^VK/+,l~/Y,Dd'UGDtrxT@#@&BxAAAA==^#~@%>
</select></td>
<td width="10%" height="30" align="center" bgcolor="#FFFFFF" valign="middle">
<INPUT name="button" type=button onclick=add(this.form.source,this.form.extfid) value=" 确 定 ">
<br>
<BR>
<INPUT name="button2" type=button onclick=del(this.form.extfid,this.form.source) value=" 删 除 "></td>
<td width="50%" bgcolor="#FFFFFF">&nbsp;<b>已选分类</b><br>
<select name="extfid" style="WIDTH: 200px" size="15" multiple></select>
<INPUT TYPE="hidden" name="classid_list" value=""></td>
</tr>
<tr>
<td height="30" colspan="4" align="left" valign="middle" bgcolor="#FFFFFF"><font color="#FF0000">扩展分类：可将商品归属到更多分类下，使商品同时在两个或多个分类下显示</font></td>
</tr>
</table>
</div>

<!--可选配件部分-->
<div  style="display:'none'" id="w_show6">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr> 
<td width="20%" height="10" align="right" bgcolor="#FFFFFF" valign="middle"></td>
<td width="80%" bgcolor="#FFFFFF"><input type="hidden" value="刷新" onclick="getissale(isonlysale)"></td>
</tr>
<tr> 
<td width="100%" bgcolor="#FFFFFF" colspan="2">
<div id="isonlysale"></div></td>
</tr>
<tr> 
<td width="20%" height="50" align="right" bgcolor="#FFFFFF" valign="middle">配件选择方式：</td>
<td width="80%" bgcolor="#FFFFFF"><input type="radio" name="pjselect" value="0" checked>单选&nbsp;&nbsp;<input type="radio" value="1" name="pjselect">多选&nbsp;&nbsp;
<font color=red>单选是指客户只能选择单一配件。多选是指客户可以选择多个配件。</font></td>
</tr>
</table>
</div>


<table align=center>	
<tr>
<td height="30" colspan="2" align="center" bgcolor="#FFFFFF">
<input type="submit" name="Submit5" value=" 确 定 " onClick="return check(this.form.extfid);">
<input type="reset" name="Submit5" value=" 取 消 ">
</td>
</tr> 
</table>
</form>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
<!--添加商品结束-->

<%#@~^HAAAAA==~b0~M+$E+kYvEk9Jb@!@*JE~Dt+	BwgAAA==^#~@%>
<%#@~^ZwIAAA==~,@#@&9ksPk9~knVmOk9@#@&2bN'Mn;!+/DcEk9J*@#@&x;h{n4|/{;W;UD1Eh8DcJb[r~ES+({wMW9;mDJSJStn.P?4GwbN'ETvPmx9PK{9n^'TJ*QF@#@&^G	xN8@#@&/nY,.kYxk+M\+MR1.+mYnW(Ln^D`Jm[W94RMn^WMNk+OJb@#@&kWP&d?$V9CDlACdPxF,O4+U@#@&i/;^'rd+^+^Y,e~WMW:,	+({nMG[E1Y,h4+.n,k['EE[ak['rBJ@#@&Vd+@#@&i/5^'r/+^+1OPCPWDK:~	4{h.W9EmD~AtDPrNxELwrNLEJ@#@&nU9PkW@#@&DdYcGa+U,/$V~1W	U~8~f@#@&mCOkN{./D`Jhm^Vm/kk[Jb@#@&/nV^YbNx.kY`EK|mslkdbNE*@#@&Bwsk9xDkFcJkW.OkkNrb@#@&:lMVxDkYvJK{$.mx[J*~@#@&/jC7+srs1C:~{Ij:`rn{kl7n0bVnxm:nE*@#@&am\mDwMr^+{IUKcJ2m7l.wMrmJb@#@&w{"4kYGm0x"?PvJa{y4/DGm0Jb@#@&wm2MkmxIUK`r2mwMk1+E#@#@&a{2L{./D`E2|wLEb@#@&N7kAAA==^#~@%>
<form name="myform" method="post" action="wprosave.asp?Action=editproduct">
<div id="w_show0" style="display:''" align="left">
<table width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<td align="center" width="100"  bgcolor="#FFFFFF" background="../images/pro_bj.gif"  height="25" id="bj1"><span onClick="showinfo(1)" style="cursor:hand;">基本信息</span></td>
<td align="center" width="100"  bgcolor="#FFFFFF" background="../images/pro_bj1.gif" height="25" id="bj2"><span onClick="showinfo(2)" style="cursor:hand;">分类及价格</span></td>
<td align="center" width="100"  bgcolor="#FFFFFF" background="../images/pro_bj1.gif" height="25" id="bj3"><span onClick="showinfo(3)" style="cursor:hand;">商品图片</span></td>
<td align="center" width="100"  bgcolor="#FFFFFF" background="../images/pro_bj1.gif" height="25" id="bj4"><span onClick="showinfo(4)" style="cursor:hand;">搜索优化</span></td>
<td align="center" width="100"  bgcolor="#FFFFFF" background="../images/pro_bj1.gif" height="25" id="bj5"><span onClick="showinfo(5)" style="cursor:hand;">扩展分类</span></td>
<td align="center" width="100"  bgcolor="#FFFFFF" background="../images/pro_bj1.gif" height="25" id="bj6"><span onClick="showinfo(6)" style="cursor:hand;">商品配件</span></td>
</tr>
</table>
</div>
</br>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"><strong>商品长名称：</strong></td>
<td bgcolor="#FFFFFF" align=left>
<input name="pname" type="text" id="pname" size="30" maxlength="80" value="<%=#@~^EwAAAA==OMkhvDkY`rn|Uls+E#*SwYAAA==^#~@%>"><br>建议控制在20个字左右（最佳效果）
</td>
<td bgcolor="#FFFFFF" align=right><strong>商品短名称：</strong></td>
<td bgcolor="#FFFFFF" align=left>
<input name="shortname" type="text"  value="<%=#@~^GAAAAA==OMkhvDkY`rn|dtKDOxm:nE*#ewgAAA==^#~@%>" size="30" maxlength="20"><br>建议控制在5个字左右（最佳效果）
</td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"><strong>商品编号：</strong></td>
<td bgcolor="#FFFFFF" align=left colspan="3">
<input name="pnum" type="text" value="<%=#@~^DAAAAA==.kYcrn|nqGJ*egMAAA==^#~@%>" size="30"  maxlength="50">
<input type="button" name="aaa" value="修改商品编号"  onClick="window.open('../dialog.asp?action=editpronum','','width=500,height=250,scrollbars=yes')" style="cursor:hand">
</td>
</tr>
</table>
<br>

<!--基本信息部分-->
<div id="w_show1" style="display:'none'">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">选择模板：</td>
<td bgcolor="FFFFFF"><input name="Templet" type="text" id="Templet" size="50" value="<%=#@~^FAAAAA==OMkhvDkY`rKhw^+OJ*#1gYAAA==^#~@%>" maxlength="100">   <input type="button" name="Submit" 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>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">库存警告：</td>
<td bgcolor="FFFFFF"><input name="ifalarm" type="radio" onClick="view(alarmshow,1)" value="1" <%#@~^GgAAAA==r6P.kYvJn|q6CVmDhJ*'q~Dt+	hQgAAA==^#~@%> checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
开启
<input type="radio" name="ifalarm" onClick="view(alarmshow,0)" value="0" <%#@~^GgAAAA==r6P.kYvJn|q6CVmDhJ*'T~Dt+	hAgAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
关闭</td>
</tr>
<tr id="alarmshow" <%#@~^GgAAAA==r6P.kYvJn|q6CVmDhJ*'T~Dt+	hAgAAA==^#~@%>style="DISPLAY:none" <%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">警告数量：</td>
<td bgcolor="FFFFFF"><input name="alarmnum" type="text" id="alarmnum" size="12" value="<%=#@~^EQAAAA==.kYcrn|bVmDsUEsJb2gUAAA==^#~@%>" maxlength="4" ONKEYPRESS="event.returnValue=IsDigit();"><font color="#888888">如选“开启”并设置警报数量，当库存实际数量低于此设定值时后台桌面将提醒管理员增加库存；</font></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">现有库存：</td>
<td bgcolor="FFFFFF"><a onClick="window.open('../dialog.asp?action=addstock&id=<%=#@~^CQAAAA==.kYcrk9J#uwIAAA==^#~@%>&stock=<%=#@~^IAAAAA==cM/OvJh{?DW1VJ*O./D`E2|/W^[+9J#*VwoAAA==^#~@%>&server=<%=#@~^DwAAAA==.kYcrn|?+M\.J*FAUAAA==^#~@%>','','width=400,height=300,scrollbars=yes')" style="cursor:hand"><%=#@~^IAAAAA==cM/OvJh{?DW1VJ*O./D`E2|/W^[+9J#*VwoAAA==^#~@%></a>
<input name="volumn" type="text" id="volumn"  size="5" value="<%=#@~^DwAAAA==.kYcrn|\W^EsUJ*PgUAAA==^#~@%>" maxlength="6">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a onClick="window.open('../dialog.asp?action=addstock&id=<%=#@~^CQAAAA==.kYcrk9J#uwIAAA==^#~@%>&stock=<%=#@~^IAAAAA==cM/OvJh{?DW1VJ*O./D`E2|/W^[+9J#*VwoAAA==^#~@%>&server=<%=#@~^DwAAAA==.kYcrn|?+M\.J*FAUAAA==^#~@%>','','width=400,height=300,scrollbars=yes')" style="cursor:hand">入库</a></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品重量：</td>
<td bgcolor="FFFFFF"><input name="weight" type="text" id="weight" size="15" <%#@~^GgAAAA==r6P.kYvJn|ro4YE#@!F~O4+xMAgAAA==^#~@%>value="0<%=#@~^DwAAAA==.kYcrn|+bo4OJ*BQUAAA==^#~@%>" <%#@~^BAAAAA==n^/nqQEAAA==^#~@%>value="<%=#@~^DwAAAA==.kYcrw|h+bo4OJ*RQUAAA==^#~@%>"<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> maxlength="4" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,	/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))">kg</td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"><p>商品属性:</p>                  </td>
<td bgcolor="FFFFFF">
<input name="fabu" type="checkbox" id="fabu" value="1"<%#@~^HQAAAA==r6P.kYvJn|n!8VbmCYJbx8PY4nx,ggkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>上架
<input name="Truegood" type="checkbox" id="Truegood" value="1" <%#@~^HAAAAA==r6P.kYvJn|KM;+TWGNr#xq,YtUPMgkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>实体商品
<input name="tuijian" type="checkbox" id="tuijian" value="1" <%#@~^HQAAAA==r6P.kYvJn|I^Ws:nx9Jbx8PY4nx,gwkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>推荐
<!--<input name="tuijian2" type="checkbox" id="tuijian2" value="1" <%#@~^HgAAAA==r6P.kYvJn|I^Ws:nx9 Eb{FPD4+	PtQkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>特别推荐 -->
<input name="hot" type="checkbox" id="hot" value="1" <%#@~^FwAAAA==r6P.kYvJn|tKOJ*'qPDtnU,NAcAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>热卖 
<input name="tejia" type="checkbox" id="tejia" value="1" <%#@~^FwAAAA==r6P.kYvJn|0nJ*'qPDtnU,GQcAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>特价
<input name="new" type="checkbox" id="new" value="1" <%#@~^GwAAAA==r6P.kYvJn|xA0^lLJ*'q~Dt+	~zQgAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>新品</td>
</tr>
<script language="VBScript" type="text/VBScript">
function nt_spshux()
sp_xianshishu="<tr><td colspan=2><table width='100%' border=0 cellspacing=0 cellpadding=3>"
for s_s=1 to myform.amount.value
sp_xianshishu=sp_xianshishu&" <tr> <td width='28%'><div align=right><input name=sp_name"&s_s&" type='text' class=inputa id=sp_name"&s_s&"  size=10  ></div></td><td width='72%'><input name=sp_value"&s_s&"  type='text'  class=inputa id=sp_value"&s_s&" ></td></tr>"
next
sp_xianshishu=sp_xianshishu&"</table></td></tr>"
sp_sx.innerhtml=sp_xianshishu
end function
function nt_spshuzeng()
s_ss=myform.amount.value+1
myform.amount.value=s_ss
jiaspxianshi="<tr><td colspan=2><table width='100%' border=0 cellspacing=0 cellpadding=3><tr> <td width='30%'><div align=right>属性名：<input name=sp_name"&s_ss&" type='text' class=inputa id=sp_name"&s_ss&"  size=10 ></div></td><td width='72%'>属性值：<input name=sp_value"&s_ss&"  type='text'  class=inputa id=sp_value"&s_ss&" > <input type='checkbox' name=ord"&s_ss&" value='1'>加入定单选项</td></tr></table></td></tr>"
sp_sx.innerhtml=sp_sx.innerhtml&jiaspxianshi
end function
</script>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">自定义属性：</td>
<td bgcolor="FFFFFF">	<input name="Submit" type="hidden" value="设置" width="31" height="15" onClick="nt_spshux()">
<input type="button" name="Submit2" value="增加1个" onClick="nt_spshuzeng()">
( 如需增加商品属性，则点增加即可。要去掉某一属性，保留为空即可。内容可以是 规格 包装 等等) </td>
</tr>
<tr>
<td colspan=2 bgcolor="#FFFFFF">
<span id="sp_sx">
<%#@~^PwAAAA==~b0~b/	EV^`MdYvJK{tXK.Kw+MOXr##,G.PM/D`Enm\Hn.WanDDXEb{JJ~O4+UPGBUAAA==^#~@%>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr> 
<td width="28%"><div align="right">属性名：<input name="sp_name1" type="text" id="sp_name1" value="" size="10" maxlength="50"></div></td>
<td width="72%">属性值：<input name="sp_value1" type="text" id="sp_value1" value="" maxlength="100">&nbsp;<input type="checkbox" name="ord1" value="1">加入定单选项</td>
</tr>
</table>
<input name="amount" type="hidden"  class=inputa id="amount" value="1" size="5">
<%#@~^BgAAAA==~VdP6QEAAA==^#~@%>
<%#@~^nQAAAA==@#@&rH,2"Ir"P"3?`H3Pg2pP@#@&Ys2'kwVbOcDkYvJK{\zhDGw.YHJbSr^^Eb@#@&WWM~b'T,YKPE(W!UNvYhw*d@#@&D:wkOD{/w^rO`D:a`r#SE@$@$E#@#@&YswdOMF'd2^kO`Dha/OM`Z#~r[rb@#@&+SoAAA==^#~@%>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr> 
<td width="28%"><div align="right">属性名：<input name="sp_name<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" type="text" id="sp_name<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" value="<%=#@~^CgAAAA==OswdDD8`F*XQMAAA==^#~@%>" size="10" maxlength="50"></div></td>
<td width="72%">属性值：<input name="sp_value<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" type="text" id="sp_value<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" value="<%=#@~^CQAAAA==OswdDDvF#LAMAAA==^#~@%>" maxlength="100"> &nbsp;<input type="checkbox" name=ord<%=#@~^AwAAAA==r3FxQAAAA==^#~@%> value="1" <%#@~^HgAAAA==~b0~1/DD`D:adYMFc!*#xE8JPD4+	PGQkAAA==^#~@%>checked<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>>加入定单选项</td>
</tr>
</table>
<%#@~^BgAAAA==~	+aDP/wEAAA==^#~@%>
<input name="amount" type="hidden"  class=inputa id="amount" value="<%=#@~^DQAAAA==;(W;	NvY:a#3qiwQAAA==^#~@%>" size="5">
<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>
</span>                  </td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">商品属性说明：</td>
<td bgcolor="FFFFFF">1.您可以根据实际需要来动态设定商品属性个数<br>
2.商品属性可以是颜色、尺寸、规格等<br>
3.每一个属性名可以对应多个属性值，不同属性值以 | 隔开 如: 颜色  红色|黑色<br>
4.属性名和属性值必须都不为空，否则系统会自动忽略。<br>
5.<font color="#688A00">特别注意：加入定单选项是指选中后，可以在前台购买商品时让用户选择不同属性值并记录到定单信息中</font></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp; <img src="../images/help.gif" width="17" height="17"  onMouseOver="javascript:ddrivetip('<span class=showtitle>友情提示:</span><br><span class=showtip>当用户购买商品时,订单总额满足一定金额可进行购买,</span>','#ffffff', 224)" onMouseOut="hideddrivetip()">是否换购商品：</td>
<td bgcolor="#FFFFFF">
<input name="change" type="radio" value="0"<%#@~^HQAAAA==r6P.kYvJw|m4CxT/CVJbxZPY4nx,rgkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> onClick="changesale.style.display='none'">否
<input type="radio" name="change" value="1"  <%#@~^HQAAAA==r6P.kYvJw|m4CxT/CVJbx8PY4nx,rwkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> onClick="changesale.style.display=''">是&nbsp;&nbsp;如果选择换购商品 商品价格只使用 "商城价" 
</td>
</tr>
<tr id="changesale"  <%#@~^HQAAAA==r6P.kYvJw|m4CxT/CVJbxZPY4nx,rgkAAA==^#~@%>style="display:none"<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
<td height="30" align="right" bgcolor="#FFFFFF"></td>
<td bgcolor="#FFFFFF">订单满足
<input name="ordermoney" type="text" id="ordermoney" size="10"  value="<%=#@~^EwAAAA==.kYcrw|WD9+MhW	+zJ*AQcAAA==^#~@%>">
元  可购买该商品</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp; <img src="../images/help.gif" width="17" height="17"  onMouseOver="javascript:ddrivetip('<span class=showtitle>友情提示:</span><br><span class=showtip>如果开启积分兑换,将无法用钱进行购买，只能用积分兑换商品</span>','#ffffff', 224)" onMouseOut="hideddrivetip()">是否允许积分兑换：</td>
<td bgcolor="#FFFFFF">
<input name="scoreflag" type="radio" value="0" <%#@~^HQAAAA==r6P.kYvJw|/1GD0slTJbxZPY4nx,vgkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> onClick="w_changesore.style.display='none'">否
<input type="radio" name="scoreflag" value="1" <%#@~^HQAAAA==r6P.kYvJw|/1GD0slTJbx8PY4nx,vwkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> onClick="w_changesore.style.display=''">是</td>
</tr>
<tr id="w_changesore" <%#@~^HQAAAA==r6P.kYvJw|/1GD0slTJbxZPY4nx,vgkAAA==^#~@%>style="display:none"<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;兑换使用积分</td>
<td bgcolor="#FFFFFF"><input name="changescore" type="text" size="10" value="<%=#@~^FAAAAA==.kYcrw|mtmxTn/1W.+r#PwcAAA==^#~@%>"></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">商品排序：</td>
<td bgcolor="FFFFFF"><strong>
<input name="orderid" value="<%=#@~^DQAAAA==.kYcrn|Il	3rbKQQAAA==^#~@%>" type="text" size="10" maxlength="8" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))">
</strong></td>
</tr>
<tr>
  <td height="30" align="right" bgcolor="#FFFFFF">浏览量：</td>
  <td bgcolor="#FFFFFF"><input name="Attrac" type="text" id="Attrac" size="10" maxlength="10" value="<%=#@~^FgAAAA==OMkhvDkY`rn|-khUEsJbbtQcAAA==^#~@%>"></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">商品简述：</td>
<td bgcolor="FFFFFF"><textarea name="shortcontent" cols="50" rows="6" id="textarea2"><%=#@~^GwAAAA==OMkhvDkY`rn|jtKDOZKxOn	YJ*blQkAAA==^#~@%></textarea>此项用于在商品显示时 对商品的简述(<span class="STYLE1">最多500个汉字</span>)</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF" valign="top"></br>商品详细：</td>
<td height="30" align="center" bgcolor="#FFFFFF"><textarea name="content" style="display:none"><%=#@~^IwAAAA==jD-DcCYsVAUmKNn`M/Ocrn{;GxD+xDEb#UQwAAA==^#~@%></textarea>

<input type=hidden name=d_savefilename value="<%=#@~^FQAAAA==.kYcrn|/l7+6rVxC:JbjQcAAA==^#~@%>">
<IFRAME ID="editor" src="../../editor/ewebeditor.asp?id=content&style=web_product&savefilename=d_savefilename" frameborder="0" scrolling="no" width="100%" height="380"></IFRAME></td>
</tr>
</table><br>
</div>

<div id="w_show2" style="display:'none'">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品分类：</td>
<td bgcolor="FFFFFF">
<select name="fid" id="fid"  onchange="changebrand(this)">

<%#@~^tAAAAA==~@#@&dY,D/{/.\D mM+COW4NnmD`Jm[GN(RM+^W.[k+OJ*@#@&k;sxr/+sn1Y~e,WMWh,4{hDK/Vm/dPStn.P0b['ZPWM[nD,4HPrN~CkmE@#@&./cW2n	P/5sBmGx	S8~f@#@&9WPStbs+,xGY,Dd W0@#@&k9'DkcEk9J*@#@&HzcAAA==^#~@%>
<%#@~^GwAAAA==~b0~k+^+mDk9xDk`Ek9Jb~Dt+	~zwgAAA==^#~@%>
<option value="<%=#@~^CAAAAA==.k`EbNr#RwIAAA==^#~@%>|<%=#@~^CwAAAA==.k`E^+7+Vr#kgMAAA==^#~@%>" selected><%=#@~^CgAAAA==.k`E	ls+J*GwMAAA==^#~@%></option>
<%#@~^BQAAAA==~VdyQEAAA==^#~@%>
<option value="<%=#@~^CAAAAA==.k`EbNr#RwIAAA==^#~@%>|<%=#@~^DQAAAA==.k`E^+7+Vr#3q7gMAAA==^#~@%>" ><%=#@~^CgAAAA==.k`E	ls+J*GwMAAA==^#~@%></option>
<%#@~^BwAAAA==~x[,k6RgIAAA==^#~@%>
<%#@~^IgAAAA==~1ls^P	WV\s`rn4|n.G;VlkdJBkNBqbYAsAAA==^#~@%>
<%#@~^KQAAAA==~@#@&.kRsW\xaY@#@&sWKw~@#@&D/c^VK/+@#@&CAoAAA==^#~@%>
</select>

<input type="hidden" name="id" value="<%=#@~^DQAAAA==.;;/D`JbNrbawQAAA==^#~@%>">
<input type="hidden" name="page" value="<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>"></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp; <img src="../images/help.gif" width="17" height="17"  onMouseOver="javascript:ddrivetip('<span class=showtitle>友情提示:</span><br><span class=showtip>请在商品分类管理中,对品牌进行关联,否则品牌无法显示</span>','#ffffff', 224)" onMouseOut="hideddrivetip()">商品品牌：</td>
<td bgcolor="FFFFFF"><div id="productlist" name="productlist"></div>
<script>Loadlogininfo('<%=#@~^EAAAAA==.kYcrn|mVm/krNr#gAUAAA==^#~@%>|<%=#@~^DgAAAA==.kYcrn|V+7+^E#tQQAAA==^#~@%>','<%=#@~^DgAAAA==.kYcrn|ADmx9E#hAQAAA==^#~@%>','0');</script>                  </td>
</tr>
<tr id="mainprice" style="display:none">
<td height="30" align="center" bgcolor="#FFFFFF" colspan=2><div id="showprice"></div></td>
</tr>
<tr id="mainpricelist" style="display:none">
<td height="30" align="center" bgcolor="#FFFFFF" colspan=2><div id="pricelist" align='center'></div></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">赠送积分：</td>
<td bgcolor="FFFFFF"><INPUT name="score"  SIZE="5" TYPE="text" maxlength="5" ONKEYPRESS	= "return regInput(this,/^[0-9]*$/,String.fromCharCode(event.keyCode))" ONPASTE	= "return regInput(this,/^[0-9]*$/,window.clipboardData.getData('Text'))" ONDROP= "return regInput(this,/^[0-9]*$/,event.dataTransfer.getData('Text'))" value="<%=#@~^DgAAAA==]UKcrn|/mKDE#WQQAAA==^#~@%>" >分</td>
</tr>

<tr>
<td height="30" align="right" bgcolor="#FFFFFF">商品价格：</td>
<td bgcolor="#FFFFFF"><table width="80%" border="0" cellspacing="0" cellpadding="0">
<script language="VBScript" type="text/VBScript">
function nt_spshuzeng_1()
s_ss=myform.amount_1.value+1
myform.amount_1.value=s_ss
jiaspxianshi="<table width='100%' border=0 cellspacing=0 cellpadding=3><tr> <td width='28%'><div align=right>成本名称：<input name=sp_name_1_"&s_ss&" type='text'  id=sp_name_1_"&s_ss&"  size=10 ></div></td><td width='72%'>成本价格：<input name=sp_value_1_"&s_ss&"  type='text'   id=sp_value_1_"&s_ss&" ></td></tr></table>"
sp_sx_1.innerhtml=sp_sx_1.innerhtml&jiaspxianshi
end function
</script>

<tr>
<td width="100%" colspan="2"><table width="100%" border="0" bgcolor="#CCCCCC">
<tr>
<td height="30" colspan="4" align="center" bgcolor="#FFFFFF"><table width="100%" border="0">
<tr>
<td height="30" align="center">商品成本：</td>
<td height="30"><input type="button" name="Submit22"  value="增加1个" onClick="nt_spshuzeng_1()">&nbsp;&nbsp;<input type="checkbox" name="autoremember" value="1" checked>自动记忆</td>
</tr>
<%#@~^JwAAAA==~b0~b/	EV^`amwMk^+*PG.,w{a.k1+'rE~Y4+	PTA0AAA==^#~@%>
<tr>
<td colspan=2 bgcolor="#FFFFFF"><span id="sp_sx_1">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="26%" align="right">成本名称：<input name="sp_name_1_1" type="text" value="" size="10" maxlength="10"></td>
<td width="74%">成本价格：<input name="sp_value_1_1" type="text" value=""  maxlength="8" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,	/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))">&nbsp;<input name="amount_1" type="hidden"  class="input" value="1" size="5"></td>
</tr>
</table>
</span></td>
</tr>
<%#@~^BgAAAA==~VdP6QEAAA==^#~@%>
<tr>
<td colspan=2 bgcolor="#FFFFFF"><span id="sp_sx_1">
<%#@~^cQAAAA==@#@&rH,2"Ir"P"3?`H3Pg2pP@#@&Ys2'kwVbOcw|wMk^+SEf^E#@#@&0KD~r{!POG,E8W!U9`Osw*d@#@&Ys2/DDx/aVrOvY:ack*~J@$@$E#@#@&ph0AAA==^#~@%>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr> 
<td width="26%"><div align="right">成本名称：<input name="sp_name_1_<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" type="text"   value="<%=#@~^CQAAAA==OswdDDv!#KwMAAA==^#~@%>" size="10" maxlength="10"></div></td>
<td width="74%">成本价格：<input name="sp_value_1_<%=#@~^AwAAAA==r3FxQAAAA==^#~@%>" type="text"   value="<%=#@~^CQAAAA==OswdDDvF#LAMAAA==^#~@%>" maxlength="8"></td>
</tr>
</table>
<%#@~^BgAAAA==~	+aDP/wEAAA==^#~@%>		</td></tr>
<input name="amount_1" type="hidden"  class=inputa value="<%=#@~^DQAAAA==;(W;	NvY:a#3qiwQAAA==^#~@%>" size="5">
<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>
<tr>
<td height="30" colspan="2"><span class="STYLE1">商品成本:商品发送给用户所需要的成本</span></td>
</tr>
<tr>
<td width="22%" height="30">市场价格：</td>
<td width="78%"><input name="markprice" type="text" id="markprice" size="5" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,	/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" VALUE="<%=#@~^FAAAAA==.kYcrn|HlM3OnMk^+r#9AYAAA==^#~@%>" >元</td>
</tr>
<tr>
<td height="30">商城价格： </td>
<td><input name="memberprice" type="text" id="memberprice" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" value="<%=#@~^FAAAAA==.kYcrn|H+s4.nMk^+r#6AYAAA==^#~@%>" size="5" onpaste="return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop= "return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" >元</td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" align="center" bgcolor="#FFFFFF">等级名称</td>
<td align="center" bgcolor="#FFFFFF">等级积分</td>
<td align="center" bgcolor="#FFFFFF">等级折扣</td>
<td align="center" bgcolor="#FFFFFF">等级价格</td>
</tr>
<%#@~^uQAAAA==@#@&/nDPk+V6wMrm'd+M\n.cmDCYW4Nn^YvJmNGN8 M+^WM[/YEb@#@&/5s{Jd+^n1Y~CP6DWsPqn4|jd+MmsCk/PK.NDP(z~k9P9+dmE@#@&/nV62Dbmn Kw+U~k;s~1G	xS2~8@#@&bk{qP@#@&[W,h4r^+P	GY,/+^W2DbmRnWW~@#@&sToAAA==^#~@%>
<tr>
<td align="center" bgcolor="#FFFFFF"><FONT color="#FF0000"><%=#@~^FAAAAA==dVWaDbm+vJ!^{glh+r#CgcAAA==^#~@%></FONT></td>
<td align="center" bgcolor="#FFFFFF"><FONT color="#FF0000"><%=#@~^FQAAAA==dVWaDbm+vJ`/{UmGDJbRQcAAA==^#~@%></FONT></td>
<td  align="center" bgcolor="#FFFFFF" class=discount level="<%=#@~^AgAAAA==rb0gAAAA==^#~@%>"><%=#@~^HgAAAA==ck+s6wMkm`riZ|Nr/1W;UDJ#Jq!Z#wwkAAA==^#~@%></td>
<td align="center" bgcolor="#FFFFFF"><input name="selfprice<%=#@~^AgAAAA==rb0gAAAA==^#~@%>" type="text" id="selfprice<%=#@~^AgAAAA==rb0gAAAA==^#~@%>" onKeyPress= "return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" value="<%=#@~^NQAAAA==	4m1{U+YtXh.k1+c/VW2MkmcJbNJ*S./D`rnm?nOtXKDb^+r#bQhIAAA==^#~@%>"  level="<%=#@~^AgAAAA==rb0gAAAA==^#~@%>" size="5" onpaste= "return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop= "return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" >
元
<input type="hidden" name="lev_id<%=#@~^AgAAAA==rb0gAAAA==^#~@%>"  value="<%=#@~^DwAAAA==dVWaDbm+vJb[J*HwUAAA==^#~@%>"></td>
</tr>
<%#@~^LQAAAA==@#@&/n^0aDk1+chW7+U+XY@#@&bk'br_8@#@&^GGw@#@&tAsAAA==^#~@%>
<tr>
<td colspan="4" align="center" bgcolor="#FFFFFF"><INPUT class=inputstyle onclick=setselfprice(this) type=button value=自动计算会员等级折扣价格 name=cal></td>
</tr>
</table> </td>
</tr>

<tr>
<td height="30" colspan="2" align="center"></td>
</tr>
<input type="hidden" name="ptotal"  value="<%=#@~^FQAAAA==dVWaDbm+cD^WMN^W!xOkwgAAA==^#~@%>">
<%#@~^JwAAAA==dVWaDbm+cm^G/PlPk+O~k+V62Dbm+{UGY4k	o2A4AAA==^#~@%>		
</table></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="FFFFFF">不填自定义会员价格,则默认享受等级折扣</td>
</tr>
</table>
<br>
</div>

<!--图片信息部分-->
<div id="w_show3" style="display:'none'">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">视频文件地址：</td>
<td bgcolor="#FFFFFF"><input name="moveurl" type="text" id="moveurl" size="30" value="<%=#@~^EQAAAA==.kYcrw|:W7k;D^JbMAYAAA==^#~@%>"></td>
</tr>

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">视频文件名称：</td>
<td bgcolor="#FFFFFF"><input name="movename" type="text" size="30" value="<%=#@~^EgAAAA==.kYcrw|:W7kUls+E#fgYAAA==^#~@%>"></td>
</tr>

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">视频高宽：</td>
<td bgcolor="#FFFFFF"><input name="movexy" type="text" id="movexy" size="30" value="<%=#@~^EAAAAA==.kYcrw|:W7kaXr#zgUAAA==^#~@%>">注意格式.如200*300</td>
</tr>

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF"><p>图片类型：</p> </td>
<td bgcolor="FFFFFF">
<input name="pictype" type="radio" value="1" <%#@~^aAAAAA==r6Pr	/DD`DDbh`M/O`rnmKatWDGJ*#~r4OYa)JzE#@!xZPGD,./D`E2|ww4GDWE#{ErPGMPb/x!V^cDkYcJa{224WYKE#*'YM;nPDtxKiIAAA==^#~@%> checked <%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>onClick="typepic.style.display='';typepic2.style.display='none'">本地上传
<input type="radio" name="pictype" value="0" <%#@~^MQAAAA==r6Pr	/DD`DDbh`M/O`rnmKatWDGJ*#~r4OYa)JzE#@*T,Y4+	mQ8AAA==^#~@%> checked <%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> onClick="typepic.style.display='none';typepic2.style.display=''">远程连接</td>
</tr>
<tr id="typepic" >
<td height="30" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td width="20%" align="right"><img src="../images/icon-viewpic.gif" width="18" height="18" onMouseOver="javascript:ddrivetip('<img width=150 src=../../<%=#@~^FQAAAA==OMkhvDkY`rn|Kw4WOWr#bJAcAAA==^#~@%>>','#ffffff',150)" onMouseOut="hideddrivetip()">商品大图片：</td>
<td bgcolor="#FFFFFF"><input name="photo" type="text" id="photo" size="60" value="<%=#@~^FQAAAA==OMkhvDkY`rn|Kw4WOWr#bJAcAAA==^#~@%>">
<input type="button" name="Submit3" value="上传大图片"  onClick="javascript:uppic('one','photo');">&nbsp;<font color="#688A00">（建议尺寸：请控制在 250*250像素 以内)</font></td>
</tr>
<tr>
<td width="20%" align="right"><img src="../images/icon-viewpic.gif" width="18" height="18" onMouseOver="javascript:ddrivetip('<img width=150 src=../../<%=#@~^FQAAAA==OMkhvDkY`rn|dw4WOWr#bRwcAAA==^#~@%>>','#ffffff',150)" onMouseOut="hideddrivetip()">商品小图：</td>
<td bgcolor="#FFFFFF"><input name="smallphoto" type="text" id="smallphoto" size="60" value="<%=#@~^FQAAAA==OMkhvDkY`rn|dw4WOWr#bRwcAAA==^#~@%>">
<input type="button" name="Submit32" value="上传小图片"  onClick="javascript:uppic('one','smallphoto');">&nbsp;<font color="#688A00">（建议尺寸：请控制在 90*90像素 左右)</font></td>
</tr>
</table></td>
</tr>
<tr style="display:none" id="typepic2">
<td height="30" colspan="2" align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td width="20%" align="right">商品大图远程链接地址：</td>
<td bgcolor="#FFFFFF"><input name="photourl" type="text" id="photourl" size="60" value="<%=#@~^FQAAAA==OMkhvDkY`rn|Kw4WOWr#bJAcAAA==^#~@%>"></td>
</tr>
<tr>
<td width="20%" align="right">商品小图远程链接地址：</td>
<td bgcolor="#FFFFFF"><input name="smallphotourl" type="text" id="smallphotourl" size="60" value="<%=#@~^FQAAAA==OMkhvDkY`rn|dw4WOWr#bRwcAAA==^#~@%>"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" align="center" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="FFFFFF"><font color="#006699">备注：如果您在“系统参数设置中 ”开启 缩略图功能，并且您的空间支持我们所提供缩略图组件 系统将会自动生成商品小图，商品小图的宽高 则在 缩略图中设置，远程链接图片请以“http://”开头</font></td>
</tr>

<script language="VBScript" type="text/VBScript">
function nt_spshux_pic()
sp_xianshishu_pic="<table width='100%' border=0 cellspacing=0 cellpadding=3>"
for s_s=1 to myform.amount_pic.value
sp_xianshishu_pic=sp_xianshishu_pic&" <tr> <td width='28%'> <input type='text' name=ord_pic"&s_s_pic&" value='' size='40'><input name=SelectPic"&s_s_pic&" type='button' id=SelectPic"&s_s_pic&" value='选择图片' onClick='javascript:showuppic('one','ord"&s_s_pic&"');'></td></tr>"
next
sp_xianshishu_pic=sp_xianshishu_pic&"</table>"
sp_sx_pic.innerhtml=sp_xianshishu_pic

end function
function nt_spshuzeng_pic()
s_ss_pic=myform.amount_pic.value+1
myform.amount_pic.value=s_ss_pic
jiaspxianshi_pic="<table width='100%' border=0 cellspacing=0 cellpadding=3><tr> <td width='28%'> <input type='text' name=ord_pic"&s_ss_pic&" value='' size='40'><input name=SelectPic"&s_ss&" type='button' id=SelectPic"&s_ss_pic&" value='选择图片' onClick='javascript:showuppic(""one"",""ord_pic"&s_ss_pic&""");'></td></tr></table>"
sp_sx_pic.innerhtml=sp_sx_pic.innerhtml&jiaspxianshi_pic

end function
</script>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="FFFFFF"><input type="button" name="Submit2"  value="增加1个" onClick="nt_spshuzeng_pic()"></td>
</tr>

<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="FFFFFF"><span id="sp_sx_pic">
<%#@~^HgAAAA==~b0~M/D`Jh{tGDw4WDWEb{JJ,OtxuQkAAA==^#~@%>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>

<td width="39%">图片
<input name="ord_pic1" type="text" id="ord_pic1" value="">
<input name="SelectPic" type="button" id="SelectPic" value="选择图片" onClick="javascript:showuppic('one','ord_pic1');"></td>
</tr>
</table>
<input name="amount_pic" type="hidden"  id="amount_pic" value="1" size="5">
<%#@~^aQAAAA==n^/n@#@&}1PAI"6I,I3?`H3~g2(:@#@&D:w{d2VbYvDdYcEh{\WMnw4WOGr#~Ekr#@#@&6GMPrb{akm{!,OW,E8W!x[cD:w*7@#@&@#@&oBwAAA==^#~@%>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>


<td width="39%"><img src="../images/index/icon-viewpic.gif" width="18" height="18" onMouseOver="javascript:ddrivetip('<img width=224 src=/<%=#@~^CwAAAA==Oswcbk|wk1#DwQAAA==^#~@%>>','#ffffff', 224)" onMouseOut="hideddrivetip()">
<input name="ord_pic<%=#@~^CAAAAA==rb{2bm3FyQIAAA==^#~@%>" type="text" id="ord_pic<%=#@~^CAAAAA==rb{2bm3FyQIAAA==^#~@%>" value="<%=#@~^CwAAAA==Oswcbk|wk1#DwQAAA==^#~@%>" size='40'>
<input name="SelectPic" type="button" id="SelectPic" value="选择图片" onClick="javascript:showuppic('one','ord_pic<%=#@~^CAAAAA==rb{2bm3FyQIAAA==^#~@%>');"></td>
</tr>
</table></td>
</tr>
</table>

<%#@~^BgAAAA==~	+aDP/wEAAA==^#~@%>
<input name="amount_pic" type="hidden"  id="amount_pic" value="<%=#@~^DQAAAA==;(W;	NvY:a#3qiwQAAA==^#~@%>" size="5">
<%#@~^BwAAAA==~x[,k6RgIAAA==^#~@%>


</span></td>
</tr>

<tr>
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="FFFFFF">&nbsp;多图不支持远程图片地址                  </td>
</tr>
</table>
<br>
</div>

<!--搜索优化部分-->
<div id="w_show4" style="display:'none'">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品关键字：</td>
<td bgcolor="FFFFFF"><textarea name="keyword" cols="50" rows="6" id="textarea3" class="text2"><%=#@~^EAAAAA==.kYcrn|3+HhK.Nr#ogUAAA==^#~@%></textarea></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="FFFFFF">此项将用于搜索引擎的搜索(<span class="STYLE1">最多500个汉字</span>)</td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">商品描述：</td>
<td bgcolor="FFFFFF"><textarea name="Description" cols="50" rows="6" id="textarea4" class="text2"><%=#@~^GgAAAA==OMkhvDkY`rn|9+km.kaYrG	J#*LgkAAA==^#~@%></textarea></td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="FFFFFF">此项将用于搜索引擎的搜索(<span class="STYLE1">最多500个汉字</span>)</td>
</tr>
</table><br>
</div>

<!--扩展类别 部分-->
<div  style="display:'none'" id="w_show5">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" valign="middle"><br>
扩展分类：</td>
<td width="20%" bgcolor="#FFFFFF">&nbsp;<b>可选分类</b><br>
<select name="source" style="WIDTH: 200px" size="15" multiple>
<%#@~^uwAAAA==~1WU	N(@#@&k+D~Dk'd+M\n.cmDCYW4Nn^YvJmNGN8 M+^WM[/YEb@#@&/5s{Jd+^n1Y~CP6DWsPqn4|n.W;VCdkPh4nDP0b[x!,PKD[+.~(X~k9~lkmE@#@&D/ Ga+UPk5^~^Kx	~FB&@#@&NKPAtbVn~	WY,./c+W6@#@&k9'M/cJr[r#@#@&szkAAA==^#~@%>
<option value="<%=#@~^CAAAAA==.k`EbNr#RwIAAA==^#~@%>|<%=#@~^DQAAAA==.k`E^+7+Vr#3q7gMAAA==^#~@%>"><%=#@~^CgAAAA==.k`E	ls+J*GwMAAA==^#~@%></option>
<%#@~^IgAAAA==~1ls^P	WV\s`rn4|n.G;VlkdJBkNBqbYAsAAA==^#~@%>
<%#@~^OgAAAA==~@#@&.kRsW\xaY@#@&sWKw~@#@&D/c^VK/+,l~/Y,Dd'UGDtrxT@#@&BxAAAA==^#~@%>
</select></td>
<td width="10%" height="30" align="center" bgcolor="#FFFFFF" valign="middle">
<INPUT name="button" type=button onclick=add(this.form.source,this.form.extfid) value=" 确 定 ">
<br>
<BR>
<INPUT name="button2" type=button onclick=del(this.form.extfid,this.form.source) value=" 删 除 "></td>
<td width="50%" bgcolor="#FFFFFF">&nbsp;<b>已选分类</b><br>
<%#@~^qQAAAA==@#@&kW,kkxE^Vv./D`En|+aO6kNrb#{YD!n~WMPDDr:c.kYcJam+XYWr9J#bxrJ~Y4n	@#@&S{6Y6k9xJrd@#@&Vdn@#@&h|n6D0k9x./D`rwm+aO6k[J*@#@&x[~b0P@#@&S{n6DWbNm8'kwVbYvA{6O0bNSEBJ#@#@&mjEAAA==^#~@%>
<select name="extfid" style="WIDTH: 200px" size="15" multiple>
<%#@~^qgAAAA==@#@&0GMPS{k{!,OW,E8W!x[cS{+XO0bN{8b@#@&S{^+-+sxT+OW	n\mV;nvJhn8|w.W1sm/dr~rV+7+^E~rk['r[Am6Y6rN|F`Smr#*@#@&kWPUGDPr/	;:Dr^vh{sn7+s#,O4+U@#@&ih{^+7nV{!@#@&x[~b0@#@&@#@&azMAAA==^#~@%>
<option value="<%=#@~^DwAAAA==A|+aD0bN{8`Smk*egUAAA==^#~@%>|<%=#@~^CQAAAA==A|Vn7+^_FSgMAAA==^#~@%>"><%=#@~^OAAAAA==LYG	+7lV!+vEh4mwMW^sm//rSJ	l:ESJbN{J'hmnXYWk9mFvhmr*#YxMAAA==^#~@%></option>
<%#@~^DAAAAA==@#@&xnXY@#@&7QEAAA==^#~@%>
</select>
<INPUT TYPE="hidden" name="classid_list" value=""></td>
</tr>
<tr>
<td height="30" colspan="4" align="left" valign="middle" bgcolor="#FFFFFF">
<font color="#FF0000">扩展分类：可将商品归属到更多分类下，使商品同时在两个或多个分类下显示</font></td>
</tr>
</table>
</div>

<!--可选配件部分-->
<div  style="display:'none'" id="w_show6">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
<tr> 
<td width="20%" height="10" align="right" bgcolor="#FFFFFF" valign="middle"></td>
<td width="80%" bgcolor="#FFFFFF"><input type="hidden" value="刷新" onclick="getissale(isonlysale)"></td>
</tr>
<tr> 
<td width="100%" bgcolor="#FFFFFF" colspan="2">
<div id="isonlysale"></div>
</td>
</tr>
<tr> 
<td width="20%" height="50" align="right" bgcolor="#FFFFFF" valign="middle">配件选择方式：</td>
<td width="80%" bgcolor="#FFFFFF">
<input type="radio" name="pjselect" value="0" <%#@~^VQAAAA==r6P.kYvJw|wNd+^+^Yr#xT,WD,./D`Jam2Lk+^+^YEb{JEPK.Pb/U;^V`.dD`Ew|2N/n^+1YJ*#{OD!+~Y4+UGB0AAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>单选&nbsp;&nbsp;<input type="radio" value="1" name="pjselect" <%#@~^GwAAAA==r6P.kYvJw|wNd+^+^Yr#xq,YtUQwkAAA==^#~@%>checked<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>多选&nbsp;&nbsp;
<font color=red>单选是指客户只能选择单一配件。多选是指客户可以选择多个配件。</font></td>
</tr>

</table>
</div>

<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd" align="center">
<tr>
<td height="30" colspan="2" align="center" bgcolor="#FFFFFF">
<input type="submit" name="Submit5" value=" 确 定 " onClick="return check();">
<input type="submit" name="Submit5" value=" 取 消 ">
</td>
</tr>
</table>
</form>			  
<%#@~^BwAAAA==~x[,k6RgIAAA==^#~@%>
</div>
</center>

<!-- #include file="../bottom2.asp" -->
<script>
<!--
function showinfo(flag)
{
	var showall,i;
	for (i=1;i<=6;i++)
	{
		if (i==flag)
		{
			document.getElementById('w_show'+i).style.display="";
			document.getElementById('bj'+i).background="../images/pro_bj.gif";
		}
		else
		{
			document.getElementById('w_show'+i).style.display="none";
			document.getElementById('bj'+i).background="../images/pro_bj1.gif";
		}
		if (flag>0)
		{
			document.getElementById('one').checked=false;
		}
	}
	if (flag==0)
	{
		showall=document.getElementById('one').checked;
		if (showall)
		{
			document.getElementById('w_show0').style.display="none";
			for (i=1;i<=6;i++)
			{
				document.getElementById('w_show'+i).style.display="";
			}
		}
		else
		{
			document.getElementById('bj1').background="../images/pro_bj.gif";
			document.getElementById('w_show0').style.display="";
			document.getElementById('w_show1').style.display="";
			document.getElementById('w_show2').style.display="none";
			document.getElementById('w_show3').style.display="none";
			document.getElementById('w_show4').style.display="none";
			document.getElementById('w_show5').style.display="none";
			document.getElementById('w_show6').style.display="none";
			//document.getElementById('w_show5').style.display="none";
		}
	}
}
showinfo(1);
//-->
</script>

<script>
<!--
var sflag;
function showsx()
{
	var id,tmpvalue;
	id=myform.fid.value;
	url ="showprice.asp?cid="+id;
	var xmlDoc=new ActiveXObject("Microsoft.XMLDOM") 
	xmlDoc.async=false;
	xmlDoc.load(url);
	tmpvalue=xmlDoc.childNodes(1).childNodes(0).childNodes(0).text;
	if (tmpvalue==0)
	{
		$("mainprice").style.display="none";
		$("mainpricelist").style.display="none";
	}
	else
	{
		$("mainprice").style.display="";
		$("showprice").innerHTML=xmlDoc.childNodes(1).childNodes(0).childNodes(0).text;
	}
	$("pricelist").innerHTML="";
	//showpj();
}

function showpj()
{
	var id;
	id=myform.fid.value;
	url ="showpj.asp?cid="+id;
	var xmlDoc=new ActiveXObject("Microsoft.XMLDOM") 
	xmlDoc.async=false;
	xmlDoc.load(url);
	$("pjlist").innerHTML=xmlDoc.childNodes(1).childNodes(0).childNodes(0).text;
}

function selectvalue(w_value,sid)
{
	//alert(w_value+','+sid);
	var tmpstr,str1,str2;
	if (w_value!="")
	{
		tmpstr=w_value.split("|");
		str1=document.getElementById("sx1_"+sid).innerHTML;
		str2="<input type=radio name=sx_value_"+sid+" value="+tmpstr[0]+">"+tmpstr[1]+"<br> ";
		/*delete button*/
		str6=document.getElementById("sx3_"+sid).innerHTML;
		str7="<a onclick=\"\showdel('"+sid+"','sx_value_"+sid+"','"+tmpstr[0]+"','"+tmpstr[1]+"')\"\ style='cursor:hand;'>[Del]</a><br>";
		str5=tmpstr[0];
		MatchDemo(str1,str5);
		if (sflag==null)
		{
			document.getElementById("sx1_"+sid).innerHTML=str1+str2;
			document.getElementById("sx3_"+sid).innerHTML=str6+str7;
			//alert(sid+","+w_value.split("|")[0])
			showpricelist("add",sid,tmpstr[0])
		}
	}
}
function MatchDemo(str3,str4)
{
   	var r, re;                     	// 声明变量。
   	var s = str3
	str4="value="+str4
  	re = new RegExp(str4);  	// 创建正则表达式对象。
   	sflag = s.match(re);            // 在字符串 s 中查找匹配。
	//alert(str4+' '+sflag)
}

function showdel(s_str1,s_str2,s_str3,s_str4)
{
	var s_str,s_tmpstr,s_str5,s_str6;
	s_str=document.getElementById("sx1_"+s_str1).innerHTML;
	s_strdel=document.getElementById("sx3_"+s_str1).innerHTML;
	
	/*replace s_str5*/
	s_str5="<INPUT type=radio value="+s_str3+" name="+s_str2+">"+s_str4+"<BR>";
	s_str=s_str.replace(s_str5, "")
	s_str5="<INPUT type=radio CHECKED value="+s_str3+" name="+s_str2+">"+s_str4+"<BR>";
	s_str=s_str.replace(s_str5, "")
	document.getElementById("sx1_"+s_str1).innerHTML=s_str;

	/*replace s_str6*/
	s_str6="<A style=\"\CURSOR: hand\"\ onclick=\"\showdel('"+s_str1+"','"+s_str2+"','"+s_str3+"','"+s_str4+"')\"\>[Del]</A><BR>";
	s_strdel=s_strdel.replace(s_str6, "")
	document.getElementById("sx3_"+s_str1).innerHTML=s_strdel;
	showpricelist("del",s_str1,s_str3)

}
function showpricelist(action,v_sid,v_id)
{
	var url ="showpricelist.asp?action="+action+"&cid="+v_sid+"&id="+v_id;
	//alert(url);
	var xmlDoc=new ActiveXObject("Microsoft.XMLDOM") 
	xmlDoc.async=false;
	xmlDoc.load(url);
	tmpvalue=xmlDoc.childNodes(1).childNodes(0).childNodes(0).text;
	if (tmpvalue=="")
	{
		$("mainpricelist").style.display="none";
	}
	else
	{
		$("mainpricelist").style.display="";
		$("pricelist").innerHTML=xmlDoc.childNodes(1).childNodes(0).childNodes(0).text;
	}
}
function set_mall_price(w_form_node)
{
	if(myform.zhprice[w_form_node].value!="")
	{
		myform.memberprice.value=myform.zhprice[w_form_node].value;
	}
}

<%#@~^awAAAA==@#@&kW,kkxE^Vv2{7l.wMk^n*'0ms/Pl	[~YMks`2{-CMw.k1n#@!@*EE,YtnU@#@&7w|-mD2Mk1+{8'k2VbYcw|\C.aDk1n~reerb@#@&NCEAAA==^#~@%>
showsx();
<%#@~^+AAAAA==@#@&dWKD,k'ZPDGP!4GE	Nc2|\lM2Dbm+|qb@#@&diwm/r[{/2VbO`kwsrD`/2sbYcw|-mD2Mk1+{8`bb~rUE#vFbSruJ*c!*~JBEb@#@&di0GD~%{!~YK~E(W;U9`wmdbNb@#@&7i/OM\mVE'Mnw^l^+vDn2^lmcYMk:vLnYKx\CV;nvJA+(m/X\Cs!+JSEk{-l^;JSrk9'JLw|dk9`%#*#S^4D`8f#BJJ*S^tM`8!b~EE*@#@&f0kAAA==^#~@%>
	selectvalue('<%=#@~^CAAAAA==2|/r9`N#ygIAAA==^#~@%>|<%=#@~^CAAAAA==dDD-mV!+dgMAAA==^#~@%>',<%=#@~^MAAAAA==LYG	+7lV!+vEh4m/X\Cs!+JBE/|kNrSEk9'r[2{dr9`%#*UhAAAA==^#~@%>);
<%#@~^BgAAAA==7	+aDP6AEAAA==^#~@%>
<%#@~^BQAAAA==~	+aD3wEAAA==^#~@%>
var p_length=<%=#@~^FAAAAA==;(W;	Nvw{7lM2Dbmn{8#mQcAAA==^#~@%>;
<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>

<%#@~^3AEAAA==@#@&kW,kkxE^Vv2{7l.wMk^n*'0ms/Pl	[~YMks`2{-CMw.k1n#@!@*EE,YtnU@#@&7Wan	Dd@#@&i/;^'rd+^+^Y,e~WMW:,A+({Ekn.m^lk/~W.[D~4H~E1{d^KD+~CkmE@#@&7M/ KwxPk;^SmKxU@#@&d[G,htbs+,xWD~./c+K0~@#@&7ihmEa.k1+xA|Ew.r1+'J-kr[E!wMkm{r'Dk`Ek9Jb@#@&dDk :K\+	naY@#@&iVGW2@#@&d./c^VK/n@#@&dhm;aDrmxkwsbYvh{!wMrm~Eu-Jb@#@&dw|-lMwDb^n{y'kwskOca{-lM2DbmnSreeEb@#@&70K.,kxZPDWP!4K;x9`2{7l.2Mkmm *@#@&i72{kk9{f'd2^kO`am\mD2.bm+m+vkb~r=r#cZ#@#@&diw|dk9{+'kwsrD`/askD`w|-CDaDbmn{+cb#SJ?E#vFbSruJb@#@&yI8AAA==^#~@%>

	for (i=0;i<=p_length;i++)
	{
		if (myform.sxz_value[i].value=="<%=#@~^CgAAAA==2|/r9{y`!*IQMAAA==^#~@%>")
		{
			myform.zhprice[i].value="<%=#@~^CgAAAA==2|/r9{y`F*IgMAAA==^#~@%>";
			<%#@~^HAAAAA==WKD~N'8PYKP!8W!x[`S{;2MkmbPvgkAAA==^#~@%>
				myform.<%=#@~^CwAAAA==A|E2Mk1+`N#GQQAAA==^#~@%>[i].value="<%=#@~^JwAAAA==daVrD`kwVbYv2{kk[{y`+bBJ@$rb`N#~rSE#vF*pgoAAA==^#~@%>";
			<%#@~^BAAAAA==U6OvwEAAA==^#~@%>
			<%#@~^EgAAAA==~b0~a{kkN|&{qPDtnx7QUAAA==^#~@%>
				myform.s_default[i].checked=true;	
			<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
		}
	}
<%#@~^BAAAAA==U6OvwEAAA==^#~@%>
<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>
<%#@~^OQAAAA==r6Prkx!VVvw|"tkYGm0#xWmV/~l	NPD.r:vw|y4/OG13b@!@*EJ,Y4n	1hMAAA==^#~@%>
<%#@~^JwAAAA==@#@&\CM{kYW13{dw^kO`a{"4kYW1V~reerb@#@&TQsAAA==^#~@%>
	<%#@~^UAAAAA==@#@&d76WMPk{!,OW,E8W!x[c7lD|dYKm3*@#@&di\mDm/OG13mF{dw^kOc7lDmdDW^3vr*~E-J*@#@&iBBcAAA==^#~@%>
		
		for (w_ij=0;w_ij<=p_length;w_ij++)
		{
			if (myform.sxz_value[w_ij].value=="<%=#@~^DgAAAA==-mDmkYKm3|FvT#3QQAAA==^#~@%>")
			{
				myform.s_stock[w_ij].value="<%=#@~^DgAAAA==-mDmkYKm3|Fvq#3gQAAA==^#~@%>";
			}
		}
	<%#@~^BAAAAA==U6OvwEAAA==^#~@%>
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>
//-->
</script>

<script language="javascript">
<!--
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.extfid.options.length; x++){
			if(first)
			{
				goodsidlist = goodsidlist + frm.extfid.options[x].value;
				first = false;
			}
			else{
				goodsidlist = goodsidlist + "," + frm.extfid.options[x].value;
			}
		}	
		frm.classid_list.value = goodsidlist;
}
getissale('isonlysale'); 
showselectsalegood('<%=#@~^BAAAAA==2|w%qQEAAA==^#~@%>');
//-->
</script>
</body>
</html>