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


<!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>

    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
     <script language="javascript" type="text/javascript">


        function opJsTree(txt, txtValue) {
            var para = "/admin/extcourse/extcoursedefaultcourse.aspx?para=2&list=" + $("#" + txtValue).val();
            //UsOpenDialogTreeBack(para, txt, txtValue, function () { 
            //    //alert();
            //    document.getElementById("btnSearch").click();
            //});

            CareffArtOpen4(para, '课程选择', 500, 600, 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="txtSkyPID" runat="server" ToolTip="专业编号" Text="" CssClass="1" Enabled="False"></asp:TextBox>
                                </td>
                                <td class="tablisttitle">专业名称<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtSkyPName" runat="server" ToolTip="课程编号" Text="" CssClass="1" Enabled="False"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">学习学制<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList ID="drpSSystem" runat="server">
                                        <asp:ListItem Value="System">codeno</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">学期数量<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList ID="drpSkyTID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyTID_SelectedIndexChanged">
                                        <asp:ListItem Value="SkyTID">codeno</asp:ListItem>
                                    </asp:DropDownList>
                                </td>

                            </tr>
                        </table>  </div>
                          <div class="divInfo">

                        <asp:Repeater runat="server" ID="rptInfo">
                            <HeaderTemplate>
                                <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist" onmouseover="changeto()" onmouseout="changeback()">
                                    <tr class="tablisttitle">
                                        <td width="4%"><%=cHTMLFx%></td>
                                        <td>序号</td>
                                        <td>学期编号</td>
                                        <td>课程数量</td>
                                        <td>课程名称</td>
                                        <td class="nodisplay">课程编号</td>
                                    </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr class="tablisttr">
                                    <td>
                                        <asp:CheckBox runat="server" ID="chkselect" ToolTip='<%#Eval("SkyTID") %>' /></td>
                                    <td><%#Eval("SkyTID")%></td>
                                    <td><%#Eval("SkyTIDName")%></td>
                                    <td><%#Eval("ICount")%></td>

                                    <td>
                                      

                                        
                                        <asp:TextBox runat="server" ID="CourseName" Text='<%#Eval("CourseName")%>' Width="600px"></asp:TextBox>
                                        <a href="javascript:opJsTree('<%# "rptInfo_ctl0"+(Container.ItemIndex+1).ToString()+"_CourseName"%>','<%# "rptInfo_ctl0"+(Container.ItemIndex+1).ToString()+"_CourseID"%>');">[选择]</a>

                                       
                                    </td>
                                    <td class="nodisplay"><asp:TextBox runat="server" ID="CourseID" Text='<%#Eval("CourseID")%>'></asp:TextBox></td>

                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                </table>
                            </FooterTemplate>
                        </asp:Repeater>
                        </div>



                        <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 class="divInfo">
        <span class="usHelpMessage"> * 注意事项： 1.如果需要切换本专业的开课学期数，请先保存后在打开页面修改，这样能方式您选择的课程数据丢失；2.一个课程只可以在一个学期选择，否则系统自动删除在多个学期的课程；3.如果体育课和英语课等多个需要开在多个学期的课程，请制定多个课程名称；例如：英语1，英语2，英语3，英语4；


        </span>  
    </div>

            </div>
        </div>

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