Public paste
Hmz
By: Xmoo | Date: Apr 18 2011 17:10 | Format: PHP | Expires: never | Size: 1.69 KB | Hits: 670

  1. <?php if (($_SESSION['access']) == false) { ?>
  2. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=home">Home</a></td>
  3. <?php } else { ?>
  4. <?php if (($_SESSION['access']) == 'A' || 'C') { ?>
  5. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=thuis">Thuis</a></td>
  6. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=servicedeska&a=home">Servicedesk</a></td>
  7. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=faq&a=home">FAQ</a></td>
  8. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=management&a=home">Management</a></td>
  9. <?php } ?>
  10. <?php if (($_SESSION['access']) == 'B') { ?>
  11. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=thuis">Thuis</a></td>
  12. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=servicedesk&a=home">Servicedesk</a></td>
  13. <td class="menu" onMouseOver="javascript:this.style.background='#F0F0F0';" onMouseOut="javascript:this.style.background='#E1E1E1';" bgColor="#e1e1e1"><a href="?p=faq&a=home">FAQ</a></td>
  14. <?php } } ?>