<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewroomcourse.aspx.cs" Inherits="School_Web.admin.autocourse.viewroomcourse" %>

<%@ 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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>教室课程表</title>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
    <link href="../style/green/style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="/admin/js/System.js" type="text/javascript"></script>

    <script src="../js/jquery/jquery.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    $(document).ready(function() {
        $("#TabCourse tr td").click(function() {
            var selectid = $(this).attr("id");
            var s1 = selectid.substring(0, 1);
            var s2 = selectid.substring(1, 2);
            if (s1 == "0" || s2 == "0") {

            }
            else {
                var myclass = "tabmanagertrB";
                if ($(this).attr("class") == myclass) {
                    $(this).removeClass("tabmanagertrB").addClass("tabmanagertrA");
                    //$(this).html("");
                }
                else {
                    $(this).removeClass("tabmanagertrA").addClass("tabmanagertrB");
                    //$(this).html("不排");
                }
                jsSelect();
            }
        });
    });

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div id="divLoading">
                <img src="/admin/style/default/images/loading.gif" />
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <div id="tbMain">
        <div class="divTbg">
            <div class="divTbgL">
            </div>
            <div class="divTbgInfo">
                <div class="divTbgTitle">
                    <asp:Literal ID="litTitle" runat="server"></asp:Literal>课程表</div>
            </div>
        </div>
        <div class="divTbgF">
        </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 width="100" class="tablisttitle">
                                选择学期
                            </td>
                            <td class="tabmanagertr" align="left" style="width:90%">
                                <asp:DropDownList ID="drpSkyTID" runat="server" AutoPostBack="True" 
                                    onselectedindexchanged="drpSkyTID_SelectedIndexChanged">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                            <td colspan="2">
                                <div style="width: 100%;">
                                    <asp:Table ID="TabCourse" runat="server" CssClass="tablist" Width="100%" 
                                        CellPadding="0" CellSpacing="1">
                                    </asp:Table>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    </div>
    </form>
</body>
</html>
