$req = mysql_query("SELECT * FROM`novosti` order by time desc LIMIT 3;"); while ($res = mysql_fetch_array($req)) { echo ceil(ceil($i / 2) - ($i / 2)) == 0 ? '