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) { ?>
|
2019-03-20 16:58:06 +00:00
|
|
|
|
|
|
|
<?php if($todays_qsos >= 1) { ?>
|
|
|
|
<div class="alert alert-success" role="alert">
|
|
|
|
You have had <strong><?php echo $todays_qsos; ?></strong> QSOs Today!
|
|
|
|
</div>
|
|
|
|
<?php } else { ?>
|
|
|
|
<div class="alert alert-danger" role="alert">
|
2019-05-14 10:24:45 +00:00
|
|
|
<span class="badge badge-info">Important</span> <i class="fas fa-broadcast-tower"></i> You have made no QSOs today, time to turn on the radio!
|
2019-03-20 16:58:06 +00:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2019-10-03 11:56:25 +00:00
|
|
|
|
|
|
|
<?php if($current_active == 0) { ?>
|
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
Attention you need to set an active station profile.
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
|
2011-08-22 18:31:53 +00:00
|
|
|
<?php } ?>
|
2011-06-17 12:52:00 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<!-- Map -->
|
|
|
|
<div id="map" style="width: 100%; height: 300px"></div>
|
|
|
|
|
|
|
|
<!-- 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">
|
|
|
|
<th>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'))) { ?>
|
2019-03-20 16:58:06 +00:00
|
|
|
<th>Time</th>
|
2019-06-23 15:00:14 +00:00
|
|
|
<?php } ?>
|
2019-03-20 16:58:06 +00:00
|
|
|
<th>Call</th>
|
|
|
|
<th>Mode</th>
|
2019-05-13 13:04:16 +00:00
|
|
|
<th class="d-none d-sm-table-cell">Sent</th>
|
|
|
|
<th class="d-none d-sm-table-cell">Recv</th>
|
2019-03-20 16:58:06 +00:00
|
|
|
<th>Band</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2011-11-06 23:09:51 +00:00
|
|
|
|
2020-02-21 11:40:05 +00:00
|
|
|
<?php
|
|
|
|
$i = 0;
|
2011-11-06 23:09:51 +00:00
|
|
|
foreach ($last_five_qsos->result() as $row) { ?>
|
|
|
|
<?php echo '<tr class="tr'.($i & 1).'">'; ?>
|
2020-02-21 11:40:05 +00:00
|
|
|
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date($this->config->item('qso_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>
|
2019-06-21 20:25:11 +00:00
|
|
|
<?php } else { ?>
|
|
|
|
<?php } ?>
|
2019-03-20 17:47:40 +00:00
|
|
|
<td>
|
2020-03-02 20:13:19 +00:00
|
|
|
<a data-fancybox data-type="iframe" data-width="800" data-height="520" data-src="<?php echo site_url('logbook/view')."/".$row->COL_PRIMARY_KEY; ?>" href="javascript:;">
|
2019-06-25 13:28:59 +00:00
|
|
|
<?php echo str_replace("0","Ø",strtoupper($row->COL_CALL)); ?>
|
2019-03-20 17:47:40 +00:00
|
|
|
</a>
|
|
|
|
</td>
|
2020-05-24 06:51:30 +00:00
|
|
|
<td><?php echo $row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE; ?></td>
|
2019-05-13 13:04:16 +00:00
|
|
|
<td class="d-none d-sm-table-cell"><?php echo $row->COL_RST_SENT; ?> <?php if ($row->COL_STX_STRING) { ?><span class="label"><?php echo $row->COL_STX_STRING;?></span><?php } ?></td>
|
|
|
|
<td class="d-none d-sm-table-cell"><?php echo $row->COL_RST_RCVD; ?> <?php if ($row->COL_SRX_STRING) { ?><span class="label"><?php echo $row->COL_SRX_STRING;?></span><?php } ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
<?php if($row->COL_SAT_NAME != null) { ?>
|
2011-11-25 17:38:20 +00:00
|
|
|
<td><?php echo $row->COL_SAT_NAME; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
<?php } else { ?>
|
2014-01-08 18:05:14 +00:00
|
|
|
<td><?php echo strtolower($row->COL_BAND); ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
<?php } ?>
|
|
|
|
</tr>
|
|
|
|
<?php $i++; } ?>
|
|
|
|
</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">
|
|
|
|
<div class="table-responsive">
|
2019-05-13 13:04:16 +00:00
|
|
|
<table class="table table-striped">
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr class="titles">
|
2019-05-13 13:04:16 +00:00
|
|
|
<td colspan="2"><i class="fas fa-chart-bar"></i> QSOs Breakdown</td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Total </td>
|
|
|
|
<td><?php echo $total_qsos; ?></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Year</td>
|
|
|
|
<td><?php echo $year_qsos; ?></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Month</td>
|
|
|
|
<td><?php echo $month_qsos; ?></td>
|
|
|
|
</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">
|
2019-05-13 13:04:16 +00:00
|
|
|
<td colspan="2"><i class="fas fa-globe-europe"></i> Countries Breakdown</td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2011-09-21 21:17:24 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
|
|
|
<td>Worked</td>
|
|
|
|
<td><?php echo $total_countrys; ?></td>
|
|
|
|
</tr>
|
2019-12-07 22:32:41 +00:00
|
|
|
<tr>
|
2020-02-27 22:17:12 +00:00
|
|
|
<td><a href="#" onclick="return false" data-original-title="QSL Cards / eQSL / LoTW" data-toggle="tooltip">Confirmed</a></td>
|
|
|
|
<td>
|
|
|
|
<?php echo $total_countrys_confirmed_paper; ?> /
|
|
|
|
<?php echo $total_countrys_confirmed_eqsl; ?> /
|
|
|
|
<?php echo $total_countrys_confirmed_lotw; ?>
|
|
|
|
</td>
|
2019-12-07 22:32:41 +00:00
|
|
|
</tr>
|
2011-09-21 21:17:24 +00:00
|
|
|
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr>
|
|
|
|
<td>Needed</td>
|
2019-12-11 21:50:21 +00:00
|
|
|
<td><?php $dxcc = 340 - $total_countrys; echo $dxcc; ?></td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
2019-05-13 13:04:16 +00:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
|
|
|
|
<table class="table table-striped">
|
2011-11-06 23:09:51 +00:00
|
|
|
<tr class="titles">
|
2019-04-04 20:10:40 +00:00
|
|
|
<td colspan="2"><i class="fas fa-envelope"></i> QSL Cards</td>
|
2011-11-06 23:09:51 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Sent</td>
|
|
|
|
<td><?php echo $total_qsl_sent; ?></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Received</td>
|
|
|
|
<td><?php echo $total_qsl_recv; ?></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Requested</td>
|
|
|
|
<td><?php echo $total_qsl_requested; ?></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2019-05-13 13:04:16 +00:00
|
|
|
<?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>
|