<%@ 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/			                                                                 
'###################################################################
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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>
<!--#include file=../include2.asp-->
<script language="JavaScript" type="text/JavaScript">
<!--
function check()
{  
  if(document.myform.name.value=='') {
  	alert("名称不能为空！");
	document.myform.name.focus();
       	return false;
  }
  if(document.myform.s_cid.value=='') {
  	alert("请选择分类！");
	document.myform.s_cid.focus();
       	return false;
  }
}

/*搜索商品*/
function dosearchsxvalue(idkey)
{
	var url = 'searchgood.asp?action=searchsxvalue&sxid='+idkey;
	var pars = '';
	var wAjax = new Ajax.Updater('sxvaluelist', url, {method: 'get', parameters: pars});
}

function dodelsxvalue(idkey1,idkey2)
{
	var url = 'searchgood.asp?action=dodelsxvalue&id='+idkey1;
	var pars = '';
	var wAjax = new Ajax.Updater('', url, {method: 'get', parameters: pars});
	dosearchsxvalue(idkey2);
}

function doupdatesxvalue(itemkey,idkey1,idkey2)
{
	var url = 'searchgood.asp?action=doupdatesxvalue&id='+idkey1+'&s_value='+escape(itemkey);
	var pars = '';
	var wAjax = new Ajax.Updater('', url, {method: 'get', parameters: pars});
	alert("修改成功")
	dosearchsxvalue(idkey2);
}
//-->
</script>
</head>
<%#@~^UgEAAA==@#@&l^DkKx {D5E/O`rl^ObWxyE#@#@&k9x.+$E/O`Er9Jb@#@&d{1k[xM+;;nkYcJka1VCk/bNJ*@#@&d{KD[+M'T@#@&:/TxJ添加r@#@&bW~k9@!@*JEPO4x@#@&iGwx.d@#@&dd5^'E/smO,e,0DK:,A+({d6,h4nM+Pb['r[k9@#@&dM/cW2+U~k;s~1Gx	@#@&7ixlhn{Dd`rd|xCs+r#@#@&did{DX2+{Ddcr/{DzwJ#@#@&7dk{KD[+.xM/cJkmWMNn.r#@#@&7i/mmb[{DdvJk{mbNrb@#@&d^VK/n.k@#@&ih/T'J编辑r@#@&+	N,kW@#@&uVoAAA==^#~@%>
<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="sxlist.asp?id=<%=#@~^BQAAAA==d|mr9AgIAAA==^#~@%>"><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">
<form action="wsxsave.asp?action=msx&action2=<%=#@~^BwAAAA==C1YrKxysAIAAA==^#~@%>" method="post" name="myform">
<tr bgcolor="#FFFFFF"> 
<td width="20%" height="20" align="right" bgcolor="#FFFFFF"></td>
<td width="77%" bgcolor="#FFFFFF"></td>
</tr>

<tr bgcolor="#FFFFFF"> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">属性名称：</td>
<td width="77%" bgcolor="#FFFFFF"><input name="name" type="text" size="18" maxlength="25" value="<%=#@~^BAAAAA==Um:noQEAAA==^#~@%>"> </td>
</tr>

<tr bgcolor="#FFFFFF">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">所属类别：</td>
<td bgcolor="#FFFFFF">
<select name="s_cid" >
<option value="">选择属性类别</option>
<%#@~^dwAAAA==@#@&W2xM/@#@&/$s'r/nVmO~CP0MG:,P8m/Xm^ld/~GMNnD,8X,\mGMN+.~9+dmr@#@&DdcWa+x,/$s~1WUxBFSf@#@&NK~h4kV~UWDPM/ +GW@#@&8yMAAA==^#~@%>
<option value="<%=#@~^DgAAAA==OMkhvDk`JbNrb#VAQAAA==^#~@%>" <%#@~^HAAAAA==r6P^^xT`/|mb[#{Dd`rk[E*PY4nxOQkAAA==^#~@%>selected<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> >├<%=#@~^EAAAAA==OMkhvDk`JglsnJ*#CAUAAA==^#~@%></option>
<%#@~^JwAAAA==@#@&Ddc:K\+	+XO@#@&VGWaP@#@&;VWknIk@#@&egkAAA==^#~@%>
</select></td>
</tr>
<tr bgcolor="#FFFFFF" style="display:none"> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">类型：</td>
<td width="77%" bgcolor="#FFFFFF">
<input name="s_type" type="radio" value='0' checked>属性&nbsp;
<input name="s_type" type="radio" value='1'>配件</td>
</tr>

<tr bgcolor="#FFFFFF"> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">排序：</td>
<td width="77%" bgcolor="#FFFFFF"><input name="s_order" type="text" size=8 value='<%=#@~^BwAAAA==d|W.9+M7gIAAA==^#~@%>' maxlength="4"></td>
</tr>
<%#@~^DQAAAA==r6Pr9'rJPDtUDAQAAA==^#~@%>
<tr bgcolor="#FFFFFF"> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" valign="top">属性值列表：</td>
<td width="77%" bgcolor="#FFFFFF"><textarea name="sx_values" cols="30" rows="5"></textarea>每行代表一个可选属性值。多个属性值请用换行表示</td>
</tr>
<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>

<tr bgcolor="#FFFFFF"> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" valign="top">已有属性值：</td>
<td width="77%" bgcolor="#FFFFFF">
<span id="sxvaluelist"></span>
<script>dosearchsxvalue(<%=#@~^AgAAAA==r9zQAAAA==^#~@%>);</script>
</td>
</tr>

<tr bgcolor="#FFFFFF"> 
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" valign="top">增加属性值：</td>
<td width="77%" bgcolor="#FFFFFF"><textarea name="sx_values" cols="30" rows="5"></textarea>每行代表一个可选属性值。多个属性值请用换行表示</td>
</tr>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
<tr bgcolor="#F1F1F1"> 
<td height="50" align="center" bgcolor="#FFFFFF"></td>
<td height="50" align="left" bgcolor="#FFFFFF"><input type="hidden" name="id" value="<%=#@~^DQAAAA==.;;/D`JbNrbawQAAA==^#~@%>">
<input type="submit" name="Submit32" value=" 确 定 " onClick="return check()">
</td>
</tr>

<tr bgcolor="#F1F1F1">
<td height="30" colspan="2" align="left" bgcolor="#FFFFFF" ><br>
&nbsp;&nbsp;&nbsp;<font color="#FF0000">&nbsp; 备注：颜色、尺码、产地等都属于商品属性，属性是顾客在购买商品的时候必须要选择，属于商品不可分割的一部分，再例如Cpu、显卡等属于电脑商品的属性；红色、蓝色则属于颜色这个属性的属性值。<br>
</font></td>
</tr>
</form>
</table>
</div>
</center>
<!-- #include file="../bottom2.asp" -->
</body>
</html>