<?php if ($this->session->userdata('eposStyle') === 'LTR'): ?>
    <?php //debugPrint($services)      ?>
    <div class="tab-group">
        <!--<div  class="tab-item zaman-epos-nav epos-header-nav" onclick="settleDownNewOrderOption()" style="color: #ddfc0d; font-weight: bold; background-image: linear-gradient(to bottom,#006f8d 0,#2f3030 100%); "><span class="icon icon-basket" style="color:#ddfc0d;"></span>&nbsp;<?php echo $this->lang->line('new_order') ?></div>-->
        <?php if ((int) $this->session->userdata('group') <= 6): ?>
            <div  class="tab-item zaman-epos-nav quantity-digit" onclick="zamanEposNavigator('verified', '<?php echo site_url('settings/index/verified') ?>')"><?php echo $this->lang->line('dashboard'); ?></div>
        <?php else: ?>
            <div  class="tab-item zaman-epos-nav quantity-digit"><span class="icon icon-user"></span>&nbsp;<?php echo $this->session->userdata('name'); ?></div>
        <?php endif; ?>
        <!--<?php if ((int) $this->session->userdata('group') <= 6): ?>
            <div  class="tab-item zaman-epos-nav quantity-digit" onclick="zamanEposNavigator('', '<?php echo site_url('customer') ?>')"><?php echo $this->lang->line('customers'); ?></div>
        <?php endif; ?>-->
        <?php if ((in_array('online', $this->session->userdata('userApps')) && $services['online'] === '3') || $this->session->userdata('group') == '2'): ?>   
            <div id="onlineNotificationBtn"  class="tab-item zaman-epos-nav quantity-digit" onclick="zamanOnlineOrderPageControllerPopup()"><?php echo $this->lang->line('online') ?>&nbsp;<span id="onlineNotification"></span></div>
        <?php endif; ?>   
        <?php if ((in_array('booking', $this->session->userdata('userApps')) && $services['booking'] === '3') || $this->session->userdata('group') == '2'): ?>   
            <div id='onlineBookingNotificationBtn'  class="tab-item zaman-epos-nav quantity-digit" onclick="zamanBookingOrderPageControllerPopup('no')"><?php echo $this->lang->line('booking') ?>&nbsp;<span id="onlineBookingNotification"></span></div>
        <?php endif; ?>   
        <!--<?php if ((int) $this->session->userdata('group') <= 3): ?>    
            <div class="tab-item zaman-epos-nav epos-header-nav" onclick="zamanEposNavigator('', '<?php echo site_url('report') ?>', 'reportIndex')"><?php echo $this->lang->line('report') ?></div>      
        <?php endif; ?>-->
        <div class="tab-item zaman-epos-nav epos-header-nav myprofile" onclick="zamanUserProfileControllerPopup('myprofile')"><?php echo $this->lang->line('my_profile') ?></div>
        <div class="tab-item zaman-epos-nav epos-header-nav" onclick="zamanEposNavigator('logout', '<?php echo site_url('user/logout/' . $this->session->userdata('branch') . '/' . $this->session->userdata('team')) ?>')"><?php echo $this->lang->line('logout') ?></div>
    </div>
<?php else: ?>
    <div class="tab-group">  
        <div class="tab-item zaman-epos-nav epos-header-nav" onclick="zamanEposNavigator('logout', '<?php echo site_url('user/logout/' . $this->session->userdata('branch') . '/' . $this->session->userdata('team')) ?>')"><?php echo $this->lang->line('logout') ?></div>
        <div class="tab-item zaman-epos-nav epos-header-nav" onclick="zamanUserProfileControllerPopup()"><?php echo $this->lang->line('my_profile') ?></div>
        <!--<div class="tab-item zaman-epos-nav epos-header-nav" onclick="zamanEposNavigator('', '<?php echo site_url('report') ?>')"><?php echo $this->lang->line('report') ?></div>-->    
        <?php if ((in_array('booking', $this->session->userdata('userApps')) && $services['booking'] === '3') || $this->session->userdata('group') == '2'): ?>   
            <div id='onlineBookingNotificationBtn'  class="tab-item zaman-epos-nav quantity-digit" onclick="zamanBookingOrderPageControllerPopup('no')"><?php echo $this->lang->line('booking') ?>&nbsp;<span id="onlineBookingNotification"></span></div>
        <?php endif; ?>   
        <?php if ((in_array('online', $this->session->userdata('userApps')) && $services['online'] === '3') || $this->session->userdata('group') == '2'): ?>   
            <div id="onlineNotificationBtn"  class="tab-item zaman-epos-nav quantity-digit" onclick="zamanOnlineOrderPageControllerPopup()"><?php echo $this->lang->line('online') ?>&nbsp;<span id="onlineNotification"></span></div>
        <?php endif; ?>  
        <!--<?php if ((int) $this->session->userdata('group') <= 6): ?>
            <div  class="tab-item zaman-epos-nav epos-header-nav" onclick="zamanEposNavigator('', '<?php echo site_url('customer') ?>')"><?php echo $this->lang->line('customers'); ?></div>
        <?php endif; ?>-->
        <?php if ((int) $this->session->userdata('group') <= 6): ?>
            <div  class="tab-item zaman-epos-nav epos-header-nav" onclick="zamanEposNavigator('verified', '<?php echo site_url('settings/index/verified') ?>')"><?php echo $this->lang->line('dashboard'); ?></div>
        <?php else: ?>
            <div  class="tab-item zaman-epos-nav epos-header-nav"><?php echo $this->session->userdata('name'); ?></div>
        <?php endif; ?>
        <!--<div  class="tab-item zaman-epos-nav epos-header-nav" onclick="settleDownNewOrderOption()" style="color: #ddfc0d; font-weight: bold; background-image: linear-gradient(to bottom,#006f8d 0,#2f3030 100%); "><span class="icon icon-basket" style="color:#ddfc0d;"></span>&nbsp;<?php echo $this->lang->line('new_order') ?></div>-->
    </div>
<?php endif; ?>
<style>
    .flash-button{
        animation-name: flash;
        animation-duration: 1s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        -webkit-animation-name: flash;
        -webkit-animation-duration: 1s;
        -webkit-animation-timing-function: linear;
        -webkit-animation-iteration-count: infinite;
        -moz-animation-name: flash;
        -moz-animation-duration: 1s;
        -moz-animation-timing-function: linear;
        -moz-animation-iteration-count: infinite;
    }
    @keyframes flash {  
        0% { opacity: 1.0; }
        50% { opacity: 0.5; }
        100% { opacity: 1.0; }
    }

    @-webkit-keyframes flash {  
        0% { opacity: 1.0; }
        50% { opacity: 0.5; }
        100% { opacity: 1.0; }
    }
    @-moz-keyframes flash {  
        0% { opacity: 1.0; }
        50% { opacity: 0.5; }
        100% { opacity: 1.0; }
    }
</style>