<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="coursewaredownloadmanage.aspx.cs" Inherits="Us.Web.admin.courseware.coursewaredownloadmanage" %>


<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>课件下载信息</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />

    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
    <script language="javascript" src="/editor/xheditor.js" type="text/javascript"></script>
    <script type="text/javascript" src="/editor/xheditor_lang/zh-cn.js"></script>
    <style type="text/css">
        .noshow {
            display: none;
        }
    </style>

    <%-- <script src="../js/jquery/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>--%>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            //alert();
            setTxtEnable();
            $("#drpCType").change(function () {
                setTxtEnable();
            });


            function setTxtEnable() {
                var sType = $("#drpCType").val();
                //alert(sType);
                if (sType == "0") {
                    $("#btnSubmit").show();
                    $("#HyperLink1").hide();
                }
                else {
                    $("#btnSubmit").hide();
                    $("#HyperLink1").show();
                }
            }

        });
    </script>
    <script language="javascript" type="text/javascript">
        KindEditor.ready(function (K) {
            K.create('#txtCWInfo', {

                readonlyMode: true
            });
        });
    </script>
</head>
<body onload="win_onLoad();">
    <form id="form1" runat="server">
        
        <div id="tbMain">
            <div class="divTbg">
                <div class="divTbgL">
                </div>
                <div class="divTbgInfo">
                    <div class="divTbgTitle">
                        课件下载
                    </div>
                </div>
            </div>
            <div class="divTbgF">
            </div>
            <div class="divTNavBG" id="topURL">
                <ul id="topURLul">
                    <li class="divURLed" id="div1">
                        <div>
                            <img src="../style/default/images/mini_icons_046.gif" width="10" height="10" />
                            基本信息
                        </div>
                    </li>
                </ul>
            </div>
            <div id="mypanel">
                <div class="divInfo">
                    <div class="divInfoblack">
                        <div class="divInfoTopList">
                            <div class="listLeft">
                                <div class="navtitle">
                                    课件信息
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="divInfo">
                    <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist" id="mainlist">
                        <tr class="tablisttr">
                            <td class="tablisttitle">课件编号
                            </td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtCWID" runat="server" CssClass="1" ToolTip="课件编号"></asp:TextBox>
                            </td>
                            <td class="tablisttitle">课件名称</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtCWName" runat="server" CssClass="1" ToolTip="课件名称"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle">父级分类</td>
                            <td class="tabmanagertr">
                                <asp:DropDownList runat="server" ID="drpCWTID">
                                </asp:DropDownList>
                            </td>
                            <td class="tablisttitle">课件大小</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtCWSize" runat="server" CssClass="1" ToolTip="课件大小">10M</asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle">下载类型</td>
                            <td class="tabmanagertr">
                                <asp:DropDownList runat="server" ID="drpCType" ToolTip="下载类型" CssClass="-1">
                                    <asp:ListItem Value="CourseWareType" Text="codeno"></asp:ListItem>
                                </asp:DropDownList></td>
                            <td class="tablisttitle">&nbsp;</td>
                            <td class="tabmanagertr">&nbsp;</td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle">课件扩展名</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtCWExt" runat="server" ToolTip="课件扩展名"></asp:TextBox>
                            </td>
                            <td class="tablisttitle">审核状态</td>
                            <td class="tabmanagertr">
                                <asp:DropDownList runat="server" ID="drpCWState" ToolTip="审核状态" CssClass="-1" Enabled="false">
                                    <asp:ListItem Value="CWState" Text="code"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle">课件描述</td>
                            <td class="tabmanagertr" colspan="3">
                                <asp:TextBox ID="txtCWInfo" runat="server" Width="100%" TextMode="MultiLine" Height="300px"></asp:TextBox>
                            </td>

                        </tr>
                    </table>

                </div>
                <div class="divInfo">
                    <div class="divSave">
                        <asp:Button ID="btnSubmit" runat="server" Text="下载" CssClass="SkyButtonFocus noshow"
                            OnClick="btnSubmit_Click" />
                        <asp:HyperLink ID="HyperLink1" runat="server" CssClass="noshow" Target="_blank">打开下载</asp:HyperLink>
                    </div>
                </div>
            </div>

        </div>


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