@@ -1,8 +1,8 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | require 'core/init.php'; |
| 3 | 3 | $general->logged_out_protect(); |
| 4 | -$user = $users->userdata($_SESSION['loginid']); |
|
| 5 | -$fullname = ucwords(strtolower($user['fullname'])); |
|
| 4 | +$user = $users->userdata($_SESSION['loginid']); |
|
| 5 | +$fullname = ucwords(strtolower($user['fullname'])); |
|
| 6 | 6 | ?> |
| 7 | 7 | <!DOCTYPE HTML> |
| 8 | 8 | <html> |
@@ -25,10 +25,10 @@ discard block |
||
| 25 | 25 | <li class='active'><a href='home.php' target="_parent"><span>Home</span></a></li> |
| 26 | 26 | <?php if ($user['level'] == 'User'):?> |
| 27 | 27 | <li><a href='ticketnew.php' target="contentFrame"><span>New Ticket</span></a></li> |
| 28 | - <?php endif;?> |
|
| 28 | + <?php endif; ?> |
|
| 29 | 29 | <?php if ($user['level'] == 'Admin'):?> |
| 30 | 30 | <li><a href='adminmenu.php' target="leftFrame"><span>Admin</span></a></li> |
| 31 | - <?php endif;?> |
|
| 31 | + <?php endif; ?> |
|
| 32 | 32 | <li><a href='changepwd.php' target="contentFrame"><span>Change Password</span></a></li> |
| 33 | 33 | <li class='last'><a href='logout.php' target="_parent"><span>Logout</span></a></li> |
| 34 | 34 | </ul> |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | <ul> |
| 17 | 17 | <?php if ($user['level'] == 'User'):?> |
| 18 | 18 | <li><a href="myticketbyrequester.php" target="contentFrame">My Request</a></li> |
| 19 | - <?php endif;?> |
|
| 19 | + <?php endif; ?> |
|
| 20 | 20 | <li><a href="myticketbyassignee.php" target="contentFrame">My Assignment</a></li> |
| 21 | 21 | <li><a href="myticketbyresolver.php" target="contentFrame">My Resolution</a></li> |
| 22 | 22 | <li><a href="myticketwaitforclosed.php" target="contentFrame">Waiting for Close</a></li> |