📄 user_levelupd.asp
字号:
<!-- #include file="../inc_config.asp" -->
<!-- #include file="LoginCk.asp" -->
<%
Call PopCheck(39)
Sign = Request("Sign")
Set LData = Conn.Query("EfangLevel","Level_Sign='" & Sign & "'")
if LData.BOF or LData.EOF then ShowErMsg("会员级别不存在!")
'if UData("User_State")=3 then ShowErMsg("会员帐号已被删除!")
If Cmd="Upd" then
Level_Name = Request("Level_Name")
Level_Prepay = Request("Level_Prepay")
Level_Enable = Request("Level_Enable")
If Sign="Level1" Then Level_Enable = True
EfsValue=EfsValue & "Level_Name='" & Level_Name & "',"
EfsValue=EfsValue & "Level_Prepay=" & Level_Prepay & ","
EfsValue=EfsValue & "Level_Enable=" & Level_Enable & ""
call Conn.Update("EfangLevel",EfsValue,"Level_Sign='" & Sign & "'")
Call ShowErMsgGo("修改成功!","?Sign=" & Sign)
End if
%>
<html>
<head>
<title>级别修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link id="style_sheet" href="css/save.css" type="text/css" rel="stylesheet">
<script language="JavaScript">style_sheet.href = parent.parent.style_sheet.href;</script>
<%=Efs_Cfg_PHeader%>
<style type="text/css">
<!--
.unnamed1 {
color: #FF0000;
font-weight: bold;
}
-->
</style>
</head>
<script language="JavaScript" src="js/common_Efang.js"></script>
<body class="NormalPage">
<form id="form_help" action="help_content.asp" method="get" target="working_area">
<input name="help_topic" type="hidden" value="会员级别管理">
</form>
<form action="?Cmd=Upd" method="POST" name="EForm" id="EForm">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="headerToolBar" valign="middle" nowrap style="width:100%; height:22px;"><table cellpadding="0" cellspacing="0" class="HeaderPageControl">
<tr>
<td align="left" valign="middle" nowrap height="20">管理工具>> 会员管理 >> <b></b><b></b><b>会员级别管理</b></td>
<td align="center" valign="middle" nowrap width="10" height="20"></td>
<td align="right" valign="middle" width="100%" nowrap height="20"></td>
<td align="center" valign="middle" nowrap width="10" height="20"></td>
<td align="right" valign="middle" width="60" nowrap height="20"><img id="id_back" alt="返回上一页" onclick="JavaScript:history.back()" onmouseover="JavaScript:this.src=imgBackUp.src" onmouseout="JavaScript:this.src=imgBackDown.src" src="images/toolbar_back.gif" border="0" style="cursor:hand;width:22px; height:20px;"><img id="id_refresh" alt="刷新" onclick="JavaScript:fn_Refresh()" onmouseover="JavaScript:this.src=imgRefreshUp.src" onmouseout="JavaScript:this.src=imgRefreshDown.src" src="images/toolbar_refresh.gif" border="0" style="cursor:hand;width:22px; height:20px;"></td>
<td align="right" valign="middle" width="25" nowrap height="20"><img id="id_locate" alt="帮助" onclick="JavaScript:fn_ShowHelp()" onmouseover="JavaScript:this.src=imgHelpUp.src" onmouseout="JavaScript:this.src=imgHelpDown.src" src="images/toolbar_help.gif" border="0" style="cursor:hand;width:22px; height:20px;"></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top">
<div id="viewPanel" style="visibility:visible; position:absolute; overflow:auto;">
<br>
<table width="85%" height="300" border="0" align="center" cellpadding="0" cellspacing="0" class="datalist">
<tr>
<td class="DataGroup" valign="middle">
<table width="100%" border="0" align="center" cellPadding="0" cellSpacing="0" class="datalist">
<tr>
<td height="28" colspan="2" align="center"><b>会员级别修改</b></td>
</tr>
<tr>
<td width="373" height="28" align="right"> 标识: </td>
<td height="28" width="467"><%=Sign%> <span class="10pt">
<input name="Sign" type="hidden" id="User3" value="<%=Sign%>">
</span></td>
</tr>
<tr>
<td height="28" align="right"><span class="10pt">名称: </span></td>
<td height="28"><input name="Level_Name" type="text" class="InputOne" value="<%=LData("Level_Name")%>" onblur="CkName();">
<script language="JavaScript">
function CkName(){
if(EForm.Level_Name.value==""){
alert("请填写名称!");
EForm.Level_Name.focus();
return false;
}
}
</script> </td>
</tr>
<tr>
<td height="28" align="right"><span class="10pt">所需预付款: </span></td>
<td height="28"><input name="Level_Prepay" type="text" class="InputOne" value="<%=LData("Level_Prepay")%>" size="10" onBlur="CkPrepay();">
元
<script language="JavaScript">
function CkPrepay(){
PrepayValue = EForm.Level_Prepay.value;
if(PrepayValue==""){ EForm.Level_Prepay.value=0; }
}
</script></td>
</tr>
<tr>
<td height="28" align="right">是否启用: </td>
<td height="28" width="467">
<select name="Level_Enable" size="1" id="select">
<option value="True">启 用</option>
<option value="False">不启用</option>
</select>
<script language="JavaScript">
EForm.Level_Enable.value = "<%=LData("Level_Enable")%>";
</script></td>
</tr>
<tr>
<td colspan="2" height="33" align="center"> <input type='submit' value=' 修 改 ' name='amend' class="ButtonOne"> </td>
</tr>
</table></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</form>
<br>
<% Call ExitEnd(False) %>
</body>
<script language="JavaScript">
<!--
document.parentWindow.onresize = fn_RejustViewPanel ;
fn_RejustViewPanel ( ) ;
//alert ( document.body.clientWidth + ":" + viewPanel.clientWidth ) ;
//-->
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -