Files
HotLunches/forums.topic-form.php
2026-10-19 15:22:52 -07:00

53 lines
2.2 KiB
PHP

<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
?>
<form method='post' action='/'>
<table width='650' cellpadding='10' cellspacing='1' border='0'>
<tr>
<td colspan='2' align='left'>
<p><b>Forum Guidelines</b></p>
This forum is discussion board for parents to share their thoughts and concerns regarding matters that
affect our children. Please keep in mind that once you have posted a message you will not be able to delete
the message. We ask that all parents show respect for other parents and for the teachers that work very hard
with our children.
<ul>
<li>No swearing or otherwise vulgar language</li>
<li>No insulting or harassing fellow members</li>
<li>No advertising or spam</li>
<li>No double posting</li>
<li>No negative comments regarding our school staff or the school administration</li>
</ul>
</td>
</tr>
</table>
<table width='650' cellpadding='10' cellspacing='1' border='0' class='big-content-table'>
<tr class='heading'>
<td colspan='2'><?php echo("$TitleText $current_forum_title") ?></td>
</tr>
<tr class='data-odd'>
<td align='right'>Subject :: </td>
<td><input type='text' name='subject' value="<?php echo(str_replace('"',"&quot;",$subject)) ?>" size='90'></td>
</tr>
<tr class='data-even'>
<td align='right' valign='top'>Message :: </td>
<td><textarea name='message' rows='5' cols='90'><?php echo($message) ?></textarea></td>
</tr>
<tr class='data-even'>
<td colspan='2' align='center'>
<input type='hidden' name='action' value='forums'>
<input type='hidden' name='naction' value='<?php echo($next_naction) ?>'>
<input type='hidden' name='forum' value="<?php echo($forum) ?>">
<input type='hidden' name='topic' value="<?php echo($topic) ?>">
<input type='hidden' name='reply' value='<?php echo($record_num) ?>'>
<input type='submit' class='btn btn--primary' value="<?php echo($ButtonText) ?>">
</td>
</tr>
</table>
</form>