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

📄 edit.asp

📁 视频点播系统
💻 ASP
字号:
<!--#include file="oklu.asp"-->
<!--#include file="security.asp"-->
<!--#include file="articleconn.asp"-->
<!--#include file="home1.asp"-->
<%if session("flag")>3 then
    response.write "<br><p align=center>您的操作权限不够!</p>"
    response.end
end if
%>

<html><!--#include file="../checkpost.asp"-->

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>修改软件</title>
</head>
<style type=text/css>
body  { background:#799AE1; margin:0px; font:9pt 宋体; }
table  { border:0px; }
td  { font:normal 12px 宋体; }
img  { vertical-align:bottom; border:0px; }
a  { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover  { color:#428EFF;text-decoration:underline; }
.sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title  { }
.menu_title span  { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2  { }
.menu_title2 span  { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<script language="javascript">
var onecount;
function CheckForm()
{
if (editor.EditMode.checked==true)
	  document.myform.Content.value=editor.HtmlEdit.document.body.innerText;
  else
	  document.myform.Content.value=editor.HtmlEdit.document.body.innerHTML;
	  
	  if (document.myform.Content.value=="")
  {
    alert("文章内容不能为空!");
	editor.HtmlEdit.focus();
	return false;
  }
  return true;  
}
function loadForm()
{
  editor.HtmlEdit.document.body.innerHTML=document.myform.Content.value;
  return true
}

</script>
<body topmargin="20" leftmargin="15" bgcolor="#D6EF7E">

<form method="POST" action="<%=okurl%>/saveedit.asp?id=<%=request("id")%>" name="myform">
  <center>
  <table border="0" cellspacing="0" width="609" bordercolorlight="#000000" bordercolordark="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">
    <tr bgcolor="#006cd9">
      <td width="601" height="20" bgcolor="#F7F7F7">
      <p align="center"><b><font color="#000000">修改影片页</font></b></td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolorlight="#000000">
    <%
dim sql
dim rs
 sql="select * from learning where articleid="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if okurl="" then response.end
                %>
    <tr>
      <td>
      <div align="center">
        <center>
        <table width="609" border="0" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
          <tr>
            <td colspan="3" height="10" bgcolor="#FFFFFF" width="596"> </td>
          </tr>
          <tr>
            <td width="179" bgcolor="#FFFFFF">
            <div align="center">
              影片名称: 
            </div>
            </td>
            <td width="442" height="17" bgcolor="#FFFFFF" colspan="2">
            <input type="text" name="titley" size="21" class="smallinput" maxlength="255" value="<%=rs("title")%>">
            <font color="#FF0000" size="3">*</font><font color="#FF0000">支持<span lang="en-us">htm</span></font></td>   
          </tr>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF">   
            <p align="center">影片设置:</td>   
            <td bgcolor="#FFFFFF" width="442" colspan="2">   
            <select class="smallSel" name="typeid" size="1">   
            <%                                   
dim rs1,sql1,sel     
 set rs1=server.createobject("adodb.recordset")     
 rs1.open "select * from type",conn,1,1     
			  do while not rs1.eof%>   
            <option value="<%=rs1("type")%>" name="typeid" <% if rs("typeid")=rs1("type") then%> selected <%end if%>>   
            <%=rs1("type")%></option>   
            <%rs1.movenext     
    		          loop     
			rs1.close     
			set rs1=nothing   
			      %></option></select><select size="1" name="where">   
            <option <%if rs("where")="大陆" then%> selected <%end if%> value="大陆">   
            大陆</option>   
            <option <%if rs("where")="台湾" then%> selected <%end if%> value="台湾">   
            台湾</option>   
            <option <%if rs("where")="香港" then%> selected <%end if%> value="香港">   
            香港</option>   
            <option <%if rs("where")="日韩" then%> selected <%end if%> value="日韩">   
            日本</option>   
            <option <%if rs("where")="韩国" then%> selected <%end if%> value="韩国">   
            韩国</option>   
            <option <%if rs("where")="欧美" then%> selected <%end if%> value="欧美">   
            欧美</option>   
            <option <%if rs("where")="其他" then%> selected <%end if%> value="其他">   
            其他</option>   
            </select><select size="1" name="softlevel">   
            <option value="1" <%if rs("softlevel")=1 then%> selected <%end if%>>   
            一星级</option>   
            <option value="2" <%if rs("softlevel")=2 then%> selected <%end if%>>   
            二星级</option>   
            <option value="3" <%if rs("softlevel")=3 then%> selected <%end if%>>   
            三星级</option>   
            <option value="4" <%if rs("softlevel")=4 then%> selected <%end if%>>   
            四星级</option>   
            <option value="5" <%if rs("softlevel")=5 then%> selected <%end if%>>   
            五星级</option>   
            </select><select size="1" name="canlook">   
            <option <%if rs("canlook")=1 then%> selected <%end if%> value="1">   
            普通影片</option>   
            <option <%if rs("canlook")=3 then%> selected <%end if%> value="3">   
            黄金影片</option>   
            <option <%if rs("canlook")=0 then%> selected <%end if%> value="0">   
            免费影片</option>   
            </select> <select size="1" name="serverip">   
            <%   
            set rs4=server.createobject("adodb.recordset")   
            rs4.open "select * from movie",conn,1,1   
            dim i   
            i=1   
            do while not rs4.eof   
            %>   
            <option value="<%=rs4("id")%>" <%if rs4("id")=rs("serverip")  then%> selected <%end if%>>   
            第<%=i%>服务器</option>   
            <%    
      i=i+1   
      rs4.movenext   
      loop   
      rs4.close   
      set rs4=nothing   
            %></select></td>   
          </tr>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF">   
            <p align="center">电影类型:</td>   
            <td bgcolor="#FFFFFF" width="475" colspan="2">   
            <input type="radio" name="movietype" value="rm" <%if rs("movietype")="rm" then%> checked <% end if%>>   
            <img border="0" src="../img/real.gif">&nbsp;   
            <input type="radio" name="movietype" value="md" <%if rs("movietype")="md" then%> checked <% end if%>>   
            <img border="0" src="../img/media.gif">   
            <input type="radio" value="mov" name="movietype" <%if rs("movietype")="mov" then%> checked <% end if%>>   
            <img border="0" src="../img/lookmov.gif"> </td>   
          </tr>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF">   
            <p align="center">影片长度:</td>   
            <td bgcolor="#FFFFFF" width="475" colspan="2">   
            <input type="text" name="howlong" size="4" class="smallinput" maxlength="255" value="<%=rs("howlong")%>"><span lang="en-us">   
            </span>分种</td>   
          </tr>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF">   
            <p align="center">领衔主演:</td>   
            <td bgcolor="#FFFFFF" width="475" colspan="2">   
            <input type="text" name="namef" size="50" class="smallinput" maxlength="255" value="<%=rs("name")%>"></td>   
          </tr>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF">   
            <div align="center">   
              图片地址:    
            </div>   
            </td>   
            <td bgcolor="#FFFFFF" width="442" colspan="2">   
            <input type="text" name="domurl3" size="50" class="smallinput" maxlength="255" value="<%=rs("domurl")%>"><font color="#FF0000" size="3">*</font></td>   
          </tr>
          				  <tr> 
                  <td width="150" bgcolor="#FFFFFF"> <div align="center"> 上传图片: 
                    </div></td>
                  <td bgcolor="#FFFFFF" colspan="2"> 
				  			  <input type="hidden" name="serverip" size="13" class="smallinput" maxlength="15" value="<%=request("serverip")%>">
			  <iframe style="top:2px" ID="UploadFiles" src="../upload.asp" frameborder=0 scrolling=no width="450" height="25">
			</iframe>
                  </td>
                </tr>   
		   <tr>
          <td width="179" bgcolor="#FFFFFF" >
          <p align="center">需花点数:</td>
          <td bgcolor="#FFFFFF" width="442" colspan="2">
          <input type="text" name="count" size="5" class="smallinput" maxlength="50" value="<%=rs("count")%>">点
          
          </td>
        </tr>
          <tr>   
            <%set rs1=server.createobject("adodb.recordset")   
    sql="select * from movie where id="&rs("serverip")   
    rs1.open sql,conn,1,1   
      
%>  
            <td width="179" bgcolor="#FFFFFF">   
            <p align="center">开放方式:</td>   
            <td bgcolor="#FFFFFF" width="442" colspan="2">   
            <input type="checkbox" name="onlinelook" value="1" <% if rs("onlinelook")=1 then%> checked <%end if%>>在线观看<input type="checkbox" name="down" value="1" <% if rs("down")=1 then%> checked <%end if%>>影片下载</td>   
          </tr>   
          <%   
sql="select * from movieurl where nameid='"&request("id")&"'"   
set rsurl=server.createobject("adodb.recordset")   
rsurl.open sql,conn,1,1   
%>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF" align="center"></td>   
            <td bgcolor="#FFFFFF" width="442" colspan="2">   
            <%if rsurl.bof and rsurl.eof then   
response.write "<font color='#ffffff'>没有影片提供观看</font>"   
else   
no=rsurl.recordcount   
%> </td>   
          </tr>   
          <%for i=1 to no   
%>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF" align="center">影片地址:</td>   
            <td bgcolor="#FFFFFF" width="651" colspan="2">在线<%=rs1("ipsip")%>&nbsp;下载<%=rs1("movie")%><input type="text" name="url<%=i%>" class="button" style="border-style: solid; border-width: 1; padding-left: 1pt" size="17" value="<%=rsurl("url")%>">    
            第<%=i%>集 <a href="delurl.asp?id=<%=rsurl("id")%>">   
            <font color="#FF0000">删除</font></a></td>   
          </tr>   
          <%   
rsurl.movenext   
next   
end if   
rsurl.close   
set rsurl=nothing   
%>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF" align="center">增加影片:</td>   
            <td width="462" bgcolor="#FFFFFF" align="center">   
            <p align="left">在线<%=rs1("ipsip")%>&nbsp;下载<%=rs1("movie")%></td>   
            <td width="189" bgcolor="#FFFFFF" align="center">   
            <p align="left">   
            <iframe width="179" height="22" noresize target="main" border="0" rows="64,*" frameborder="0" scrolling="no" framespacing="0" src="addurl1.asp?id=<%=request("id")%>">   
            </iframe></td>   
          </tr>    
          <tr>   
            <td width="179" bgcolor="#FFFFFF">   
            <div align="center">   
              影片简介:</div>   
            </td>   
            <td bgcolor="#FFFFFF" width="442" colspan="2">   
            <textarea rows="13" name="Contentl" cols="68"><%=replace(rs("Content"),"""","")%></textarea></td>   
          </tr>   
          <tr>   
            <td width="179" bgcolor="#FFFFFF">   
            <p align="center">站长推荐:</td>   
            <td bgcolor="#FFFFFF" width="442" colspan="2">   
            <input type="radio" name="best" value="1" <%if rs("best")=true then%> checked <%end if%>>    
            <input type="radio" name="best" value="0" <%if rs("best")<>true then%> checked <%end if%>>    
            否<input type="hidden" name="no" value="<%=no%>">
                        首页推荐: 
                    <input type="radio" name="firstbest" value="1" <%if rs("firstbest")=true then%> checked <%end if%>>    
            <input type="radio" name="firstbest" value="0" <%if rs("firstbest")<>true then%> checked <%end if%>>    
            否<input type="hidden" name="no" value="<%=no%>">&nbsp;&nbsp;</td>   
          </tr>   
          <tr>   
            <td colspan="3" height="10" width="596">&nbsp;</td>   
          </tr>   
        </table>   
        </center>   
      </div>   
      </td>   
    </tr>   
  </table>   
  <p><input type="submit" value=" 修 改 " name="cmdok" class="buttonface">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   
  <input type="reset" value=" 复 原 " name="cmdcancel" class="buttonface"></p>   
  </center>   
</form>   
<p align="center">以上代 <font color="#FF0000" size="3">*</font> 为必填写</p>   
   
</body>   
   
</html>   
<%    
  rs1.close   
    set rs1=nothing   
 rs.close    
set rs=nothing    
  conn.close     
  set conn=nothing     
%>

⌨️ 快捷键说明

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