📄 index.php
字号:
<?
include_once 'inc/auth.php';
echo '
<html>
<head>
<title>角色克隆</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=javascript>
function check_form()
{
if(document.form1.PRIV_NO.value=="")
{ alert("角色序号不能为空!");
return (false);
}
if(document.form1.PRIV_NAME.value=="")
{ alert("角色称谓不能为空!");
return (false);
}
return true;
}
</SCRIPT>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.PRIV_NO.focus();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 角色克隆</span><br>
</td>
</tr>
</table>
<br>
<table border="0" width="450" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form action="submit.php" method="post" name="form1" onSubmit="return check_form();">
<tr>
<td nowrap class="TableData">角色排序号:</td>
<td nowrap class="TableData">
<input type="text" name="PRIV_NO" class="BigInput" size="3" maxlength="3" value="';
echo $PRIV_NO;
echo '">
</td>
</tr>
<tr>
<td nowrap class="TableData">角色名称:</td>
<td nowrap class="TableData">
<input type="text" name="PRIV_NAME" class="BigInput" size="25" maxlength="100" value="';
echo $PRIV_NAME;
echo '">
</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2" nowrap>
<input type=\'hidden\' value="';
echo $USER_PRIV;
echo '" name="USER_PRIV">
<input type="submit" value="保存" class="BigButton" name="submit">
<input type="button" value="返回" class="BigButton" name="back" onClick="history.back();">
</td>
</tr>
</form>
</table>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -