<!-- #INCLUDE FILE="include/onlogin.asp" -->
<!-- #INCLUDE FILE="include/conn.asp" -->
<%
dim sql1
if trim(request.form("aid"))<>"" then
if request.form("movieurl")="" or request.form("aid")="" then 
response.write "错误提示:请输入电影地址!"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql1="select * from videourl where (id is null)"
rs.open sql1,conn,1,3
rs.addnew
rs("url")=request.form("movieurl")
rs("nameid")=request.form("aid")
rs.update
rs.close
response.redirect "admin_video.asp?action=video_edit&id="&request.form("aid")
else
%>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>增加电影url</title>
<link rel=stylesheet href="images/joekoe.css" type="text/css">
</head>
<body topmargin="0" leftmargin="0">

<form method="POST" action="video_addurl.asp" target="_parent">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="45%">
    <tr>
      <td width="84%">
      <input type="text" name="movieurl" class="button" style="border-style: solid; border-width: 1; padding-left: 1pt" size="60" value></td>
      <td width="16%"><input type="hidden" name="aid" value="<%=request("id")%>">
      &nbsp;<input type="submit" value="增加" name="B1" style="border-style: solid; border-width: 1"></td>
    </tr>
  </table>
</form>

</body>

</html>
<%
end if
%>