<!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 idfor_id 			= document.getElementById('for_id');
		var iduse_name 		= document.getElementById('use_name');
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idfor_id.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：版主名称不能为空！请输入！';
			idfor_id.focus();
			return false;
		}else if(iduse_name.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：用户名称不能为空！请输入！';
			iduse_name.focus();
			return false;
		}	
	}
</script>

</head>
<body onload="hiddenLoding()">

<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=moderator&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_moderator-add.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>

<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<form action="{#$base_weburl#}/adminsys/index.php?load=moderator&act=addinfo" method="post"  name="formSub" target="_self"  onsubmit="return submitFun(this)"  >
<tr>
<th colspan="2">添加版主管理</th>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"  style="width:100px;"><strong>版块名称：</strong></td>
<td class="tdd"  style="width:330px;"  ><select name="for_id" id="for_id">
<option value="">选择版块</option>
{#foreach item=item from=$info#}
<option value="{#$item.for_id#}">{#$item.for_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"  style="width:350px;"><input name="use_name" id="use_name" value="" 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="mod_type" id="mod_type">
{#section name=customer  loop=21#}
<option value="{#$smarty.section.customer.index+1#}">第{#$smarty.section.customer.index+1#}级</option>
{#/section#}
</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" value="1" name="mod_enabled" id="mod_enabled[0]" checked="checked"  /> 不有效<input type="radio" value="0" name="mod_enabled" id="mod_enabled[1]" /></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 type="submit" name="submit" id="submit" value="添 加"  /></td>
</tr></form>
</table>



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

</body>
</html>