hi
tell me how to create a condition to display the category where more >1 ad, which is < than 1, do not display them
<div id="search-cat" class="search-cat">
<div class="cat-tab">
<?php $cat_id = osc_category_id(); ?>
<?php if(!empty($subcats)) { ?>
<?php foreach($subcats as $s) { ?>
<?php $search_params['sCategory'] = $s['pk_i_id']; ?>
<div class="link-wrap">
<a href="<?php echo osc_search_url($search_params); ?>" <?php echo ($s['pk_i_id'] == $search_cat_id ? 'class="bold"' : ''); ?>>
<?php echo $s['s_name'] . ' <strong>' . $s['i_num_items'] . '</strong>'; ?>
</a>
</div>