$row = mysql_fetch_assoc($result) or die('error to fetch parent row'); $proceeded = false; $parent_author = htmlentities($row['username'], HTML_ENTITIES, 'UTF-8'); $parent_date = $row['created']; if ($row['status'] == 2) { $in_response = 'In response to: <I><font color="gray"><del>This message has been deleted</del></font></I> by <b>' . $parent_author . '</b>' . ', ' . $parent_date . '<br> '; } else { $parent_subject = htmlentities(translit($row['subject'], $proceeded), HTML_ENTITIES, 'UTF-8'); $in_response = 'In response to: <a href="' . $root_dir . $page_msg . '?id=' . $parent . '">' . $parent_subject . '</a> by <b>' . $parent_author . '</b>' . ', ' . $parent_date . '<br> '; } } } } else { die('No such message'); } mysql_free_result($result); notify_about_new_pm($user_id, $last_pm_check_time, "bottom"); $modified = null; $trans_body = $msgbody; if (extension_loaded('mbstring')) { include 'finediff.php'; $from_text = $body; $to_text = $content_to_compare; $diff_opcodes = FineDiff::getDiffOpcodes($from_text, $to_text, FineDiff::$characterGranularity); $trans_body = nl2br(FineDiff::renderDiffToHTMLFromOpcodes($from_text, $diff_opcodes)); } require_once 'msg_form_inc.php'; ?>
<?php /*$Id: menu_inc.php 875 2013-01-30 17:10:57Z dmitriy $*/ notify_about_new_pm($user_id, $last_pm_check_time); ?> <table width="100%"> <?php if (!is_null($err_login) && strlen($err_login) > 0) { ?> <tr> <td colspan="2" align="right"> <font color="red"><b><?php print $err_login; ?> </b></font> </td> </tr> <?php } ?> <tr> <td align="left"> <?php if (isset($banner) && !is_null($banner)) { ?> <img src="<?php echo $banner; ?> " alt="<?php echo $title; ?>