Cloudlog/application/views/oqrs/index.php

39 wiersze
1.1 KiB
PHP
Czysty Zwykły widok Historia

2022-11-15 17:29:33 +00:00
<div class="container">
<br>
<h2><?php echo $page_title; ?></h2>
<div class="card">
<div class="card-header">
Request a QSL card
</div>
<div class="card-body">
<?php
echo '<div class="resulttable">';
if ($stations->result() != NULL) { ?>
<form class="form-inline" enctype="multipart/form-data">
<label class="my-1 mr-2" for="station">Select station: </label>
<select id="station" class="custom-select my-1 mr-sm-2" name="station">
<?php foreach($stations->result() as $station) {
echo '<option value="' . $station->station_id . '">' . $station->station_profile_name . ' - ' . $station->station_callsign . '</option>'."\n";
2022-11-15 17:29:33 +00:00
} ?>
</select>
<button id="button1id" type="button" onclick="loadStationInfo();" name="button1id" class="btn btn-sm btn-primary"> Proceed</button>
</form>
<div class="stationinfo"></div>
<div class="searchinfo"></div>
<?php }
else {
echo 'No stations found that are using Cloudlog OQRS.';
}
?>
</div>
</div>
</div>