mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Add mode to distance record table
This commit is contained in:
@@ -10,7 +10,7 @@ class Distancerecords_model extends CI_Model {
|
||||
if (!$logbooks_locations_array) {
|
||||
return null;
|
||||
}
|
||||
$sql = 'SELECT t1.sat, t1.distance, t2.COL_TIME_ON time, t2.COL_CALL callsign, t2.COL_GRIDSQUARE grid, t2.COL_PRIMARY_KEY AS primarykey FROM
|
||||
$sql = 'SELECT t1.sat, t1.distance, t2.COL_TIME_ON time, t2.COL_CALL callsign, t2.COL_GRIDSQUARE grid, t2.COL_MODE mode, t2.COL_PRIMARY_KEY AS primarykey FROM
|
||||
(
|
||||
SELECT MAX(col_distance) distance, COL_SAT_NAME sat
|
||||
FROM '.$this->config->item('table_name').'
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
<th style="text-align: center"><?= __("Date") ?></th>
|
||||
<th style="text-align: center"><?= __("Time") ?></th>
|
||||
<th style="text-align: center"><?= __("Callsign") ?></th>
|
||||
<th style="text-align: center"><?= __("Mode") ?></th>
|
||||
<th style="text-align: center"><?= __("Gridsquare") ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -34,6 +35,7 @@
|
||||
<td style="text-align: center"><?php $timestamp = strtotime($row->time ?? ''); echo date($custom_date_format, $timestamp); ?></td>
|
||||
<td style="text-align: center"><?php $timestamp = strtotime($row->time ?? ''); echo date('H:i', $timestamp); ?></td>
|
||||
<td style="text-align: center"><a href="javascript:displayQso(<?php echo $row->primarykey; ?>)"><?php echo $row->callsign; ?></a></td>
|
||||
<td style="text-align: center"><?php echo $row->mode; ?></td>
|
||||
<td style="text-align: center"><?php echo $row->grid; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user