⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mledit.asp

📁 千年免费电影系统 V3.0版 在程序上借鉴了很多优秀电影系统的功能
💻 ASP
字号:
<STYLE type=text/css>
.boxttt {
	BORDER-RIGHT: #b5b385 1px solid; BORDER-TOP: #4a492d 1px solid; FONT-SIZE: 12px; BACKGROUND: #939059; BORDER-LEFT: #4a492d 1px solid; COLOR: #333333; BORDER-BOTTOM: #b5b385 1px solid
}
.boxttx {
	BORDER-RIGHT: #4a492d 1px solid; BORDER-TOP: #b5b385 1px solid; FONT-SIZE: 12px; BACKGROUND: #a8a66f; BORDER-LEFT: #b5b385 1px solid; COLOR: #ffffff; PADDING-TOP: 1px; BORDER-BOTTOM: #4a492d 1px solid; HEIGHT: 18px
}
</STYLE><!--#include file="../inc/function.asp"-->
<!--#include file="../security.asp"-->
<!--#include file="tvconn.asp"-->
<!--#include file="../../checkpost.asp"-->

<%if session("flag")>1 then
    response.write "<script>alert('您的操作权限不够!');history.back();</script>"
    response.end
end if
%>

<%
Set rs = Server.CreateObject("ADODB.Recordset")

%>
<%
if request("windows_ok")="修改" then

dim js_fname
dim js_falt
dim sql

js_fname=trim(request("js_fname"))
js_falt=trim(request("js_falt"))

dbid=request("id")

sql="select * from jsfolder where id="&dbid
rs.open sql,conn,1,3


rs("js_fname")=js_fname
rs("js_falt")=js_falt

rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.write "<script language='javascript'>" & chr(13)
response.write "alert('编辑成功');"&Chr(13)
response.write "window.document.location.href='tvml.asp';"&Chr(13)
response.write "</script>" & Chr(13)
Response.End
End if
dbid=request("id")
sql="select * from jsfolder where id="&dbid
rs.open sql,conn,1,3
%>
<link rel="stylesheet" type="text/css" href="../inc/Admin_STYLE.CSS">
<style type="text/css">
<!--
body {
	background-color: #FFFFFF;
}
.样式1 {
	color: #000000;
	font-weight: bold;
}
-->
</style><head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Adminstrator password</title>
<link rel="stylesheet" type="text/css" href="images/test.css">
</head>

<body>
<p align="center">&nbsp;</p>
<form method="POST" action="mledit.asp?id=<%=rs("id")%>" name="form">
  <div align="center">
  <center>
  <table class="border" width="400" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr class="tdbg">
      <td height="22" colspan="2" align="center" class="title"><span class="样式1">修改分类</span></td>
      </tr>
    <tr class="tdbg">
      <td width="102" align="center">分类名:</td>
      <td width="298" height="40"><input type="text" name="js_fname" size="39" value='<%=rs("js_fname")%>'></td>
    </tr>
    <tr class="tdbg">
      <td width="102" align="center">分类说明:</td>
      <td width="298" height="40"><input type="text" name="js_falt" size="39" value='<%=rs("js_falt")%>'></td>
    </tr>
  </table>
  </center>
</div>
<p align="center">
<input type="submit" value="修改" name="windows_ok"> 
<input type="reset" value="重写" name="reset">
</form>
</body> 
<%
rs.close
conn.close
Set rs=nothing
Set conn=nothing 
%>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -