<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="col_ClassControlPanel.ascx.cs" Inherits="MTCUN.Mobile.User_Col.col_ClassControlPanel" %>
<script type="text/javascript">


    //选择菜单代码:::::::::::::
    var lastSelected = null;

    function Selected(sender, gotoUrl) {
        if (sender == lastSelected) {
           window.location = gotoUrl;
            return;
        }

        sender.parentNode.className = "active";
        if (lastSelected != null) {
            lastSelected.parentNode.className = "";
        }

        lastSelected = sender;
        window.location = gotoUrl;
    }

</script>
<div style="width: 100%" class="mt-classheader">
    <ul class="nav nav-tabs">
        <li style="margin-left: 5px"><a href="#" id="tdShow1" onclick="Selected(this,'Class.aspx?ClassID='+__ControlPanel_ClassID)">基本</a>
        </li>
        <li><a href="#" id="tdShow2" onclick="Selected(this,'ClassStudents.aspx?ClassID='+__ControlPanel_ClassID)">学员</a>
        </li>

        <li><a href="#" id="tdShow3" onclick="Selected(this,'LessonTime.aspx?ClassID='+__ControlPanel_ClassID)">上课</a>
        </li>
        <li>
            <label class="btn btn-warning glyphicon glyphicon-arrow-up" onclick="__mt_location(url);void(0);">返回</label></li>
    </ul>
</div>

<script type="text/javascript">
    document.getElementById("tdShow" + __ControlPanel_SelectIndex).parentNode.className = "active";
</script>
