<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<!--
'##################################################################                                                                 
'★         web08.net - 威博购物系统                                              
'★  版权所有: web08.net                                                                                                       
'★  程序制作: 威博网络技术公司                                     
'★           email:web08net@hotmail.com                           
'★            Q Q :645095280,475980829 
'★	       电话:021-55520018                                                                                                         
'★  相关网址: [产品介绍] http://www.021web.com.cn/gwxt.html
'★            [支持论坛] http://bbs.web08.net/                                                                                     
'★  主页地址: http://www.web08.net/  
'★		http://www.021web.com.cn/			                                                                 
'###################################################################
-->
<html>
<head>
<title>模板/标签系统-威博多用户商城后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>
<!-- #include file="../include2.asp" -->
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->
<%#@~^DAAAAA==(kb[sk	`FZ,*kAMAAA==^#~@%>
<script>
function IsDigit()
{
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
<script language="JavaScript" type="text/JavaScript">
function uppic(model,frmname) 
{
window.open("../upload/upload.asp?uppath=Subject&ProdId="+model+"&frmname="+frmname,"upload", " width=550, height=280, resizable=no,menubar=1,scrollbars=1")
}

</script>
<center>
<!--#include file="web_tmp_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>  - 编辑自定义栏目 </span>
</div>
<div class="tab-div">
<%#@~^gQAAAA==~,P@#@&K:l4^+{E4m?H/Ons?E(%+1YJ,~@#@&:mKx[YrG	'Eh4nDPr[{J[.n$En/Dcrk[r#LJJ@#@&1CV^P	+({/mUYl(s+vJerSPKm4^+SK^G	NOkKU#i@#@&@#@&WSQAAA==^#~@%>

<form action="wlablesave.asp?action=editSystemSubject" name="myform" method="post" >

<table width="100%"border="0" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#FFffff"  bordercolordark="#CCCCCC" bgcolor="#CCCCCC" >
<tr class="bottomborder2">
  <td width="20%" height="20" align="right" bgcolor="#FFFFFF">&nbsp;</td>
  <td width="80%" height="20" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" class="hback">栏目分类：</td>
<td height="30" align="left" bgcolor="#FFFFFF" class="hback"><label>
<%#@~^7wAAAA==~b0~M/vJZ^lkdKHwnJ*'T~Dt+	@#@&iD+k2Gxk+c.kOn,J系统栏目E@#@&nVk+rW,D/cE;VC/kPHwnr#{ PDtU@#@&d.+kwGUk+Rq.kD+Pr供求栏目E@#@&Vk+r0~.k`EZ^C/kKz2J#xq,Y4+	@#@&d./aWxk+c	DbYnPr商城栏目J@#@&V/r0,D/vE/Vm/kKzwnE*'fPD4+	@#@&7M+/2G	/nRq.bYn,J店铺栏目r@#@&x9~k6R0EAAA==^#~@%>
<input type="hidden" name="select" value="<%=#@~^DwAAAA==.k`E;Vm//:XanJ*EgUAAA==^#~@%>">
<input type="hidden" name="id" value="<%=#@~^CAAAAA==.k`EbNr#RwIAAA==^#~@%>">
<input type="hidden" name="page" value="<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>">
</label></td>
</tr>

<tr>
<td height="30" align="right" bgcolor="#F7F7F7" class="hback">栏目类型：</td>
<td height="30" align="left" valign="middle" bgcolor="#F7F7F7" class="hback"> <%#@~^FQAAAA==r6P.k`rq/`IdE#{F~Y4+UVQYAAA==^#~@%> 外部<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>系统<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
<input type="hidden" name="isUrl" id="isUrl"  value="<%=#@~^CwAAAA==.k`E&/`ISr#KQMAAA==^#~@%>" >
</td>
</tr>

<tr id="w_typeid" style="display:none">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" class="hback">供求类型：</td>
<td height="30" colspan="2" align="left" bgcolor="#FFFFFF" class="hback">
<select name="typeid">
<option value="0">-所有类型-</option>
<%#@~^eQAAAA==@#@&Bd$V{J/V^Y,e~0MWh~S+4|CV^YXan~h4+M+~lOm1W[+b['EFTTZ!B~E@#@&v/O,Ddy'1Wx	Ra+1EO+v/5s*@#@&E[W,htbsnP	WDP./+ WWP@#@&9yMAAA==^#~@%>
<option value="<%#@~^CwAAAA==v{Ddy`rkNr#3QIAAA==^#~@%>" <%#@~^GQAAAA==vb0~DXa+k9'Md vJrNr#~O4+xKggAAA==^#~@%>selected<%#@~^BwAAAA==vx[,k6TQIAAA==^#~@%>><%#@~^EAAAAA==v{Ddy`rlY|xmh+r#5QQAAA==^#~@%></option>
<%#@~^PgAAAA==@#@&B.k c:W7+	n6D@#@&B^WG2@#@&BMd cmVKdnP=Pk+OP.dy'UWD4k	o@#@&0hAAAA==^#~@%>
</select>
</td>
</tr>

<tr id="OutUrl"   style="display:<%#@~^FQAAAA==r6P.k`rq/`IdE#{F~Y4+UVQYAAA==^#~@%><%#@~^BAAAAA==n^/nqQEAAA==^#~@%>none<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>"  >
<td height="30" align="right" bgcolor="#F7F7F7" class="hback">外部地址：</td>
<td height="30" colspan="2" align="left" valign="middle" bgcolor="#F7F7F7" class="hback"><input name="UrlAddress" type="text" id="UrlAddress" size="30" value="<%=#@~^FgAAAA==OMkhvDk`J`D^)N9Dn/kJbbgAcAAA==^#~@%>" maxlength="150">       
<font color="#C66716">最大250个字符</font></td>
</tr>

<tr>
<td width="20%" height="30" align="right" bgcolor="#FFFFFF" class="hback">栏目中文名称：</td>
<td height="30" align="left" bgcolor="#FFFFFF" class="hback"><label>
<input name="ClassName" type="text" id="ClassName" value="<%=#@~^FQAAAA==OMkhvDk`J;Vmd/glh+r#b/gYAAA==^#~@%>" size="30" maxlength="50">
</label></td>
</tr>
<tr id="tr1">
<td height="30" align="right" bgcolor="#F7F7F7" class="hback">栏目英文名称：</td>
<td height="30" align="left" bgcolor="#F7F7F7" class="hback"><input name="ClassEName" type="text" id="ClassEName" size="30" value="<%=#@~^FgAAAA==OMkhvDk`J;Vmd/A1C:JbbQwcAAA==^#~@%>" <%#@~^FQAAAA==r6P.k`rq/`IdE#{F~Y4+UVQYAAA==^#~@%><%#@~^BAAAAA==n^/nqQEAAA==^#~@%>readonly <%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> maxlength="50">
<font color="#C66716">3-50个字符,必须是字母，数字，中划线，下划线,一旦确认,将不能修改</font></td>
</tr>
<tr id="tr2">
<td height="30" align="right" bgcolor="#FFFFFF" class="hback">栏目模版地址：</td>
<td height="30" align="left" bgcolor="#FFFFFF" class="hback"><input name="Templet" type="text" id="Templet" size="50"  value="<%=#@~^EwAAAA==OMkhvDk`J:+s2VYE#*YgYAAA==^#~@%>">  
<input type="button" name="Submit" value="选择模板" onClick="OpenWindowAndSetValue('<%=#@~^IgAAAA==	4mV+D{IKWD9kM`	+({/mk+Y!20KVN.b3AwAAA==^#~@%>inc/SelectTemplet.asp?CurrPath=<%=#@~^EgAAAA==	4m;{k+Y!w6GV9+.P7AYAAA==^#~@%>template',400,300,window,document.myform.Templet);document.myform.Templet.focus();" maxlength="150"></td>
</tr>
<tr id="tr4">
<td height="30" align="right" bgcolor="#FFFFFF" class="hback">栏目META关键字：</td>
<td height="30" align="left" bgcolor="#FFFFFF" class="hback"><textarea name="ClassKeywords" cols="60" rows="10" id="ClassKeywords"><%=#@~^GQAAAA==OMkhvDk`J;Vmd/n+zhKD[dr##1QgAAA==^#~@%></textarea>
</td>
</tr>

<tr id="tr5">
<td height="9" align="right"  bgcolor="#F7F7F7" class="hback">栏目META关描述：</td>
<td height="30" align="left" bgcolor="#F7F7F7" class="hback"><textarea name="Classdescription" cols="60" rows="10" id="Classdescription"> <%=#@~^HAAAAA==OMkhvDk`J;Vmd/9+dmMk2ObWxrb#IQoAAA==^#~@%></textarea></td>
</tr>

<tr>
<td height="9" align="right" bgcolor="#FFFFFF" class="hback">是否在导航中显示：</td>
<td height="30" bgcolor="#FFFFFF" class="hback">
<input name="rg" type="radio" value="1" <%#@~^FgAAAA==r6P.k`rk/ktKAJ*'qPDtnUQwcAAA==^#~@%>checked <%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>显示
<input type="radio" name="rg" value="0" <%#@~^FgAAAA==r6P.k`rk/ktKAJ*'TPDtnUQgcAAA==^#~@%>checked <%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>不显示
</td>
</tr>

<tr>
<td height="9" align="right"  bgcolor="#FFFFFF" class="hback">排列序号：</td>
<td height="30" bgcolor="#FFFFFF" class="hback"><input name="OrderID" type="text" value="<%=#@~^EwAAAA==OMkhvDk`J}D9nD&fE#*EAYAAA==^#~@%>" id="OrderID"  size="10" ONKEYPRESS="event.returnValue=IsDigit();" maxlength="4"></td>
</tr>

<tr>
<td height="9" align="right" bgcolor="#F7F7F7" class="hback">&nbsp;</td>
<td height="50" align="left" bgcolor="#F7F7F7" class="hback"><input type="Submit" name="Submit" value=" 确 定 " onClick="return Ad_Flag();">
  <input type="reset" name="Submit3" value=" 取 消 " onClick="return Ad_Flag();"></td>
</tr>
</table>
</form>
</div>
</center>
<script language="JavaScript" type="text/JavaScript">
<!--
function insertType()
{ 
	if (document.myform.isUrl.value==1)
	{
		OutUrl.style.display='';
		tr1.style.display='none';
		tr2.style.display='none';
		//tr3.style.display='none';
		tr4.style.display='none';
		tr5.style.display='none';
		w_typeid.style.display='none';
	}
	else
	{
		OutUrl.style.display='none'
		tr1.style.display='';
		tr2.style.display='';
		//tr3.style.display='';
		tr4.style.display='';
		tr5.style.display='';
		if (myform.select.value==2)
		{
			w_typeid.style.display='';
		}
		else
		{
			w_typeid.style.display='none';
		}
	}
}
insertType();
function ShowType(sflag)
{ 
	if (sflag==2)
	{
		w_typeid.style.display='';
	}
	else
	{
		w_typeid.style.display='none';
	}
}
ShowType(myform.select.value);

function Ad_Flag()
{
	if (document.myform.ClassName.value=="")
	{
		alert("自定义栏目中文名称不能为空");
		document.myform.ClassName.focus();
		return false;
	}
	if (document.myform.isUrl.value=0)
	{
		if (document.myform.ClassEName.value=="")
		{
			alert("栏目英文名称不能为空");
			/*document.myform.ClassEName.focus();*/
			return false;
		}
		if (document.myform.Templet.value=="")
		{
			alert("栏目模版不能为空");
			/*document.myform.Templet.focus();*/
			return false;
		}
	}
	var a = document.myform.ClassKeywords;
	if(a.value.length > 500)
	{
		alert("输入的关键字长度不能超过500个字符!");
		document.myform.ClassKeywords.focus();
		return false;
	}
	var b = document.myform.Classdescription;
	if(b.value.length > 500)
	{
		alert("输入的描述长度不能超过500个字符!");
		document.myform.Classdescription.focus();
		return false;
	}
}
function CheckFileExtName(Obj)
{
	if (Obj.value!='')
	{
		for (var i=0;i<document.all.FileExtName.length;i++)
		{
			if (document.all.FileExtName.options(i).value=='asp') document.all.FileExtName.options(i).selected=true;
		}
		document.all.FileExtName.readonly=true;
	}
	else
	{
		document.all.FileExtName.readonly=false;
	}
}
function ShowAdpicInfo()
{
	if (document.all.IsAdPic.checked==true)
	{
		document.all.Adpic.style.display="";
	}
	else
	{
		document.all.Adpic.style.display="none";
	}
}
//-->
</script>
<!-- #include file="../bottom2.asp" -->
</body>
</html>