Код: Выделить всё
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 556: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 557: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4646: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3826)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4648: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3826)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4649: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3826)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4650: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3826)
Veerpool
Vadyai
serrrios
Код: Выделить всё
// Maximum Width the Image can take
$forum_data['astracker'] || $forum_astracker ? $config['img_max_thumb_width']=$config['ppkbb_tmax_thumbwidth'] : '';
$max_width = ($config['img_max_thumb_width']) ? $config['img_max_thumb_width'] : 400;
if ($width > $height)
{
return array(
round($width * ($max_width / $width)),
round($height * ($max_width / $width))
);
}
else
{
return array(
556 round($width * ($max_width / $height)),
557 round($height * ($max_width / $height))
);
}
}
Veerpool
Код: Выделить всё
// Maximum Width the Image can take
$forum_data['astracker'] || $forum_astracker ? $config['img_max_thumb_width']=$config['ppkbb_tmax_thumbwidth'] : '';
$max_width = ($config['img_max_thumb_width']) ? $config['img_max_thumb_width'] : 400;
Код: Выделить всё
if(!$height)
{
return array(0, 0);
}
PPK
Veerpool