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
rfc822_header->content_type->type0 == 'text' && $message->rfc822_header->content_type->type1 == 'html') { $message->header->type0 = 'text'; $message->header->type1 = 'html'; $message->type0 = 'text'; $message->type1 = 'html'; if (count($message->rfc822_header->content_type->properties) > 0) { $message->header->parameters = $message->rfc822_header->content_type->properties; } } } function view_as_html_link() { global $message, $show_html_default, $sort; $vars = array('passed_ent_id', 'show_more', 'override_type0', 'override_type1', 'where', 'what'); sqgetGlobalVar('mailbox', $mailbox); sqgetGlobalVar('passed_id', $passed_id); sqgetGlobalVar('startMessage', $startMessage); sqgetGlobalVar('view_as_html', $view_as_html); $startMessage = (int)$startMessage; $passed_id = (int)$passed_id; $view_as_html = (int)$view_as_html; $new_link = "read_body.php?passed_id=$passed_id&startMessage=$startMessage" . "&mailbox=" . urlencode($mailbox); foreach($vars as $var) { if(sqgetGlobalVar($var, $$var)) { $new_link .= '&' . $var . '=' . urlencode($$var); } } $has_html = 0; if ($message->header->type0 == 'message' && $message->header->type1 == 'rfc822') { $type0 = $message->rfc822_header->content_type->type0; $type1 = $message->rfc822_header->content_type->type1; } else { $type0 = $message->header->type0; $type1 = $message->header->type1; } if($type0 == 'multipart' && ($type1 == 'alternative' || $type1 == 'mixed' || $type1 == 'related')) { if ($message->findDisplayEntity(array(), array('text/html'), true)) { $has_html = 1; } } /* * Normal single part message so check its type. */ else { if($type0 == 'text' && $type1 == 'html') { $has_html = 1; } } if ($has_html == 1) { sq_change_text_domain('view_as_html'); $link = ' | '; if($show_html_default == 1) { $link .= ''; $link .= _("View as plain text"); } else { $link .= ''; $link .= _("View as HTML"); } echo $link . "\n"; sq_change_text_domain('squirrelmail'); } }