$preview<form method=\"post\" name=\"input\" action=\"post.php?action=newthread&fid=$fid\" enctype=\"multipart/form-data\">
<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"$tablewidth\" align=\"center\">
<tr><td bgcolor=\"$bordercolor\">

<table border=\"0\" cellspacing=\"$borderwidth\" cellpadding=\"$tablespace\" width=\"100%\">
<tr>
<td colspan=\"2\" class=\"header\">$lang_textpostnew</td>
</tr>

<tr>
<td class=\"tablerow\" bgcolor=\"$altbg1\" width=\"22%\">$lang_whocanpost</td>
<td class=\"tablerow\" bgcolor=\"$altbg2\"><span class=\"smalltxt\">$whopost1 $whopost2 $whopost3$guestpostingmsg</span></td>
</tr>

$loggedin

<tr>
<td class=\"tablerow\" bgcolor=\"$altbg1\">$lang_textsubject</td>
<td class=\"tablerow\" bgcolor=\"$altbg2\"><input type=\"text\" name=\"subject\" size=\"45\" value=\"$subject\"></td>
</tr>
<tr class=\"tablerow\"><td bgcolor=\"$altbg1\" valign=\"top\">$lang_texticon</td><td bgcolor=\"$altbg2\">$icons</td></tr>
$bbcodeinsert
<tr>
<td class=\"tablerow\" bgcolor=\"$altbg1\" valign=\"top\">$lang_textmessage<br /><span class=\"smalltxt\">
$lang_texthtmlis $allowhtml<br />
$lang_textsmiliesare $allowsmilies<br />
$lang_textbbcodeis $allowbbcode<br />
$lang_textimgcodeis $allowimgcode 
</span></td>

<td class=\"tablerow\" bgcolor=\"$altbg2\">
<table width=\"100%\">

<tr><td align=\"left\" width=\"70%\"><textarea rows=\"9\" cols=\"45\" name=\"message\" onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\" >$message</textarea></td>
$smilieinsert
</tr></table>

<br />
<input type=\"checkbox\" name=\"smileyoff\" value=\"yes\" $smileoffcheck /> $lang_textdissmileys<br />
<input type=\"checkbox\" name=\"usesig\" value=\"yes\" $usesigcheck /> $lang_textusesig<br />
<input type=\"checkbox\" name=\"bbcodeoff\" value=\"yes\" $codeoffcheck />$lang_bbcodeoff<br><input type=\"checkbox\" name=\"emailnotify\" value=\"yes\">$lang_textemailnotify
$topoption</td> 
</tr>

$attachfile
</table>
</td></tr></table>
<center><input type=\"submit\" name=\"topicsubmit\" value=\"$lang_textpostnew\" />
<input type=\"submit\" name=\"previewpost\" value=\"$lang_textpreview\" />
</center>
</form>
