2021-10-14 15:45:51 +00:00
|
|
|
<?php
|
|
|
|
function echo_table_header_col($ctx, $name) {
|
2021-10-15 06:56:40 +00:00
|
|
|
switch($name) {
|
|
|
|
case 'Mode': echo '<th>'.$ctx->lang->line('gen_hamradio_mode').'</th>'; break;
|
|
|
|
case 'RSTS': echo '<th class="d-none d-sm-table-cell">'.$ctx->lang->line('gen_hamradio_rsts').'</th>'; break;
|
|
|
|
case 'RSTR': echo '<th class="d-none d-sm-table-cell">'.$ctx->lang->line('gen_hamradio_rstr').'</th>'; break;
|
|
|
|
case 'Country': echo '<th>'.$ctx->lang->line('general_word_country').'</th>'; break;
|
|
|
|
case 'IOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_iota').'</th>'; break;
|
|
|
|
case 'SOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_sota').'</th>'; break;
|
2022-08-17 11:10:15 +00:00
|
|
|
case 'WWFF': echo '<th>'.$ctx->lang->line('gen_hamradio_wwff').'</th>'; break;
|
2022-10-05 15:05:53 +00:00
|
|
|
case 'POTA': echo '<th>'.$ctx->lang->line('gen_hamradio_pota').'</th>'; break;
|
2021-10-15 06:56:40 +00:00
|
|
|
case 'State': echo '<th>'.$ctx->lang->line('gen_hamradio_state').'</th>'; break;
|
|
|
|
case 'Grid': echo '<th>'.$ctx->lang->line('gen_hamradio_gridsquare').'</th>'; break;
|
2023-06-20 17:36:35 +00:00
|
|
|
case 'Distance': echo '<th>'.$ctx->lang->line('gen_hamradio_distance').'</th>'; break;
|
2021-10-15 06:56:40 +00:00
|
|
|
case 'Band': echo '<th>'.$ctx->lang->line('gen_hamradio_band').'</th>'; break;
|
2022-12-14 11:45:32 +00:00
|
|
|
case 'Frequency': echo '<th>'.$ctx->lang->line('gen_hamradio_frequency').'</th>'; break;
|
2021-11-06 14:53:04 +00:00
|
|
|
case 'Operator': echo '<th>'.$ctx->lang->line('gen_hamradio_operator').'</th>'; break;
|
2021-10-15 06:56:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function echo_table_col($row, $name) {
|
2022-12-14 11:45:32 +00:00
|
|
|
$ci =& get_instance();
|
2021-10-15 06:56:40 +00:00
|
|
|
switch($name) {
|
|
|
|
case 'Mode': echo '<td>'; echo $row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE . '</td>'; break;
|
2023-07-13 06:35:29 +00:00
|
|
|
case 'RSTS': echo '<td class="d-none d-sm-table-cell">' . $row->COL_RST_SENT; if ($row->COL_STX) { echo ' <span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">'; printf("%03d", $row->COL_STX); echo '</span>';} if ($row->COL_STX_STRING) { echo ' <span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">' . $row->COL_STX_STRING . '</span>';} echo '</td>'; break;
|
|
|
|
case 'RSTR': echo '<td class="d-none d-sm-table-cell">' . $row->COL_RST_RCVD; if ($row->COL_SRX) { echo ' <span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">'; printf("%03d", $row->COL_SRX); echo '</span>';} if ($row->COL_SRX_STRING) { echo ' <span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">' . $row->COL_SRX_STRING . '</span>';} echo '</td>'; break;
|
2023-04-26 20:39:09 +00:00
|
|
|
case 'Country': echo '<td>' . ucwords(strtolower(($row->COL_COUNTRY))); if ($row->end != NULL) echo ' <span class="badge badge-danger">'.$ci->lang->line('gen_hamradio_deleted_dxcc').'</span>' . '</td>'; break;
|
2021-10-15 06:56:40 +00:00
|
|
|
case 'IOTA': echo '<td>' . ($row->COL_IOTA) . '</td>'; break;
|
|
|
|
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF) . '</td>'; break;
|
2022-08-17 11:10:15 +00:00
|
|
|
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF) . '</td>'; break;
|
2022-10-05 15:05:53 +00:00
|
|
|
case 'POTA': echo '<td>' . ($row->COL_POTA_REF) . '</td>'; break;
|
2022-02-21 21:53:09 +00:00
|
|
|
case 'Grid': echo '<td>'; echoQrbCalcLink($row->station_gridsquare, $row->COL_VUCC_GRIDS, $row->COL_GRIDSQUARE); echo '</td>'; break;
|
2023-06-20 17:36:35 +00:00
|
|
|
case 'Distance': echo '<td>' . ($row->COL_DISTANCE ? $row->COL_DISTANCE . ' km' : '') . '</td>'; break;
|
2022-08-11 09:50:28 +00:00
|
|
|
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo '<a href="https://db.satnogs.org/search/?q='.$row->COL_SAT_NAME.'" target="_blank">'.$row->COL_SAT_NAME.'</a></td>'; } else { echo strtolower($row->COL_BAND); } echo '</td>'; break;
|
2022-12-14 11:45:32 +00:00
|
|
|
case 'Frequency': echo '<td>'; if($row->COL_SAT_NAME != null) { echo '<a href="https://db.satnogs.org/search/?q='.$row->COL_SAT_NAME.'" target="_blank">'.$row->COL_SAT_NAME.'</a></td>'; } else { if($row->COL_FREQ != null) { echo $ci->frequency->hz_to_mhz($row->COL_FREQ); } else { echo strtolower($row->COL_BAND); } } echo '</td>'; break;
|
2021-10-15 06:56:40 +00:00
|
|
|
case 'State': echo '<td>' . ($row->COL_STATE) . '</td>'; break;
|
2021-11-06 11:14:45 +00:00
|
|
|
case 'Operator': echo '<td>' . ($row->COL_OPERATOR) . '</td>'; break;
|
2021-10-15 06:56:40 +00:00
|
|
|
}
|
2021-10-14 15:45:51 +00:00
|
|
|
}
|
2022-02-19 18:46:07 +00:00
|
|
|
|
2022-02-21 21:53:09 +00:00
|
|
|
function echoQrbCalcLink($mygrid, $grid, $vucc) {
|
2022-12-14 12:24:00 +00:00
|
|
|
if (!empty($grid)) {
|
2022-02-21 21:53:09 +00:00
|
|
|
echo $grid . ' <a href="javascript:spawnQrbCalculator(\'' . $mygrid . '\',\'' . $grid . '\')"><i class="fas fa-globe"></i></a>';
|
2022-12-14 12:24:00 +00:00
|
|
|
} else if (!empty($vucc)) {
|
2022-02-21 21:53:09 +00:00
|
|
|
echo $vucc .' <a href="javascript:spawnQrbCalculator(\'' . $mygrid . '\',\'' . $vucc . '\')"><i class="fas fa-globe"></i></a>';
|
2022-02-19 18:46:07 +00:00
|
|
|
}
|
|
|
|
}
|
2021-10-14 15:45:51 +00:00
|
|
|
?>
|
2019-04-08 14:36:23 +00:00
|
|
|
<div class="container dashboard">
|
2011-08-22 18:31:53 +00:00
|
|
|
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
|
2023-05-14 11:45:10 +00:00
|
|
|
|
2023-04-27 21:47:54 +00:00
|
|
|
<?php if($this->optionslib->get_option('dashboard_banner') != "false") { ?>
|
2019-03-20 16:58:06 +00:00
|
|
|
<?php if($todays_qsos >= 1) { ?>
|
|
|
|
<div class="alert alert-success" role="alert">
|
2023-05-14 11:45:10 +00:00
|
|
|
<?php echo lang('dashboard_you_have_had'); ?> <strong><?php echo $todays_qsos; ?></strong> <?php echo lang('dashboard_qsos_today'); ?>
|
2019-03-20 16:58:06 +00:00
|
|
|
</div>
|
|
|
|
<?php } else { ?>
|
2020-12-06 17:30:41 +00:00
|
|
|
<div class="alert alert-warning" role="alert">
|
2023-05-14 11:45:10 +00:00
|
|
|
<span class="badge badge-info"><?php echo lang('general_word_important'); ?></span> <i class="fas fa-broadcast-tower"></i> <?php echo lang('notice_turn_the_radio_on'); ?>
|
2019-03-20 16:58:06 +00:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2023-04-27 21:47:54 +00:00
|
|
|
<?php } ?>
|
2019-10-03 11:56:25 +00:00
|
|
|
|
|
|
|
<?php if($current_active == 0) { ?>
|
|
|
|
<div class="alert alert-danger" role="alert">
|
2023-05-14 11:45:10 +00:00
|
|
|
<?php echo lang('error_no_active_station_profile'); ?>
|
2019-10-03 11:56:25 +00:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
|
2022-12-23 13:56:40 +00:00
|
|
|
<?php if ($this->session->userdata('user_id')) { ?>
|
|
|
|
<?php
|
|
|
|
$current_date = date('Y-m-d H:i:s');
|
|
|
|
if($this->LotwCert->lotw_cert_expired($this->session->userdata('user_id'), $current_date) == true) { ?>
|
|
|
|
<div class="alert alert-danger" role="alert">
|
2023-05-14 11:45:10 +00:00
|
|
|
<span class="badge badge-info"><?php echo lang('general_word_important'); ?></span> <i class="fas fa-hourglass-end"></i> <?php echo lang('lotw_cert_expired'); ?>
|
2022-12-23 13:56:40 +00:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2022-12-23 13:49:03 +00:00
|
|
|
|
2022-12-23 13:56:40 +00:00
|
|
|
<?php if($this->LotwCert->lotw_cert_expiring($this->session->userdata('user_id'), $current_date) == true) { ?>
|
|
|
|
<div class="alert alert-warning" role="alert">
|
2023-05-14 11:45:10 +00:00
|
|
|
<span class="badge badge-info"><?php echo lang('general_word_important'); ?></span> <i class="fas fa-hourglass-half"></i> <?php echo lang('lotw_cert_expiring'); ?>
|
2022-12-23 13:56:40 +00:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2022-12-23 13:49:03 +00:00
|
|
|
<?php } ?>
|
|
|
|
|
2011-08-22 18:31:53 +00:00
|
|
|
<?php } ?>
|
2020-08-22 22:34:15 +00:00
|
|
|
</div>
|
2011-06-17 12:52:00 +00:00
|
|
|
|
2023-04-29 16:44:35 +00:00
|
|
|
<?php if($this->optionslib->get_option('dashboard_map') != "false" && $this->optionslib->get_option('dashboard_map') != "map_at_right") { ?>
|
2011-11-06 23:09:51 +00:00
|
|
|
<!-- Map -->
|
2020-08-22 22:34:15 +00:00
|
|
|
<div id="map" style="width: 100%; height: 350px"></div>
|
2023-04-29 16:44:35 +00:00
|
|
|
<?php } ?>
|
2020-08-22 22:34:15 +00:00
|
|
|
<div style="padding-top: 0px; margin-top: 5px;" class="container dashboard">
|
2011-11-06 23:09:51 +00:00
|
|
|
|
|
|
|
<!-- Log Data -->
|
2019-04-08 14:36:23 +00:00
|
|
|
<div class="row logdata">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
|
|
|
<div class="table-responsive">
|
2019-03-20 16:58:06 +00:00
|
|
|
<table class="table table-striped table-hover">
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
<tr class="titles">
|
2023-05-14 11:45:10 +00:00
|
|
|
<th><?php echo lang('general_word_date'); ?></th>
|
2019-06-23 15:00:14 +00:00
|
|
|
|
|
|
|
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
|
2023-05-14 11:45:10 +00:00
|
|
|
<th><?php echo lang('general_word_time'); ?></th>
|
2019-06-23 15:00:14 +00:00
|
|
|
<?php } ?>
|
2023-05-14 11:45:10 +00:00
|
|
|
<th><?php echo lang('gen_hamradio_call'); ?></th>
|
2021-05-05 15:52:42 +00:00
|
|
|
<?php
|
2021-10-14 15:45:51 +00:00
|
|
|
echo_table_header_col($this, $this->session->userdata('user_column1')==""?'Mode':$this->session->userdata('user_column1'));
|
|
|
|
echo_table_header_col($this, $this->session->userdata('user_column2')==""?'RSTS':$this->session->userdata('user_column2'));
|
|
|
|
echo_table_header_col($this, $this->session->userdata('user_column3')==""?'RSTR':$this->session->userdata('user_column3'));
|
|
|
|
echo_table_header_col($this, $this->session->userdata('user_column4')==""?'Band':$this->session->userdata('user_column4'));
|
2021-05-05 15:52:42 +00:00
|
|
|
?>
|
2019-03-20 16:58:06 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2011-11-06 23:09:51 +00:00
|
|
|
|
2021-05-05 15:52:42 +00:00
|
|
|
<?php
|
|
|
|
$i = 0;
|
2021-11-14 22:48:39 +00:00
|
|
|
if(!empty($last_five_qsos) > 0) {
|
2011-11-06 23:09:51 +00:00
|
|
|
foreach ($last_five_qsos->result() as $row) { ?>
|
|
|
|
<?php echo '<tr class="tr'.($i & 1).'">'; ?>
|
2020-09-15 21:04:47 +00:00
|
|
|
|
2021-05-05 15:52:42 +00:00
|
|
|
<?php
|
2020-09-15 21:04:47 +00:00
|
|
|
|
|
|
|
// Get Date format
|
|
|
|
if($this->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');
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date($custom_date_format, $timestamp); ?></td>
|
2019-06-22 10:34:06 +00:00
|
|
|
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
|
2011-11-06 23:09:51 +00:00
|
|
|
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2019-06-21 20:25:11 +00:00
|
|
|
<?php } ?>
|
2019-03-20 17:47:40 +00:00
|
|
|
<td>
|
2020-09-24 18:22:09 +00:00
|
|
|
<a id="edit_qso" href="javascript:displayQso(<?php echo $row->COL_PRIMARY_KEY; ?>)"><?php echo str_replace("0","Ø",strtoupper($row->COL_CALL)); ?></a>
|
2019-03-20 17:47:40 +00:00
|
|
|
</td>
|
2021-05-05 15:52:42 +00:00
|
|
|
<?php
|
2021-10-15 06:56:40 +00:00
|
|
|
echo_table_col($row, $this->session->userdata('user_column1')==""?'Mode':$this->session->userdata('user_column1'));
|
|
|
|
echo_table_col($row, $this->session->userdata('user_column2')==""?'RSTS':$this->session->userdata('user_column2'));
|
|
|
|
echo_table_col($row, $this->session->userdata('user_column3')==""?'RSTR':$this->session->userdata('user_column3'));
|
|
|
|
echo_table_col($row, $this->session->userdata('user_column4')==""?'Band':$this->session->userdata('user_column4'));
|
2021-05-05 15:52:42 +00:00
|
|
|
?>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2021-11-14 22:48:39 +00:00
|
|
|
<?php $i++; } } ?>
|
2011-11-06 23:09:51 +00:00
|
|
|
</table>
|
2019-04-08 14:36:23 +00:00
|
|
|
</div>
|
2011-11-06 23:09:51 +00:00
|
|
|
</div>
|
|
|
|
|
2019-04-08 14:36:23 +00:00
|
|
|
<div class="col-sm-4">
|
2023-04-29 16:44:35 +00:00
|
|
|
<?php if($this->optionslib->get_option('dashboard_map') == "map_at_right") { ?>
|
|
|
|
<!-- Map -->
|
|
|
|
<div id="map" style="width: 100%; height: 350px; margin-bottom: 15px;"></div>
|
|
|
|
<?php } ?>
|
2019-04-08 14:36:23 +00:00
|
|
|
<div class="table-responsive">
|
2021-05-03 13:06:56 +00:00
|
|
|
|
|
|
|
|
2023-05-28 14:13:39 +00:00
|
|
|
<div id="radio_display" hx-get="<?php echo site_url('visitor/radio_display_component'); ?>" hx-trigger="load, every 5s"></div>
|
2021-05-03 13:06:56 +00:00
|
|
|
|
2019-05-13 13:04:16 +00:00
|
|
|
<table class="table table-striped">
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr class="titles">
|
2023-05-14 11:45:10 +00:00
|
|
|
<td colspan="2"><i class="fas fa-chart-bar"></i> <?php echo lang('dashboard_qso_breakdown'); ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_total'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $total_qsos; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_year'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $year_qsos; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_month'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $month_qsos; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2019-05-13 13:04:16 +00:00
|
|
|
</table>
|
2011-11-06 23:09:51 +00:00
|
|
|
|
2019-05-13 13:04:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
<table class="table table-striped">
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr class="titles">
|
2023-05-14 11:45:10 +00:00
|
|
|
<td colspan="2"><i class="fas fa-globe-europe"></i> <?php echo lang('dashboard_countries_breakdown'); ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_worked'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $total_countries; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2019-12-07 22:32:41 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><a href="#" onclick="return false" data-original-title="QSL Cards / eQSL / LoTW" data-toggle="tooltip"><?php echo lang('general_word_confirmed'); ?></a></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%">
|
2020-10-16 18:02:54 +00:00
|
|
|
<?php echo $total_countries_confirmed_paper; ?> /
|
|
|
|
<?php echo $total_countries_confirmed_eqsl; ?> /
|
|
|
|
<?php echo $total_countries_confirmed_lotw; ?>
|
2020-02-27 22:17:12 +00:00
|
|
|
</td>
|
2019-12-07 22:32:41 +00:00
|
|
|
</tr>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_needed'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $total_countries_needed; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2019-05-13 13:04:16 +00:00
|
|
|
</table>
|
|
|
|
|
2022-11-08 22:57:39 +00:00
|
|
|
<?php if((($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_qsl_sent != 0 || $total_qsl_rcvd != 0 || $total_qsl_requested != 0)) { ?>
|
2021-05-05 15:52:42 +00:00
|
|
|
<table class="table table-striped">
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr class="titles">
|
2023-05-14 11:45:10 +00:00
|
|
|
<td colspan="2"><i class="fas fa-envelope"></i> <?php echo lang('general_word_qslcards'); ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_sent'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $total_qsl_sent; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_received'); ?></td>
|
2022-11-08 22:57:39 +00:00
|
|
|
<td width="50%"><?php echo $total_qsl_rcvd; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2021-05-05 15:52:42 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_requested'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $total_qsl_requested; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2019-05-13 13:04:16 +00:00
|
|
|
<?php } ?>
|
2021-11-19 21:34:58 +00:00
|
|
|
|
2022-11-08 22:57:39 +00:00
|
|
|
<?php if((($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_eqsl_sent != 0 || $total_eqsl_rcvd != 0)) { ?>
|
2021-11-19 21:34:58 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<tr class="titles">
|
2023-05-14 11:45:10 +00:00
|
|
|
<td colspan="2"><i class="fas fa-address-card"></i> <?php echo lang('general_word_eqslcards'); ?></td>
|
2021-11-19 21:34:58 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_sent'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $total_eqsl_sent; ?></td>
|
2021-11-19 21:34:58 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_received'); ?></td>
|
2022-11-08 22:57:39 +00:00
|
|
|
<td width="50%"><?php echo $total_eqsl_rcvd; ?></td>
|
2021-11-19 21:34:58 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<?php } ?>
|
|
|
|
|
2022-11-08 22:57:39 +00:00
|
|
|
<?php if((($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_lotw_sent != 0 || $total_lotw_rcvd != 0)) { ?>
|
2021-11-19 21:34:58 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<tr class="titles">
|
2023-05-14 11:45:10 +00:00
|
|
|
<td colspan="2"><i class="fas fa-list"></i> <?php echo lang('general_word_lotw'); ?></td>
|
2021-11-19 21:34:58 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_sent'); ?></td>
|
2021-12-31 14:25:42 +00:00
|
|
|
<td width="50%"><?php echo $total_lotw_sent; ?></td>
|
2021-11-19 21:34:58 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2023-05-14 11:45:10 +00:00
|
|
|
<td width="50%"><?php echo lang('general_word_received'); ?></td>
|
2022-11-08 22:57:39 +00:00
|
|
|
<td width="50%"><?php echo $total_lotw_rcvd; ?></td>
|
2021-11-19 21:34:58 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<?php } ?>
|
2022-09-10 09:39:59 +00:00
|
|
|
|
|
|
|
<?php if((($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE)) { ?>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<tr class="titles">
|
|
|
|
<td colspan="2"><i class="fas fa-globe-europe"></i> VHF/UHF Century Club (VUCC)</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td width="50%">Worked</td>
|
|
|
|
<td width="50%"><?php echo $vucc['All']['worked']; ?></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td width="50%">Confirmed</td>
|
|
|
|
<td width="50%"><?php echo $vucc['All']['confirmed']; ?></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
<?php } ?>
|
2019-04-08 14:36:23 +00:00
|
|
|
</div>
|
2011-11-06 23:09:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2011-09-30 12:34:06 +00:00
|
|
|
</div>
|