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

<!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" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <title>默认课程管理</title>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>

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

    <script language="javascript" type="text/javascript">


        function opJsTree(txt, txtValue,sType) {
            var para = "/admin/extcourse/defaultcoursetreeforteacher.aspx?para=2&list=" + $("#" + txtValue).val() + "&stype=" + sType;
            CareffArtOpen4(para, '课程选择', 500, 580, function (path) {
                //alert(path);
                if (path == null) { return false; }
                var strs = path.split("#")
                var m = $id(txt)
                m.value = strs[1];
                //alert(txtValue);
                var m1 = $id(txtValue)
                m1.value = strs[0];
                //document.getElementById("btnSearch").click();

            });
        }
    </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" onmouseover="changeto()" onmouseout="changeback()">
                            <tr class="tablisttr">
                                <td class="tablisttitle">课程编号<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtCourseID" runat="server" ToolTip="课程编号" Text="" CssClass="1" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td class="tablisttitle">课程名称<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtCourseName" runat="server" ToolTip="课程名称" Text="" CssClass="1"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">课程类型<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpCourseType" ToolTip="课程类型" CssClass="1">
                                        <asp:ListItem Value="CourseType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">学习类型<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpCourseSType" ToolTip="学习类型" CssClass="1">
                                        <asp:ListItem Value="CourseSType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">课程学时<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtCourseHours" runat="server" ToolTip="课程学时" Text="" CssClass="1"></asp:TextBox>
                                  (每周节数)</td>
                                <td class="tablisttitle">课程学分<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpCourseCredit" ToolTip="课程学分" CssClass="1">
                                        <asp:ListItem Value="CourseCredit" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">课程代码</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtCCode" runat="server" ToolTip="课程代码" Text="" ></asp:TextBox>
                                </td>
                                <td class="tablisttitle">教室要求</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpRoomType" ToolTip="教室要求">
                                        <asp:ListItem Value="RoomType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <%--<tr class="tablisttr">
                                <td class="tablisttitle">考试类型</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpCourseEType" ToolTip="考试类型" CssClass="1">
                                        <asp:ListItem Value="CourseEType" 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="txtCourseHoursAll" runat="server" ToolTip="课程总学时" Text="" CssClass="2"></asp:TextBox>
                                  (课程总学时)</td>
                                <td class="tablisttitle">基础课程</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpCourseBasic" ToolTip="基础课程">
                                        <asp:ListItem Value="CodeYesNo" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList></td>
                            </tr>
                           <tr class="tablisttr">
                                <td class="tablisttitle">开课学期数</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtCourseTermNumber" runat="server" ToolTip="开课学期数" Text="1" CssClass="2"></asp:TextBox>
                                  </td>
                                <td class="tablisttitle">&nbsp;</td>
                                <td class="tabmanagertr">
                                    &nbsp;</td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">开课教师</td>
                                <td class="tabmanagertr" colspan="3">
                                    <asp:TextBox ID="txtUserName" runat="server" ToolTip="开课教师" Text="" Width="90%"></asp:TextBox>
                                    <a href="javascript:opJsTree('txtUserName','txtUserID','1');">[选择]</a>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">课程教材</td>
                                <td class="tabmanagertr" colspan="3">
                                    <asp:TextBox ID="txtBName" runat="server" ToolTip="课程教材" Text=""  Width="90%" ></asp:TextBox>
                                    <a href="javascript:opJsTree('txtBName','txtISBN','2');">[选择]</a>


                                    <div class=" nodisplay"><asp:TextBox ID="txtUserID" runat="server" Text="" ></asp:TextBox><asp:TextBox ID="txtISBN" runat="server" Text="" ></asp:TextBox></div>
</td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">课程备注</td>
                                <td class="tabmanagertr" colspan="3">
                                    <asp:TextBox ID="txtCourseInfo" runat="server" Width="100%" TextMode="MultiLine" Height="200px"></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 class="divInfo">
            <span class="usHelpMessage">* 注意事项： 1、课程类型为必修课程的可以通过开课系统进行开课；
        <br />
                2、选修课程需要在选修课程系统内部进行使用；
        <br />
                3、课程学时为该课程每学期需要上课的总学时，影响排课系统，可根据自己需要手动填写；</span>
        </div>
    </form>
</body>
</html>
