diff options
Diffstat (limited to 'dash/nav.php')
| -rw-r--r-- | dash/nav.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dash/nav.php b/dash/nav.php new file mode 100644 index 0000000..9baf7ad --- /dev/null +++ b/dash/nav.php @@ -0,0 +1,13 @@ +<?php +if (!defined('ACC_TYPE')) die; +if (ACC_TYPE == 'EMPLOYEE') { + $navtitles = array('Dashboard', 'Help'); + $navlinks = array('dash/', 'dash/help.php'); +} else if (ACC_TYPE == 'EMPLOYER') { + $navtitles = array('Dashboard', 'Post an Ad', 'Help'); + $navlinks = array('dash/', 'dash/post.php', 'dash/help.php'); +} else if (ACC_TYPE == 'ADMIN') { + $navtitles = array(); + $navlinks = array(); +} else die; +?> |
