<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={sys_charset}">
<title>user general</title>
<link href="{adminStylePath}style/common.css" rel="stylesheet" type="text/css">
<link href="{adminStylePath}style/jqModal.css" type="text/css" rel="stylesheet">
<script language="javascript" src="{adminStylePath}js/validate.js"></script>
<script language="javascript" src="{adminStylePath}js/jquery.js"></script>
<script language="javascript" src="{adminStylePath}js/jqModal.js"></script>
<script language="javascript" src="{adminStylePath}js/jqModal.init.js"></script>
<script language="javascript" src="{adminStylePath}js/common.js"></script>
<script>
function showChannel(tmptype)
{
	if(tmptype==1) document.getElementById('edit_channel').style.display="none";
	else document.getElementById('edit_channel').style.display="";

}

</script>
</head>

<body>
<table class="nav_table" cellpadding="0" cellspacing="0">	
	<tr>
		<td class="nav_td">{menu_nav}</td>
	</tr>	
</table>
<table class="page_control" cellpadding="0" cellspacing="0">
	<tr>
		<td width="200" valign="bottom">
			<table class="page_menu" cellpadding="0" cellspacing="0">
				<tr>
					<td width="50" class="page_menu_display" onMouseOver="this.className='page_menu_over'" onMouseOut="this.className='page_menu_display'">常 规</td>
					<td width="50" class="page_menu_hidden" onMouseOver="this.className='page_menu_over'" onMouseOut="this.className='page_menu_hidden'" onclick="window.location.href='user_edit.php?act=edit&edittype=all&selectid={selectid}'">详 细</td>
				</tr>
			</table>
		</td>
		<td valign="top">
			<table class="toolbar_table" cellpadding="0" cellspacing="0">
				<tr>
					<td class="toolbar_td">{toolbar}</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table cellpadding="0" cellspacing="0" class="edit_tb">
  
  <form name="editForm" method="post" action="" >
  	<input type="hidden" name="selectid" id="selectValue" value="{selectid}">
    <input type="hidden" name="selectValue" id="selectValue" value="{selectid}">
    <tr> 
      <td width="30%"  class="edit_td_txt">用户名:</td>
      <td width="70%"  class="edit_td_input">
      	{username}
      </td>
    </tr>
    <tr> 
      <td width="30%"  class="edit_td_txt">密 码:</td>
      <td width="70%"  class="edit_td_input">
      	<input type="password" name="password_new" class="input_password" value="" require="false" dataType="LimitB" min="4" max="12"  msg="[4,12]个字符之内">&nbsp;不修改密码请不要输入任何信息！
      </td>
    </tr> 
	<tr> 
      <td width="30%"  class="edit_td_txt">用户组:</td>
      <td width="70%"  class="edit_td_input">
      	<select name="user_class_id" class="input_select">
	    	  <option value="">---选择---</option>
	    	  {list_class}
	      </select> 
      </td>
    </tr>
    <tr id="template_layout" style="{display_layout}"> 
      <td width="30%" class="edit_td_txt">板块位置:</td>
      <td width="70%" class="edit_td_input">
        <table width="100%" cellpadding="0" cellspacing="0" border="0">	
            <tr>
                <td>
                    <select size="3" multiple="multiple" name="layout_id[]" id="layout_id">{layout_id_list}</select>
                </td>
                <td>
                    <input type="button" name="btn_add" value="添加..." onClick="openSelectWin('../mod_template/template_layout_select.php?act=insert&type=3')">
                    <input type="button" name="btn_delete" value="删除所选项" onClick="referencebrowser_removeReference('layout_id',1)">
                    <input type="button" name="btn_preview" value="预览所选项" onClick="referencebrowser_openBrowser('layout_id','../mod_template/template_view.php?layout_id=')">
                    <input type="button" name="btn_selectAll" value="全选" onClick="referencebrowser_selectAllReference('layout_id',1)">
                </td>     
            </tr>
        </table>
      </td>
    </tr>
    <tr> 
      <td width="30%"  class="edit_td_txt">语言风格:</td>
      <td width="70%"  class="edit_td_input">
      	<select name="style_id" class="input_select">
	    	  <option value="">---选择---</option>
	    	  {list_style}
	      </select> 
      </td>
    </tr> 
    <tr> 
      <td width="30%" class="edit_td_txt">是否一次性登录:</td>
      <td width="70%"  class="edit_td_input">{list_only_login}</td>
    </tr>
    <tr> 
      <td width="30%"  class="edit_td_txt">管理的频道:</td>
      <td width="70%"  class="edit_td_input">
      	<input type="radio" name="channel_type" id="channel_type_1" value="1" {channel_checked_1} onclick="showChannel(1)">所有&nbsp;
      	<input type="radio" name="channel_type" id="channel_type_2" value="2" {channel_checked_2} onclick="showChannel(2)">选择
      </td>
    </tr>   
	<tr id="edit_channel" style="display:{channel_display}"> 
        <td width="30%"  class="edit_td_txt"></td>
		<td width="70%"  class="edit_td_input">
		<input type="text" name="channel_id" id="channel_id" class="input_text" size="30" value="{channel_id}" require="false" dataType="LimitB" min="0" max="255"  msg="不能为空">
        <input type="button" class="btn_jqm" name="btn_select_channel_id" id="btn_select_channel_id" title="选择频道" value="选择..." onclick="openChannelSelect('channel_id','multiselect','all')" >
		</td> 
    </tr>  
  </form>
</table>

<div id="modalWindow" class="jqmWindow">
<div id="jqmTitle">
<button class="jqmClose">X</button>
<span id="jqmTitleText">选择频道</span>
</div>
<iframe id="jqmContent" src=""></iframe>
</div>

</body>
</html>

