24 lines
649 B
PHP
24 lines
649 B
PHP
<?php
|
|
require_once("include/globals.php");
|
|
|
|
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
|
return;
|
|
}
|
|
|
|
// Ensure that only valid user types have access to this module
|
|
$AllowedUserTypes = array('SuperUser','System Administrator');
|
|
if ($school_record['reseller'] == 'hotlunch') $AllowedUserTypes = array('SuperUser');
|
|
|
|
if (checkPermission($AllowedUserTypes) != 1) {
|
|
return;
|
|
}
|
|
|
|
if ($school_record['status'] != 'Special') return;
|
|
|
|
|
|
if (!$list_started) echo(" <ul>\n");
|
|
echo(" <li id='resellers'><a href='/?action=reseller-panel'>".getLanguageText('TEXT-RESELLER-PANEL')."</a></li>\n");
|
|
$list_started = true;
|
|
|
|
?>
|