Cloudlog/application/views/awards/sig/qso_list.php

36 wiersze
1.3 KiB
PHP

<div class="container">
<h2><?php echo $page_title; ?></h2>
<?php if ($sig_all) { ?>
<table style="width:100%" class="table-sm table tablesig table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>
<td>Reference</td>
<td>Date/Time</td>
<td>Callsign</td>
<td>Mode</td>
<td>Band</td>
<td>RST Sent</td>
<td>RST Received</td>
</tr>
</thead>
<?php foreach ($sig_all->result() as $row) { ?>
<tr>
<td>
<?php echo $row->COL_SIG_INFO; ?>
</td>
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('d/m/y', $timestamp); ?> - <?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
<td><?php echo $row->COL_CALL; ?></td>
<td><?php echo $row->COL_MODE; ?></td>
<td><?php echo $row->COL_BAND; ?></td>
<td><?php echo $row->COL_RST_SENT; ?></td>
<td><?php echo $row->COL_RST_RCVD; ?></td>
</tr>
<?php } ?>
</table>
<?php } ?>
<p><a href="<?php echo site_url('/awards/sigexportadif/' . $type); ?>" title="Export QSOs to ADIF" target="_blank" class="btn btn-primary">Export QSOs to ADIF</a></p>
</div>