$cat_group_ar = explode("_",$CatID);
$cat_group = $cat_group_ar[0] ; ?>
while ( list($k,$v) = each ($cList) ) { ?>
 |
if ( $cat_group == $v[CatID] ) { ?>
while ( list($r,$s) = each($v[SubCat] ) ) { ?>
if ( $CatID == $s[CatID] ) {
$style = 'style="color:#3a7730;font-weight:bold"';
} else {
$style = '';
}
?>
|
} } ?>
 |
|
} ?>