<!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 idhes_name 			= document.getElementById('hes_name');
		var idhes_enabled 		= document.getElementById('hes_enabled');
		var idhes_list 			= document.getElementById('hes_list');
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idhes_name.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：分类名称不能为空！请输入！';
			idhes_name.focus();
			return false;
		}else if(idhes_enabled.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：是否显示不能为空！请输入！';
			idhes_enabled.focus();
			return false;
		}else if(idhes_list.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：排序不能为空！请输入！';
			idhes_list.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?load=helpsort&act=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="{#$actUrl#}" method="post" onsubmit="return submitFun(this)" enctype="multipart/form-data" name="formSub">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">

<tr>
<th colspan="2">修改帮助分类</th>
</tr>
<input name="hes_id" id="hes_id" value="{#$info.hes_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="hes_name" id="hes_name" value="{#$info.hes_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="hes_parentid" id="hes_parentid"  style="width:250px;" >
<option value="0"   >请选择上级分类</option>
{#foreach key=key item=item from=$asInfo#}
<option value="{#$item.hes_id#}"  {#if $info.hes_parentid eq $item.hes_id#} selected="selected" {#/if#} >{#$item.hes_name#}</option>
{#/foreach#}
</select>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>是否显示：</strong></td>
<td class="tdd">显示<input name="hes_enabled" id="hes_enabled" value="1" type="radio" {#if $info.hes_enabled eq 1#} checked="checked" {#/if#} >&nbsp;&nbsp;&nbsp;&nbsp;未显示<input name="hes_enabled" id="hes_enabled" value="2" type="radio" {#if $info.hes_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="hes_list" id="hes_list " value="{#$info.hes_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="添 加" ></td>
</tr>
</table>
</form>

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

	
</body>
</html>