<!--#include file="conn.asp"-->
<!--#include file="icode.asp"-->
<%
if session("adminname") = "" or session("adminpassword") = "" then
%>
<script>alert('你还没有登录呢');history.back();</script>
<%
else
action = request.querystring("action")
%>

<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<link rel="stylesheet" href="images/style2.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>jqdy.com</title>
</head>

<body bgcolor="#DDDDDD" background="images/15.gif" topmargin="5" leftmargin="5">

<div align="center">
  <center>
  <table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#006D91" width="650">
    <tr>
      <td width="100%" bgcolor="#FFFFFF">
      <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" >
        <tr>
          <td width="99%" valign="top">
          <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#006D91" width="100%">
                  <tr> <a href="admincenter.asp">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">管理首页</td>
                    </a>
                   <a href="classmanage.asp?action=class">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">分类管理</td>
                    </a> 
                  <a href="moviemanage.asp?action=movie">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">电影管理</td>
                    </a> 
                  <a href="tvmanage.asp?action=tv">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">电视管理</td>
                    </a> 
                  <a href="manage.asp?action=manage">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">公告管理</td>
                    </a> 
                  <a href="admincenter.asp?action=password">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">用户管理</td>
                    </a> 
                    </a> 
                  <a href="users.asp?action=user">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">会员管理</td>
                   <a href="admincenter.asp?action=logout">
                    <td width="12%" align="center" bgcolor="#EFEFEF" onmouseover="this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.backgroundColor='#EFEFEF'"><p style="margin-top: 2">退出管理</td>
                    </a> </tr>
                </table><br><br>
          <%
          if action = "modifytv" then
          tvid = request.querystring("tvid")
          sql = "select * from movie where id=" & tvid
          set rs = server.createobject("adodb.recordset")
          rs.open sql,conn,1,1
          if rs.eof or rs.bof then
          %>
          <script>alert('没有找到该电影');history.back();</script>
          <%
          else
          %>
          <table border="1" cellspacing="0" style="border-collapse: collapse; " width="100%" bgcolor="#FBFBFB" bordercolor="#006D91">
          <tr>
          <td width="100%">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; " width="100%" bgcolor="#FBFBFB">
                        <form method="post" action="tvmanage.asp?action=tvmodify" name="tvmodify">
                          <input type="hidden" name="tvid" value="<%=tvid%>">
                          <tr> 
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影名称:</td>
                            <td width="35%"> <input type="text" size="20" name="name" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("name")%>"></td>
                          <td width="15%" valign="top">&nbsp;<img border="0" src="images/04.gif">&nbsp;影片主演:</td>
                            <td width="35%" valign="top"><input type="text" size="20" name="from" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("from")%>"></td>
                          
                          </tr>
                          <tr> 
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;推荐程度:</td>
                            <td width="35%"><select size="1" name="score" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'">
                                <%
              for i = "1" to "5"
              if i = "1" then
              score = "一颗星"
              end if
              if i = "2" then
              score = "二颗星"
              end if
              if i = "3" then
              score = "三颗星"
              end if
              if i = "4" then
              score = "四颗星"
              end if
              if i = "5" then
              score = "五颗星"
              end if
              if i = rs("score") then
              %>
                                <option value="<%=i%>" selected><%=score%></option>
                                <%
              else
              %>
                                <option value="<%=i%>"><%=score%></option>
                                <%
              end if
              next
              %>
                              </select> </td>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;所属分类:</td>
                            <td width="35%"> <select size="1" name="class" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'">
                                <%
              sql = "select * from category"
              set categoryrs = server.createobject("adodb.recordset")
              categoryrs.open sql,conn,1,1
              if categoryrs.eof or categoryrs.bof then
              %>
                <option value="">尚无分类</option>
              <%
              else
              do while not categoryrs.eof or categoryrs.bof
              %>
                <option value="<%=categoryrs("category")%>"><%=categoryrs("category")%></option>
              <%
              categoryrs.movenext
              loop
              end if
              categoryrs.close
              set categoryrs = nothing
              %>
                              </select> </td>
                            
                          </tr>
                          <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址1:</td>
                            <td width="35%"> <input type="text" size="20" name="movie1" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie1")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址26:</td>
                            <td width="35%"> <input type="text" size="20" name="movie26" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie26")%>"></td>
                          </tr>
                          <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址2:</td>
                            <td width="35%"> <input type="text" size="20" name="movie2" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie2")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址27:</td>
                            <td width="35%"> <input type="text" size="20" name="movie27" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie27")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址3:</td>
                            <td width="35%"> <input type="text" size="20" name="movie3" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie3")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址28:</td>
                            <td width="35%"> <input type="text" size="20" name="movie28" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie28")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址4:</td>
                            <td width="35%"> <input type="text" size="20" name="movie4" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie4")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址29:</td>
                            <td width="35%"> <input type="text" size="20" name="movie29" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie29")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址5:</td>
                            <td width="35%"> <input type="text" size="20" name="movie5" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie5")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址30:</td>
                            <td width="35%"> <input type="text" size="20" name="movie30" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie30")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址6:</td>
                            <td width="35%"> <input type="text" size="20" name="movie6" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie6")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址31:</td>
                            <td width="35%"> <input type="text" size="20" name="movie31" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie31")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址7:</td>
                            <td width="35%"> <input type="text" size="20" name="movie7" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie7")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址32:</td>
                            <td width="35%"> <input type="text" size="20" name="movie32" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie32")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址8:</td>
                            <td width="35%"> <input type="text" size="20" name="movie8" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie8")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址33:</td>
                            <td width="35%"> <input type="text" size="20" name="movie33" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie33")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址9:</td>
                            <td width="35%"> <input type="text" size="20" name="movie9" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie9")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址34:</td>
                            <td width="35%"> <input type="text" size="20" name="movie34" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie34")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址10:</td>
                            <td width="35%"> <input type="text" size="20" name="movie10" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie10")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址35:</td>
                            <td width="35%"> <input type="text" size="20" name="movie35" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie35")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址11:</td>
                            <td width="35%"> <input type="text" size="20" name="movie11" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie11")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址36:</td>
                            <td width="35%"> <input type="text" size="20" name="movie36" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie36")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址12:</td>
                            <td width="35%"> <input type="text" size="20" name="movie12" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie12")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址37:</td>
                            <td width="35%"> <input type="text" size="20" name="movie37" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie37")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址13:</td>
                            <td width="35%"> <input type="text" size="20" name="movie13" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie13")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址38:</td>
                            <td width="35%"> <input type="text" size="20" name="movie38" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie38")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址14:</td>
                            <td width="35%"> <input type="text" size="20" name="movie14" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie14")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址39:</td>
                            <td width="35%"> <input type="text" size="20" name="movie39" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie39")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址15:</td>
                            <td width="35%"> <input type="text" size="20" name="movie15" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie15")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址40:</td>
                            <td width="35%"> <input type="text" size="20" name="movie40" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie40")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址16:</td>
                            <td width="35%"> <input type="text" size="20" name="movie16" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie16")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址41:</td>
                            <td width="35%"> <input type="text" size="20" name="movie41" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie41")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址17:</td>
                            <td width="35%"> <input type="text" size="20" name="movie17" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie17")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址42:</td>
                            <td width="35%"> <input type="text" size="20" name="movie42" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie42")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址18:</td>
                            <td width="35%"> <input type="text" size="20" name="movie18" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie18")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址43:</td>
                            <td width="35%"> <input type="text" size="20" name="movie43" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie43")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址19:</td>
                            <td width="35%"> <input type="text" size="20" name="movie19" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie19")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址44:</td>
                            <td width="35%"> <input type="text" size="20" name="movie44" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie44")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址20:</td>
                            <td width="35%"> <input type="text" size="20" name="movie20" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie20")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址45:</td>
                            <td width="35%"> <input type="text" size="20" name="movie45" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie45")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址21:</td>
                            <td width="35%"> <input type="text" size="20" name="movie21" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie21")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址46:</td>
                            <td width="35%"> <input type="text" size="20" name="movie46" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie46")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址22:</td>
                            <td width="35%"> <input type="text" size="20" name="movie22" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie22")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址47:</td>
                            <td width="35%"> <input type="text" size="20" name="movie47" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie47")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址23:</td>
                            <td width="35%"> <input type="text" size="20" name="movie23" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie23")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址48:</td>
                            <td width="35%"> <input type="text" size="20" name="movie48" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie48")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址24:</td>
                            <td width="35%"> <input type="text" size="20" name="movie24" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie24")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址49:</td>
                            <td width="35%"> <input type="text" size="20" name="movie49" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie49")%>"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影地址25:</td>
                            <td width="35%"> <input type="text" size="20" name="movie25" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("movie25")%>"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;播放格式:</td>
                            <td width="35%"> <input type="radio" value="rm" name="movietype">
          <img border="0" src="images/rm.gif">
          <input type="radio" value="mms" name="movietype">
          <img border="0" src="images/mms.gif">
          <input type="radio" value="htm" name="movietype">
          <img border="0" src="images/htm.gif"></td>
                          </tr>
                          <tr> 
                            <td width="15%" valign="top" rowspan="2"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;影片介绍:</td>
                            <td width="35%" rowspan="2"> <textarea rows="3" cols="20" name="content" style="width: 220" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"><%=rs("content")%></textarea></td>
                            <td width="15%" height="20"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;图片预览:</td>
                            <td width="35%" align=left> <input type="text" size="20" name="image" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="<%=rs("image")%>"></td>
                          </tr>
                          <tr> 
                            <td colspan="2"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                                <tr> 
                                  <td width="50%" align="center"> <a href="javascript:document.tvmodify.submit()"><img border="0" src="images/20.gif" alt="修改"></a></td>
                                  <td width="50%" align="center"> <a href="javascript:document.tvmodify.reset()"><img border="0" src="images/17.gif" alt="取消"></a></td>
                                </tr>
                              </table></td>
                          </tr>
                        </form>
                      </table>
          </td>
          </tr>
          </table>
          <%
          end if
          end if
          if action = "tv" then
          page = request.querystring("page")
          classid = request.querystring("classid")
          keyword = request.form("keyword")
          if keyword = "" then
          sql = "select * from movie where category='连续剧' order by id desc"
          else
          sql = "select * from movie where category='连续剧' and name like '%"&keyword&"%' order by id desc"
          end if
          set rs = server.createobject("adodb.recordset")
          rs.open sql,conn,1,1
          if rs.eof or rs.bof then
          %>
          <p style="margin-top: 2" align=center>没有找到相关电影
          <%
          else
          rs.pagesize = "20"
          if page = "" or page < "1" then
          page = "1"
          end if
          if rs.pagecount > "0" then
          rs.absolutepage = page
          end if
          i = "0"
          %><center>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="300">
          <form method="post" action="tvmanage.asp?action=tv" name="search">
            <tr>
              <td width="100" align="center"><p style="margin-top: 2">搜索电影</td>
              <td width="100" align="center">
              <input type="text" size="20" name="keyword" style="width: 100; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
              <td width="100" align="center">
                  <a href="javascript:document.search.submit()">
              <img border="0" src="images/20.gif" alt="搜索"></a></td>
            </tr>
          </form>
          </table>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="3">
            <tr>
              <td width="100%"></td>
            </tr>
          </table>
          <%
          do while not rs.eof or rs.bof
          i = i + 1
          if i > rs.pagesize then
          exit do
          end if
          %>
          <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#006D91" width="100%">
            <tr>
              <td width="40%" bgcolor="#E2F1A6"><p style="margin-top: 2">&nbsp;<img border="0" src="images/14.gif">&nbsp;<a href="list.asp?id=<%=rs("id")%>" target="_blank"><%=rs("name")%></a></td>
              <td width="40%" bgcolor="#E2F1A6"><p style="margin-top: 2">&nbsp;<img border="0" src="images/14.gif">&nbsp;所属分类:<a href="tvmanage.asp?action=tv&classid=连续剧">连续剧</a></td>
              <td width="20%" bgcolor="#FBFBFB" align="center"><p style="margin-top: 2"><a href="tvmanage.asp?action=modifytv&tvid=<%=rs("id")%>">修改</a>　<a href="tvmanage.asp?action=deltv&tvid=<%=rs("id")%>">删除</a></td>
            </tr>
          </table>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="3">
            <tr>
              <td width="100%"></td>
            </tr>
          </table>
          <%
          rs.movenext
          loop
          %>
          <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#006D91" width="100%">
            <tr>
              <td width="100%" bgcolor="#EFEFEF" align="center"><p style="margin-top: 2">[第<%=page%>页/共<%=rs.pagecount%>页] <%if page = "1" then%>[首页] [上一页] <%else%>[<a href="tvmanage.asp?classid=<%=classid%>&action=tv">首页</a>] [<a href="tvmanage.asp?page=<%=page-1%>&classid=<%=classid%>&action=tv">上一页</a>] <%end if%><%if rs.pagecount-page < 1 then%>[下一页] [尾页]<%else%>[<a href="tvmanage.asp?page=<%=page+1%>&classid=<%=classid%>&action=tv">下一页</a>] [<a href="tvmanage.asp?page=<%=rs.pagecount%>&classid=<%=classid%>&action=tv">尾页</a>]<%end if%></td>
            </tr>
          </table>
          <%
          end if
          rs.close
          set rs = nothing
          %>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="3">
            <tr>
              <td width="100%"></td>
            </tr>
          </table>
          <table border="1" cellspacing="0" style="border-collapse: collapse; " width="100%" bgcolor="#FBFBFB" bordercolor="#006D91">
          <tr>
          <td width="90%">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; " width="100%" bgcolor="#FBFBFB">
                        <form method="post" action="tvmanage.asp?action=addtv" name="addtv">
                          <tr> 
                            <td width="15%" height="27"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电影名称:</td>
                            <td width="35%"> <input type="text" size="20" name="name" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>

                            <td width="15%" valign="center"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;影片主演:</td>
                            <td width="35%" valign="center"> <input type="text" size="20" name="from" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>

                          </tr>
                          <tr> 
                            <td width="15%" height="21"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;推荐程度:</td>
                            <td width="35%"><select size="1" name="score" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'">
                                <option value="1">一颗星</option>
                                <option value="2">二颗星</option>
                                <option value="3" selected>三颗星</option>
                                <option value="4">四颗星</option>
                                <option value="5">五颗星</option>
                              </select> </td>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;所属分类:</td>
                            <td width="35%"> <select size="1" name="class" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'">
              
                <option value="连续剧">连续剧</option>
                <option value="动画片">动画片</option>
            </select></td>
                            
                          </tr>
                          <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址1:</td>
                            <td width="35%"> <input type="text" size="20" name="movie1" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址26:</td>
                            <td width="35%"> <input type="text" size="20" name="movie26" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                          <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址2:</td>
                            <td width="35%"> <input type="text" size="20" name="movie2" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址27:</td>
                            <td width="35%"> <input type="text" size="20" name="movie27" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址3:</td>
                            <td width="35%"> <input type="text" size="20" name="movie3" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址28:</td>
                            <td width="35%"> <input type="text" size="20" name="movie28" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址4:</td>
                            <td width="35%"> <input type="text" size="20" name="movie4" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址29:</td>
                            <td width="35%"> <input type="text" size="20" name="movie29" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址5:</td>
                            <td width="35%"> <input type="text" size="20" name="movie5" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址30:</td>
                            <td width="35%"> <input type="text" size="20" name="movie30" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址6:</td>
                            <td width="35%"> <input type="text" size="20" name="movie6" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址31:</td>
                            <td width="35%"> <input type="text" size="20" name="movie31" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址7:</td>
                            <td width="35%"> <input type="text" size="20" name="movie7" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址32:</td>
                            <td width="35%"> <input type="text" size="20" name="movie32" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址8:</td>
                            <td width="35%"> <input type="text" size="20" name="movie8" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址33:</td>
                            <td width="35%"> <input type="text" size="20" name="movie33" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址9:</td>
                            <td width="35%"> <input type="text" size="20" name="movie9" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址34:</td>
                            <td width="35%"> <input type="text" size="20" name="movie34" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址10:</td>
                            <td width="35%"> <input type="text" size="20" name="movie10" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址35:</td>
                            <td width="35%"> <input type="text" size="20" name="movie35" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址11:</td>
                            <td width="35%"> <input type="text" size="20" name="movie11" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址36:</td>
                            <td width="35%"> <input type="text" size="20" name="movie36" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址12:</td>
                            <td width="35%"> <input type="text" size="20" name="movie12" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址37:</td>
                            <td width="35%"> <input type="text" size="20" name="movie37" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址13:</td>
                            <td width="35%"> <input type="text" size="20" name="movie13" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址38:</td>
                            <td width="35%"> <input type="text" size="20" name="movie38" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址14:</td>
                            <td width="35%"> <input type="text" size="20" name="movie14" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址39:</td>
                            <td width="35%"> <input type="text" size="20" name="movie39" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址15:</td>
                            <td width="35%"> <input type="text" size="20" name="movie15" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址40:</td>
                            <td width="35%"> <input type="text" size="20" name="movie40" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址16:</td>
                            <td width="35%"> <input type="text" size="20" name="movie16" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址41:</td>
                            <td width="35%"> <input type="text" size="20" name="movie41" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址17:</td>
                            <td width="35%"> <input type="text" size="20" name="movie17" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址42:</td>
                            <td width="35%"> <input type="text" size="20" name="movie42" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址18:</td>
                            <td width="35%"> <input type="text" size="20" name="movie18" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址43:</td>
                            <td width="35%"> <input type="text" size="20" name="movie43" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址19:</td>
                            <td width="35%"> <input type="text" size="20" name="movie19" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址44:</td>
                            <td width="35%"> <input type="text" size="20" name="movie44" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址20:</td>
                            <td width="35%"> <input type="text" size="20" name="movie20" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址45:</td>
                            <td width="35%"> <input type="text" size="20" name="movie45" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址21:</td>
                            <td width="35%"> <input type="text" size="20" name="movie21" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址46:</td>
                            <td width="35%"> <input type="text" size="20" name="movie46" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址22:</td>
                            <td width="35%"> <input type="text" size="20" name="movie22" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址47:</td>
                            <td width="35%"> <input type="text" size="20" name="movie47" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址23:</td>
                            <td width="35%"> <input type="text" size="20" name="movie23" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址48:</td>
                            <td width="35%"> <input type="text" size="20" name="movie48" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址24:</td>
                            <td width="35%"> <input type="text" size="20" name="movie24" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址49:</td>
                            <td width="35%"> <input type="text" size="20" name="movie49" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                          </tr>
                           <tr>
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;电视地址25:</td>
                            <td width="35%"> <input type="text" size="20" name="movie25" style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                            <td width="15%"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;播放格式:</td>
                            <td width="35%"> <input type="radio" checked value="rm" name="movietype">
          <img border="0" src="images/rm.gif">
          <input type="radio" value="mms" name="movietype">
          <img border="0" src="images/mms.gif">
          <input type="radio" value="htm" name="movietype">
          <img border="0" src="images/htm.gif"></td>
                          </tr>
                          <tr> 
                            <td width="15%" valign="top" rowspan="2"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;影片介绍:</td>
                            <td width="35%" rowspan="2"> <textarea rows="3" cols="20" name="content" style="width: 220" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></textarea></td>                        
                            <td width="15%" height="23"><p style="margin-top: 2">&nbsp;<img border="0" src="images/04.gif">&nbsp;图片预览:</td>
                            <td width="35%"> <input type="text" size="20" name="image"  style="width: 220; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
                            
                          </tr>
                          <tr> 
                            <td colspan="2"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                                <tr> 
                                  <td width="50%" align="center"> <a href="javascript:document.addtv.submit()"><img border="0" src="images/20.gif"></a></td>
                                  <td width="50%" align="center"> <a href="javascript:document.addtv.reset()"><img border="0" src="images/17.gif"></a></td>
                                </tr>
                              </table></td>
                          </tr>
                        </form>
                      </table>
          </td>
          </tr>
          </table>
          <%
          end if
          if action = "addtv" then
          name = request.form("name")
          classname = request.form("class")
          score = request.form("score")
          image = request.form("image")
          movie1 = request.form("movie1")
          movie2 = request.form("movie2")
          movie3 = request.form("movie3")
          movie4 = request.form("movie4")
          movie5 = request.form("movie5")
          movie6 = request.form("movie6")
          movie7 = request.form("movie7")
          movie8 = request.form("movie8")
          movie9 = request.form("movie9")
          movie10 = request.form("movie10")
          movie11 = request.form("movie11")
          movie12 = request.form("movie12")
          movie13 = request.form("movie13")
          movie14 = request.form("movie14")
          movie15 = request.form("movie15")
          movie16 = request.form("movie16")
          movie17 = request.form("movie17")
          movie18 = request.form("movie18")
          movie19 = request.form("movie19")
          movie20 = request.form("movie20")
          movie21 = request.form("movie21")
          movie22 = request.form("movie22")
          movie23 = request.form("movie23")
          movie24 = request.form("movie24")
          movie25 = request.form("movie25")
          movie26 = request.form("movie26")
          movie27 = request.form("movie27")
          movie28 = request.form("movie28")
          movie29 = request.form("movie29")
          movie30 = request.form("movie30")
          movie31 = request.form("movie31")
          movie32 = request.form("movie32")
          movie33 = request.form("movie33")
          movie34 = request.form("movie34")
          movie35 = request.form("movie35")
          movie36 = request.form("movie36")
          movie37 = request.form("movie37")
          movie38 = request.form("movie38")
          movie39 = request.form("movie39")
          movie40 = request.form("movie40")
          movie41 = request.form("movie41")
          movie42 = request.form("movie42")
          movie43 = request.form("movie43")
          movie44 = request.form("movie44")
          movie45 = request.form("movie45")
          movie46 = request.form("movie46")
          movie47 = request.form("movie47")
          movie48 = request.form("movie48")
          movie49 = request.form("movie49")
          movietype = request.form("movietype")
          from = request.form("from")
          content = icode2html(request.form("content"), true, true)
          if name = "" or movie1 = "" or content = "" then
          %>
          <script>alert('电影名称、地址和介绍不能为空');history.back();</script>
          <%
          else
          sql = "select * from movie"
          set rs = server.createobject("adodb.recordset")
          rs.open sql,conn,3,3
          rs.addnew
          rs("name") = name
          rs("category") = classname
          rs("score") = score
          rs("image") = image
          rs("movie1") = movie1
          rs("movie2") = movie2
          rs("movie3") = movie3
          rs("movie4") = movie4
          rs("movie5") = movie5
          rs("movie6") = movie6
          rs("movie7") = movie7
          rs("movie8") = movie8
          rs("movie9") = movie9
          rs("movie10") = movie10
          rs("movie11") = movie11
          rs("movie12") = movie12
          rs("movie13") = movie13
          rs("movie14") = movie14
          rs("movie15") = movie15
          rs("movie16") = movie16
          rs("movie17") = movie17
          rs("movie18") = movie18
          rs("movie19") = movie19
          rs("movie20") = movie20
          rs("movie21") = movie21
          rs("movie22") = movie22
          rs("movie23") = movie23
          rs("movie24") = movie24
          rs("movie25") = movie25
          rs("movie26") = movie26
          rs("movie27") = movie27
          rs("movie28") = movie28
          rs("movie29") = movie29
          rs("movie30") = movie30
          rs("movie31") = movie31
          rs("movie32") = movie32
          rs("movie33") = movie33
          rs("movie34") = movie34
          rs("movie35") = movie35
          rs("movie36") = movie36
          rs("movie37") = movie37
          rs("movie38") = movie38
          rs("movie39") = movie39
          rs("movie40") = movie40
          rs("movie41") = movie41
          rs("movie42") = movie42
          rs("movie43") = movie43
          rs("movie44") = movie44
          rs("movie45") = movie45
          rs("movie46") = movie46
          rs("movie47") = movie47
          rs("movie48") = movie48
          rs("movie49") = movie49
          rs("movietype") = movietype
          rs("from") = from
          rs("content") = content
          rs("date") = date
          rs.update
          rs.close
          set rs = nothing
          %>
          <script>alert('添加成功 请刷新页面看看');history.back();</script>
          <%
          end if
          end if
          if action = "tvmodify" then
          tvid = request.form("tvid")
          name = request.form("name")
          classname = request.form("class")
          score = request.form("score")
          image = request.form("image")
          movie1 = request.form("movie1")
          movie2 = request.form("movie2")
          movie3 = request.form("movie3")
          movie4 = request.form("movie4")
          movie5 = request.form("movie5")
          movie6 = request.form("movie6")
          movie7 = request.form("movie7")
          movie8 = request.form("movie8")
          movie9 = request.form("movie9")
          movie10 = request.form("movie10")
          movie11 = request.form("movie11")
          movie12 = request.form("movie12")
          movie13 = request.form("movie13")
          movie14 = request.form("movie14")
          movie15 = request.form("movie15")
          movie16 = request.form("movie16")
          movie17 = request.form("movie17")
          movie18 = request.form("movie18")
          movie19 = request.form("movie19")
          movie20 = request.form("movie20")
          movie21 = request.form("movie21")
          movie22 = request.form("movie22")
          movie23 = request.form("movie23")
          movie24 = request.form("movie24")
          movie25 = request.form("movie25")
          movie26 = request.form("movie26")
          movie27 = request.form("movie27")
          movie28 = request.form("movie28")
          movie29 = request.form("movie29")
          movie30 = request.form("movie30")
          movie31 = request.form("movie31")
          movie32 = request.form("movie32")
          movie33 = request.form("movie33")
          movie34 = request.form("movie34")
          movie35 = request.form("movie35")
          movie36 = request.form("movie36")
          movie37 = request.form("movie37")
          movie38 = request.form("movie38")
          movie39 = request.form("movie39")
          movie40 = request.form("movie40")
          movie41 = request.form("movie41")
          movie42 = request.form("movie42")
          movie43 = request.form("movie43")
          movie44 = request.form("movie44")
          movie45 = request.form("movie45")
          movie46 = request.form("movie46")
          movie47 = request.form("movie47")
          movie48 = request.form("movie48")
          movie49 = request.form("movie49")
          movietype = request.form("movietype")
          from = request.form("from")
          content = icode2html(request.form("content"), true, true)
          if name = "" or movie1 = "" or content = "" or tvid="" then
          %>
          <script>alert('电影名称、地址和介绍不能为空');history.back();</script>
          <%
          else
          sql = "select * from movie where id=" & tvid
          set rs = server.createobject("adodb.recordset")
          rs.open sql,conn,3,3
          if rs.eof or rs.bof then
          %>
          <script>alert('找不到该电影');history.back();</script>
          <%
          else
          rs("name") = name
          rs("category") = classname
          rs("score") = score
          rs("image") = image
          rs("movie1") = movie1
          rs("movie2") = movie2
          rs("movie3") = movie3
          rs("movie4") = movie4
          rs("movie5") = movie5
          rs("movie6") = movie6
          rs("movie7") = movie7
          rs("movie8") = movie8
          rs("movie9") = movie9
          rs("movie10") = movie10
          rs("movie11") = movie11
          rs("movie12") = movie12
          rs("movie13") = movie13
          rs("movie14") = movie14
          rs("movie15") = movie15
          rs("movie16") = movie16
          rs("movie17") = movie17
          rs("movie18") = movie18
          rs("movie19") = movie19
          rs("movie20") = movie20
          rs("movie21") = movie21
          rs("movie22") = movie22
          rs("movie23") = movie23
          rs("movie24") = movie24
          rs("movie25") = movie25
          rs("movie26") = movie26
          rs("movie27") = movie27
          rs("movie28") = movie28
          rs("movie29") = movie29
          rs("movie30") = movie30
          rs("movie31") = movie31
          rs("movie32") = movie32
          rs("movie33") = movie33
          rs("movie34") = movie34
          rs("movie35") = movie35
          rs("movie36") = movie36
          rs("movie37") = movie37
          rs("movie38") = movie38
          rs("movie39") = movie39
          rs("movie40") = movie40
          rs("movie41") = movie41
          rs("movie42") = movie42
          rs("movie43") = movie43
          rs("movie44") = movie44
          rs("movie45") = movie45
          rs("movie46") = movie46
          rs("movie47") = movie47
          rs("movie48") = movie48
          rs("movie49") = movie49
          rs("movietype") = movietype
          rs("from") = from
          rs("content") = content
          rs.update
          rs.close
          set rs = nothing
          %>
          <script>alert('修改成功 请刷新页面看看');history.go(-2);</script>
          <%
          end if
          end if
          end if
          if action = "deltv" then
          tvid = request.querystring("tvid")
          sql = "select * from movie where id=" & tvid
          set rs = server.createobject("adodb.recordset")
          rs.open sql,conn,3,3
          if rs.eof or rs.bof then
          %>
          <script>alert('找不到该电影');history.back();</script>
          <%
          else
          rs.delete
          rs.close
          set rs = nothing
          %>
          <script>alert('删除成功 请刷新页面看看');history.back();</script>
          <%
          end if
          end if
          %>
          </td>
        </tr>
      </table>
      </td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>
<%
end if
conn.close
set conn = nothing
%>

