function filterObjectList($list, $args = array(), $operator = 'and', $field = false) { if (!is_array($list)) { return array(); } $list = listFilter($list, $args, $operator); if ($field) { $list = array_pluck($list, $field); } return $list; }
} ?> <?php if ($twcid != '' && listFilter("parentid = '{$twcid}' and checkinfo = 'true' order by orderid asc", 'thcid', $thcid) != '') { ?> <li> <span class="splb_searchbt"> </span> <span class="xz_qb"><span><a href="<?php echo GetUrl('thcid'); ?> " <?php echo $thcid == '' ? 'class="cur"' : ''; ?> >全部</a></span><p> <?php echo listFilter("parentid = '{$twcid}' and checkinfo = 'true' order by orderid asc", 'thcid', $thcid); ?> </p> </span> <span class="splb_sq">展开</span> <div class="divclear"></div> </li> <?php } ?> <li> <span class="splb_searchbt">价格:</span> <span class="xz_qb"><span><a href="<?php echo GetUrl($price); ?> " <?php