categorize_groups === 'yes') {
$columns = $join = $where = null;
$columns = [
'group_categories.group_category_id',
'group_categories.category_name',
'group_categories.group_category_image'
];
$where["group_categories.disabled[!]"] = 1;
$where["ORDER"] = ["group_categories.category_order" => "ASC"];
$group_categories = DB::connect()->select('group_categories', $columns, $where);
?>
all; ?>
'group_categories', 'image' => $group_category['group_category_image']]);
?>
rand("site_advertisements",
['site_advertisements.site_advert_min_height', 'site_advertisements.site_advert_max_height',
'site_advertisements.site_advert_content'],
["site_advertisements.site_advert_placement" => 'landing_page_groups_section', "site_advertisements.disabled[!]" => 1, "LIMIT" => 1]
);
if (isset($site_advert[0])) {
$site_advert = $site_advert[0];
$advert_css = 'max-height:'.$site_advert['site_advert_max_height'].'px;';
if (!empty($site_advert['site_advert_min_height'])) {
$advert_css .= 'min-height:'.$site_advert['site_advert_min_height'].'px;';
}
?>