Changes to dxcc display

pull/195/head
Andy 2017-04-21 18:46:26 +01:00
rodzic f7855ef9b1
commit 0256ba5dd9
5 zmienionych plików z 14 dodań i 5 usunięć

Wyświetl plik

@ -372,7 +372,7 @@ class eqsl extends CI_Controller {
$adif .= "%20";
// adding prop mode if it isn't blank
if ($qsl['COL_PROP_MODE'] != ''){
if ($qsl['COL_PROP_MODE'] = ''){
$adif .= "%3C";
$adif .= "PROP_MODE";
$adif .= "%3A";

Wyświetl plik

@ -58,7 +58,10 @@ class Statistics extends CI_Controller {
}
}
$this->load->model('logbook_model');
$data['page_title'] = "Custom Statistics";
$data['modes'] = $this->logbook_model->get_modes();
$this->load->helper(array('form', 'url'));
@ -70,7 +73,7 @@ class Statistics extends CI_Controller {
if ($this->form_validation->run() == FALSE)
{
$this->load->view('layout/header', $data);
$this->load->view('statistics/custom');
$this->load->view('statistics/custom', $data);
$this->load->view('layout/footer');
}
else
@ -80,7 +83,6 @@ class Statistics extends CI_Controller {
$data['result'] = $this->stats->result();
$this->load->view('layout/header', $data);
$this->load->view('statistics/custom_result');
$this->load->view('layout/footer');

Wyświetl plik

@ -32,7 +32,8 @@ class DXCC extends CI_Model {
"10m"=>0,
"6m" =>0,
"4m" =>0,
"2m" =>0);
"2m" =>0,
"70cm"=>0);
$last_country = $row->COL_COUNTRY;
}

Wyświetl plik

@ -11,7 +11,7 @@
<table width="100%" class="zebra-striped">
<thead>
<tr>
<td style="width:225px">Country</td>
<td style="width:225px">Country (<?php echo count($dxcc)?>)</td>
<td>160m</td>
<td>80m</td>
<td>40m</td>
@ -24,6 +24,7 @@
<td>6m</td>
<td>4m</td>
<td>2m</td>
<td>70cm</td>
</tr>
</thead>
<tbody>

Wyświetl plik

@ -54,6 +54,11 @@
<input type="checkbox" name="mode_data" value="data" /> Data
<input type="checkbox" name="mode_fm" value="FM" /> FM
<input type="checkbox" name="mode_am" value="AM" /> AM
<?php
foreach($modes->result() as $row){
printf('<input type="checkbox" name="mode_%s" value="%s" />%s', $row->COL_MODE, $row->COL_MODE, $row->COL_MODE);
}
?>
</div>
<div class="type">