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/wavelog.php $custom_date_format = $this->config->item('qso_date_format'); } ?> ' . __("Nothing found!") . '
'; } ?> # ' . __("Callsign") . ' ' . __("Count") . ' ' . __("Gridsquares") . ' ' . __("Show QSOs") . ' ' . __("Show Map") . ' '; $activators = array(); foreach ($activators_array as $line) { $call = $line->call; $grids = $line->grids; $count = $line->count; if (array_key_exists($line->call, $vucc_grids)) { foreach (explode(',', $vucc_grids[$line->call]) as $vgrid) { if (!strpos($grids, $vgrid)) { $grids .= ',' . $vgrid; } } $grids = str_replace(' ', '', $grids); $grid_array = explode(',', $grids); sort($grid_array); $count = count($grid_array); $grids = implode(', ', $grid_array); } array_push($activators, array($count, $call, $grids)); } arsort($activators); foreach ($activators as $line) { echo ' ' . $i++ . ' ' . $line[1] . ' ' . $line[0] . ' ' . $line[2] . ' '; } echo ''; }