wavelog/application/views/update/hamsofnote.php

22 lines
621 B
PHP
Raw Permalink Normal View History

2025-03-21 11:01:54 +01:00
<div class="container">
<h2><?php echo $page_title; ?></h2>
<?php
if ($hamsofnote) {
2025-03-21 11:01:54 +01:00
echo '<table class="table table-striped table-hover">';
echo '<tr><th>'.__('Callsign').'</th><th>'.__('Name / Description').'</th></tr>';
foreach ($hamsofnote as $hamofnote) {
2025-04-17 08:07:21 +02:00
echo '<tr><td>'.$hamofnote['callsign'].'</td><td>'.$hamofnote['name'];
if ($hamofnote['link'] != '') {
echo '<a target="_blank" href="'.$hamofnote['link'].'">'.$hamofnote['linkname'].'</a>';
}
echo '</td></tr>' ;
2025-03-21 11:01:54 +01:00
}
echo '</table>';
} else {
echo 'No updates found or file could not be parsed.';
}
?>
</div>