Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
";
$flag_end = '';
} else {
$flag = '';
$flag_end = '';
}
if (!isset($msg['FLAG_SEEN']) || ($msg['FLAG_SEEN'] == false)) {
$bold = '';
$bold_end = '';
} else {
$bold = '';
$bold_end = '';
}
if (handleAsSent($mailbox)) {
$italic = '';
$italic_end = '';
} else {
$italic = '';
$italic_end = '';
}
if (isset($msg['FLAG_DELETED']) && $msg['FLAG_DELETED']) {
$fontstr = "";
$fontstr_end = '';
} else {
$fontstr = '';
$fontstr_end = '';
}
if ($where && $what) {
$searchstr = '&where='.$where.'&what='.$what;
} else {
$searchstr = '';
}
if (is_array($message_highlight_list) && count($message_highlight_list)) {
$msg['TO'] = parseAddress($msg['TO']);
$msg['CC'] = parseAddress($msg['CC']);
foreach ($message_highlight_list as $message_highlight_list_part) {
if (trim($message_highlight_list_part['value']) != '') {
$high_val = strtolower($message_highlight_list_part['value']);
$match_type = strtoupper($message_highlight_list_part['match_type']);
if($match_type == 'TO_CC') {
$match = array('TO', 'CC');
} else {
$match = array($match_type);
}
foreach($match as $match_type) {
switch($match_type) {
case('TO'):
case('CC'):
case('FROM'):
foreach ($msg[$match_type] as $address) {
$address[0] = decodeHeader($address[0], true, false);
$address[1] = decodeHeader($address[1], true, false);
if (strstr('^^' . strtolower($address[0]), $high_val) ||
strstr('^^' . strtolower($address[1]), $high_val)) {
$hlt_color = $message_highlight_list_part['color'];
break 4;
}
}
break;
default:
$headertest = strtolower(decodeHeader($msg[$match_type], true, false));
if (strstr('^^' . $headertest, $high_val)) {
$hlt_color = $message_highlight_list_part['color'];
break 3;
}
break;
}
}
}
}
}
if (!isset($hlt_color)) {
$hlt_color = $color_string;
}
if ($checkall == 1 || in_array($msg['ID'], $preselected))
$checked = ' checked="checked"';
else
$checked = '';
$col = 0;
$msg['SUBJECT'] = decodeHeader($msg['SUBJECT']);
// $subject = processSubject($msg['SUBJECT'], $indent_array[$msg['ID']]);
$subject = sm_truncate_string(str_replace(' ',' ',$msg['SUBJECT']), $truncate_subject, '...', TRUE);
if (sizeof($index_order)) {
foreach ($index_order as $index_order_part) {
switch ($index_order_part) {
case 1: /* checkbox */
echo html_tag( 'td',
"",
'center',
$hlt_color );
break;
case 2: /* from */
$from_xtra = '';
$from_xtra = 'title="' . $senderFrom . '"';
echo html_tag( 'td',
html_tag('label',
$italic . $bold . $flag . $fontstr . sm_truncate_string($senderName, $truncate_sender, '...', TRUE) .
$fontstr_end . $flag_end . $bold_end . $italic_end,
'','','for="msg'.$msg['ID'].'"'),
'left',
$hlt_color, $from_xtra );
break;
case 3: /* date */
// show internal date if using it to sort
if ($internal_date_sort && ($sort == 0 || $sort == 1)) {
$date_string = $msg['RECEIVED_DATE_STRING'] . '';
} else {
$date_string = $msg['DATE_STRING'] . '';
}
if ($date_string == '') {
$date_string = _("Unknown date");
}
echo html_tag( 'td',
$bold . $flag . $fontstr . $date_string .
$fontstr_end . $flag_end . $bold_end,
'center',
$hlt_color,
'nowrap' );
break;
case 4: /* subject */
$td_str = $bold;
if ($thread_sort_messages == 1) {
if (isset($indent_array[$msg['ID']])) {
$td_str .= str_repeat(" ",$indent_array[$msg['ID']]);
}
}
$td_str .= '";
if (isset($msg['FLAG_ANSWERED']) && $msg['FLAG_ANSWERED'] == true) {
// i18n: "A" is short for "Answered". Make sure that two icon strings aren't translated to the same character (only in 1.5).
$td_str .= _("A");
$stuff = true;
}
if ($msg['TYPE0'] == 'multipart' && $msg['TYPE1'] == 'mixed') {
$td_str .= '+';
$stuff = true;
}
if ($default_use_priority) {
if ( ($msg['PRIORITY'] == 1) || ($msg['PRIORITY'] == 2) ) {
$td_str .= "!";
$stuff = true;
}
if ($msg['PRIORITY'] == 5) {
$td_str .= "?";
$stuff = true;
}
}
if (isset($msg['FLAG_DELETED']) && $msg['FLAG_DELETED'] == true) {
$td_str .= "D";
$stuff = true;
}
if (!$stuff) {
$td_str .= ' ';
}
do_hook("msg_envelope");
$td_str .= '';
echo html_tag( 'td',
$td_str,
'center',
$hlt_color,
'nowrap' );
break;
case 6: /* size */
echo html_tag( 'td',
$bold . $fontstr . show_readable_size($msg['SIZE']) .
$fontstr_end . $bold_end,
'right',
$hlt_color );
break;
}
++$col;
}
}
if ($not_last) {
echo '' . "\n" . '