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
= $wrap &&
substr($ret, 0, 1) != '>' &&
strpos($ret, 'http://') === FALSE &&
strpos($ret, 'https://') === FALSE &&
strpos($ret, 'ftp://') === FALSE) {
$ret = mb_convert_kana($ret, "KV");
$line_new = '';
$ptr = 0;
while ($ptr < strlen($ret) - 1) {
$l = mb_strcut($ret, $ptr, $wrap);
$ptr += strlen($l);
$tmp = $l;
$l = mb_strcut($ret, $ptr, 2);
while (strlen($l) != 0 && mb_strpos($no_begin, $l) !== FALSE ) {
$tmp .= $l;
$ptr += strlen($l);
$l = mb_strcut($ret, $ptr, 1);
}
$line_new .= $tmp;
if ($ptr < strlen($ret) - 1)
$line_new .= "\n";
}
$ret = $line_new;
}
}
return $ret;
}
/**
* Japanese imap folder name encoding function
*
* converts folder name from euc-jp to utf7-imap
* @param string $ret folder name
* @return string converted folder name
* @since 1.5.1
*/
function japanese_xtra_utf7_imap_encode($ret){
if (function_exists('mb_detect_encoding')) {
$ret = mb_convert_encoding($ret, 'UTF7-IMAP', 'EUC-JP');
}
return $ret;
}
/**
* Japanese imap folder name decoding function
*
* converts folder name from utf7-imap to euc-jp.
* @param string $ret folder name in utf7-imap
* @return string converted folder name
* @since 1.5.1
*/
function japanese_xtra_utf7_imap_decode($ret) {
if (function_exists('mb_detect_encoding')) {
$ret = mb_convert_encoding($ret, 'EUC-JP', 'UTF7-IMAP');
}
return $ret;
}
/**
* Japanese string trimming function
*
* trims string to defined number of symbols
* @param string $ret string
* @param integer $width number of symbols
* @return string trimmed string
* @since 1.5.1
*/
function japanese_xtra_strimwidth($ret,$width) {
if (function_exists('mb_detect_encoding')) {
$ret = mb_strimwidth($ret, 0, $width, '...');
}
return $ret;
}