<?php if ($is_regist_old == $user_id or $cu_array[USER_CLASS] > 0) { ?>
<tr><table width="100px" align="center"><td align="left">
<input type="submit" value="Удалить отмеченные комментарии" class="input_button"></td></table></tr>
<?php
}
echo "</table>";
echo "</form>";
/// pages
$NumRecs = count($board_messages);
echo "<p align=center>";
for($i = 0; $i < $NumRecs/EDIT_LIMIT; $i++) {
if(isset($page)) {
if($i != $page) {
echo "[<a href=\"fullinfo.php?session=$session&user_id=$user_id&page=".$i."#comments\">".($i+1)."</a>] \n";
}
else {
echo "<b>[".($i+1)."]</b> ";
}
}
else {
if($i > 0) {
echo "[<a href='fullinfo.php?session=$session&user_id=$user_id&page=".$i."#comments'>".($i+1)."</a>] \n";
}
else {
echo "<b>[".($i+1)."]</b> \n";
}
}
}
echo "</p>";
?>
<?php
if($exists and $session and $is_regist) {
?>
<table width="70%" align="left">
<tr>
<td width="5"><img src="<?php echo $current_design;?>img_a/comments/mtdlblue.png" width="5" height="58" border="0"></td>
<td background="<?php echo $current_design;?>img_a/comments/mtdbgblue.png" class="ctitle2" valign="top" colspan="2">Оставить комментарий|<a href="javascript:;" onclick="window.open('<?=$chat_url;?>modules/painting/graffiti.php?session=<?=$session;?>&user_id=<? echo $user_id;?>', 'graffiti', 'width=630, height=385, resizable=no, scrollbars=no, menubar=0, toolbar=0');" >граффити</a> пользователю</td>
<td width="5"><img src="<?php echo $current_design;?>img_a/comments/mtdrblue.png" width="5" height="58" border="0"></td>
</tr>
<tr>
<td background="<?php echo $current_design;?>img_a/comments/ltd.gif"><img src="<?php echo $current_design;?>img_a/comments/ltd.gif" width="5" border="0"></td>
<td valign="top" colspan="2">
<table width="100%">
<form method="post" action="fullinfo.php?session=<?php echo $session; ?>&user_id=<?php echo $is_regist; ?>">
<input type="hidden" name="session" value="<?php echo $session;?>">
<input type="hidden" name="act" value="add_post">
<input type="hidden" name="user_id" value="<?php echo $user_id;?>">
<input type="hidden" name="page" value="<?php echo $page;?>">
<input type="hidden" name="send_to_id" value = "<?php echo $is_regist; ?>">
<tr>
<td class="news" valign="top"><font face="Comic Sans MS">Тема сообщения:</font><br /><input type="text" name="subject" size="50" maxlength="150" value="<?php echo $tmp_subject;?>" style="font-family:comic sans ms; font-size:11px; border:1px solid #E0E0E0"></td>
</tr>
<tr>
<td class="news" valign="top"><font face="Comic Sans MS"><br />Текст сообщения:</font><br />
<textarea cols="150" rows="10" name="message" style="font-family:comic sans ms; font-size:11px; border:1px solid #E0E0E0 ">
<?php echo $tmp_body;?>
</textarea>
<br>
</td>
</tr>
</table>
</td>
<td background="<?php echo $current_design;?>img_a/comments/rtd.gif"><img src="<?php echo $current_design;?>img_a/comments/rtd.gif" width="5" border="0"></td>
</tr>
<tr>
<td><img src="<?php echo $current_design;?>img_a/comments/mtdlbot.png" width="5" height="32" border="0"></td>
<td background="<?php echo $current_design;?>img_a/comments/mtdbgbot.gif" class="slink" align="left"><input name="submit" type="image" src="<?php echo $current_design;?>img_a/comments/send.png"></td>
<td background="<?php echo $current_design;?>img_a/comments/mtdbgbot.gif" class="slink" align="right"></td>
<td><img src="<?php echo $current_design;?>img_a/comments/mtdrbot.png" width="5" height="32" border="0"></td>
</tr></form>
</table>