<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="col_StuControlPanel.ascx.cs" Inherits="MTCUN.Mobile.User_Col.col_StuControlPanel" %>
    <link id="linkStyle" runat="server" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"
        type="text/css" />

<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>
<style type="text/css">
    .Nav_td {
        width: 50px;
        border-style: solid;
        border-width: 0px 0px 2px 0px;
        border-color: #F8FCFF;
        cursor: pointer;
        height: 25px;
        text-align: center;
    }

    .TdSelected {
        width: 50px;
        border-style: solid;
        border-width: 1px 1px 2px 1px;
        border-color: #F8FCFF;
        background-repeat: repeat-x;
        text-align: center;
        height: 25px;
    }

    .control_panel td div {
        height: 1px;
        font-size: 1px;
        line-height: 1px;
    }

    .control_panel ul li {
        display: inline-block;
        text-align: center;
        line-height: 25px;
        padding: 4px;
        vertical-align: middle;
        margin: 0px;
        margin-bottom: 2px;
        margin-right: -4px;
        width: 50px;
        border-style: solid;
        border-width: 0px 0px 2px 0px;
        border-color: #F8FCFF;
        cursor: pointer;
        height: 25px;
        text-align: center;
    }
</style>
<div style="width: 100%">
    <div class="control_panel">
        <ul class="nav nav-tabs">
            <li style="margin-left: 20px"><a href="#" id="tdShow1" onclick="Selected(this,'StudentShow.aspx?StudentID='+__ControlPanel_StudentID)">基本</a>
            </li>
            <li><a href="#" id="tdShow2" onclick="Selected(this,'StuPayment.aspx?StudentID='+__ControlPanel_StudentID)">钱包</a>
            </li>
            <li><a href="#" id="tdShow3" onclick="Selected(this,'StuBill.aspx?StudentID='+__ControlPanel_StudentID)">消费单</a>
            </li>
            <li><a href="#" id="tdShow4" onclick="Selected(this,'StuProduct.aspx?StudentID='+__ControlPanel_StudentID)">已购</a>
            </li>

            <li><a href="#" id="tdShow5" onclick="Selected(this,'StuClass.aspx?StudentID='+__ControlPanel_StudentID)">班级</a>
            </li>
            <li>
                <label class="btn btn-warning glyphicon glyphicon-arrow-up" onclick="__mt_location(url);void(0);">返回</label></li>
        </ul>
    </div>
</div>

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