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



<!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 src="../js/jquery/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>--%>


    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            setTxtEnable();
            $("#drpCType").change(function() {
                setTxtEnable();
            });


            function setTxtEnable() {
                var sType = $("#drpCType").val();
                if (sType == "0") {
                    $("#txtCWAddr").attr("readonly", "readonly");
                }
                else {
                    $("#txtCWAddr").removeAttr("readonly");
                }
            }

        });
    </script>
       <script language="javascript" type="text/javascript">
           KindEditor.ready(function (K) {
               K.create('#txtCWInfo');
           });
    </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="divInfoContext">
                <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="drpCType" ToolTip="下载类型" CssClass="-1">
                                <asp:ListItem Value="CourseWareType" Text="codeno"></asp:ListItem>
                                </asp:DropDownList></td>
                            <td class="tablisttitle">
                                父级分类</td>
                            <td class="tabmanagertr">
                                <asp:DropDownList runat="server" ID="drpCWTID">
                        </asp:DropDownList></td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle">
                                课件地址</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtCWAddr" runat="server" CssClass="1" ToolTip="课件地址"></asp:TextBox>
                                <a href="#" onclick="SkyOpenBak('txtCWAddr','txtCWExt');">[选择]</a>
                                <a href="#" onclick="SkyView('txtCWAddr');">[查看]</a>
                                 <a href="#" onclick="SkyDelete('txtSoftLogoURL');">[清空]</a>
                                

                            </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: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">
                                <asp:ListItem Value="CWState" Text="code"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle">
                                是否公开</td>
                            <td class="tabmanagertr">
                                <asp:DropDownList runat="server" ID="drpIsSY">
                                    <asp:ListItem Value="CodeYesNo" Text="codeno"></asp:ListItem>
                        </asp:DropDownList></td>
                            <td class="tablisttitle">
                                课件分类</td>
                            <td class="tabmanagertr">
                                 <asp:DropDownList runat="server" ID="drpCourseType" ToolTip="课件分类" CssClass="-1">
                                <asp:ListItem Value="CWTType" Text="codeno"></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 class="divSave">
                        <asp:Button ID="btnSubmit" runat="server" Text="保存(S)" CssClass="SkyButtonFocus"
                            OnClick="btnSubmit_Click" />
                        <asp:Button ID="btnExit" runat="server" Text="取消(C)" CssClass="SkyButtonFocus" OnClick="btnSubmit_Click" />
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
    </form>
</body>
</html>
