Advertisement
Guest User

Untitled

a guest
Feb 13th, 2013
724
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.67 KB | None | 0 0
  1. <li><a href="http://msflights.net/forum/content.php">Home</a></li>
  2. <?php
  3. if(!Auth::LoggedIn())
  4. {
  5.     // Show these if they haven't logged in yet
  6. ?>
  7.     <li><a href="<?php echo url('/login'); ?>">Login</a></li>
  8.     <li><a href="<?php echo url('/registration'); ?>">Register</a></li>
  9.     <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/routemap">Route Map</a>
  10.         <ul>
  11.             <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/routemap">North America</a></li>
  12.             <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/australia">Australia</a></li>
  13.         </ul>
  14.     </li>
  15.    
  16.    
  17. <?php
  18. }
  19. else
  20. {
  21.     // Show these items only if they are logged in
  22. ?>
  23.     <li><a href="<?php echo url('/profile'); ?>">Pilot Center</a></li>
  24.     <li><a href="<?php echo url('/schedules') ?>">Open Bids</a></li>
  25.     <li><a href="<?php echo url('/schedules/bids') ?>">My Bids</a></li>
  26.     <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/routemap">Route Map</a>
  27.         <ul>
  28.             <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/routemap">North America</a></li>
  29.             <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/australia">Australia</a></li>
  30.         </ul>
  31.     </li>
  32.    
  33. <?php
  34. }
  35. ?>
  36.  
  37. <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pilotlist">Pilots</a></li>
  38.  
  39.  
  40.  
  41.  
  42. <?php echo $MODULE_NAV_INC;?>
  43. <?php
  44. if(Auth::LoggedIn())
  45. {
  46.     if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
  47.     {
  48.         echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>';
  49.     }
  50. ?>
  51.  
  52.  
  53. <li><a href="<?php echo url('/logout'); ?>">Log Out</a></li>
  54. <?php
  55. }
  56. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement