<%@ control language="C#" autoeventwireup="true" inherits="sysadmin_NewHeader, App_Web_newheader.ascx.9de8af5a" %>
      <!-------------头部导航------------------>
        <nav class="top-nav" style="position: fixed;">
            <div class="nav-header">
                <!--移动模式右侧按钮-->
                <%--<ul class="nav-right-btn pull-right">
                    <li>
                        <a href="/sadmin/Dashboard.aspx" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-cog"></i></a>
                        <ul class="dropdown-menu dropdown-sm pull-right user-dropdown">
                            <li class="user-avatar clearfix">
                                <img src="/images/head.png" alt="" class="img-circle">
                                <div class="user-content">
                                    <h5 class="no-m-bottom">管理员</h5>
                                </div>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="25175_a_userList.html">用户
									
                                    <span class="badge badge-success bounceIn animation-delay3 pull-right">2</span>
                                </a>
                            </li>
                            <li>
                                <a href="25175_a_repairList.html">保修申请单
									
                                    <span class="badge badge-danger bounceIn animation-delay4 pull-right">7</span>
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="#" class="sidebarRight-toggle-product inline-block">相关产品<i class="ion-ios7-arrow-right pull-right"></i></a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="#" class="sidebarRight-toggle inline-block">管理设置<i class="ion-ios7-arrow-right pull-right"></i></a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="/sadmin/UpdatePass.aspx">修改密码</a>
                            </li>
                            <li>
                                <a href="/SysLogin.aspx?e=s">退出登录</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="http://www.25175.net/" target="_Blank">技术支持</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="/index.html">返回前台</a>
                            </li>
                        </ul>
                    </li>  

                </ul>--%>
                <div id="weixin" class="weixin">
                    <a href="javascript:;" class="weixin_s"><i class="glyphicon glyphicon-qrcode"></i>
                    </a>
                    <div class="weixin_b">
                        <img src="/sadmin/qrcode.jpg">
                    </div>
                </div>
                <!--logo-->
                <a href="/sadmin/Dashboard.aspx" class="brand">
                    <img src="/images/logo.png">网上预约平台
				</a>
            </div>
            <div class="nav-container">
                <div class="navbar-left">
                    <div class="nav-search">
                        <form id="search" method="get" action="/sadmin/User/UserQuery.aspx" onsubmit="return befSearch()">
                            <input type="text" id="txtsearch" name="search" class="form-control input-sm inline-block"  
                                placeholder="输入手机号码查询对应信息">
                            <button type="submit" class="input-icon text-primary">
                                <i class="ion-ios7-search-strong"></i>
                            </button>
                            <script type="text/javascript">

                                function befSearch() {
                                    var search = $("#txtsearch").val();
                                    if ($.trim(search)=="") {
                                        return false;
                                    }
                                    return true;
                                }

                            </script>
                        </form>
                    </div>
                </div>
                <ul class="navbar-right">
                    <li class="user-block dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="/images/head.png" alt="" class="inline-block user-profile-pic img-circle">
                            <div class="user-detail inline-block">
                                <%=adminName%>
                                <i class="ion-ios7-arrow-down"></i>
                            </div>
                        </a>
                        <ul class="dropdown-menu pull-right" role="menu">
                            <li>
                                <a href="/sadmin/UpdatePass.aspx">修改密码</a>
                            </li>
                            <li>
                                <a href="/sadmin/Question.aspx">密码找回设置</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="/SysLogin.aspx?e=s">退出登录</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="http://www.25175.net/" target="_Blank">技术支持</a>
                            </li>
                        </ul>
                    </li>

                    <li class="dropdown">
                        <a href="#"  data-toggle="dropdown">
                            <i class="glyphicon glyphicon-user m-right-sm"></i>
                            人员列表
                             <i class="ion-ios7-arrow-down"></i>
                        </a>
                        <ul class="dropdown-menu notification dropdown-3 pull-right">
                             <li>
                                <a href="/sadmin/User/User.aspx">用户列表 </a>
                            </li>
                            <li>
                                <a href="/sadmin/User/Admin.aspx">管理员列表</a>
                            </li>
                        </ul>
                    </li>

                    <li>
                        <a href="#" data-toggle="dropdown">
                            <i class="glyphicon glyphicon-bell  m-right-sm"></i>
                            预约设备
                            <i class="ion-ios7-arrow-down"></i>
                        </a>

                        <span class="badge badge-danger bounceIn animation-delay6 active">
                            <asp:Literal ID="litCount" runat="server"></asp:Literal>
                        </span>

                        <ul class="dropdown-menu notification dropdown-3 pull-right">
                             <li>
                                <a href="/sadmin/Project.aspx"> 预约课题实验 </a>
                            </li>
                            <li>
                                <a href="/sadmin/Equipment/Equipment.aspx"> 预约设备 </a>
                            </li>

                            <li>
                                <a href="/sadmin/Equipment/EquipmentCreate.aspx"> 新增预约设备 </a>
                            </li>

                            <li class="divider"></li>

                            <li>
                                <a href="/sadmin/Booking/Booking.aspx">全部预约</a>
                            </li>

                            <li>
                                <a href="/sadmin/Booking/BookingNotAudit.aspx">未审核预约 <span class="badge badge-danger "><asp:Literal ID="litCount2" runat="server"></asp:Literal></span></a>
                            </li>

                            <li class="divider"></li>
                            <li>
                                <a href="/sadmin/EquipmentUse/EquipmentUse.aspx">时间分配记录</a>
                            </li>

                            <li>
                                <a href="/sadmin/EquipmentUse/EquipmentUseCreate.aspx">新增时间分配</a>
                            </li>

                            <%--<li>
                                <a href="/sadmin/Equipment/Equipment_UseStatistics.aspx">累计时长统计</a>
                            </li>--%>
                             <li>
                                <a href="/sadmin/Equipment/Equipment_UseSearch.aspx">仪器使用统计</a>
                            </li>
                        </ul>
                    </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;" class="dropdown-menu dropdown-3  pull-right product-link">
                           
                        </ul>
                    </li>
                  <script type="text/javascript">

                      window.onload=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>
                    <!--nav 管理设置-->
                  <%-- <li>
                        <a href="#" class="sidebarRight-toggle"><i class="glyphicon glyphicon-cog"></i></a>
                    </li>--%>
                </ul>
            </div>
        </nav>
        <!--/头部导航-->

        <!------------头部导航-右侧管理设置（页面左移弹出）------------>
       <%--<div class="sidebar-right">
            <div class="sidebar-inner scrollable-sidebar">
                <div class="sidebar-header clearfix">
                    管理设置
				
                </div>
                <div class="content-block">
                    <ul class="sidebar-list">
                        <li>
                            <a href="#">报修须知</a>
                        </li>
                        <li>
                            <a href="#">评价须知</a>
                        </li>
                        <li>
                            <a href="#">底部信息</a>
                        </li>
                        <li>
                            <a href="#">横幅图片</a>
                        </li>
                        <li>
                            <a href="#">首页二维码</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>--%>
        <!------------头部导航-右侧相关产品（页面左移弹出）------------>
        <%--<div class="sidebar-right-product">
            <div class="sidebar-inner scrollable-sidebar">
                <div class="sidebar-header clearfix">
                    相关产品
				
                </div>
                <div class="content-block">
                    <ul class="sidebar-list">
                        <li>
                            <a href="#">相关产品一</a>
                        </li>
                        <li>
                            <a href="#">相关产品二</a>
                        </li>
                        <li>
                            <a href="#">相关产品三</a>
                        </li>
                        <li>
                            <a href="#">相关产品四</a>
                        </li>
                        <li>
                            <a href="#">相关产品五</a>
                        </li>
                        <li>
                            <a href="#">相关产品六</a>
                        </li>
                        <li>
                            <a href="#">相关产品七</a>
                        </li>
                        <li>
                            <a href="#">相关产品八</a>
                        </li>
                        <li>
                            <a href="#">相关产品九</a>
                        </li>
                        <li>
                            <a href="#">相关产品十</a>
                        </li>
                        <li>
                            <a href="#">相关产品十一</a>
                        </li>
                        <li>
                            <a href="#">相关产品十二</a>
                        </li>
                        <li>
                            <a href="#">相关产品十三</a>
                        </li>
                        <li>
                            <a href="#">相关产品十四</a>
                        </li>
                        <li>
                            <a href="#">相关产品十五</a>
                        </li>
                        <li>
                            <a href="#">相关产品十六</a>
                        </li>
                        <li>
                            <a href="#">相关产品十七</a>
                        </li>
                        <li>
                            <a href="#">相关产品十八</a>
                        </li>
                        <li>
                            <a href="#">相关产品十九</a>
                        </li>
                        <li>
                            <a href="#">相关产品二十</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>--%>