2016-02-12 16:22:30 +00:00
|
|
|
|
|
|
|
<div id="container">
|
|
|
|
<h1><?php echo $page_title; ?></h1>
|
|
|
|
|
|
|
|
<!-- Sub Nav for Awards -->
|
|
|
|
|
|
|
|
<ul class="tabs">
|
|
|
|
<li class="active"><a href="<?php echo site_url('awards/dxcc'); ?>">DXCC</a></li>
|
|
|
|
<li><a href="<?php echo site_url('awards/wab'); ?>">WAB</a></li>
|
|
|
|
<li><a href="<?php echo site_url('awards/sota'); ?>">SOTA</a></li>
|
|
|
|
<li><a href="<?php echo site_url('awards/wacral'); ?>">WACRAL</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<table width="100%" class="zebra-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Country</td>
|
|
|
|
<td>160m</td>
|
|
|
|
<td>80m</td>
|
|
|
|
<td>40m</td>
|
|
|
|
<td>30m</td>
|
|
|
|
<td>20m</td>
|
|
|
|
<td>17m</td>
|
|
|
|
<td>15m</td>
|
|
|
|
<td>12m</td>
|
|
|
|
<td>10m</td>
|
|
|
|
<td>6m</td>
|
2016-02-12 22:23:30 +00:00
|
|
|
<td>4m</td>
|
2016-02-12 16:22:30 +00:00
|
|
|
<td>2m</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
foreach($dxcc as $country=>$val){
|
|
|
|
print("<tr><td>$country</td>");
|
|
|
|
foreach($val as $band=>$count){
|
2016-02-15 17:46:33 +00:00
|
|
|
if ($count == 0){
|
|
|
|
print("<td> </td>");
|
|
|
|
}else{
|
|
|
|
printf("<td><a href='dxcc_details?Country=\"%s\"&Band=\"%s\"'>%d</a></td>", $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>
|