⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_modify.jsp

📁 jsp CMS全站 无可奈何花落去 士大夫
💻 JSP
📖 第 1 页 / 共 3 页
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>CMS4J </title>
<style type="text/css">
<!--
.style1 {color: #0000FF}
-->
</style>
<link href="../skin/blue/css/oper_area.css" rel="stylesheet" type="text/css">
</head>
<script src="../../js/common.js"></script>
<script src="../../js/page_init.js"></script>
<script src="../../admin/js/article.js"></script>

<script>

/**
* 是否显示前台权限设置
*/
function isShowFrontPurviewSet(selectedFrontGroupID){
	if(selectedFrontGroupID == -1){
		displayCtrl('customFrontUserPurview','');
	}else{
		displayCtrl('','customFrontUserPurview');
	}
}


/**
* 是否显示后台权限设置
*/
function isShowBackPurviewSet(selectedBackGroupID){
	if(selectedBackGroupID == -1){
		displayCtrl('purviewSet','');
	}else{
		displayCtrl('','purviewSet');
	}
}

</script>


<body onLoad="pageInit()">
<form action="../../do?action=modifyUser&uid=${param.UID}" method="post" name="cms4jForm" id="cms4jForm">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="title-bar"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="26" class="title-bar-title-icon">&nbsp;</td>
        <td width="745" class="title-bar-text">修改用户信息</td>
      </tr>
    </table></td>
  </tr>
</table>

<cms4j:user uid="${param.UID}" state="all" mode="full">
<script>
//页面初始化
function pageInit(){
	selectInit("FRONT_GROUP_ID","<%=user.getFRONT_GROUP_ID()%>");	//所属前台用户组
	
	radioGuoupInit("STATE","<%=user.getSTATE()%>");		//状态
	
	selectInit("BACK_GROUP_ID","<%=user.getBACK_GROUP_ID()%>");		//后台用户组
	
	selectInit("FRONT_GROUP_ID","<%=user.getFRONT_GROUP_ID()%>");		//前台用户组
	
	displayCtrlInit("customFrontUserPurview","<%=user.getFRONT_GROUP_ID()%>","-1")	//自定义前台用户权限设置
	displayCtrlInit("purviewSet","<%=user.getBACK_GROUP_ID()%>","-1")	//自定义后台用户权限设置
	
	radioGuoupInit("ENABLE_MULTI_LOGIN","<%=user.getENABLE_MULTI_LOGIN()%>");		//是否允许多人同时登录
	
	radioGuoupInit("ADMIN_LEVEL_ARTICLE","<%=user.getADMIN_LEVEL_ARTICLE()%>");		//文章频道管理权限
	
	displayCtrlInit("setArticleClassPurview","<%=user.getADMIN_LEVEL_ARTICLE()%>","3")	//文章频道管理权限配置
	
	displayCtrlInit("setFrontArticleClassViewPurview","<%=user.getFRONT_LEVEL_ARTICLE()%>","1")	//文章频道管理权限配置
	
	
	radioGuoupInit("FRONT_LEVEL_ARTICLE","<%=user.getFRONT_LEVEL_ARTICLE()%>");		//文章频道管理权限
	
	radioGuoupInit("CAN_LOGIN_ADMIN","<%=user.getCAN_LOGIN_ADMIN()%>");//是否允许登录后台
	
	//20051219 add by ypfan
	radioGuoupInit("AUDIT_LEVEL","<%=user.getAuditLevel()%>");	//用户审核级别
	//checkBoxInit("IS_COMMEND","");	//推荐

	
}
</script>


<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="title-bar2">
  <tr>
    <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr style="cursor:pointer" onClick="titleBarShowOrHide('p1')">
        <td width="26" class="title-bar2-btn-col" id="p1_btn">&nbsp;</td>
        <td width="745" class="title-bar2-text">用户信息</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table-frame" id="p1">
  <tr>
    <td width="17%" height="22" align="right" class="table-frame-input-title">用户名:</td>
    <td height="22" colspan="3" class="table-cell-input"><span class="test_must"><b><%=user.getUID()%>
            <input type="hidden" name="UID" value="<%=user.getUID()%>">
            <input name="NODE_ID" type="hidden" id="NODE_ID" value="<%=user.getCLUSTER_NODE()%>">
    </b></span></td>
  </tr>
  <tr>
    <td height="22" align="right" class="table-frame-input-title">密码:</td>
    <td width="30%" height="22" class="table-cell-input"><span class="test_must">
      <input name="PWD" type="password" class="form_input" id="TITLE23" size="24">
    </span> <span class="test_must">*<img src="../../images/icon/info2.gif" width="16" height="16" alt="不修改密码请不要填写"></span></td>
    <td width="15%" height="22" align="right" class="table-frame-input-title">确认密码:</td>
    <td width="38%" class="table-cell-input"><span class="test_must">
      <input name="PWD_CFM" type="password" class="form_input" id="TITLE224" size="24">
      * <img src="../../images/icon/info2.gif" width="16" height="16" alt="不修改密码请不要填写"></span></td>
  </tr>
  <tr>
    <td height="22" align="right" class="table-frame-input-title"> 密码问题:</td>
    <td height="22" class="table-cell-input"><span class="test_must">
      <input name="QUESTION" type="text" class="form_input" id="TITLE23" value="<%=user.getQUESTION()%>" size="24">
    </span></td>
    <td height="22" align="right" class="table-frame-input-title"> 问题答案:</td>
    <td class="table-cell-input"><span class="test_must">
      <input name="ANSWER" type="text" class="form_input" id="TITLE224" value="<%=user.getANSWER()%>" size="24">
    </span></td>
  </tr>
  </table>
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="title-bar2">
  <tr>
    <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr style="cursor:pointer" onClick="titleBarShowOrHide('p3')">
        <td width="26" class="title-bar2-btn-col" id="p3_btn">&nbsp;</td>
        <td width="745" class="title-bar2-text">用户详细资料</td>
      </tr>
    </table></td>
  </tr>
</table>
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table-frame" id="p3">
 <cms4j:member_column node_id="${param.cluster_node_id}" is_show="true">
   <tr>
    <td width="17%" height="22" align="right" class="table-frame-input-title"> <%=member_column_info.getFORM_ELEMENT_NAME()%>:</td>
    <td width="83%" height="22" class="table-cell-input"><span class="test_must">
      <input name="<%=member_column_info.getFORM_ELEMENT_ID()%>" type="text" class="form_input" id="<%=member_column_info.getFORM_ELEMENT_ID()%>" value="<%=user.getColumnValue(member_column_info.getFORM_ELEMENT_ID())%>" size="32">
    </span> <span class="test_must"> </span></td>
  </tr>
 </cms4j:member_column>
 
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="title-bar2">
  <tr>
    <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr style="cursor:pointer" onClick="titleBarShowOrHide('p2')">
        <td width="26" class="title-bar2-btn-col" id="p2_btn">&nbsp;</td>
        <td width="745" class="title-bar2-text">权限配置</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table-frame" id="p2">
  <tr>
    <td width="17%" height="22" align="right" class="table-frame-input-title"><!--
				  dekn: 巢湖需求  2005-12-13
				  所属组(前台):
				  -->
      访问权限(前台):</td>
    <td width="31%" height="22" class="table-cell-input"><select name="FRONT_GROUP_ID" id="FRONT_GROUP_ID" onChange="isShowFrontPurviewSet(this.value)">
      <option value="0" selected>无</option>
      <cms4j:group type="1" mode="basic"  node_id="<%=user.getCLUSTER_NODE()%>">
        <option value=<%=group_info.getGROUP_ID()%>><%=group_info.getNAME()%></option>
      </cms4j:group>
      <option value="999">高级会员</option>
      <option value="-1">自定义权限</option>
    </select>    </td>
    <td width="18%" class="table-frame-input-title"><span class="list_left_title">管理权限(后台):</span></td>
    <td width="34%" class="table-cell-input"><select name="BACK_GROUP_ID" id="BACK_GROUP_ID"  onChange="isShowBackPurviewSet(this.value)">
      <option value="901" selected>无</option>
      <cms4j:group type="2" mode="basic" node_id="<%=user.getCLUSTER_NODE()%>">
        <option value=<%=group_info.getGROUP_ID()%>><%=group_info.getNAME()%></option>
      </cms4j:group>
      <option value="999">超级管理员</option>
      <option value="-1">自定义权限</option>
    </select></td>
  </tr>
  <tr>
    <td height="22" align="right" class="table-frame-input-title">用户使用状态:</td>
    <td height="22" class="table-cell-input"><input name="STATE" type="radio" class="form_radio" value="1" checked>
      启用

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -