Add LX gridmaster

This commit is contained in:
phl0 2023-12-12 23:05:59 +01:00
parent b1aa996a5d
commit 6ca1426254
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A
17 changed files with 23 additions and 0 deletions

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,8 +40,10 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_ffma'] = 'Fred Fish Memorial Award';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_ja_gridmaster'] = 'JA Gridmaster';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_ffma'] = 'Fred Fish Memorial Award';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_ja_gridmaster'] = 'JA Gridmaster';
$lang['menu_iota'] = 'IOTA';
$lang['menu_pota'] = 'POTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -40,6 +40,7 @@ $lang['menu_dl_gridmaster'] = 'DL Gridmaster';
$lang['menu_dok'] = 'DOK';
$lang['menu_dxcc'] = 'DXCC';
$lang['menu_iota'] = 'IOTA';
$lang['menu_lx_gridmaster'] = 'LX Gridmaster';
$lang['menu_pota'] = 'POTA';
$lang['menu_sig'] = 'SIG';
$lang['menu_sota'] = 'SOTA';

View File

@ -57,6 +57,11 @@ class Gridmaster_model extends CI_Model {
private $dl_lon = 11;
private $dl_zoom = 6;
private $lx_grids = ['JO20', 'JO30', 'JN29', 'JN39' ];
private $lx_lat = 50;
private $lx_lon = 6;
private $lx_zoom = 8;
function get_lotw($dxcc) {
$CI =& get_instance();
$CI->load->model('logbooks_model');

View File

@ -151,6 +151,8 @@
<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/lx'); ?>"><i class="fas fa-trophy"></i> <?php echo lang('menu_lx_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>