$ocenky = mysql_result(mysql_query("SELECT COUNT(*) FROM `gallery_rating` WHERE `avtor` = '" . $user['id'] . "' AND `read`='1'", 0);