$req = mysql_query("SELECT `id`, `name`, `text`, `time`, `views` FROM `cms_news` ORDER BY `time` DESC LIMIT ". $start . "," . $kmess);
$req = mysql_query("SELECT `id`, `name`, `text`, `time`, `views` FROM `cms_news` ORDER BY `time` DESC LIMIT 10);
if ($handle->uploaded) { $handle->file_new_name_body = 'news_'.$id; $handle->file_max_size = 99999 * $set['flsz']; $handle->file_overwrite = true; $handle->image_resize = true; $handle->image_x = true; $handle->image_y = true; $handle->image_ratio_no_zoom_in = true; $handle->image_convert = 'jpg'; $handle->image_text = $home.' - '.$titleaju; $handle->image_text_font = 0; $handle->image_text_background = '#555'; $handle->image_text_color = '#FEFFFB'; $handle->image_text_background_percent = 50; $handle->image_text_padding = 5; $handle->image_text_x = 'BR'; $handle->image_text_y = 5; $handle->image_convert = 'jpg'; $handle->process('files/news'); if ($handle->processed) { } }