Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.63 KB | None | 0 0
  1. <<<<<<< HEAD
  2. <li class="dropdown notifications hidden-xs">
  3. <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>
  4. <ul class="dropdown-menu notifications-drop" role="menu"></ul>
  5. </li>
  6. <li class="notifications hidden-xs">
  7. <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>
  8. </li>
  9.  
  10. </li>
  11. <li class="dropdown userMenu">
  12. <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo __('Welcome ')?> <span class="caret"></span></a>
  13. <ul class="dropdown-menu" role="menu">
  14. <?php if($userType == 'student'):?>
  15. <li>
  16. <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>
  17. </li>
  18. <?php endif;?>
  19. <?php if($userType == 'advisor'):?>
  20. <li>
  21. <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>
  22. </li>
  23. <?php if ($this->Session->check('User.company_id')){ ?>
  24. <li>
  25. <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>
  26. </li>
  27. <?php }else{ ?>
  28. <li>
  29. <a href="<?php echo $this->Html->url('/edit_company/', true);?>"><i class="fa fa-flag"></i><?php echo __('Company Page')?></a>
  30. </li>
  31. <?php } ?>
  32. <?php endif;?>
  33. <?php if($userType == 'school_admin'):?>
  34. <?php if($this->Session->read('User.multiple_schools')): ?>
  35. <li>
  36. <a href="<?php echo $this->Html->url('/', true) .'choose_school'?>"><i class="fa fa-flag"></i><?php echo __('My Schools'); ?></a>
  37. </li>
  38. <?php else: ?>
  39. <li>
  40. <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>
  41. </li>
  42. <?php endif; ?>
  43. <?php endif;?>
  44. <?php if($userType != 'super_admin'):?>
  45. <li>
  46. <a href="<?php echo $this->Html->url('/', true) .'inbox';?>"><i class="fa fa-envelope"></i><?php echo __('My Messages')?></a>
  47. </li>
  48. <li>
  49. <a href="<?php echo $this->Html->url('/', true) .'favorites/my_favorites/';?>"><i class="fa fa-heart"></i><?php echo __('My Favorites')?></a>
  50. </li>
  51. <?php endif;?>
  52. <?php if($userType == 'advisor'): ?>
  53. <li>
  54. <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?>&nbsp<span class="label label-warning"><?php echo __('new')?></span></a>
  55. </li>
  56. <li>
  57. <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')?>&nbsp<span class="label label-warning"><?php echo __('new')?></span></a>
  58. </li>
  59. <?php endif; ?>
  60. <?php if($userType == 'student'):?>
  61. <li>
  62. <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>
  63. </li>
  64. <?php endif;?>
  65. <?php if($userType == 'advisor'):?>
  66. <li>
  67. <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>
  68. </li>
  69. <?php endif;?>
  70. <?php if($userType == 'school_admin'):?>
  71. <li>
  72. <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?>&nbsp<span class="label label-warning"><?php echo __('new')?></span></a>
  73. </li>
  74. <li>
  75. <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>
  76. </li>
  77. <?php endif;?>
  78. <li>
  79. <a href="<?php echo $this->Html->url('/', true) ."logout"?>"><i class="fa fa-power-off"></i><?php echo __('Log Out');?></a>
  80. </li>
  81. </ul>
  82. </li>
  83. <li class="userProfile">
  84. <img src="<?php echo $profilePicture;?>" alt="" class="img-xs" />
  85. </li>
  86. =======
  87. <li class="dropdown notifications hidden-xs">
  88. <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>
  89. <ul class="dropdown-menu notifications-drop" role="menu">
  90. </ul>
  91. </li>
  92. <li class="notifications hidden-xs">
  93. <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>
  94. </li>
  95.  
  96.  
  97. </li>
  98. <li class="dropdown userMenu">
  99. <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo __('Welcome ')?> <span class="caret"></span></a>
  100. <ul class="dropdown-menu" role="menu">
  101. <?php if($userType == 'student'):?>
  102. <li>
  103. <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>
  104. </li>
  105. <?php endif;?>
  106. <?php if($userType == 'advisor'):?>
  107. <li>
  108. <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>
  109. </li>
  110. <?php if ($this->Session->check('User.company_id')) { ?>
  111. <li>
  112. <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>
  113. </li>
  114. <?php }else{ ?>
  115. <li>
  116. <a href="<?php echo $this->Html->url('/edit_company/', true);?>"><i class="fa fa-flag"></i><?php echo __('Company Page')?></a>
  117. </li>
  118. <?php } ?>
  119. <?php endif;?>
  120. <?php if($userType == 'school_admin'):?>
  121. <?php if($this->Session->read('User.multiple_schools')): ?>
  122. <li>
  123. <a href="<?php echo $this->Html->url('/', true) .'choose_school'?>"><i class="fa fa-flag"></i><?php echo __('My Schools'); ?></a>
  124. </li>
  125. <?php else: ?>
  126. <li>
  127. <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>
  128. </li>
  129. <?php endif; ?>
  130. <?php endif;?>
  131. <?php if($userType != 'super_admin'):?>
  132. <li>
  133. <a href="<?php echo $this->Html->url('/', true) .'inbox';?>"><i class="fa fa-envelope"></i><?php echo __('My Messages')?></a>
  134. </li>
  135. <li>
  136. <a href="<?php echo $this->Html->url('/', true) .'favorites/my_favorites/';?>"><i class="fa fa-heart"></i><?php echo __('My Favorites')?></a>
  137. </li>
  138. <?php endif;?>
  139. <?php if($userType == 'advisor'): ?>
  140. <li>
  141. <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?>&nbsp<span class="label label-warning"><?php echo __('new')?></span></a>
  142. </li>
  143. <li>
  144. <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')?>&nbsp<span class="label label-warning"><?php echo __('new')?></span></a>
  145. </li>
  146. <?php endif; ?>
  147. <?php if($userType == 'student'):?>
  148. <li>
  149. <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>
  150. </li>
  151. <?php endif;?>
  152. <?php if($userType == 'advisor'):?>
  153. <li>
  154. <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>
  155. </li>
  156. <?php endif;?>
  157. <?php if($userType == 'school_admin'):?>
  158. <li>
  159. <a href="<?php echo $this->Html->url('/', true) .'analytics';?>"><i class="fa fa-bar-chart-o"></i><?php echo __('Traffic Analytics')?>&nbsp<span class="label label-warning"><?php echo __('new')?></span></a>
  160. </li>
  161. <li>
  162. <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>
  163. </li>
  164. <?php endif;?>
  165. <li>
  166. <a href="<?php echo $this->Html->url('/', true) ."logout"?>"><i class="fa fa-power-off"></i><?php echo __('Log Out');?></a>
  167. </li>
  168. </ul>
  169. </li>
  170. <li class="userProfile">
  171. <img src="<?php echo $profilePicture;?>" alt="Your Profile Picture" class="img-xs" />
  172. </li>
  173. >>>>>>> refs/remotes/origin/master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement