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

45 lines
1.5 KiB
PHP

<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
// Start the template and output buffering
startTemplate();
$templatePageTitle = getLanguageText('TEXT-HELP');
$parentInstructions = "Parent_Guide.pdf";
if ($siteType == 'registration') $parentInstructions = "Parent_Guide_Registration.pdf";
if (isset($reseller) && is_file("docs/Parent_Guide.$reseller.pdf")) $parentInstructions = "Parent_Guide.$reseller.pdf";
if (is_file("docs/Parent_Guide.$schoolID.pdf")) $parentInstructions = "Parent_Guide.$schoolID.pdf";
?>
<table width='40%' cellspacing='10'>
<tr>
<td align='center' style='border: 1px solid black; background: #e0e0e0'>
<b><a href='?action=view-faqs'><?php displayLanguageText('MENU-FAQS'); ?></a></b>
</td>
</tr>
<tr>
<td align='center' style='border: 1px solid black; background: #e0e0e0'>
<b><a href='view-doc.php?dn=<?php echo($parentInstructions) ?>'><?php displayLanguageText('MENU-PARENT-INSTRUCTION-GUIDE'); ?></a></b>
</td>
</tr>
<tr>
<td align='center' style='border: 1px solid black; background: #e0e0e0'>
<b><a href='?action=support-request'><?php displayLanguageText('MENU-SUPPORT'); ?></a></b>
</td>
</tr>
<tr>
<td align='center' style='border: 1px solid black; background: #e0e0e0'>
<b><a href='?action=privacy-policy'><?php displayLanguageText('TEXT-PRIVACY-POLICY'); ?></a></b>
</td>
</tr>
</table>
<?php
endTemplate();
?>