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
key ' . $keys[$i] . ' msgid ' . $msgs[$keys[$i]]['ID'] . '';
}
}
function delete_move_expunge_from_all($id) {
global $msgs, $msort, $sort, $imapConnection, $mailbox, $uid_support;
$delAt = -1;
if(isset($msort) && count($msort) > 0) {
for ($i = 0; $i < count($msort); $i++) {
if ($msgs[$i]['ID'] == $id) {
$delAt = $i;
} elseif ($msgs[$i]['ID'] > $id) {
if (!$uid_support) {
$msgs[$i]['ID']--;
}
}
}
$msgs = delete_move_del_arr_elem($msgs, $delAt);
$msort = delete_move_del_arr_elem($msort, $delAt);
if ($sort < 6) {
if ($sort % 2) {
asort($msort);
} else {
arsort($msort);
}
}
sqsession_register($msgs, 'msgs');
sqsession_register($msort, 'msort');
}
sqimap_mailbox_expunge($imapConnection, $mailbox, true);
}
function delete_move_next_action() {
if ( sqgetGlobalVar('unread_id', $unread_id, SQ_GET) ) {
delete_move_next_unread();
} else if ( sqgetGlobalVar('delete_id', $delete_id, SQ_GET) ) {
delete_move_next_delete();
fix_sort_array();
} else if ( sqgetGlobalVar('move_id', $move_id, SQ_POST) ) {
delete_move_next_move();
fix_sort_array();
}
}
function delete_move_next_read_t() {
global $delete_move_next_t;
if($delete_move_next_t == 'on') {
delete_move_next_read('top');
}
}
function delete_move_next_read_b() {
global $delete_move_next_b;
if ($delete_move_next_b != 'off') {
delete_move_next_read('bottom');
}
}
function delete_move_next_read($currloc) {
global $delete_move_next_formATtop, $delete_move_next_formATbottom,
$color, $where, $what, $currentArrayIndex, $passed_id,
$mailbox, $sort, $startMessage, $delete_id, $move_id,
$imapConnection, $auto_expunge, $move_to_trash, $mbx_response,
$uid_support, $passed_ent_id, $delete_move_next_show_unread;
$urlMailbox = urlencode($mailbox);
if (!isset($passed_ent_id)) $passed_ent_id = 0;
if (!(($where && $what) || ($currentArrayIndex == -1)) && !$passed_ent_id) {
$next = findNextMessage($passed_id);
$prev = findPreviousMessage($mbx_response['EXISTS'], $passed_id);
$prev_if_del = $prev;
$next_if_del = $next;
if (!$uid_support && ($auto_expunge || $move_to_trash)) {
if ($prev_if_del > $passed_id) {
$prev_if_del--;
}
if ($next_if_del > $passed_id) {
$next_if_del--;
}
}
/* Base is illegal within documents
* $location = get_location();
* echo "" . */
echo '