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

📄 edit.asp

📁 ASP源码 / 影视音乐
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "../0_1.htm"
end if

lid=request("id")
sql="select * from data where id=cint('"&lid&"')"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then

yesorno=request.form("yesorno")
markk=request.form("markk")
showname=request.form("showname")
showtype=request.form("showtype")
showaddress1=request.form("showaddress1")
showaddress2=request.form("showaddress2")
showaddress3=request.form("showaddress3")
showaddress4=request.form("showaddress4")
showaddress5=request.form("showaddress5")

if yesorno<>"" then
sql="select * from data where id=cint('"&lid&"')" 
set rs=server.createobject("adodb.recordset")
rs.open sql,connstr,3,2

rs("yesno")=yesorno
rs("mark")=markk
rs("name")=showname
rs("type")=showtype
rs("address1")=showaddress1
rs("address2")=showaddress2
rs("address3")=showaddress3
rs("address4")=showaddress4
rs("address5")=showaddress5

rs.update
response.redirect "editok.asp"
end if
end if
%>


<html>

<head>
<style type="text/css">
<!-- 
td           { font-size: 12px; line-height: 17px }
body         { font-size: 12px; line-height: 17px }
p            { margin-top: 1; margin-bottom: 1 }
a:link       { text-decoration: none; color: black }
a:visited    { text-decoration: none; color: black }
a:active     { text-decoration: none }
a:hover      { text-decoration: underline; color: red }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>审核电影信息</title>
</head>
<body>
 <div align="center"> 
  <center> 
  <form action="" method="post" name="postart"> 
  <div align="center"> 
    <center> 
          <table border="0" width="500" cellspacing="0" cellpadding="0">
            <tr> 
              <td colspan="2" height="30"> <p align="center"><b>本电影原始审核状态:</b> 
                  <% if rs("yesno")="1" then %>
                  <font color="#008000">已通过审核</font> 
                  <% end if %>
                  <% if rs("yesno")="0" then %>
                  <font color="#FF0000">未通过审核</font> 
                  <% end if %>
              </td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="22">管理意见:</td>
              <td width="66%" height="22"><select size="1" name="yesorno">
                  <option value="0">不符合条件,无法通过审核</option>
                  <option value="1">符合条件,通过审核</option>
                </select></td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="8">电影名字:</td>
              <td width="66%" height="8"><input type="text" name="showname" size="20" value="<%=rs("name")%>" maxlength="50"></td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="30">推荐程序:</td>
              <td width="66%" height="30"><select size="1" name="markk">
                  <option value="<%=rs("mark")%>" selected><%=rs("mark")%></option>
                  <option value="----------">----------</option>
                  <option value="★">★</option>
                  <option value="★★">★★</option>
                  <option value="★★★">★★★</option>
                  <option value="★★★★">★★★★</option>
                  <option value="★★★★★">★★★★★</option>
                </select></td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="23">播放格式:</td>
              <td width="66%" height="23"><select size="1" name="showtype">
                  <option selected value="<%=rs("type")%>"><%=rs("type")%></option>
                  <option value="----">----</option>
                  <option value="realplay">realplay</option>
                  <option value="mediaplay">mediaplay</option>
                  <option value="下载">下载</option>
                  <option value="flash">flash</option>
                </select></td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="10">第01集:</td>
              <td width="66%" height="10"><input type="text" name="showaddress1" size="40" value="<%=rs("address1")%>" maxlength="100"></td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="11">第02集:</td>
              <td width="66%" height="11"><input type="text" name="showaddress2" size="40" value="<%=rs("address2")%>" maxlength="100"></td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="9">第03集:</td>
              <td width="66%" height="9"><input type="text" name="showaddress3" size="40" value="<%=rs("address3")%>" maxlength="100"></td>
            </tr>
            <tr> 
              <td width="34%" align="right" height="6">第04集:</td>
              <td width="66%" height="6"><input type="text" name="showaddress4" size="40" value="<%=rs("address4")%>" maxlength="100"></td>
            </tr>
            <tr> 
              <td width="34%" height="0" align="right">第05集:</td>
              <td width="66%" height="6"><input type="text" name="showaddress5" size="40" value="<%=rs("address5")%>" maxlength="100"></td>
            </tr>
            <tr>
              <td width="34%" height="0" align="right">第06集:</td>
              <td height="7"><input type="text" name="showaddress6" size="40" value="<%=rs("address6")%>" maxlength="100"></td>
            </tr>
            <tr>
              <td width="34%" height="0" align="right">第07集:</td>
              <td height="13"><input type="text" name="showaddress7" size="40" value="<%=rs("address7")%>" maxlength="100"></td>
            </tr>
            <tr>
              <td width="34%" height="0" align="right">第08集:</td>
              <td height="13"><input type="text" name="showaddress8" size="40" value="<%=rs("address8")%>" maxlength="100"></td>
            </tr>
            <tr>
              <td width="34%" height="0" align="right">第09集:</td>
              <td height="13"><input type="text" name="showaddress9" size="40" value="<%=rs("address9")%>" maxlength="100"></td>
            </tr>
            <tr>
              <td width="34%" height="0" align="right">第10集:</td>
              <td height="13"><input type="text" name="showaddress10" size="40" value="<%=rs("address10")%>" maxlength="100"></td>
            </tr>
            <tr>
              <td width="34%" height="0" align="right">第11集:</td>

⌨️ 快捷键说明

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