1
Mods & Plugins (Releases & Support) / [Mod] New Images in Category v2
« on: May 15, 2003, 12:14:52 PM »Quote from: V@no
Quote from: FugazimanBe careful with this bit, make shure you have all the }'s in place
yepp i saw that but its all there....this is the part wher i includet code:
Code: [Select]
if (!empty($search_id['search_cat']) && $search_id['search_cat'] != 0) {
$cat_id_sql = 0;
$sub_cat_ids = get_subcat_ids($search_id['search_cat'], $search_id['search_cat'], $cat_parent_cache);
if (check_permission("auth_viewcat", $search_id['search_cat'])) {
$cat_id_sql .= ", ".$search_id['search_cat'];
if ($sub_cat != "no") { // Show New Image count in category Mod
if (!empty($sub_cat_ids[$search_id['search_cat']])) {
foreach ($sub_cat_ids[$search_id['search_cat']] as $val) {
if (check_permission("auth_viewcat", $val)) {
$cat_id_sql .= ", ".$val;
}
}
}
} // Show New Image count in category Mod
}