» 
0")." ORDER BY customXcategory ASC, theorder ASC, name ASC"); $i = 0; foreach($getCats as $catBrowse) { if ($setts['enable_cat_counters']=="Y") { if ($s_landname!=""&&$s_landname!="n/a"&&$s_landname!="all"&&$setts['enable_cba']==1) { $items_counter = ($setts['enable_start_on_first_bid']==1)?getSqlNumber("user","SELECT id FROM nash_auctions WHERE ((closed='1' AND is_start_on_first_bid='1') OR closed='0') AND active='1' AND deleted!='1' AND listin!='store' AND main_category='".$catBrowse['id']."' AND saveforlater='0'".$someland.""):getSqlNumber("user","SELECT id FROM nash_auctions WHERE closed='0' AND active='1' AND deleted!='1' AND listin!='store' AND main_category='".$catBrowse['id']."' AND saveforlater='0'".$someland.""); $items_counterUWIP = ($setts['enable_user_website_item_promoter']==1)?getSqlNumber("user","SELECT id FROM nash_website_promoter_auctions WHERE main_category='".$catBrowse['id']."' AND matching_main_categoryname=1 AND matching_categoryname=1".$someland.""):0; } else { $items_counter = $catBrowse['items_counter']; $items_counterUWIP = ($setts['enable_user_website_item_promoter']==1)?getSqlNumber("user","SELECT id FROM nash_website_promoter_auctions WHERE main_category='".$catBrowse['id']."' AND matching_main_categoryname=1 AND matching_categoryname=1"):0; } $items_counter = $items_counter+$items_counterUWIP; } if ($i%$columns==0) { ?> 0) { ?>
0) $catLink = $path.processLink('categories', array('category' => $c_lang[$catBrowse['id']], 'parent' => $catBrowse['id'], 'show' => 'subcats', 'regionX' => '0', 'preparent' => $catBrowse['id'])); else $catLink = $path.processLink('categories', array('category' => $c_lang[$catBrowse['id']], 'parent' => $catBrowse['id'], 'regionX' => '0', 'preparent' => $catBrowse['id']));?>
0)?" (".$items_counter.")":"";?>
$c_lang[$Subcat['id']], 'parent' => $Subcat['id'], 'show' => 'subcats', 'regionX' => '0', 'preparent' => $catBrowse['id']))."\">".$c_lang[$Subcat['id']].", ";?> ...