Update index.php
这个提交包含在:
父节点
82eb5b46f2
当前提交
4c6eb9fe06
共有 1 个文件被更改,包括 27 次插入 和 21 次删除
|
|
@ -76,13 +76,13 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="mostworked_table" class="table table-striped table-hover">
|
<table id="mostworked_table" class="table table-striped table-hover">
|
||||||
<thead>
|
<thead class="table-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Rank</th>
|
<th class="text-center" style="width: 80px;">Rank</th>
|
||||||
<th>Callsign</th>
|
<th style="width: 150px;">Callsign</th>
|
||||||
<th>Contacts</th>
|
<th class="text-center" style="width: 100px;">Contacts</th>
|
||||||
<th>First QSO</th>
|
<th class="text-center" style="width: 120px;">First QSO</th>
|
||||||
<th>Last QSO</th>
|
<th class="text-center" style="width: 120px;">Last QSO</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -99,24 +99,30 @@
|
||||||
|
|
||||||
foreach ($mostworked_callsigns as $row) { ?>
|
foreach ($mostworked_callsigns as $row) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $rank++; ?></td>
|
<td class="text-center align-middle">
|
||||||
<td>
|
<span class="badge bg-secondary"><?php echo $rank++; ?></span>
|
||||||
<strong><?php echo str_replace("0","Ø",strtoupper($row->callsign)); ?></strong>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="align-middle">
|
||||||
<span class="badge bg-primary"><?php echo $row->contact_count; ?></span>
|
<strong class="text-primary fs-6"><?php echo str_replace("0","Ø",strtoupper($row->callsign)); ?></strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="text-center align-middle">
|
||||||
|
<span class="badge bg-primary fs-6"><?php echo $row->contact_count; ?></span>
|
||||||
|
</td>
|
||||||
|
<td class="text-center align-middle">
|
||||||
|
<small class="text-muted">
|
||||||
<?php
|
<?php
|
||||||
$timestamp = strtotime($row->first_qso);
|
$timestamp = strtotime($row->first_qso);
|
||||||
echo date($custom_date_format, $timestamp);
|
echo date($custom_date_format, $timestamp);
|
||||||
?>
|
?>
|
||||||
|
</small>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="text-center align-middle">
|
||||||
|
<small class="text-muted">
|
||||||
<?php
|
<?php
|
||||||
$timestamp = strtotime($row->last_qso);
|
$timestamp = strtotime($row->last_qso);
|
||||||
echo date($custom_date_format, $timestamp);
|
echo date($custom_date_format, $timestamp);
|
||||||
?>
|
?>
|
||||||
|
</small>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用