24 lines
494 B
PHP
24 lines
494 B
PHP
<?php
|
|
//
|
|
// Menu include
|
|
//
|
|
|
|
|
|
require_once("include/globals.php");
|
|
|
|
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
|
header("Location: /");
|
|
exit();
|
|
}
|
|
|
|
if ($school_record['previous_balances_post'] == 'Post Automatically') include "check-user-balance.php";
|
|
|
|
|
|
$menu_include = "menu.parent.php";
|
|
$schoolCode = $school_record['default_url_code'];
|
|
if (is_file("menu.parent.$schoolCode.php")) $menu_include = "menu.parent.$schoolCode.php";
|
|
|
|
include "main.actions.php";
|
|
|
|
?>
|