mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
PHP-Part of adding bearing to contest
This commit is contained in:
@@ -178,6 +178,7 @@ class Contesting extends CI_Controller {
|
||||
* Function is used for dupe-checking in contestinglogging
|
||||
*/
|
||||
public function checkIfWorkedBefore() {
|
||||
session_write_close();
|
||||
$call = $this->input->post('call');
|
||||
$band = $this->input->post('band');
|
||||
$mode = $this->input->post('mode');
|
||||
@@ -186,7 +187,6 @@ class Contesting extends CI_Controller {
|
||||
$this->load->model('Contesting_model');
|
||||
|
||||
$result = $this->Contesting_model->checkIfWorkedBefore($call, $band, $mode, $contest);
|
||||
|
||||
header('Content-Type: application/json');
|
||||
if ($result && $result->num_rows()) {
|
||||
$timeb4=substr($result->row()->b4,0,5);
|
||||
|
||||
@@ -103,7 +103,8 @@
|
||||
<div class="mb-3 col-md-3">
|
||||
<label for="callsign"><?php echo lang('gen_hamradio_callsign'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" id="callsign" name="callsign" required>
|
||||
<small id="callsign_info" class="badge text-bg-danger"></small>
|
||||
<small id="callsign_info" class="badge text-bg-danger"></small><br/>
|
||||
<small id="bearing_info" class="form-text text-muted"></small><br/>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 col-md-1">
|
||||
|
||||
Reference in New Issue
Block a user