2003-07-18 21:38:51 +00:00
|
|
|
<?php
|
2003-08-13 22:09:50 +00:00
|
|
|
|
|
|
|
require_once('../include/template.inc');
|
2003-07-18 21:38:51 +00:00
|
|
|
require_once('forum.inc');
|
2003-08-13 22:09:50 +00:00
|
|
|
require_once('../util.inc');
|
|
|
|
|
2003-07-18 21:38:51 +00:00
|
|
|
doHeader('Forum');
|
|
|
|
|
|
|
|
/* sanitize variable */
|
|
|
|
if (array_key_exists('id', $_GET))
|
|
|
|
$_GET['id'] = stripslashes(strip_tags($_GET['id']));
|
|
|
|
|
|
|
|
$categories = getCategories();
|
|
|
|
?>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<span class="title">Search</span>
|
2003-08-13 22:09:50 +00:00
|
|
|
<br><a href="index.php"><?php echo PROJECT ?> Forum</a>
|
2003-07-18 21:38:51 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p style="text-align:center">
|
|
|
|
<form action="post.php?id=<?php echo $_GET['id'] ?>" method="post">
|
|
|
|
<table class="content" border="0" cellpadding="5" cellspacing="0" width="100%">
|
|
|
|
<tr>
|
|
|
|
<th colspan="2">Search in Forum</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td style="width:150px"><b>Topic</b></td>
|
|
|
|
<td><input type="text" name="topic" size="62"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td style="vertical-align:top"><b>Message content</b></td>
|
|
|
|
<td><textarea name="content" rows="12" cols="54"></textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" style="text-align:center">
|
|
|
|
<input type="submit" value="Post message">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
doFooter();
|
|
|
|
?>
|