$items_per_page = "10"; // limitas kiek rodys naujienų
//$result = dbquery("SELECT * FROM ".$db_prefix."news ORDER BY news_datestamp DESC LIMIT 0,4");
$result = dbquery(
"SELECT * FROM ".DB_NEWS."
WHERE news_draft='0' AND news_cat=22 ORDER BY news_datestamp DESC
LIMIT ".$_GET['rowstart'].", $items_per_page"
);