<fieldset class=mes1><?
echo <<<HTML
<script type="text/javascript" src="js/bbcod.js"></script>

<form id="comment" method="POST" action="adminmain.php?p=newsadd">
<input name="status" type="hidden" value="comment">
<table border="0" width="80%" align="center">
<tr>

<td align="left" colspan="2" style="padding-bottom:3px;font-size:11px;">
<b>Форма для отправки сообщений:</b>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="padding-bottom:3px;font-size:11px;">
<b style="color:#dd0000;">{$errcom}</b>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="padding-bottom:3px;font-size:11px;">
Тема новости: <input type="text" name="tema" size='50'><br>
</td>
</tr>
<td align="right" border:1px solid #c0c0c0;">
<table>
 <td class="smile"><input style="background: url('../copilca/smile/1.gif');border:0;height: 18px;width:18px;" onclick="insert_comm('',':-_')" type="button"></td>
 <td class="smile"><input style="background: url('../copilca/smile/2.gif');border:0;height: 23px;width:26px;" onclick="insert_comm('',':-8')" type="button"></td>
 <td class="smile"><input style="background: url('../copilca/smile/3.gif');border:0;height: 22px;width:24px;" onclick="insert_comm('',':-(')" type="button"></td>
 <td class="smile"><input style="background: url('../copilca/smile/4.gif');border:0;height: 25px;width:25px;" onclick="insert_comm('',':~)')" type="button"></td>
 <td class="smile"><input style="background: url('../copilca/smile/5.gif');border:0;height: 20px;width:20px;" onclick="insert_comm('',':-9')" type="button"></td>
<td class="smile"><input style="background: url('../copilca/smile/6.gif');border:0;height: 27px;width:20px;" onclick="insert_comm('','8-)')" type="button"></td>
<td class="smile"><input style="background: url('../copilca/smile/7.gif');border:0;height: 23px;width:22px;" onclick="insert_comm('','9-)')" type="button"></td>
<td class="smile"><input style="background: url('../copilca/smile/8.gif');border:0;height: 22px;width:31px;" onclick="insert_comm('','10-)')" type="button"></td>
<td class="smile"><input style="background: url('../copilca/smile/9.gif');border:0;height: 24px;width:33px;" onclick="insert_comm('','11-)')" type="button"></td>
<td class="smile"><input style="background: url('../copilca/smile/10.gif');border:0;height: 29px;width:49px;" onclick="insert_comm('','12-)')" type="button"></td>
<td class="smile"><input style="background: url('../copilca/smile/11.gif');border:0;height: 24px;width:27px;" onclick="insert_comm('','13-)')" type="button"></td>
</table>
<td align="left" border:1px solid #c0c0c0;">
<span class="btn-bold" title="Выделить жирным" value=" B " onclick="insert_comm('[b]','[/b]')" type="button"></span>
<span  class="btn-italic" title="Выделить курсивом" value=" I " onclick="insert_comm('[i]','[/i]')" type="button"></span>
<span  class="btn-uline" title="Выделить подчёркиванием" value=" U " onclick="insert_comm('[u]','[/u]')" type="button"></span>
</td>
</td>

<tr>
<td align="center" colspan="2">
<textarea id="comess" name="newstext" rows="20" cols="100"class="comtextur"></textarea>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="padding-top:3px;">
<input type="submit"  value="Написать" class="ok_wm" >
</td>
</tr>
</table>
</form>
HTML;
?></fieldset>