Add DL Gridmaster

This commit is contained in:
phl0 2023-12-12 21:22:46 +01:00
parent b58ff1ae13
commit b1aa996a5d
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A
17 changed files with 25 additions and 0 deletions

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = '大陆';
$lang['menu_awards'] = '奖项';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Kontinenty';
$lang['menu_awards'] = 'Diplomy';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_ffma'] = 'Fred Fish Memorial Award';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Mantereet';
$lang['menu_awards'] = 'Awardit';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_ffma'] = 'Fred Fish Memorial Award';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Kontinente';
$lang['menu_awards'] = 'Diplome';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Континенты';
$lang['menu_awards'] = 'Дипломы';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Kontinenter';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents';
$lang['menu_awards'] = 'Awards';
$lang['menu_cq'] = 'CQ';
$lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';

View File

@ -49,6 +49,14 @@ class Gridmaster_model extends CI_Model {
private $ja_lon = 140;
private $ja_zoom = 5;
private $dl_grids = ['JO45', 'JO34', 'JO44', 'JO54', 'JO64', 'JO74', 'JO33', 'JO43', 'JO53', 'JO63', 'JO73', 'JO32', 'JO42', 'JO52', 'JO62', 'JO72',
'JO21', 'JO31', 'JO41', 'JO51', 'JO61', 'JO71', 'JO20', 'JO30', 'JO40', 'JO50', 'JO60', 'JO70', 'JN39', 'JN49', 'JN59', 'JN69',
'JN38', 'JN48', 'JN58', 'JN68', 'JN37', 'JN47', 'JN57', 'JN67'
];
private $dl_lat = 52;
private $dl_lon = 11;
private $dl_zoom = 6;
function get_lotw($dxcc) {
$CI =& get_instance();
$CI->load->model('logbooks_model');

View File

@ -149,6 +149,8 @@
<div class="dropdown-divider"></div>
<div class="nav-item dropdown dropdown-submenu" aria-labelledby="navbarDropdown"><a class="dropdown-item dropdown-toggle" href="#"><i class="fas fa-trophy"></i> Gridmaster</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="<?php echo site_url('awards/gridmaster/dl'); ?>"><i class="fas fa-trophy"></i> <?php echo lang('menu_dl_gridmaster'); ?></a></li>
<div class="dropdown-divider"></div>
<li><a class="dropdown-item" href="<?php echo site_url('awards/gridmaster/ja'); ?>"><i class="fas fa-trophy"></i> <?php echo lang('menu_ja_gridmaster'); ?></a></li>
<div class="dropdown-divider"></div>
<li><a class="dropdown-item" href="<?php echo site_url('awards/gridmaster/us'); ?>"><i class="fas fa-trophy"></i> <?php echo lang('menu_us_gridmaster'); ?></a></li>