📄 edit.asp
字号:
<!--#include file="conn.asp"-->
<html>
<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 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="images/forum_admin.css" type=text/css rel=stylesheet>
<title>修改软件</title>
</head>
<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>
<TABLE class=tableBorder height=1 cellSpacing=1 cellPadding=5 width="576"
align=center border=0>
<TBODY>
<TR>
<TH height=25 style="background-image: url('images/admin_bg_1.gif')" width="564"> <b><font style="font-size: 9pt">影 片 修 改 页 面</font></span></b></TH></TR></tbody></table>
<body topmargin="20" leftmargin="15" bgcolor="#D6EF7E">
<form method="POST" action="saveedit.asp?id=<%=request("id")%>" name="myform">
<center>
<table border="0" cellspacing="0" width="546" bordercolorlight="#000000" bordercolordark="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">
<tr bgcolor="#006cd9">
<td width="538" height="20" bgcolor="#0099FF">
<p align="center"><b><font color="#000000">修改影片页</font></b></td>
</tr>
</table>
<table width="560" border="0" cellspacing="0" cellpadding="0" bordercolorlight="#000000">
<%
dim sql
dim rs
sql="select * from Playbill where pro_id="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<tr>
<td width="560">
<div align="center">
<center>
<table width="547" border="0" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td colspan="3" height="10" bgcolor="#FFFFFF" width="631"> </td>
</tr>
<tr>
<td width="631" bgcolor="#FFFFFF">
<div align="center">
影片名称:
</div>
</td>
<td width="504" height="17" bgcolor="#FFFFFF" colspan="2">
<input type="text" name="titley" size="21" class="smallinput" maxlength="255" value="<%=rs("title")%>"></td>
</tr>
<tr>
<td width="631" bgcolor="#FFFFFF">
<p align="center">影片设置:</td>
<td bgcolor="#FFFFFF" width="504" 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="Level">
<option <%if rs("Level")="★" then%> selected <%end if%> value="★">
一星级</option>
<option <%if rs("Level")="★★" then%> selected <%end if%> value="★★">
二星级</option>
<option <%if rs("Level")="★★★" then%> selected <%end if%> value="★★★">
三星级</option>
<option <%if rs("Level")="★★★★" then%> selected <%end if%> value="★★★★">
四星级</option>
<option <%if rs("Level")="★★★★★" then%> selected <%end if%> value="★★★★★">
五星级</option>
</select>
</td>
</tr>
<tr>
<td width="631" bgcolor="#FFFFFF">
<p align="center">电影类型:</td>
<td bgcolor="#FFFFFF" width="504" colspan="2">
<input type="radio" name="movietype" value="rm" <%if rs("movietype")="rm" then%> checked <% end if%>>
<img border="0" src="../img/real.gif">
<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="631" bgcolor="#FFFFFF">
<p align="center">影片长度:</td>
<td bgcolor="#FFFFFF" width="504" 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="631" bgcolor="#FFFFFF">
<p align="center">领衔主演:</td>
<td bgcolor="#FFFFFF" width="504" colspan="2">
<input type="text" name="namef" size="50" class="smallinput" maxlength="255" value="<%=rs("name")%>"></td>
</tr>
<tr>
<td width="631" bgcolor="#FFFFFF" align="center">影片地址:</td>
<td bgcolor="#FFFFFF" width="504" colspan="2"><input type="text" name="url" class="button" style="border-style: solid; border-width: 1; padding-left: 1pt" size="50" value="<%=rs("Path")%>"></td>
</tr>
<tr>
<td width="631" bgcolor="#FFFFFF">
<div align="center">
影片简介:</div>
</td>
<td bgcolor="#FFFFFF" width="504" colspan="2">
<textarea rows="13" name="Contentl" cols="68"><%=replace(rs("Content"),"""","")%></textarea></td>
</tr>
<tr>
<td colspan="3" height="10" width="631"> </td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
<p><input type="submit" value=" 修 改 " name="cmdok" class="buttonface">
<input type="reset" value=" 复 原 " name="cmdcancel" class="buttonface"></p>
</center>
</form>
</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 + -