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

📄 film_add_1.asp

📁 电影ASP文件
💻 ASP
字号:
<!--#include file="../film_conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../set_url.asp"-->
<% if request("serverip")="" then
response.write"<script>alert('没有选择服务器');history.back();</Script>"
response.end
end if
%>
<%if session("flag")>3 then
response.write "<br><p align=center>您的操作权限不够!<br><a href=javascript:history.back(-1)>返回</a></p>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>添加电影--第二步--添加电影内容</title>
</head>
<body topmargin="20" leftmargin="15" bgcolor="#E8E8E8">
<form method="POST" action="<%=weburl%>/<%=adminurl%>/film_add_save.asp" name="myform">
<center>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolorlight="#000000" height="379">
<tr bordercolordark="#FFFFFF">
<td width="100%" height="377">
<div align="center">
<center>
<table width="100%" cellpadding="0" cellspacing="0" bordercolor="#006CD9" height="352" style="border-collapse: collapse" border="0">
<tr><td width="100%" bgcolor="#F5F5F5" colspan="2" height="23">
<p align="center"><b>影片添加页</b></td>
</tr><tr><td width="68" bgcolor="#FFFFFF" height="25" nowrap>
<p align="center">影片名称:</td>
<td width="100%" bgcolor="#FFFFFF" height="25">
<input type="text" name="title3" size="35" class="smallinput" maxlength="25">
<font color="#FF0000">支持htm</font></td></tr>
<tr><td width="68" bgcolor="#FFFFFF" height="13" nowrap>
<div align="center">影片设置:</div></td>
<td bgcolor="#FFFFFF" height="13" width="100%">
<select class="smallSel" name="typeid" size="1">
&nbsp;<%                          
dim rs,sql,sel
set rs=server.createobject("adodb.recordset")
sql="select * from type"
if weburl="" then response.end
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 value="其他">其他</option>
          <option selected value="出产地区" name="where">出产地区</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">五星级</option>
          <option selected value="选择推荐度" name="softlevel">选择推荐度</option>
          </select><select size="1" name="canlook">
          <option selected value="1">普通影片</option>
          <option value="3">黄金影片</option>
          <option value="0">免费电影</option>
          </select></td>
        </tr>
        <tr>
          <td width="68" bgcolor="#FFFFFF" height="3" nowrap>
          <p align="center">播放格式:</td>
          <td bgcolor="#FFFFFF" height="3" width="100%">
          <input type="radio" value="rm" name="movietype">
          <img border="0" src="../IMG/real.gif" title="rm">
          <input type="radio" value="md" name="movietype">
          <img border="0" src="../IMG/media.gif" title="md">
          <input type="radio" value="mov" name="movietype">
          <img border="0" src="../IMG/lookmov.gif" title="mov"></td>
        </tr>
        <tr>
          <td width="68" bgcolor="#FFFFFF" height="3" nowrap>
          <p align="center">影片长度:</td>
          <td bgcolor="#FFFFFF" height="3" width="100%">
          <input type="text" name="howlong4" size="4" class="smallinput" maxlength="255" value="100">分种</td>
        </tr>
        <tr>
          <td width="68" bgcolor="#FFFFFF" height="25" nowrap>
          <p align="center">影片导演:</td>
          <td bgcolor="#FFFFFF" height="25" width="100%">
          <input type="text" name="dy" size="38" class="smallinput" maxlength="255"></td>
        </tr>
        <tr>
          <td width="68" bgcolor="#FFFFFF" height="25" nowrap>
          <p align="center">影片主演:</td>
          <td bgcolor="#FFFFFF" height="25" width="100%">
          <input type="text" name="name" size="38" class="smallinput" maxlength="255"></td>
        </tr>
        <tr>
          <td width="68" bgcolor="#FFFFFF" height="25" nowrap>
          <div align="center">
            缩略图片: 
          </div>
          </td>
          <td bgcolor="#FFFFFF" height="25" width="100%">
          <input type="text" name="domurl3" size="38" class="smallinput" maxlength="255" value="film_pic/002/"><a href onclick="window.open('../film_pic/filmpic_file.asp','','toolbar=0,location=0,status=0,menubar=0,width=500, height=350, scrollbars=1,resizable=0')">点击上传图片</a></td>
        </tr>
        <tr>
          <td width="68" bgcolor="#FFFFFF" height="14" nowrap>
          <p align="center">图片地址:</td>
          <td bgcolor="#FFFFFF" height="14" width="100%">
          <input type="text" name="url" size="38" class="smallinput" maxlength="255" value="film_pic/002/">
          <input type="hidden" name="serverip" size="13" class="smallinput" maxlength="15" value="<%=request("serverip")%>">
          </td>
        </tr>
        <tr>
          <td width="68" bgcolor="#FFFFFF" height="1" 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="1" width="100%">
<input type="checkbox" name="onlinelookb" value="1" checked>在线观看<input type="checkbox" name="downv" value="1" checked>影片下载</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF" height="0" colspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolorlight="#000000">
<tr bordercolordark="#FFFFFF">
<td width="100%" height="20">
<table width="100%" cellspacing="0" border="0" style="border-collapse: collapse" bordercolor="#111111">
<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++)
str+='&nbsp;地址:&nbsp;在线:<%=rs("ipsip")%>&nbsp;下载:<%=rs("movie")%>&nbsp;<input type="text" name="urla'+i+'" class="button" style="padding-left:1pt"  size=15 value="">&nbsp;第'+i+'集<BR>';
window.upid.innerHTML=str+'<br>';
}
</script>
<tr>
<td width="100%" valign="bottom">&nbsp;影片集数:<input type="text" name="no" class="button" value="2" size="2">
<input type="button" name="Button" class="buttonface" onclick="setid();" value="设定"> (在点击“设定”按钮后才可输入影片对应地址) 
                  </td>
                </tr>
                <tr>
                  <td id="upid" width="100%"></td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
          </td>
        </tr>
        <tr>
          <td width="67" bgcolor="#FFFFFF" height="11" valign="top">
          <div align="center">
            <p align="center">影片简介:<br>
            <font color="#FF0000">前30个字不能输入表格代码。</font></div>
          </td>
          <td bgcolor="#FFFFFF" height="11" width="100%">
          <textarea rows="13" name="Content3" cols="68"></textarea></td>
        </tr>
        <tr>
          <td width="67" bgcolor="#FFFFFF" height="14">
          <p align="center">是否推荐:</td>
          <td bgcolor="#FFFFFF" height="22" width="100%">
          <input type="radio" name="best" value="1">&nbsp; 是 
          <input type="radio" name="best" value="0" checked>否&nbsp;&nbsp;&nbsp;&nbsp;</td>
        </tr>
      </table>
        </center>
      </div>
      </td>
    </tr>
  </table>
  <p><input type="submit" value=" 添 加 " name="cmdok" class="buttonface">&nbsp;&nbsp;
  <input type="reset" value=" 清 除 " name="cmdcancel" class="buttonface"></p>
  </center>
</form>
</body>
<%
 set rs=nothing
 conn.close
 set conn=nothing
%>
</html>

⌨️ 快捷键说明

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