I found this code in /include/categories.php
I wonder if I can do something with this?
Quote:
#
# Count the subcategories
#
$category["subcategory_count"] = func_query_first_cell("SELECT subcategory_count FROM $sql_tbl[categories_subcount] WHERE categoryid='$cat'".($current_area == 'C'?" AND membership = '".addslashes($user_account["membership"])."'":""));
return $category;
}
|