
<style>
  .navbar2 {

        padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.navbar2 {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
}
.navbar-light .navbar-brand2 {
    color: rgba(0,0,0,.9);
}
.navbar-brand2 {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.navbar-collapse2 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-align: center;
    align-items: center;
}
.navbar-nav2 {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.navbar-light .navbar-nav2 .active>.nav-link2, .navbar-light .navbar-nav2 .nav-link2.active, .navbar-light .navbar-nav2 .nav-link2.show, .navbar-light .navbar-nav2 .show>.nav-link2 {
    color: rgba(0,0,0,.9);
}
.navbar-nav2 .nav-link2 {
    padding-right: 0;
    padding-left: 0;
}
.navbar-nav2 .nav-link2 {
    display: block;
    padding: .5rem 1rem;
}
</style>
<nav class="navbar2 navbar-light light-blue lighten-4" style="padding-bottom: 10px;margin-bottom: 0px;">
  <!-- Collapse button -->
  <button class="navbar-toggler toggler-example ml-3" type="button" data-toggle="collapse" data-target="#navbarSupportedContent1"
    aria-controls="navbarSupportedContent1" aria-expanded="false" aria-label="Toggle navigation"><span class="dark-blue-text"><i
        class="fas fa-bars fa-1x" style="color:#958778;"></i></span></button>  
   <a class="navbar-brand2" href="/portable/adminmain">
          <img src="/assets/img/logo.png" alt="" style="max-width: 26vw;height:auto">
        </a>

  <!-- Navbar brand -->
  <a class="navbar-brand" href="/portable/login/logout"><i
        class="fas fa-power-off fa-1x " style="color:#958778;"></i><span style="color:#958778;" class="ml-1">登出</span></a>



  <!-- Collapsible content -->
  <div class="collapse navbar-collapse2" id="navbarSupportedContent1">

    <!-- Links -->
    <ul class="navbar-nav2 ml-auto mr-auto">
        <?php if($this->session->userdata('brcustomer_add')==1){?>
      <li class="nav-item <?php if(!empty($activemenu)){ 
        if($activemenu=='newcustomer'){ echo 'active';} }?> py-2" style="text-align: center; border-top: 1px solid #958778;">
        <a class="nav-link2 h5" href="/portable/brcustomeradmin/add" >新客戶登記 <span class="sr-only">(current)</span></a>
      </li>
       <?php }//if($this->session->userdata('brcustomer_add')==1)?>
      <?php if($this->session->userdata('brcustomer_access')==1){?>
      <li class="nav-item  <?php if(!empty($activemenu)){ 
        if($activemenu=='customer'){ echo 'active';} }?> py-2" style="text-align: center; border-top: 1px solid #958778;">
        <a class="nav-link2 h5" href="/portable/brcustomeradmin/allperson" >客戶管理</a>
      </li>
        <?php }//if($this->session->userdata('brcustomer_access')==1){?>
     <?php if($this->session->userdata('brbooking_access')==1){?>
      <li class="nav-item <?php if(!empty($activemenu)){ 
        if($activemenu=='checkout'){ echo 'active';} }?> py-2" style="text-align: center; border-top: 1px solid #958778;">
        <a class="nav-link2 h5" href="/portable/brbookinglist" >客戶簽走</a>
      </li>
       <?php }//if($this->session->userdata('brbooking_access')==1){?>
    </ul>
    <!-- Links -->

  </div>
  <!-- Collapsible content -->

</nav>
<!--/.Navbar-->