Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <<<<<<< HEAD
- <li class="dropdown notifications hidden-xs">
- <a class="dropdown-toggle notification" data-toggle="dropdown" href="#"><i class="fa fa-bell fa-lg <?php if($notificationCount>0){ echo 'active'; }?>"></i><em id="notif-1"></em></a>
- <ul class="dropdown-menu notifications-drop" role="menu"></ul>
- </li>
- <li class="notifications hidden-xs">
- <a rel="Messages" href="<?php echo $this->Html->url('/', true) ?>inbox"><i class="fa fa-envelope fa-lg msgicon <?php if($messageCount>0){ echo 'active'; }?>"></i><em id="notif-2"><?php echo $messageCount?></em></a>
- </li>
- </li>
- <li class="dropdown userMenu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo __('Welcome ')?> <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu">
- <?php if($userType == 'student'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'students/'.$this->Session->read('Student.id').'/'.$this->Session->read('User.sl_id');?>"><?php echo __('My Profile')?><i class="fa fa-user"></i></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'advisor'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'advisors/'.$this->Session->read('Advisor.id').'/'.$this->Session->read('User.sl_id');?>"><i class="fa fa-user"></i><?php echo __('My Profile')?></a>
- </li>
- <?php if ($this->Session->check('User.company_id')){ ?>
- <li>
- <a id="menu_company_slug" href="<?php echo $this->Html->url('/companies/'.$this->Session->read('User.company_id').'/'.$this->Session->read('User.company_sl_id'), true);?>"><i class="fa fa-flag"></i><?php echo __('Company Page'); ?></a>
- </li>
- <?php }else{ ?>
- <li>
- <a href="<?php echo $this->Html->url('/edit_company/', true);?>"><i class="fa fa-flag"></i><?php echo __('Company Page')?></a>
- </li>
- <?php } ?>
- <?php endif;?>
- <?php if($userType == 'school_admin'):?>
- <?php if($this->Session->read('User.multiple_schools')): ?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'choose_school'?>"><i class="fa fa-flag"></i><?php echo __('My Schools'); ?></a>
- </li>
- <?php else: ?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'schools/'. $this->Session->read('School.id') . "/" . $this->Session->read('School.sl_id');?>"><i class="fa fa-flag"></i><?php echo __('My Schools')?></a>
- </li>
- <?php endif; ?>
- <?php endif;?>
- <?php if($userType != 'super_admin'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'inbox';?>"><i class="fa fa-envelope"></i><?php echo __('My Messages')?></a>
- </li>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'favorites/my_favorites/';?>"><i class="fa fa-heart"></i><?php echo __('My Favorites')?></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'advisor'): ?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?> <span class="label label-warning"><?php echo __('new')?></span></a>
- </li>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'my_team/'.base64_encode(convert_uuencode($this->Session->read('User.id')));?>"><i class="fa fa-users"></i><?php echo __('My Team')?> <span class="label label-warning"><?php echo __('new')?></span></a>
- </li>
- <?php endif; ?>
- <?php if($userType == 'student'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'Users/change_password/'.base64_encode(convert_uuencode($this->Session->read('User.id')));?>"><i class="fa fa-cog"></i><?php echo __('Account Settings')?></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'advisor'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'Users/change_password/'.base64_encode(convert_uuencode($this->Session->read('User.id')));?>"><i class="fa fa-cog"></i><?php echo __('Account Settings')?></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'school_admin'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?> <span class="label label-warning"><?php echo __('new')?></span></a>
- </li>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'Users/change_password/'.base64_encode(convert_uuencode($userId));?>"><i class="fa fa-cog"></i><?php echo __('Account Settings')?></a>
- </li>
- <?php endif;?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) ."logout"?>"><i class="fa fa-power-off"></i><?php echo __('Log Out');?></a>
- </li>
- </ul>
- </li>
- <li class="userProfile">
- <img src="<?php echo $profilePicture;?>" alt="" class="img-xs" />
- </li>
- =======
- <li class="dropdown notifications hidden-xs">
- <a class="dropdown-toggle notification" data-toggle="dropdown" href="#"><i class="fa fa-bell fa-lg <?php if($notificationCount>0){ echo 'active'; }?>"></i><em id="notif-1"></em></a>
- <ul class="dropdown-menu notifications-drop" role="menu">
- </ul>
- </li>
- <li class="notifications hidden-xs">
- <a rel="Messages" href="<?php echo $this->Html->url('/', true) ?>inbox"><i class="fa fa-envelope fa-lg msgicon <?php if($messageCount>0){ echo 'active'; }?>"></i><em id="notif-2"><?php echo $messageCount?></em></a>
- </li>
- </li>
- <li class="dropdown userMenu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo __('Welcome ')?> <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu">
- <?php if($userType == 'student'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'students/'.$this->Session->read('Student.id').'/'.$this->Session->read('User.sl_id');?>"><?php echo __('My Profile')?><i class="fa fa-user"></i></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'advisor'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'advisors/'.$this->Session->read('Advisor.id').'/'.$this->Session->read('User.sl_id');?>"><i class="fa fa-user"></i><?php echo __('My Profile')?></a>
- </li>
- <?php if ($this->Session->check('User.company_id')) { ?>
- <li>
- <a id="menu_company_slug" href="<?php echo $this->Html->url('/companies/'.$this->Session->read('User.company_id').'/'.$this->Session->read('User.company_sl_id'), true);?>"><i class="fa fa-flag"></i><?php echo __('Company Page'); ?></a>
- </li>
- <?php }else{ ?>
- <li>
- <a href="<?php echo $this->Html->url('/edit_company/', true);?>"><i class="fa fa-flag"></i><?php echo __('Company Page')?></a>
- </li>
- <?php } ?>
- <?php endif;?>
- <?php if($userType == 'school_admin'):?>
- <?php if($this->Session->read('User.multiple_schools')): ?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'choose_school'?>"><i class="fa fa-flag"></i><?php echo __('My Schools'); ?></a>
- </li>
- <?php else: ?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'schools/'. $this->Session->read('School.id') . "/" . $this->Session->read('School.sl_id');?>"><i class="fa fa-flag"></i><?php echo __('My Schools')?></a>
- </li>
- <?php endif; ?>
- <?php endif;?>
- <?php if($userType != 'super_admin'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'inbox';?>"><i class="fa fa-envelope"></i><?php echo __('My Messages')?></a>
- </li>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'favorites/my_favorites/';?>"><i class="fa fa-heart"></i><?php echo __('My Favorites')?></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'advisor'): ?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?> <span class="label label-warning"><?php echo __('new')?></span></a>
- </li>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'my_team/'.base64_encode(convert_uuencode($this->Session->read('User.id')));?>"><i class="fa fa-users"></i><?php echo __('My Team')?> <span class="label label-warning"><?php echo __('new')?></span></a>
- </li>
- <?php endif; ?>
- <?php if($userType == 'student'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'Users/change_password/'.base64_encode(convert_uuencode($this->Session->read('User.id')));?>"><i class="fa fa-cog"></i><?php echo __('Account Settings')?></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'advisor'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'Users/change_password/'.base64_encode(convert_uuencode($this->Session->read('User.id')));?>"><i class="fa fa-cog"></i><?php echo __('Account Settings')?></a>
- </li>
- <?php endif;?>
- <?php if($userType == 'school_admin'):?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?> <span class="label label-warning"><?php echo __('new')?></span></a>
- </li>
- <li>
- <a href="<?php echo $this->Html->url('/', true) .'Users/change_password/'.base64_encode(convert_uuencode($userId));?>"><i class="fa fa-cog"></i><?php echo __('Account Settings')?></a>
- </li>
- <?php endif;?>
- <li>
- <a href="<?php echo $this->Html->url('/', true) ."logout"?>"><i class="fa fa-power-off"></i><?php echo __('Log Out');?></a>
- </li>
- </ul>
- </li>
- <li class="userProfile">
- <img src="<?php echo $profilePicture;?>" alt="Your Profile Picture" class="img-xs" />
- </li>
- >>>>>>> refs/remotes/origin/master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement