<?php global $action; ?>


<div class="clearfix">&nbsp;</div>
<br />
<div class="forum_form_outer">
	<h1>New Thread</h1>
	<div class="clearfix"></div>
	<form method="post" name="postmsg" action="<?php echo $action; ?>">
	<div class="forum_form_inner">
		<label>Title</label>
		<textarea name="title" class="forum_form_feild" cols="50" rows="1"><?php echo @$_POST['title']; ?></textarea>
	</div>
	<div class="forum_form_inner">
		<label>BBCode</label>
		<a onClick="JavaScript: bbcode('b')" onMouseOver="JavaScript: linkImage(this, 'bbcode_b-over.gif')"  onMouseOut="JavaScript: linkImage(this, 'bbcode_b.gif')" title="Insert a bold BBCode tag."><img src="templates/<?php echo $pageInfo['theme']; ?>/images/bbcode_b.gif"></a>
		<a onClick="JavaScript: bbcode('i')" onMouseOver="JavaScript: linkImage(this, 'bbcode_i-over.gif')"  onMouseOut="JavaScript: linkImage(this, 'bbcode_i.gif')" title="Insert an italic BBCode tag."><img src="templates/<?php echo $pageInfo['theme']; ?>/images/bbcode_i.gif"></a>
		<a onClick="JavaScript: bbcode('u')" onMouseOver="JavaScript: linkImage(this, 'bbcode_u-over.gif')"  onMouseOut="JavaScript: linkImage(this, 'bbcode_u.gif')" title="Insert an underline BBCode tag."><img src="templates/<?php echo $pageInfo['theme']; ?>/images/bbcode_u.gif"></a>
		<a onClick="JavaScript: insertLink()" onMouseOver="JavaScript: linkImage(this, 'bbcode_url-over.gif')"  onMouseOut="JavaScript: linkImage(this, 'bbcode_url.gif')" title="Insert a URL Link BBCode tag."><img src="templates/<?php echo $pageInfo['theme']; ?>/images/bbcode_url.gif"></a>
		<a onClick="JavaScript: bbcode('img')" onMouseOver="JavaScript: linkImage(this, 'bbcode_img-over.gif')"  onMouseOut="JavaScript: linkImage(this, 'bbcode_img.gif')" title="Insert an image BBCode tag."><img src="templates/<?php echo $pageInfo['theme']; ?>/images/bbcode_img.gif"></a>
		<noscript>(<b>JavaScript Required!</b>)</noscript>
	</div>
	<div class="forum_form_inner">
		<label>Post</label>
		<textarea name="post" cols="50" class="forum_form_feild" rows="10" id="post"><?php echo @$_POST['post']; ?></textarea>
	</div>
	<div class="forum_form_inner">
		<div class="smileysBox">
			<label>Smileys</label>
			<?php showSmileys(); ?>
		</div>
	</div>
	<div class="forum_form_inner">
		<input type="submit" class="forum_form_button" value="Post">
	</div>
	</form>
</div>

<div class="clearfix"></div>
 