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

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <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">
    function jscheckAll() {
        var drpSkyDID = $("#drpSkyDID").val();
        var drpSkyPID = $("#drpSkyPID").val();

        if (drpSkyDID == "-1")
        {
            alert("对不起，请选择院系！");
            return false;
        }
        if (drpSkyPID == "-1") {
            alert("对不起，请选择专业！");
            return false;
        }
       
        return true;
    }
    </script>
    <script language="javascript" type="text/javascript">
        KindEditor.ready(function (K) {
            K.create('#txtCInfo,#txtFCaiChan,#txtCNote');
        });
    </script>
</head>
<body onload="win_onLoad();">
    <form id="Form1" method="post" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate></ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div id="divLoading">
                <img src="/admin/images/loading.gif" />
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
            <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/green/images/mini_icons_046.gif" width="10" height="10" />
                                基本信息</div>
                        </li>
                    </ul>
                </div>
                <div id="mypanel">
                    <div  id="ddiv1">
                        <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" align="center" cellpadding="0" cellspacing="1" class="tablist">
                                <tr class="tablisttr">
                                    <td width="100" align="center" class="tablisttitle">
                                        隶属院系
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpSkyDID" runat="server" Width="200px" AutoPostBack="True"
                                            OnSelectedIndexChanged="drpSkyDID_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                    <td width="100" align="center" class="tablisttitle">
                                        隶属专业
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpSkyPID" runat="server" Width="200px" AutoPostBack="True"
                                            OnSelectedIndexChanged="drpSkyPID_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        班级编号
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtSkyCID" runat="server" CssClass="14" ToolTip="班级编号" Width="200px"></asp:TextBox>
                                        (不能修改,8位)
                                    </td>
                                    <td align="center" class="tablisttitle" width="100">
                                        班级名称
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtSkyCName" runat="server" CssClass="1" ToolTip="班级名称" AutoPostBack="True"
                                            OnTextChanged="txtSkyCName_TextChanged" Width="200px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        责任班主任
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtCLeader" runat="server" Width="200px"></asp:TextBox>
                                    </td>
                                    <td align="center" class="tablisttitle" width="100">
                                        助记码
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtMCode" runat="server" Width="200px" ReadOnly="True"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td width="100" align="center" class="tablisttitle">
                                        显示顺序
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtShowID" runat="server" CssClass="2" ToolTip="显示顺序" Width="200px">1</asp:TextBox>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        &nbsp; 入学时间
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtCInTime" runat="server" Width="200px">2009-01-01</asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        报名人数
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtBMNumber" runat="server" CssClass="2" ToolTip="报名人数" Width="200px">0</asp:TextBox>
                                        0 表示不启用
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        录取人数
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtLQNumber" runat="server" CssClass="2" ToolTip="录取人数" Width="200px">0</asp:TextBox>
                                        0 表示不启用
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        辅导员院系
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="DrpSkyTeacherDID" runat="server" AutoPostBack="True" CssClass="1"
                                            ToolTip="辅导员院系" OnSelectedIndexChanged="DrpSkyTeacherDID_SelectedIndexChanged"
                                            Width="200px">
                                        </asp:DropDownList>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        辅导员教师
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpSkyTeacherPID" runat="server" Width="200px" CssClass="1"
                                            ToolTip="辅导员教师">
                                            <asp:ListItem Value="-1" Text="-请选择-"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        培养方案
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtCWord" runat="server" ToolTip="培养方案" MaxLength="500" Width="200px"></asp:TextBox>
                                        <a href="#" onclick="SkyOpen('txtCWord');">[选择]</a> <a href="#" onclick="SkyView('txtCWord');">
                                            [查看]</a>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        所在教室
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtFRoom" runat="server" ToolTip="所在教室" Width="200px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td width="100" align="center" class="tablisttitle">
                                        班级介绍
                                    </td>
                                    <td class="tabmanagertr" colspan="3">
                                        <asp:TextBox ID="txtCInfo" runat="server" Width="100%" TextMode="MultiLine" Height="100px"
                                           ></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        公共财产
                                    </td>
                                    <td class="tabmanagertr" colspan="3">
                                        <asp:TextBox ID="txtFCaiChan" runat="server" 
                                            Height="100px" TextMode="MultiLine" Width="100%"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle">
                                        班级备注
                                    </td>
                                    <td class="tabmanagertr" colspan="3">
                                        <asp:TextBox ID="txtCNote" runat="server"
                                            Height="100px" TextMode="MultiLine" Width="100%"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="divSave">
                    <asp:Button ID="btnSubmit" runat="server" Text="保存(S)" CssClass="SkyButtonFocus"
                        OnClick="btnSubmit_Click" AccessKey="S" CommandName="save"></asp:Button>
                    <asp:Button ID="btnSubmitClose" runat="server" CommandName="saveclose" CssClass="SkyButtonFocus"
                        OnClick="btnSubmit_Click" Text="取消(C)" />
                </div>
            </div>
        
    </form>
</body>
</html>
