<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>分类修改 {#$LA_poweredby#} -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language="javascript">
	function submitFun()
	{
		var idad_name 		= document.getElementById('ad_name');
		var idposition_id 			= document.getElementById('position_id');
		//var idwebkeyword 			= document.getElementById('webkeyword');
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idad_name.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：名称不能为空！请输入！';
			idad_name.focus();
			return false;
		}else if(idposition_id.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：位置不能为空！请输入！';
			idposition_id.focus();
			return false;
		}

	}
</script>
</head>
<body>
<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">

<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<a href="{#$base_weburl#}/adminsys/index.php/worksort/infolist/" ><img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">作品分类列表</a> | 修改分类</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>

<form action="{#$base_weburl#}/adminsys/index.php/worksort/editinfo" method="post"   name="formSub">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th colspan="2">分类修改</th>
</tr>

<input name="worksort_id" id="worksort_id" value="{#$info.worksort_id#}" type="hidden"  style="width:250px;" >
<tr  bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
<td class="td"><strong>分类名称：</strong></td>
<td class="tdd"><input name="worksort_name" id="worksort_name" value="{#$info.worksort_name#}" type="text"  style="width:250px;" ></td>
</tr>
<tr  bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
<td class="td"><strong>上级分类：</strong></td>
<td class="tdd"><select   name="worksort_parentid" id="worksort_parentid"  style="width:250px;" >
<option value="0"   >请选择上级分类</option>
{#foreach key=key item=item from=$asInfo#}
<option value="{#$item.worksort_id#}"  {#if $info.worksort_parentid eq $item.worksort_id#} selected="selected" {#/if#} >{#$item.worksort_name#}</option>
{#/foreach#}
</select></td>
</tr>


<tr  bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
<td class="td"><strong>是否有效：</strong></td>
<td class="tdd">
有效<input type="radio"   name="worksort_enabled" id="worksort_enabled[0]"    value="1"  {#if $info.worksort_enabled eq 1#} checked="checked" {#/if#}  >
&nbsp;&nbsp;&nbsp;
无效<input type="radio"   name="worksort_enabled" id="worksort_enabled[1]"  value="2"  {#if $info.worksort_enabled eq 2#} checked="checked" {#/if#}  >
</td>
</tr>

<tr  bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
<td class="td"><strong>排序：</strong></td>
<td class="tdd"><input name="worksort_list" id="worksort_list " value="{#$info.worksort_list#}" type="text" style="width:250px;"></td>
</tr>


<tr  bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>

<tr  bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
<td colspan="2"  class="tdcenter"> <input name="submit" id="submit" type="submit" value="修 改" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="{#$base_weburl#}/adminsys/index.php/worksort/infolist/" >返回列表</a></td>
</tr>
</table>
</form>

</td></tr>
<tr><td></td></tr>
</table>

</body>
</html>