  <div class="container"> 
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
      <a class="navbar-brand" href="index"><img src="public/media/img/logo.png" class="img-responsive" /></a> </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" style="max-height:none!important;">
      <ul class="nav navbar-nav navbar-right" id="main_navigation">
        <li> <a href="index">Home</a> </li>
        <li> <a href="javascript:void(0);" id="nav_search">Search</a> </li>
        <!--
        <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Events <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <?php //$rivermedia->event_dropdown(); ?>
          </ul>
        </li>
        <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Authors, Artists &amp; Speakers <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <?php //$rivermedia->origin_dropdown(); ?>
          </ul>
        </li>
        <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Media types <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <?php //$rivermedia->category_dropdown(); ?>
          </ul>
        </li>
        -->
        <li id="cart_link"> <a href="view_cart" id="nav_cart"><i class="fa fa-shopping-cart fa_nav" aria-hidden="true"></i><span class="badge"><?php $rivermedia->total_cart_count(); ?></span></a> </li>
        <li> <a href="contact"><i class="fa fa-envelope fa_nav" aria-hidden="true"></i></a> </li>
        <li class="dropdown"> <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user" aria-hidden="true"></i> <?php if (isset($_SESSION['customerlogin_info'])) {echo 'My account'; ?><?php } else { ?>Account<?php }; ?> <b class="caret"></b></a> 
          <ul class="dropdown-menu">
            <li> <a href="javascript:void(0);"><i class="fa fa-list" aria-hidden="true"></i> <?php if (isset($_SESSION['customerlogin_info'])) { ?>Update details<?php } else {; ?>Create new account<?php }; ?></a> </li>
            <?php if (isset($_SESSION['customerlogin_info'])) { ?><li> <a href="list_invoices"><i class="fa fa-file-text-o" aria-hidden="true"></i>&nbsp;Invoices</a> </li> <?php }; ?>
            <li> <a href="javascript:void(0);"><?php if (isset($_SESSION['customerlogin_info'])) { ?><i class="fa fa-sign-out" aria-hidden="true"></i> Sign out<?php } else {?><i class="fa fa-sign-in" aria-hidden="true"></i> Sign in<?php }; ?></a> </li>
          </ul>
        </li>
      </ul>
    </div>
    <!-- /.navbar-collapse --> 
  </div>
  <!-- /.container --> 
