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

<!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 align="right" style="width: 10%;">
                        电影名称</td>
                    <td align="left">
                        <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>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 10%;">
                        导演</td>
                    <td align="left">
                        <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: 10%;">
                        演员</td>
                    <td align="left">
                        <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: 10%;">
                        年份</td>
                    <td align="left">
                        <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: 10%;">
                        电影类型</td>
                    <td align="left">
                        <asp:DropDownList ID="MovieSort" runat="server" Width="200">
                        </asp:DropDownList> 
                       
                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 10%;">
                        播放器选择1</td>
                    <td 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">新浪(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">BOBOP2P(bobo)(BOBOP2P格式)</option>
                            <option value="qvod" selected>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="500px" Height="50px"
                            TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 10%;">
                        播放器选择2</td>
                    <td align="left">
                        <select 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">新浪(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">BOBOP2P(bobo)(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%;">
                        数据地址2</td>
                    <td align="left">
                          <asp:TextBox ID="zt_url1" runat="server" Width="500px" Height="50px"
                            TextMode="MultiLine"></asp:TextBox>
                  </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right" style="width: 10%;">
                        剧情介绍</td>
                    <td align="left">
                               <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: 10%;">
                        上传电影海报</td>
                    <td align="left">
                        <asp:FileUpload  ID="supfile" runat="Server" /> (支持JPG、GIF 、JPEG,BMP和 PNG 格式的照片，每张最大 5M。)
                    </td>
                </tr>
                <tr class="maintablelist">
                    <td align="right">
                    </td>
                    <td align="left">
                        <asp:Button ID="Button1" runat="server" Text=" 保 存 " OnClick="Button1_Click" />
                    </td>
                </tr>
            </table>
            
        </div>
    </form>
    </td>
  </tr>
</table>
</body>
</html>