mysql_query("SELECT * FROM nariai WHERE lygis > 0 ORDER BY lygis DESC");
mysql_query("UPDATE nariai SET lygis=0 WHERE lygis>1000");