📄 level.asp
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加影片</title>
<style type="text/css">
<!--
body,td,th {font-family: 宋体, Arial;font-size: 12px;}
a {font-size: 12px;}
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover {text-decoration: none;}
a:active {text-decoration: none;}
-->
</style>
</head>
<body link="#000033" vlink="#000033" alink="#000033" leftmargin="0" topmargin="0">
<!--#include file="item.asp"-->
<%
if request.Form("rate")<>"" then
level=request.form("level")
if level<>"noselect" then
sql = "select * from data where id=" & request("id")
set rs = Server.CreateObject("adodb.recordset")
rs.Open sql,conn,1,3
rs("level")=level
rs.update
end if
response.Redirect("index.asp")
end if
sql="select * from data where id=" & request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<p> </p>
<form action="" method="post">
<table border=1 width="40%" bordercolorlight="#FF6699" bordercolordark="#FFCCFF" align="center">
<tr>
<td align=right>影片名称:
<td><input type="text" maxLength="50" name="filmname" size="20" value=<%=rs("name")%> disabled>
<input type="hidden" name="id" value=<%=request("id")%> >
<tr>
<td align=right>级别:
<td><select size="1" name="level">
<option value="noselect">----------</option>
<option>★</option>
<option>★★</option>
<option>★★★</option>
<option>★★★★</option>
<option>★★★★★</option>
</select></td>
<tr>
<td colspan="2" align="center"><input type="submit" name="rate" value="鉴 定" style="border-style:groove">
</table>
</form>
<% set rs=nothing %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -