<ul class="nav navbar-right">

    <!-- start: NOTIFICATION DROPDOWN -->
    <!--<li class="dropdown hidden-xs">
                        <a class="btn pos-tip" title="" data-placement="bottom" href="<?php echo base_url('pos/view_bill'); ?>" target="new" data-original-title="View Bill Screen" tabindex="-1">
                        <i class="fa fa-laptop fa-2x"></i>
                        </a>
                        </li>-->
    <?php
    $Common_Model = new Common_Model();
    if ($Common_Model->check_permission(116, $this->session->userdata('ss_group_id'), 1)) {
    ?>
        <?php if ($this->session->userdata('ss_cashier_float_status') == 0) {   ?>
            <li class="btn hidden-xs">
                <a class="btn pos-tip" title="" data-placement="bottom" href="<?php echo base_url('cash_balance/cash_float_open'); ?>" target="new" data-original-title="POS" tabindex="-1">
                    <i class="fa fa-money "> Start New Cashier Shift</i></a>
            </li>
            <li class="dropdown hidden-xs">
                <a class="btn pos-tip" title="" data-placement="bottom" href="<?php echo base_url('cash_balance/cash_float_open'); ?>" target="new" data-original-title="POS" tabindex="-1">
                    <i class="clip-grid-5 fa-2x"></i></a>
            </li>
        <?php } else { ?>
            <li class="btn hidden-xs">
                <a class="btn pos-tip" title="" data-placement="bottom" href="<?php echo base_url('cash_balance/cash_float_close'); ?>" target="new" data-original-title="POS" tabindex="-1">
                    <i class="fa fa-money "> End Cashier Shift</i></a>
            </li>
            <li class="dropdown hidden-xs">
                <a class="btn pos-tip" title="" data-placement="bottom" href="<?php echo base_url('bar'); ?>" target="new" data-original-title="POS" tabindex="-1">
                    <i class="clip-grid-5 fa-2x"></i></a>
            </li>
        <?php } ?>
        <li class="dropdown hidden-xs">
            <a class="btn pos-tip" title="" data-placement="bottom" href="<?php echo base_url('dashboard'); ?>" target="new" data-original-title="Dashbord Screen" tabindex="-1">
                <i class="fa fa-laptop fa-2x"></i>
            </a>
        </li>

    <?php
    }
    ?>

    <li class="dropdown"> <a data-toggle="dropdown" data-hover="dropdown" class="dropdown-toggle" data-close-others="true" href="#"> <i class="clip-notification-2"></i> <span class="badge"> 0</span> </a>
        <ul class="dropdown-menu notifications">
            <li> <span class="dropdown-menu-title"> You have 0 notifications</span> </li>
            <li>
                <div class="drop-down-wrapper">
                    <ul>
                        <li> <a href="javascript:void(0)"> <span class="label label-primary"><i class="fa fa-user"></i></span> <span class="message"> New user registration</span> <span class="time"> 1 min</span> </a> </li>
                        <li> <a href="javascript:void(0)"> <span class="label label-success"><i class="fa fa-comment"></i></span> <span class="message"> New comment</span> <span class="time"> 7 min</span> </a></li>
                        -->
                    </ul>
                </div>
            </li>
            <li class="view-all"> <a href="javascript:void(0)"> See all notifications <i class="fa fa-arrow-circle-o-right"></i> </a> </li>
        </ul>
    </li>

    <!-- end: NOTIFICATION DROPDOWN -->

    <!-- start: USER DROPDOWN -->

    <li class="dropdown current-user"> <a data-toggle="dropdown" data-hover="dropdown" class="dropdown-toggle" data-close-others="true" href="#">

            <!--<img src="assets/images/avatar-1-small.jpg" class="circle-img" alt="">-->

            <span class="username">Welcome <?php echo $this->session->userdata('ss_user_first_name'); ?> (<?php echo $this->session->userdata('ss_user_group_name'); ?>) </span> <i class="clip-chevron-down"></i>
        </a>
        <ul class="dropdown-menu">
            <li> <a href="#<?php //echo base_url('users/create_user'); 
                            ?>"> <i class="clip-user-2"></i> &nbsp;My Profile </a> </li>
            <li> <a href="<?php echo base_url('logout'); ?>"> <i class="clip-exit"></i> &nbsp;Log Out </a> </li>
            <?php 
                if($this->session->userdata('ss_user_first_name') == 'developer'){
                    if(ENVIRONMENT == 'production')
                        echo '<li> <a href="'.base_url('dev.php?f=turn_on').'"> <i class="clip-notification"></i> &nbsp;Turn Developer Mode ON </a> </li>';
                    else
                        echo '<li> <a href="'.base_url('dev.php?f=turn_off_for_me').'"> <i class="clip-notification"></i> &nbsp;Turn Developer Mode OFF </a> </li>';
                } 
            ?>
        </ul>
    </li>

    <!-- end: USER DROPDOWN -->

</ul>