<!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">
	var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
		var iddep_name 		 = document.getElementById('dep_name');
		var iddep_enabled 	 = document.getElementById('dep_enabled');
		var iddep_list 		 = document.getElementById('dep_list');
		var idsuggestionInfo = document.getElementById('suggestionInfo');

		if(iddep_name.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：部门名称不能为空！请输入！';
			iddep_name.focus();
			return false;
		}else if(iddep_enabled.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：是否显示不能为空！请输入！';
			iddep_enabled.focus();
			return false;
		}else if(iddep_list.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：排序不能为空！请输入！';
			iddep_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=dept&act=infolist" ><img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">部门</a> | 修改部门 </td>
    <td>&nbsp;</td>
    <td align="right"><a href="http://help.gv32.com/type_dept-edit.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&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="dep_id" id="dep_id" value="{#$info.dep_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="dep_name" id="dep_name" value="{#$info.dep_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="dep_parentid" id="dep_parentid"  style="width:250px;" >
<option value="0"   >请选择上级分类</option>
{#foreach key=key item=item from=$asInfo#}
<option value="{#$item.dep_id#}"  {#if $info.dep_parentid eq $item.dep_id#} selected="selected" {#/if#} >{#$item.dep_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="dep_locked" id="dep_locked[0]" value="1" type="radio" {#if $info.dep_locked eq 1#} checked="checked" {#/if#} >&nbsp;&nbsp;&nbsp;&nbsp;解锁<input name="dep_locked" id="dep_locked[1]" value="0" type="radio" {#if $info.dep_locked eq 0#} 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="dep_enabled" id="dep_enabled" value="1" type="radio" {#if $info.dep_enabled eq 1#} checked="checked" {#/if#} >&nbsp;&nbsp;&nbsp;&nbsp;隐藏<input name="dep_enabled" id="dep_enabled" value="0" type="radio" {#if $info.dep_enabled eq 0#} 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="dep_exttel" id="dep_exttel " value="{#$info.dep_exttel#}" 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">{#$ckeditorLoad#}</td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>排序：</strong></td>
<td class="tdd"><input name="dep_list" id="dep_list " value="{#$info.dep_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>