<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="JuSNS.Web.system.movie.edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title id="ptitle" runat="server">编辑电影</title>
<link href="../images/css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>
<script type="text/javascript" src="../../inc/editor/fckeditor.js"></script>
</head>
<body>
<table width="99%" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td width="120" align="center" valign="top">
        <div class="menu">
            <ul>
        	<%=this.GetSystemMenu(sort)%>
        	</ul>
      </div>
    </td>
    <td valign="top">
   <div class="navip">
    <span class="Blue"><a href="index.aspx">电影管理</a> <a href="add.aspx">添加电影</a> <a href="class.aspx">分类管理</a></span> 
   </div> 
   <div id="DivErr" runat="server"></div>
   <form id="form1" runat="server">
   <div id="mainbody">
        <table width="100%" border="0" cellpadding="3" cellspacing="1" class="maintable">
                <tr class="maintablelist">
                    <td width="200" align="right" style="width: 200px;">
                        电影名称</td>
                    <td colspan="3" align="left" style="width: 678px">
                        <asp:TextBox ID="Title" runat="server" MaxLength="50" Width="300px"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequireTitle" runat="server" ControlToValidate="Title" Display="Dynamic"
                            ErrorMessage="电影名称不能为空"></asp:RequiredFieldValidator>                    </td>
                    <td width="159" rowspan="10" align="center" valign="middle">
                        <img id="Img" runat="server" />                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 200px;">
                        导演</td>
                    <td colspan="3" align="left" style="width: 678px">
                        <asp:TextBox ID="Director" runat="server" MaxLength="255" Width="300px"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredDirector" runat="server" ControlToValidate="Director" Display="Dynamic"
                            ErrorMessage="导演不能为空"></asp:RequiredFieldValidator>(多个请以“|”分隔)                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 200px;">
                        演员</td>
                    <td colspan="3" align="left" style="width: 678px">
                        <asp:TextBox ID="Billing" runat="server" MaxLength="255" Width="300px"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredBilling" runat="server" ControlToValidate="Billing" Display="Dynamic"
                            ErrorMessage="演员不能为空"></asp:RequiredFieldValidator>(多个请以“|”分隔)                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 200px;">
                        年份</td>
                    <td colspan="3" align="left" style="width: 678px">
                        <asp:DropDownList ID="YearOnShow" runat="server" Width="200">                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredYearOnShow" runat="server" ControlToValidate="YearOnShow"
                            Display="Dynamic" ErrorMessage="年份不能为空"></asp:RequiredFieldValidator>                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 200px;">
                        电影类型</td>
                    <td colspan="3" align="left" style="width: 678px">
                        <asp:DropDownList ID="MovieSort" runat="server">                        </asp:DropDownList>                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 10%;">
                        播放器选择1</td>
                    <td width="281" align="left">
                        <select id="zt_dy" runat="server">
                            <option value="">暂没有数据①</option>
                            <option value="youku">优酷(youku)(youku.com)</option>
                            <option value="56">我乐(56)(56.com)</option>
                            <option value="iask">新浪(you.video.sina.com.cn)</option>
                            <option value="tudou">土豆(tudou)(tudou.com)</option>
                            <option value="ouou">偶偶(ouou)(dv.ouou.com)</option>
                            <option value="6rooms">六房间(6rooms)(6.cn)</option>
                            <option value="tvix">第九频道(tvix)(tvix.cn)</option>
                            <option value="play">FLV(play)(flv格式)</option>
                            <option value="bobo" selected>BOBOP2P(BOBOP2P格式)</option>
                            <option value="qvod">Q播(qvod)(P2P资源)</option>
                            <option value="xunlei">迅雷(xunlei)(兼容式)</option>
                            <option value="real">real(real)(rm,rmvb等格式)</option>
                            <option value="media">media(media)(wmv,asf等格式)</option>
                        </select>                    </td>
                    <td width="99" align="left"><div align="right"><span style="width: 10%;">播放器选择2</span></div></td>
                    <td width="286" align="left"><select name="zt_dy" id="zt_dy1" runat="server">
                      <option value="">暂没有数据①</option>
                      <option value="youku">优酷(youku)(youku.com)</option>
                      <option value="56">我乐(56)(56.com)</option>
                      <option value="iask">新浪(you.video.sina.com.cn)</option>
                      <option value="tudou">土豆(tudou)(tudou.com)</option>
                      <option value="ouou">偶偶(ouou)(dv.ouou.com)</option>
                      <option value="6rooms">六房间(6rooms)(6.cn)</option>
                      <option value="tvix">第九频道(tvix)(tvix.cn)</option>
                      <option value="play">FLV(play)(flv格式)</option>
                      <option value="bobo" selected>BOBOP2P(BOBOP2P格式)</option>
                      <option value="qvod">Q播(qvod)(P2P资源)</option>
                      <option value="xunlei">迅雷(xunlei)(兼容式)</option>
                      <option value="real">real(real)(rm,rmvb等格式)</option>
                      <option value="media">media(media)(wmv,asf等格式)</option>
                    </select></td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 10%;">
                        数据地址1</td>
                    <td align="left">
                        <asp:TextBox ID="zt_url" runat="server" Width="200px" Height="80px" TextMode="MultiLine"></asp:TextBox>                    </td>
                    <td align="left"><div align="right"><span style="width: 10%;">数据地址2</span></div></td>
                    <td align="left"><asp:TextBox ID="zt_url1" runat="server" Width="200px" Height="80px" TextMode="MultiLine"></asp:TextBox></td>
                </tr>
                
                
                <tr class="maintablelist">
                    <td align="right" style="width: 200px;">
                        剧情介绍</td>
                    <td colspan="3" align="left" style="width: 678px">
                               <script type="text/javascript" language="javascript">
                                    window.onload = function()
                                    {
                                        var sBasePath = "../../inc/editor/"
                                        var oFCKeditor = new FCKeditor('Gut') ;
                                        oFCKeditor.BasePath	= sBasePath ;
                                        oFCKeditor.Width = '88%' ;
                                        oFCKeditor.ToolbarSet = 'Basic';
                                        oFCKeditor.Height = '200' ;	
                                        oFCKeditor.ReplaceTextarea();
                                    }
                                 </script>
                                <textarea runat="server" rows="10" name="Gut" class="f-text" id="Gut" style="width: 350px; height: 200px;display:none;"></textarea>                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 200px;">
                        上传电影海报</td>
                    <td colspan="3" align="left" style="width: 678px">
                        <asp:FileUpload  ID="supfile" runat="Server" /> (支持JPG、GIF 、JPEG,BMP和 PNG 格式的照片，每张最大 5M。)                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 200px;">
                        点击</td>
                    <td colspan="3" align="left" style="width: 678px">
                        <asp:TextBox ID="hits" Text="0" runat="server"></asp:TextBox>                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 200px">                    </td>
                    <td align="left" colspan="4">
                        <asp:Button ID="Button1" runat="server" Text=" 保 存 " OnClick="Button1_Click" /><asp:HiddenField
                            ID="HidID" runat="server" />
                        <asp:HiddenField ID="haibaoimg" runat="server" />                    </td>
                </tr>
            </table>            
        
            
     </div>
    </form>
    </td>
  </tr>
</table>
</body>
</html>
