kopia lustrzana https://github.com/magicbug/Cloudlog
commit
48ddcf0ada
|
@ -238,7 +238,7 @@ class Awards extends CI_Controller {
|
|||
$data['page_title'] = "Awards - WAJA";
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
$this->load->view('awards/waja/index');
|
||||
$this->load->view('interface_assets/footer');
|
||||
$this->load->view('interface_assets/footer', $footerData);
|
||||
}
|
||||
|
||||
public function vucc() {
|
||||
|
@ -1018,6 +1018,8 @@ class Awards extends CI_Controller {
|
|||
$cq_array = null;
|
||||
}
|
||||
|
||||
$zones = array();
|
||||
|
||||
foreach ($cq_array as $cq => $value) {
|
||||
foreach ($value as $key) {
|
||||
if($key != "") {
|
||||
|
@ -1041,6 +1043,60 @@ class Awards extends CI_Controller {
|
|||
echo json_encode($zones);
|
||||
}
|
||||
|
||||
/*
|
||||
function waja_map
|
||||
*/
|
||||
public function waja_map() {
|
||||
$prefectureString = '01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47';
|
||||
$wajaArray = explode(',', $prefectureString);
|
||||
|
||||
$this->load->model('waja');
|
||||
$this->load->model('bands');
|
||||
|
||||
$bands[] = $this->security->xss_clean($this->input->post('band'));
|
||||
|
||||
$postdata['qsl'] = $this->input->post('qsl') == 0 ? NULL: 1;
|
||||
$postdata['lotw'] = $this->input->post('lotw') == 0 ? NULL: 1;
|
||||
$postdata['eqsl'] = $this->input->post('eqsl') == 0 ? NULL: 1;
|
||||
$postdata['worked'] = $this->input->post('worked') == 0 ? NULL: 1;
|
||||
$postdata['confirmed'] = $this->input->post('confirmed') == 0 ? NULL: 1;
|
||||
$postdata['notworked'] = $this->input->post('notworked') == 0 ? NULL: 1;
|
||||
$postdata['band'] = $this->security->xss_clean($this->input->post('band'));
|
||||
$postdata['mode'] = $this->security->xss_clean($this->input->post('mode'));
|
||||
|
||||
|
||||
$waja_array = $this->waja->get_waja_array($bands, $postdata);
|
||||
|
||||
$prefectures = array();
|
||||
|
||||
foreach ($wajaArray as $state) { // Generating array for use in the table
|
||||
$prefectures[$state] = '-'; // Inits each state's count
|
||||
}
|
||||
|
||||
|
||||
foreach ($waja_array as $waja => $value) {
|
||||
foreach ($value as $key) {
|
||||
if($key != "") {
|
||||
if (strpos($key, '>W<') !== false) {
|
||||
$prefectures[$waja] = 'W';
|
||||
break;
|
||||
}
|
||||
if (strpos($key, '>C<') !== false) {
|
||||
$prefectures[$waja] = 'C';
|
||||
break;
|
||||
}
|
||||
if (strpos($key, '-') !== false) {
|
||||
$prefectures[$waja] = '-';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($prefectures);
|
||||
}
|
||||
|
||||
/*
|
||||
function dxcc_map
|
||||
This displays the DXCC map
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - 世界动植物奖";
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF,即“业余无线电世界动植物群”,鼓励获得许可的业余无线电操作员离开棚屋,在全球动植物保护区 (PFF) 进行便携式操作。";
|
||||
$lang['awards_wwff_description_ln3'] = "全球已有超过 26,000 个动植物保护区 (PFF) 已在 WWFF 名录中注册。 猎人和激活者可以申请全球和国内的丰富多彩的奖项。";
|
||||
$lang['awards_wwff_description_ln4'] = "如需了解更多信息,请访问:<a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>。";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, ermutigt lizenzierte Funkamateure, ihre Funkstationen zu verlassen und in geschützten Flora- und Fauna-Gebieten (PFF) weltweit portabel zu funken.";
|
||||
$lang['awards_wwff_description_ln3'] = "Bereits mehr als 26.000 geschützte Flora- und Fauna-Gebiete (PFF) weltweit sind in dem WWFF-Verzeichnis registriert. Jäger und Aktivatoren können bunte Diplome sowohl weltweit als auch national beantragen.";
|
||||
$lang['awards_wwff_description_ln4'] = "Für weitere Informationen besuchen Sie bitte: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -182,3 +182,14 @@ $lang['awards_wwff_description_ln1'] = "WWFF - World Wide Flora and Fauna Award"
|
|||
$lang['awards_wwff_description_ln2'] = "WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide.";
|
||||
$lang['awards_wwff_description_ln3'] = "More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally.";
|
||||
$lang['awards_wwff_description_ln4'] = "For more information, please visit: <a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAJA -- Use all 4 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
|
||||
$lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Award";
|
||||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
|
|
@ -387,8 +387,9 @@ class Logbook_model extends CI_Model {
|
|||
$this->db->where('COL_DARC_DOK', $searchphrase);
|
||||
break;
|
||||
case 'WAJA':
|
||||
$this->db->where('COL_STATE', $searchphrase);
|
||||
$this->db->where_in('COL_DXCC', ['339']);
|
||||
$state = str_pad($searchphrase, 2, '0', STR_PAD_LEFT);
|
||||
$this->db->where('COL_STATE', $state);
|
||||
$this->db->where('COL_DXCC', '339');
|
||||
break;
|
||||
case 'QSLRDATE':
|
||||
$this->db->where('date(COL_QSLRDATE)=date(SYSDATE())');
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<script>
|
||||
var tileUrl="<?php echo $this->optionslib->get_option('option_map_tile_server');?>"
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#dxccmap {
|
||||
#wajamap {
|
||||
height: calc(100vh - 500px) !important;
|
||||
max-height: 900px !important;
|
||||
}
|
||||
|
@ -17,11 +20,12 @@
|
|||
text-align: center;
|
||||
font-size: 16px;
|
||||
margin: 2px 12px 8px;
|
||||
color: #777;
|
||||
color: #555;
|
||||
}
|
||||
.legend span {
|
||||
position: relative;
|
||||
bottom: 3px;
|
||||
color: #555;
|
||||
}
|
||||
.legend i {
|
||||
width: 18px;
|
||||
|
@ -29,13 +33,36 @@
|
|||
float: left;
|
||||
margin: 0 8px 0 0;
|
||||
opacity: 0.7;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.info {
|
||||
padding: 6px 8px;
|
||||
font: 14px/16px Arial, Helvetica, sans-serif;
|
||||
background: white;
|
||||
background: rgba(255,255,255,0.8);
|
||||
box-shadow: 0 0 15px rgba(0,0,0,0.2);
|
||||
border-radius: 5px;
|
||||
color: #555;
|
||||
}
|
||||
.info h4 {
|
||||
margin: 0 0 5px;
|
||||
color: #555;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<!-- Award Info Box -->
|
||||
<br>
|
||||
<!-- Award Info Box -->
|
||||
<br>
|
||||
<div id="awardInfoButton">
|
||||
<script>
|
||||
var lang_awards_info_button = "<?php echo lang('awards_info_button'); ?>";
|
||||
var lang_award_info_ln1 = "<?php echo lang('awards_waja_description_ln1'); ?>";
|
||||
var lang_award_info_ln2 = "<?php echo lang('awards_waja_description_ln2'); ?>";
|
||||
var lang_award_info_ln3 = "<?php echo lang('awards_waja_description_ln3'); ?>";
|
||||
var lang_award_info_ln4 = "<?php echo lang('awards_waja_description_ln4'); ?>";
|
||||
</script>
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo lang('awards_info_button'); ?></button>
|
||||
</div>
|
||||
<!-- End of Award Info Box -->
|
||||
|
||||
|
@ -119,6 +146,9 @@
|
|||
<div class="col-md-10">
|
||||
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning">Reset</button>
|
||||
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary">Show</button>
|
||||
<?php if ($waja_array) {
|
||||
?><button type="button" onclick="load_waja_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> Show WAJA Map</button>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -129,14 +159,17 @@
|
|||
<li class="nav-item">
|
||||
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true">Table</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="map-tab" onclick="load_waja_map();" data-bs-toggle="tab" href="#wajamaptab" role="tab" aria-controls="home" aria-selected="false">Map</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br />
|
||||
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade" id="dxccmaptab" role="tabpanel" aria-labelledby="home-tab">
|
||||
<div class="tab-pane fade" id="wajamaptab" role="tabpanel" aria-labelledby="home-tab">
|
||||
<br />
|
||||
|
||||
<div id="dxccmap"></div>
|
||||
<div id="wajamap"></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -158,7 +191,7 @@
|
|||
echo '</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
foreach ($waja_array as $dxcc => $value) { // Fills the table with the data
|
||||
foreach ($waja_array as $waja => $value) { // Fills the table with the data
|
||||
echo '<tr>';
|
||||
foreach ($value as $name => $key) {
|
||||
echo '<td style="text-align: center">' . $key . '</td>';
|
||||
|
@ -182,14 +215,14 @@
|
|||
|
||||
<tr><td>Total worked</td>';
|
||||
|
||||
foreach ($waja_summary['worked'] as $dxcc) { // Fills the table with the data
|
||||
echo '<td style="text-align: center">' . $dxcc . '</td>';
|
||||
foreach ($waja_summary['worked'] as $waja) { // Fills the table with the data
|
||||
echo '<td style="text-align: center">' . $waja . '</td>';
|
||||
}
|
||||
|
||||
echo '</tr><tr>
|
||||
<td>Total confirmed</td>';
|
||||
foreach ($waja_summary['confirmed'] as $dxcc) { // Fills the table with the data
|
||||
echo '<td style="text-align: center">' . $dxcc . '</td>';
|
||||
foreach ($waja_summary['confirmed'] as $waja) { // Fills the table with the data
|
||||
echo '<td style="text-align: center">' . $waja . '</td>';
|
||||
}
|
||||
|
||||
echo '</tr>
|
||||
|
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue