Files
HotLunches/hotlunch_order_list.php
T
2026-10-19 15:22:52 -07:00

38 lines
856 B
PHP

<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
// Start the template and output buffering
startTemplate();
$templatePageTitle = getLanguageText('TEXT-ORDERS');
echo("<br>\n");
include "form.messages.php";
// Parent order list
if (in_array($_SESSION['UserInfo']['type'],array('Parent','Administration Team','Schedule Team','Financial Team'))) {
include "hotlunch_order_list.parent.php";
}
// Staff person order list
if ($_SESSION['UserInfo']['type'] == 'Staff') {
include "hotlunch_order_list.staff.php";
}
// Guest order list
if ($_SESSION['UserInfo']['type'] == 'Guest') {
include "hotlunch_order_list.guest.php";
}
$user_num = intval($_SESSION['UserInfo']['record_num']);
include "get.adobe.php";
endTemplate();
?>