if($_GET['size'] == 'small') {
$img = '../images/small/'.$sait['image'].'.gif';
$image = imagecreatefromgif($img);
$real_stat = mysql_fetch_array(mysql_query("SELECT * FROM `sait` WHERE `id` = '".$id."'"));
$hosts = 68 - (strlen($real_stat['hosts']) * 5);
$black = imagecolorallocate($image, 255, 255, 255);
$font = 'font1.ttf';
//ImageString($image,1,$hosts,4,$real_stat['hosts'],$black);
imagettftext($image , 9 , 0 , $hosts , 12 , $black , $font , $real_stat['hosts'] );
}