2012-11-10 14:11:33 +00:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
|
|
|
<title>QSOs</title>
|
|
|
|
<style type="text/css" media="screen">
|
|
|
|
body {
|
|
|
|
font-family: Arial, "MS Trebuchet", sans-serif;
|
|
|
|
}
|
|
|
|
.titles td {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<table width="100%" class="zebra-striped">
|
|
|
|
<tr class="titles">
|
|
|
|
<td>Date</td>
|
|
|
|
<td>Time</td>
|
|
|
|
<td>Call</td>
|
|
|
|
<td>Mode</td>
|
|
|
|
<td>Sent</td>
|
|
|
|
<td>Recv</td>
|
|
|
|
<td>Band</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-07-23 17:26:10 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// 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');
|
|
|
|
}
|
|
|
|
|
|
|
|
$i = 0;
|
2012-11-10 14:11:33 +00:00
|
|
|
foreach ($last_five_qsos->result() as $row) { ?>
|
|
|
|
<?php echo '<tr class="tr'.($i & 1).'">'; ?>
|
2021-07-23 17:26:10 +00:00
|
|
|
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date($custom_date_format, $timestamp); ?></td>
|
2012-11-10 14:11:33 +00:00
|
|
|
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
|
2023-01-12 13:50:44 +00:00
|
|
|
<td><?php echo str_replace("0","Ø",strtoupper($row->COL_CALL)); ?></td>
|
2020-05-24 06:51:30 +00:00
|
|
|
<td><?php echo $row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE; ?></td>
|
2012-11-10 14:11:33 +00:00
|
|
|
<td><?php echo $row->COL_RST_SENT; ?> <?php if ($row->COL_STX_STRING) { ?>(<?php echo $row->COL_STX_STRING;?>)<?php } ?></td>
|
|
|
|
<td><?php echo $row->COL_RST_RCVD; ?> <?php if ($row->COL_SRX_STRING) { ?>(<?php echo $row->COL_SRX_STRING;?>)<?php } ?></td>
|
|
|
|
<?php if($row->COL_SAT_NAME != null) { ?>
|
|
|
|
<td><?php echo $row->COL_SAT_NAME; ?></td>
|
|
|
|
<?php } else { ?>
|
|
|
|
<td><?php echo $row->COL_BAND; ?></td>
|
|
|
|
<?php } ?>
|
|
|
|
</tr>
|
|
|
|
<?php $i++; } ?>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
|
2021-07-23 17:26:10 +00:00
|
|
|
</html>
|