kopia lustrzana https://github.com/magicbug/Cloudlog
Cleaned up the Radio page so that correct values are shown #243
rodzic
0d988a1b45
commit
5494f03f60
|
@ -37,9 +37,19 @@
|
||||||
{
|
{
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>".$row->radio."</td>";
|
echo "<td>".$row->radio."</td>";
|
||||||
echo "<td>".$row->frequency."</td>";
|
if($row->frequency != "0") {
|
||||||
echo "<td>".$row->mode."</td>";
|
echo "<td>".$row->frequency."</td>";
|
||||||
echo "<td>".$row->timestamp."</td>" ;
|
} else {
|
||||||
|
echo "<td>".$row->downlink_freq." / ".$row->uplink_freq."</td>";
|
||||||
|
}
|
||||||
|
|
||||||
|
if($row->mode != "non") {
|
||||||
|
echo "<td>".$row->mode."</td>";
|
||||||
|
} else{
|
||||||
|
echo "<td>".$row->uplink_mode."</td>";
|
||||||
|
}
|
||||||
|
$phpdate = strtotime($row->timestamp);
|
||||||
|
echo "<td>".date('H:i:s d-m-y', $phpdate)."</td>" ;
|
||||||
echo "<td><a href=\"".site_url('radio/delete')."/".$row->id."\" ><img src=\"".base_url()."/images/delete.png\" width=\"16\" height=\"16\" alt=\"Delete\" /></a></td>" ;
|
echo "<td><a href=\"".site_url('radio/delete')."/".$row->id."\" ><img src=\"".base_url()."/images/delete.png\" width=\"16\" height=\"16\" alt=\"Delete\" /></a></td>" ;
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue