2020-10-17 22:00:01 +00:00
|
|
|
<div class="container">
|
|
|
|
<h2><?php echo $page_title; ?></h1>
|
2020-10-28 18:03:30 +00:00
|
|
|
<p>The Timeplotter is used to analyze your logbook and find out when you have worked a certain CQ zone or DXCC on a chosen band.</p>
|
2020-10-17 22:00:01 +00:00
|
|
|
<form class="form">
|
|
|
|
|
|
|
|
<div class="form-group row">
|
|
|
|
<label class="col-md-1 control-label" for="band">Band</label>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<select id="band" name="band" class="form-control custom-select">
|
|
|
|
<option value="All">All</option>
|
|
|
|
<?php foreach($worked_bands as $band) {
|
|
|
|
echo '<option value="' . $band . '">' . $band . '</option>'."\n";
|
|
|
|
} ?>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<label class="col-md-1 control-label" for="dxcc">DXCC</label>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<select id="dxcc" name="dxcc" class="form-control custom-select">
|
|
|
|
<option value = 'All'>All</option>
|
|
|
|
<?php
|
|
|
|
if ($dxcc_list->num_rows() > 0) {
|
|
|
|
foreach ($dxcc_list->result() as $dxcc) {
|
2022-02-20 11:57:09 +00:00
|
|
|
echo '<option value=' . $dxcc->adif . '> ' . $dxcc->name . ' - ' . $dxcc->prefix;
|
2020-10-17 22:00:01 +00:00
|
|
|
if ($dxcc->end != null) {
|
|
|
|
echo ' (deleted)';
|
|
|
|
}
|
|
|
|
echo '</option>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group row">
|
|
|
|
<label class="col-md-1 control-label" for="cqzone">CQ Zone</label>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<select id="cqzone" name="cqzone" class="form-control custom-select">
|
|
|
|
<option value = 'All'>All</option>
|
|
|
|
<?php
|
|
|
|
for ($i = 1; $i<=40; $i++) {
|
|
|
|
echo '<option value='. $i . '>'. $i .'</option>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group row">
|
|
|
|
<div class="col-md-3">
|
2020-10-26 08:58:49 +00:00
|
|
|
<button id="button1id" type="button" name="button1id" class="btn btn-primary ld-ext-right" onclick="timeplot(this.form);">Show<div class="ld ld-ring ld-spin"></div></button>
|
2020-10-17 22:00:01 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<div id="timeplotter_div">
|
|
|
|
</div>
|
|
|
|
</div>
|