2013-08-31 14:54:24 +00:00
|
|
|
|
2022-11-30 14:04:48 +00:00
|
|
|
<?php
|
|
|
|
$custom_date_format = $this->session->userdata('user_date_format');
|
|
|
|
?>
|
2019-05-22 16:17:26 +00:00
|
|
|
<div class="container eqsl">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
|
|
|
<h5 class="card-title"><?php echo $page_title; ?></h5>
|
|
|
|
<ul class="nav nav-tabs card-header-tabs">
|
|
|
|
<li class="nav-item">
|
2020-05-26 20:31:27 +00:00
|
|
|
<a class="nav-link active" href="<?php echo site_url('eqsl/import');?>">Download QSOs</a>
|
2019-05-22 16:17:26 +00:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2020-05-26 20:31:27 +00:00
|
|
|
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>">Upload QSOs</a>
|
2019-05-22 16:17:26 +00:00
|
|
|
</li>
|
2020-11-03 16:06:35 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>">Tools</a>
|
|
|
|
</li>
|
2023-05-10 19:36:46 +00:00
|
|
|
<li class="nav-item">
|
2023-05-21 20:50:30 +00:00
|
|
|
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>">Download eQSL cards</a>
|
2023-05-10 19:36:46 +00:00
|
|
|
</li>
|
2019-05-22 16:17:26 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2022-08-24 15:29:44 +00:00
|
|
|
<div class="card-body">
|
|
|
|
<?php $this->load->view('layout/messages'); ?>
|
2013-11-03 19:15:25 +00:00
|
|
|
|
2022-08-24 15:29:44 +00:00
|
|
|
<?php foreach ($eqsl_results as $import) { ?>
|
|
|
|
<h3><?php echo $import['name']; ?></h3>
|
|
|
|
<div class="alert alert-info" role="alert">
|
|
|
|
<?php echo $import['status']; ?>
|
|
|
|
</div>
|
|
|
|
<?php if (count($import['qsos']) > 0) { ?>
|
2022-11-30 14:04:48 +00:00
|
|
|
<table width="100%">
|
2022-08-24 15:29:44 +00:00
|
|
|
<tr class="titles">
|
|
|
|
<td>Date</td>
|
2022-11-30 14:04:48 +00:00
|
|
|
<td>Time</td>
|
2022-08-24 15:29:44 +00:00
|
|
|
<td>Call</td>
|
|
|
|
<td>Mode</td>
|
|
|
|
<td>Submode</td>
|
|
|
|
<td>Log Status</td>
|
|
|
|
<td>eQSL Status</td>
|
|
|
|
</tr>
|
|
|
|
<?php foreach ($import['qsos'] as $qso) { ?>
|
|
|
|
<tr>
|
2022-11-30 14:04:48 +00:00
|
|
|
<?php $timestamp = strtotime($qso['date']); ?>
|
|
|
|
<td><?php echo date($custom_date_format, $timestamp) ?></td>
|
|
|
|
<td><?php echo date('H:i', $timestamp); ?></td>
|
2023-01-09 23:29:43 +00:00
|
|
|
<?php if ($qso['status'] == "Found") { ?>
|
|
|
|
<td><a href="<?php echo site_url("eqsl/image/".$qso['qsoid']); ?>" data-fancybox="images" data-width="528" data-height="336"><?php echo $qso['call']; ?></a></td>
|
|
|
|
<?php } else { ?>
|
2022-08-24 15:29:44 +00:00
|
|
|
<td><?php echo $qso['call']; ?></td>
|
2023-01-09 23:29:43 +00:00
|
|
|
<?php } ?>
|
2022-08-24 15:29:44 +00:00
|
|
|
<td><?php echo $qso['mode']; ?></td>
|
|
|
|
<td><?php echo $qso['submode']; ?></td>
|
|
|
|
<td><?php echo $qso['status']; ?></td>
|
|
|
|
<td><?php echo $qso['eqsl_status']; ?></td>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
</table>
|
|
|
|
<?php } else { ?>
|
|
|
|
<p>There are no QSO confirmations waiting for you at eQSL.cc</p>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
</div>
|
2019-05-22 16:17:26 +00:00
|
|
|
</div>
|
|
|
|
|
2022-08-24 15:29:44 +00:00
|
|
|
</div>
|