openside("Naujienų kategorijos");
$result = dbquery("SELECT * FROM ".$db_prefix."news_cats ORDER BY news_cat_name");
while ($data = dbarray($result)) {
echo "<a href='".BASEDIR."news_cats.php?cat_id=".$data['news_cat_id']."' lass='side'>".$data['news_cat_name']."[$rows]</a><br />";
}
closeside();