name;?> Maps
Maps
getConn(), $_SESSION['user']->id); $usr_grps = ($_SESSION['user']->id == SUPER_ADMIN_ID) ? $acc_obj->getRowsArr() : $acc_obj->getByUserId($_SESSION['user']->id); $rows = array(); if(count($usr_grps)){ $usr_grps_keys = array_keys($usr_grps); $usr_map_grps = $acc_obj->getGroupMapGroups($usr_grps_keys); if(count($usr_map_grps)){ $usr_map_grps_ids = implode(',', array_keys($usr_map_grps)); $rows = $database->getAll('map', "id IN (".$usr_map_grps_ids.")", 'id'); } } ?>
Maps