<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeFile="coursedetails.aspx.cs" Inherits="system_Course_coursedetails" %>

<!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 id="Head1" runat="server">
    <title>视频资源库</title>
<link href="/App_Themes/SystemCSS/css/core.css" rel="stylesheet" type="text/css" />
<link href="/App_Themes/SystemCSS/css/base.css" rel="stylesheet" type="text/css" />
<script src="/App_Themes/SystemCSS/js/jquery-1.4.3.min.js" type="text/javascript"></script>

<script language="javascript" type="text/javascript" src="/App_Themes/My97DatePicker/WdatePicker.js"></script>

<!--ckeditor编辑器--> 
<script type="text/javascript" src="/ckeditor/ckeditor_Full/ckeditor.js"></script>
<script type="text/javascript" src="/ckfinder/ckfinder.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="right" id="RightHighSet">
<div class="r_tit"><h2>视频资源库</h2></div>
<div class="t_h48"></div><!--留空48PX-->
<div class="r_bd tab_bd" id="testtab">
<div id="tabcon">

    <div class="bd">
        <div class="tit_xs">
            <h2>
                <asp:Label ID="lab_ClassName2" runat="server"></asp:Label><%=Request["ID"] != null ? "修改" : "新增"%>
            </h2>
        </div>
                <table width="94%" border="0" cellpadding="0" cellspacing="0" class="tab_style fl">
            <tr>
                <td class="n1">
                    标题：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_Title" runat="server" style="width:300px;" CssClass="required"></asp:TextBox>
                    <asp:CheckBox  ID="cb_IsTop" runat="server" Text="固顶" Visible="False" />
                    <asp:CheckBox  ID="cb_IsRec" runat="server" Text="推荐" Visible="False"  />
                    <asp:CheckBox  ID="cb_IsHot" runat="server"  Text="热门"  Visible="False" />
                </td>
            </tr>
            <%--<% if (Request.QueryString["ClassId"].ToString() == "305")
               { %>
            <tr>
                <td class="n1">
                    副标题：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_sTitle" runat="server" style="width:300px;"></asp:TextBox>（毕业院校）
                </td>
            </tr>
            <%} %>--%>
            <%--<tr>
                <td class="n1">
                    标题图片：
                </td>
                <td class="n2" colspan="3">
                    <asp:Image ID="img_TitlePicture" Visible="false" runat="server" Width="50px" Height="50px" />
                    <asp:FileUpload ID="fu_TitlePicture" runat="server" />
                </td>
            </tr>--%>
            
            <tr id="tr_TypeName" runat="server" >
                <td class="n1">
                    类别：
                </td>
                <td class="n2" colspan="3">
                    <asp:DropDownList ID="ddl_TypeName" runat="server" CssClass="required">
                            </asp:DropDownList>
                </td>
            </tr>
            
            <%--<tr style="display:none;">
                <td class="n1">
                    简介：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_Intro" runat="server" TextMode="MultiLine" Rows="3" Columns="60" MaxLength="200"></asp:TextBox>
                </td>
            </tr>
            <tr style="display:none;">
                <td class="n1">
                    关键字：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_Keywords" runat="server"  MaxLength="255"></asp:TextBox>
                </td>
            </tr>--%>
            
            <%--<% if (Request.QueryString["ClassId"].ToString() == "281")
               { %>
            <tr>
                <td class="n1">
                    地点：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_Address" runat="server" style="width:300px;"></asp:TextBox>
                </td>
            </tr>
            <%} %>--%>
            
            <tr>
                <td class="n1">
                    内容描述：
                </td>
                <td class="n2" colspan="3">
                    <%--<asp:TextBox ID="txt_Content" TextMode="MultiLine" runat="server" CssClass = "ckeditor"></asp:TextBox>--%>
                    <asp:TextBox name="FileContent"  style="display:none" id="FileContent"  runat="server" ></asp:TextBox>
                    <IFRAME ID="eWebEditor" src="/ewebeditor/ewebeditor.htm?id=FileContent&style=blue" frameborder="0" scrolling="no" width="650" height="350"></IFRAME>
                    <input type="hidden" name="content" value="" id="content" />
                </td>
            </tr>
            <%--<% if (Request.QueryString["ClassId"].ToString() == "287")
               { %>--%>
            <tr>
                <td class="n1">
                    附件：
                </td>
                <td class="n2" colspan="3">
                    <asp:FileUpload ID="fu_FilePath" runat="server" />
                    <asp:label id="lab_FilePath" runat="server"><a href target="_blank"></a></asp:label>
                    <asp:label id="lab_FilePathBak" runat="server" Visible="false"></asp:label>
                </td>
            </tr>
           <%-- <%} %>--%>
            <%--<% if (Request.QueryString["ClassId"].ToString() == "288")
               { %>
            <tr>
                <td class="n1">
                    未登陆视频：
                </td>
                <td class="n2" colspan="3">
                    <asp:FileUpload ID="fu_Video1" runat="server" />
                    <asp:label id="lab_Video1" runat="server"><a href target="_blank"></a></asp:label>
                    <asp:label id="lab_Video1Bak" runat="server" Visible="false"></asp:label>（此处上传只是记录一个视频名称，视频文件请用FTP上传UploadFiles/VideoFiles文件夹下）
                </td>
            </tr>
            <tr>
                <td class="n1">
                    登陆视频：
                </td>
                <td class="n2" colspan="3">
                    <asp:FileUpload ID="fu_Video2" runat="server" />
                    <asp:label id="lab_Video2" runat="server"><a href target="_blank"></a></asp:label>
                    <asp:label id="lab_Video2Bak" runat="server" Visible="false"></asp:label>（此处上传只是记录一个视频名称，视频文件请用FTP上传UploadFiles/VideoFiles文件夹下）
                </td>
            </tr>
            <%} %>--%>
            <tr>
                <td class="n1">
                    权重：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_OrderNum" runat="server" Text="0" MaxLength="50" CssClass="required number"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="n1">
                    添加时间：
                </td>
                <td class="n2" colspan="3">
                    <asp:TextBox ID="txt_AddTime" runat="server" MaxLength="50" CssClass="required" onclick="WdatePicker()"></asp:TextBox>
                </td>
            </tr>
        </table>
        <div class="menu">
            <asp:Button ID="btnSave" CssClass="menu_b" runat="server" Text="保存" OnClick="btnSave_Click">
            </asp:Button>
            <input id="inputBack" type="button" class="menu_o" value="返回" onclick="history.go(-1);"/>
        </div>
    </div>

</div>

</div>


</div>

<script language="javascript">

    var MS = "IE";
    if (navigator.userAgent.indexOf("Firefox") > 0) {
        MS = "FF";
    }
    if (document.getElementById("RightHighSet") != null) {
        if (document.documentElement.clientHeight > 200) {
            document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
        }
    }

    var t = 0;

    window.onresize = function() {
        var now = new Date();
        now = now.getTime();
        if (now - t > 30) {
            if (document.getElementById("RightHighSet") != null) {
                if (document.documentElement.clientHeight > 200) {
                    document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
                }
                t = now;
            }
        }
    }
</script>

    </form>
</body>
</html>
