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

📄 addmovie.asp

📁 网上流行的MOVE站点
💻 ASP
字号:
<!--#include file="security.asp"-->
<!--#include file="articleconn.asp"-->
<%if session("flag")>3 then
    response.write "<br><p align=center>您的操作权限不够!</p>"
    response.end
end if
%>

<% if request("serverip")="" then
response.write"<script>alert('没有选择服务器');history.back();</Script>"
response.end
end if
%>
<html><!--#include file="../checkpost.asp"-->

<head>
<title>添加电影</title>
<style type=text/css>
body  { background:#336699; 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:#000000;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>
</head>
<body topmargin="20" leftmargin="15">
<form method="POST" action="savemovie.asp" name="myform">
  <center>
<table width="400" border="0" cellpadding="0" cellspacing="1" bordercolorlight="#000000" height="371">
    <tr bordercolordark="#FFFFFF">
      <td width="400" height="369">
      <table width="337" cellpadding="0" cellspacing="0" bordercolor="#006CD9" height="443" style="border-collapse: collapse" border="0">
        <tr>
          <td width="370" bgcolor="#Fff000" colspan="2" height="23">
          <p align="center"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    
          影片添加页</b></td>
        </tr>
                <tr>
          <td width="71" bgcolor="#FFFFFF" height="25" nowrap>
          <p align="center">影片名称:</td>
          <td width="370" bgcolor="#FFFFFF" height="25">
          <!--webbot bot="Validation" b-value-required="TRUE"
          i-maximum-length="11" --><input type="text" name="title3" size="15" class="smallinput" maxlength="200">
          <font color="#FF0000"><span lang="en-us"> </span></font>影片原名: 
          <!--webbot bot="Validation" b-value-required="TRUE"
          i-maximum-length="11" --><input type="text" name="title2" size="15" class="smallinput" maxlength="200">
          <font color="#FF0000"><span lang="en-us"> </span></font></td>
        </tr>
        <tr>
          <td width="71" bgcolor="#FFFFFF" height="19" nowrap>
          <div align="center">
            影片设置: 
          </div>
          </td>
          <td bgcolor="#FFFFFF" height="19" width="370">
          <select class="smallSel" name="typeid" size="1">
          &nbsp;<%                          
 dim rs,sql,sel
 set rs=server.createobject("adodb.recordset")
 sql="select * from type"

 rs.open sql,conn,1,1
 do while not rs.eof
   sel="selected"    
   response.write "<option " & sel & " value='"&rs("type")&"'>"+rs("type")+"</option>"+chr(13)+chr(10)
   rs.movenext
 loop
 rs.close
		     %>
          <option selected value="影片类型" name="typeid">影片类型</option>
          </select>&nbsp;<select size="1" name="where">
          <option value="大陆">大陆</option>
          <option value="台湾">台湾</option>
          <option value="香港">香港</option>
          <option value="日韩">日本</option>
          <option value="韩国">韩国</option>
          <option value="欧美">欧美</option>
          <option selected value="其他">其他</option>
          </select><select size="1" name="softlevel">
          <option value="1">一星级</option>
          <option value="2">二星级</option>
          <option value="3">三星级</option>
          <option value="4">四星级</option>
          <option value="5" selected>五星级</option>
          </select><select size="1" name="canlook">
          <option value="1">普通影片</option>
          <option value="3">黄金影片</option>
          <option value="0" selected>免费电影</option>
          </select></td>
        </tr>
        <tr>
          <td width="71" bgcolor="#FFFFFF" height="20" nowrap>
          <p align="center">播放格式:</td>
          <td bgcolor="#FFFFFF" height="20" width="370">
          <input type="radio" value="rm" checked name="movietype">
          <img border="0" src="../img/real.gif">
          <input type="radio" value="md" name="movietype">
          <img border="0" src="../img/media.gif"></td>
        </tr>
        <tr>
          <td width="71" bgcolor="#FFFFFF" height="22">
          <p align="center">影片长度:</td>
          <td bgcolor="#FFFFFF" height="22" width="370">
          <input type="text" name="howlong4" size="4" class="smallinput" maxlength="255" value="90"><span lang="en-us">
          </span>分钟&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;初始点击数:                                               
                <input type="text" name="hits" size="10" class="smallinput" maxlength="255" value="1"><span lang="en-us">
          </span>次</td>
        </tr>
             <tr>
          <td width="71" bgcolor="#FFFFFF" height="25" nowrap>
          <p align="center">领衔主演:</td>
          <td bgcolor="#FFFFFF" height="25" width="370">
          <input type="text" name="name" size="38" class="smallinput" maxlength="255"></td>
        </tr>
        <tr>   
            <td bgcolor="#FFFFFF">   
            <div align="center">   
              图片地址:    
            </div>   
            </td>   
            <td bgcolor="#FFFFFF" colspan="2">   
            <input type="text" name="domurl3" size="38" class="smallinput" maxlength="255" value="film-img/pk.gif"></td>   
          </tr>
          				  <tr> 
                  <td 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="71" bgcolor="#FFFFFF" height="19" nowrap>
          <p align="center">需花影币:</td>
          <td bgcolor="#FFFFFF" height="19" width="370">
          <input type="text" name="count" size="5" class="smallinput" maxlength="50" value="0">
          </td>
        </tr>
        <tr>
          <td width="71" bgcolor="#FFFFFF" height="20" nowrap>
          <p align="center">开放方式:</td>
          <%set rs=server.createobject("adodb.recordset")
   sql="select * from movie where id="&request("serverip")
    rs.open sql,conn,1,1
%>
          <td bgcolor="#FFFFFF" height="20" width="370">
          <input type="checkbox" name="onlinelookb" value="1" checked>在线观看
                <input type="checkbox" name="downv" value="1">
                影片下载</td>
        </tr>
        <tr>
          <td width="370" bgcolor="#FFFFFF" height="25" colspan="2">
          <table width="406" border="0" cellpadding="0" cellspacing="0" bordercolorlight="#000000" height="35">
            <tr bordercolordark="#FFFFFF">
              <td width="406" height="35">
              <table width="439" cellspacing="0" border="0" style="border-collapse: collapse" bordercolor="#111111" height="11">
                        <script language="javascript">
function setid()
{
str='';
if(!window.myform.no.value)
window.myform.no.value=1;

for(i=1;i<=window.myform.no.value;i++)
{
if(window.myform.no.value<10)
{
str+='&nbsp;影片地址:&nbsp;在线:<%=rs("ipsip")%><input type="text" name="urla'+i+'" class="button" style="padding-left:1pt"   size=12 value="'+window.myform.no1.value+''+i+''+window.myform.no2.value+'">&nbsp;第'+i+'集<BR>';
}  
else if(window.myform.no.value<100)
{
	if(i<10)
	{
	str+='&nbsp;影片地址:&nbsp;在线:<%=rs("ipsip")%><input type="text" name="urla'+i+'" class="button"  style="padding-left:1pt" size=12 value="'+window.myform.no1.value+''+'0'+i+''+window.myform.no2.value+'">&nbsp;第'+i+'集 <BR>';
	}
	else
	{
	str+='&nbsp;影片地址:&nbsp;在线:<%=rs("ipsip")%><input type="text" name="urla'+i+'" class="button"  style="padding-left:1pt" size=12 value="'+window.myform.no1.value+''+i+''+window.myform.no2.value+'">&nbsp;第'+i+'集<BR>';
	}
} 
else if(window.myform.no.value<1000)
{
	if(i<10)
	{
	str+='&nbsp;影片地址:&nbsp;在线:<%=rs("ipsip")%><input type="text" name="urla'+i+'" class="button"  style="padding-left:1pt" size=12 value="'+window.myform.no1.value+''+'00'+i+''+window.myform.no2.value+'">&nbsp;第'+i+'集 <BR>';
 	} 
else if(i<100)
	{
	str+='&nbsp;影片地址:&nbsp;在线:<%=rs("ipsip")%><input type="text" name="urla'+i+'" class="button"  style="padding-left:1pt" size=12 value="'+window.myform.no1.value+''+'0'+i+''+window.myform.no2.value+'">&nbsp;第'+i+'集 <BR>';
 	}
	else
	{
	str+='&nbsp;影片地址:&nbsp;在线:<%=rs("ipsip")%><input type="text" name="urla'+i+'" class="button"  style="padding-left:1pt" size=12 value="'+window.myform.no1.value+''+i+''+window.myform.no2.value+'">&nbsp;第'+i+'集<BR>';
	}
}
}
window.upid.innerHTML=str+'<br>';
} 

                        </script>
                <tr>
                  <td width="74" valign="center" height="6">
                  <div align="center">
                    影片地址:</div>
                  </td>
                  <td width="404" height="6"><input type="text" name="no1" class="button" value="" size="22">集数<span lang="en-us"> </span> 
                            <input type="text" name="no" class="button" value="1" size="3">格式<input type="text" name="no2" class="button" value=".rm" size="5"><input type="button" name="Button" class="buttonface" onclick="setid();" value="设定"></td>
                </tr>

                <tr>
                  <td colspan="2" id="upid" width="564"></td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
          </td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF" width="67" valign="center">
          &nbsp;影片简介:</td>
          <td bgcolor="#FFFFFF" width="370">
          <textarea rows="8" name="Content3" cols="45"></textarea><br>移动推荐:<input name="best" type="radio" value="1"> 是<input type="radio" name="best" value="0" checked>否&nbsp;&nbsp;&nbsp;&nbsp;站长推荐:              
                <input type="radio" name="firstbest" value="1"> 是              
                <input type="radio" name="firstbest" value="0" checked>
                否</td>
        </tr>
      </table>
      </td>
    </tr>
  </table>
  <tr>
          <td align="center" bgcolor="FFFFFF" height="30" width="446">
<input type="submit" value=" 添 加 " name="cmdok" class="buttonface">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input type="reset" value=" 清 除 " name="cmdcancel" class="buttonface"></td></tr>
  </center>
</form>
</body>
<%
 set rs=nothing
 conn.close
 set conn=nothing
%>
</html>


</body>
</html>

⌨️ 快捷键说明

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