<%@ control language="C#" autoeventwireup="true" inherits="phone_MyHeader, Web" %>
<div class="container">
    <div class="row">
        <div class="col-xs-12">
            <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
                <div class="container-full">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                            <span class="sr-only">学校网上订餐预约系统</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="/phone/OrderMeal/OrderMeal.aspx">学校网上订餐预约系统</a>
                    </div>

                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

                        <p class="navbar-text">当前用户：<asp:Literal ID="litName" runat="server"></asp:Literal></p>

                        <%--
                        <div class="navbar-form navbar-right">
                            <div class="form-group">
                                <input id="txtQuery" type="text" class="form-control" onkeydown="if(event.keyCode==13)query()">
                            </div>
                            <button id="query" type="button" class="btn btn-default" onclick="query()">
                                查询
                            </button>
                            <script type="text/javascript">
                                function query() {
                                    var query = $.trim($("#txtQuery").val());
                                    if (query == "") {
                                        return;
                                    }
                                    var slt = $("#querySelect").val();
                                    var url;
                                    switch (slt) {
                                        case "学生":
                                            url = "/head/Student/Student_Query.aspx";
                                            break;
                                        case "教师":
                                            url = "/head/Teacher/Teacher_Query.aspx";
                                            break;
                                        case "班级":
                                            url = "/head/Class/Class_Query.aspx";
                                            break;
                                        default:
                                    }
                                    location.href = url + "?query=" + query;
                                }
                            </script>
                        </div>--%>
                        
                        <ul class="nav navbar-nav navbar-left">
                                <li>
                               <a href="/phone/OrderMeal/OrderMeal.aspx">在线订餐</a>
                            </li>
                               <li class="divider"></li>
                                <li>
                                <a href="/phone/OrderMeal/CurrentOrderMeal.aspx">我的订餐</a>
                            </li>
                          </ul>
                        <ul class="nav navbar-nav navbar-right">
                          <%--  <li>
                                <a href="/phone/UpdatePass.aspx">密码修改</a>
                            </li>--%>
                            <%-- 
                             <li>    
                                <a href="/head/Question.aspx">密码找回设置</a>   
                            </li>
                            --%>
                            <li class="divider"></li>
                            <li>
                                <a href="/phone/Login.aspx?e=s">退出登录</a>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">相关产品<strong class="caret"></strong></a>
                                <ul class="dropdown-menu" style="max-height: 586px; overflow-x: hidden; overflow-y: scroll; width: 280px;margin-top:2px;">
                                    <asp:Literal ID="Lit_Product" runat="server"></asp:Literal>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </nav>
            <!-- Large modal -->
        </div>
    </div>
</div>
