📄 new.asp
字号:
<!-- #include file = "../../../include/asphead.asp" -->
<!-- #include file = "../../../include/function.asp" -->
<%CheckUser()%>
<link href="../../../include/main.css" rel="stylesheet" type="text/css">
<script src="../../../include/function.js" type="text/javascript"></script>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function LocalDC()
{
var PWD,PWDReEnter;
PWD=document.frmData.PWD.value;
PWDReEnter=document.frmData.PWDReEnter.value;
PWD=PWD.toUpperCase();
PWDReEnter=PWDReEnter.toUpperCase();
if (PWD!=PWDReEnter) //密码不区分大小写
{
alert("密码填写不一致,请重填。")
return false;
}
else
return true;
}
function SavePrompt()
{
frmData.btnSave.disabled =true;
frmData.btnCancel.disabled =true;
}
function EnableButton()
{
frmData.btnSave.disabled =false;
frmData.btnCancel.disabled =false;
}
//-->
</script>
<%
dim WExcel
set WExcel=server.CreateObject("WExcel.System")
dim NewRecord,strBody,strScript,Success
NewRecord="1"
dim ButtonOn
ButtonOn=Request.Cookies("Temp")("ButtonOn")
Success=WExcel.GetUserEditPage(cint(UserID),cstr(NewRecord),cstr(ButtonOn),strBody,strScript)
CheckErr
Response.Write strScript
if Success=true then
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form METHOD="post" name="frmData">
<table width="100%" align=center border=0>
<tr height="35">
<td colspan=5>
<b>
新增用户
</b>
</td>
</tr>
<tr height=175 valign="top">
<td colspan=5>
<table width="95%" border=0 CELLSPACING="1" CELLPADDING="0">
<%=strBody%>
</table>
</td>
</tr>
<tr height=40 valign=bottom>
<td colspan="5">
<table width="100%">
<tr>
<td width="25%"></td>
<td width="25%"><input id="btnSave" type="button" value="确定" name="btnSave" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Save('save.asp')"></td>
<td width="25%"><input id="btnCancel" type="button" value="取消" name="btnCancel" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Cancel()"></td>
<td width="25%"></td>
</tr>
</table>
</td>
</tr>
</table>
<input TYPE="hidden" NAME="NewRecord" value="<%=NewRecord%>">
<iframe id="SaveArea" name="SaveArea" style="visibility:hidden" width="0" height="0" frameborder="0" src="">
</iframe>
</form>
</body>
</html>
<%
else
%>
<html>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" align=center border=0>
<tr height="20">
<td>
您无权新增用户
</td>
</tr>
<tr>
<td><input id="btnCancel" type="button" value="关闭" name="btnCancel" style="cursor:hand;WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Cancel()"></td>
</tr>
</table>
</body>
</html>
<%
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -