<%@ control language="C#" autoeventwireup="true" inherits="admin_MyHeader, ALL" %>
<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">
                    <asp:Literal ID="litTitle" runat="server"></asp:Literal></span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/admin/Home.aspx">  <img src="/control/logo.png" style="height: 35px; margin-top: -5px; display: inline-block" />会议室预约系统
            </a>
        </div>

        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-asterisk"></i>&nbsp;基础设置<strong class="caret"></strong></a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="/admin/Equipment/Equipment.aspx"><i class="glyphicon glyphicon-hdd"></i>&nbsp;会议设备类型</a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="/admin/N25175_Config.aspx"><i class="glyphicon glyphicon-asterisk"></i>&nbsp;高级设置</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="/admin/Department/Department.aspx"><i class="glyphicon glyphicon-briefcase"></i>&nbsp;机构管理</a>
                </li>
                <li>
                    <a href="/admin/Employee/Employee.aspx"><i class="glyphicon glyphicon-user"></i>&nbsp;用户管理</a>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-user"></i>&nbsp;外部人员管理<strong class="caret"></strong></a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="/admin/Company/Company.aspx"><i class="glyphicon glyphicon-home"></i>&nbsp;单位管理</a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="/admin/ExternalPerson/ExternalPerson.aspx"><i class="glyphicon glyphicon-user"></i>&nbsp;外部人员管理</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="/admin/Room/Room.aspx"><i class="glyphicon glyphicon-home"></i>&nbsp;会议室管理</a>
                </li>

                <li>
                    <a href="/admin/Meeting/Meeting.aspx"><i class="glyphicon glyphicon-comment"></i>&nbsp;会议管理</a>
                </li>


                <li>
                    <a href="/admin/log/log.aspx"><i class="glyphicon glyphicon-book"></i>&nbsp;日志管理</a>
                </li>

   

          <%--  <li>
                       <a href="javascript:void(0)" data-toggle="modal" data-target="#myModal"><i class="glyphicon glyphicon-search"></i> 订餐查询</a>
                </li>
                --%>
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <%--          <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">账号设置<strong class="caret"></strong></a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="/sys/UpdatePass.aspx">密码修改</a> 
                        </li>
                        <li>
                            <a href="/sys/Question.aspx">密码找回设置</a>
                        </li>
                      
                        <li class="divider"></li>
                        <li>
                            <a href="/admin/SysLogin.aspx?e=t">退出登录</a>
                        </li>
                    </ul>
                </li>--%>
                <li>
                    <a href="/admin/SysLogin.aspx?e=t">退出登录</a>
                </li>

                        <li>
                        <a href="#" data-toggle="dropdown">
                            <i class="glyphicon glyphicon-link   m-right-xs"></i>
                            相关产品
							
                            <i class="ion-ios7-arrow-down"></i>
                        </a>
                        <ul id="pList1" style="width: 250px;max-height: 500px;overflow: auto;" class="dropdown-menu dropdown-3  pull-right product-link">
                        </ul>
                    </li>
                    <script type="text/javascript">

                        $(function () {
                            var pl = getCookie("plist");
                            if (pl == "") {
                                $.ajax({
                                    type: "POST",
                                    contentType: "application/json", 
                                    url: 'http://reg.25175.com/systype.ashx',
                                    dataType: "JSONP",
                                    jsonp: "callback",
                                    success: function (data) {
                                        var list = data.data;
                                        var p = "";
                                        for (var i = 0; i < list.length; i++) {
                                            var pitem = list[i];
                                            p += "<li><a style='float:left;width:180px' target='_blank' href=\"" + pitem.SysLink + "\">" + pitem.SysTypeName + "</a> <button onclick=\"location.href='http://reg.25175.com/Admin/DownLoad.ashx?SysID=" + pitem.ID + "'\" style='float:left;width:40px;margin-top:8px;' class=' btn btn-info btn-xs'>下载</button></li>";
                                         
                                        }
                                        $("#pList1").html(p);
                                    }
                                })
                            } else {

                            }
                        })
                        function setCookie(c_name, value, expiredays) {
                            var exdate = new Date()
                            exdate.setDate(exdate.getDate() + expiredays)
                            document.cookie = c_name + "=" + escape(value) +
                            ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString())
                        }
                        function getCookie(c_name) {
                            if (document.cookie.length > 0) {
                                c_start = document.cookie.indexOf(c_name + "=")
                                if (c_start != -1) {
                                    c_start = c_start + c_name.length + 1
                                    c_end = document.cookie.indexOf(";", c_start)
                                    if (c_end == -1) c_end = document.cookie.length
                                    return unescape(document.cookie.substring(c_start, c_end))
                                }
                            }
                            return ""
                        }

                    </script>
            </ul>




        </div>
</nav>
<!-- Large modal -->

<%--<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">选择订餐日期</h4>
            </div>
            <div class="modal-body">
                    <div class="form-group">
                    <label class=" control-label">
                        订餐日期：
                    </label>
                    <input id="txtQueryStart" name="start" class="form-control" type="text">
                </div>
                <div id="divQueryStart"> </div>
            </div>

            <div class="modal-footer">
                <input id="btnSubmit" type="button" value="显示订餐信息" onclick="showOrderMeal($('#txtQueryStart').val())" class="btn btn-lg btn-block btn-primary" />
            </div>
        </div>
    </div>
</div>--%>
<%--<script type="text/javascript">
    $(function () {
        var pl = getCookie("sdate");
        $("#divQueryStart").datepicker({
            language: "zh-CN",
            format: "yyyy-mm-dd",
            todayBtn: "linked",
        
            todayHighlight:true
        });
        $('#divQueryStart').on('changeDate', function () {
            showOrderMeal($('#divQueryStart').datepicker('getFormattedDate'));
        });
        $("#txtQueryStart").datepicker({
            language: "zh-CN",
            autoclose : true,
            format: "yyyy-mm-dd",
            todayBtn: "linked",
            todayHighlight: true
        });


        $("#txtQueryStart").val(pl);
    });

    function showOrderMeal(date) {
        setCookie("sdate",date);
        location.href = "/sys/Main.aspx?date=" + date;
    }

</script>
<script type="text/javascript">
    function setCookie(c_name, value, expiredays) {
        var exdate = new Date()
        exdate.setDate(exdate.getDate() + expiredays)
        document.cookie = c_name + "=" + escape(value) +
        ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString())
    }
    function getCookie(c_name) {
        if (document.cookie.length > 0) {
            c_start = document.cookie.indexOf(c_name + "=")
            if (c_start != -1) {
                c_start = c_start + c_name.length + 1
                c_end = document.cookie.indexOf(";", c_start)
                if (c_end == -1) c_end = document.cookie.length
                return unescape(document.cookie.substring(c_start, c_end))
            }
        }
        return ""
    }
</script>--%>
<div id="weixin" class="weixin">
    <a href="javascript:;" class="weixin_s"><i class="glyphicon glyphicon-qrcode"></i>
    </a>
    <div class="weixin_b">
        <img src="/control/qrcode.jpg">
    </div>
</div>

<script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "1", "bdMiniList": ["sqq", "copy", "mshare", "qzone", "tsina", "weixin", "tqq", "douban"], "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "slide": { "type": "slide", "bdImg": "2", "bdPos": "right", "bdTop": "100" } }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>





