2016-02-12 16:22:30 +00:00
|
|
|
|
2019-03-20 16:58:06 +00:00
|
|
|
<div class="container">
|
2016-02-12 16:22:30 +00:00
|
|
|
<h1><?php echo $page_title; ?></h1>
|
|
|
|
|
|
|
|
<!-- Sub Nav for Awards -->
|
|
|
|
|
2016-04-13 15:16:07 +00:00
|
|
|
<?php $this->load->view("awards/nav_bar")?>
|
2016-04-13 16:07:26 +00:00
|
|
|
|
2019-03-20 16:58:06 +00:00
|
|
|
<table class="table table-striped table-hover">
|
2016-02-12 16:22:30 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-04-21 17:46:26 +00:00
|
|
|
<td style="width:225px">Country (<?php echo count($dxcc)?>)</td>
|
2019-06-17 08:10:55 +00:00
|
|
|
<?php
|
|
|
|
foreach ($worked_bands as $slot) {
|
|
|
|
echo " <td>$slot</td>\n";
|
|
|
|
}
|
|
|
|
?>
|
2016-02-12 16:22:30 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
|
|
|
foreach($dxcc as $country=>$val){
|
|
|
|
print("<tr><td>$country</td>");
|
|
|
|
foreach($val as $band=>$count){
|
2019-06-17 08:10:55 +00:00
|
|
|
if (in_array($band, $worked_bands)) {
|
|
|
|
if ($count == 0){
|
|
|
|
print("<td> </td>");
|
|
|
|
}else{
|
|
|
|
printf("<td><a href='dxcc_details?Country=\"%s\"&Band=\"%s\"'>%d</a></td>", str_replace("&", "%26", $country), $band, $count);
|
|
|
|
}
|
|
|
|
}
|
2016-02-12 16:22:30 +00:00
|
|
|
}
|
|
|
|
print("</tr>");
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</tbody>
|
|
|
|
|
2016-02-08 16:07:39 +00:00
|
|
|
</table>
|
2016-02-12 16:22:30 +00:00
|
|
|
</div>
|