44 lines
2.4 KiB
PHP
44 lines
2.4 KiB
PHP
<?php
|
|
|
|
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
|
header("Location: /");
|
|
exit();
|
|
}
|
|
|
|
$currentStatus = $_SESSION['UserInfo']['status'];
|
|
$user_num = $_SESSION['UserInfo']['record_num'];
|
|
|
|
|
|
// Check for custom instruction document
|
|
$guestInstructions = "Guest_Guide.pdf";
|
|
if (is_file("docs/Guest_Guide.$schoolID.pdf")) $guestInstructions = "Guest_Guide.$schoolID.pdf";
|
|
|
|
|
|
?>
|
|
<ul>
|
|
<li id="account"><a href='/'><?php echo($spanOn) ?><?php echo(getLanguageText('MENUTAB-HOME')) ?><?php echo($spanOff) ?></a>
|
|
<?php include "menu.submenus.php"; ?>
|
|
</li>
|
|
<li id="account"><a href='/?action=account'><?php echo($spanOn) ?><?php echo(getLanguageText('MENUTAB-PROFILE')) ?><?php echo($spanOff) ?></a>
|
|
<ul>
|
|
<li><a href='/?action=account'><?php displayLanguageText('MENU-VIEW-APP-PROFILE'); ?></a></li>
|
|
<li><a href='/?action=account&naction=edit'><?php echo(getLanguageText('MENU-EDIT-PROFILE')) ?></a></li>
|
|
</ul>
|
|
</li>
|
|
<li id="contact"><a href='/?action=order-list'><?php echo($spanOn) ?><?php displayLanguageText('MENUTAB-ORDERS'); ?><?php echo($spanOff) ?></a>
|
|
<ul>
|
|
<li><a href='/?action=order-list'><?php echo(getLanguageText('TEXT-MANAGE-ORDERS')) ?></a></li>
|
|
<li><a href='/?action=user-account'><?php echo(getLanguageText('MENU-ACCOUNT-TRX')) ?></a></li>
|
|
</ul>
|
|
</li>
|
|
<li id="help"><a href='/?action=view-faqs'><?php echo($spanOn) ?><?php echo(getLanguageText('MENUTAB-HELP')) ?><?php echo($spanOff) ?></a>
|
|
<ul>
|
|
<li id="help"><a href='/?action=view-faqs'><?php echo(getLanguageText('MENU-FAQS')) ?></a></li>
|
|
<li><a href='/?action=support-request'><?php echo(getLanguageText('MENU-SUPPORT')) ?></a></li>
|
|
<li><a href='/?action=privacy-policy'><?php displayLanguageText('TEXT-PRIVACY-POLICY'); ?></a></li>
|
|
</ul>
|
|
</li>
|
|
<li id="password"><a href='/?action=change-password'><?php echo($spanOn) ?><?php echo(getLanguageText('MENUTAB-PASSWORD')) ?><?php echo($spanOff) ?></a></li>
|
|
<li id="logout"><a href='/?action=logout'><?php echo($spanOn) ?><?php echo(getLanguageText('MENUTAB-LOGOUT')) ?><?php echo($spanOff) ?></a></li>
|
|
</ul>
|