📄 add.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/admin.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
String strNextId = (String)request.getAttribute("NextId");
%>
<html>
<head>
<title>添加新角色</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" type="text/css" href="<%=strCssPath%>">
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="javascript" src="<%=strSkinBase%>/js/forbid.js"></script>
<script language="javascript">
<!--
//-->
</script>
</script>
</head>
<body class="bodycolor" topmargin="5" onload="resizeWin('objBody');setFocus('name');">
<div name="objBody" id="objBody">
<table border="0" width="450" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 新建会员角色</span>
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="450" class="small" bgcolor="#000000" cellpadding="3" align="center" >
<form action="<%=site.bean.SitePara.strVirtualName + site.bean.SitePara.strManageFolder%>/userrole.do?action=save&iid=<%=strMenuId%>" method="post" name="form1" onsubmit="return Check(this);">
<tr>
<td nowrap class="TableData">角色ID:</td>
<td nowrap class="TableData">
<input type="text" name="id" class="BigInput" size="5" maxlength="10" value="<%=strNextId%>" EmptyDisable label="角色ID"> 角色的唯一标志,不能为空,推荐使用默认值<br>
</td>
</tr>
<tr>
<td nowrap class="TableData">角色名称:</td>
<td nowrap class="TableData">
<input type="text" name="name" class="BigInput" size="25" maxlength="30" value="" EmptyDisable label="角色名称"> 不能为空
</td>
</tr>
<tr>
<td nowrap class="TableData">允许注册:</td>
<td nowrap class="TableData">
<input type="radio" name="RegFlag" id="RegFlag" value="1"> 允许注册
<input type="radio" name="RegFlag" id="RegFlag" value="0" checked> 不允许注册
</td>
</tr>
<td nowrap class="TableControl" colspan="2" align="center">
<input type="submit" value="确定" class="BigButton">
<input type="button" value="返回" class="BigButton" onclick="window.close();">
</td>
</form>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -