sql_query("select category_id, title, cdescription from ".$prefix."_cart_categories where parentid='0' order by title"); $numrows = $db->sql_numrows($result); if($numrows > 0){ while(list($category_id, $title, $cdescription) = $db->sql_fetchrow($result) ) { $content .= "· $title
"; } } else { $content .= ""._EMPORIUM_BLOCK_CATEGORIES_NOCATEGORIES.""; } ?>