session->userdata('user_date_format')) { // If Logged in and session exists $custom_date_format = $this->session->userdata('user_date_format'); } else { // Get Default date format from /config/cloudlog.php $custom_date_format = $this->config->item('qso_date_format'); } ?> call] = $line->vucc_grids; } } if( $this->input->post('band') != NULL) { if ($activators_array) { $result = write_activators($activators_array, $vucc_grids, $custom_date_format, $this->input->post('band'), $this->input->post('leogeo')); } else { echo ''; } } ?>
# Callsign Count Gridsquares Show QSOs '; $activators = array(); foreach ($activators_array as $line) { $call = $line->call; $grids = $line->grids; $count = $line->count; if (array_key_exists($line->call, $vucc_grids)) { $grids .= ','.$vucc_grids[$line->call]; $grid_array = explode(',', $grids); array_unique($grid_array, SORT_STRING); $count = count($grid_array); } array_push($activators, array($count, $call, $grids)); } arsort($activators); foreach ($activators as $line) { echo ' ' . $i++ . ' '.$line[1].' '.$line[0].' '.$line[2].' Show '; } echo ''; }