mledit.asp
资源名称:qnmov30.rar [点击查看]
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:3k
源码类别:
家庭/个人应用
开发平台:
ASP/ASPX
- <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"> </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>