kopia lustrzana https://github.com/magicbug/Cloudlog
Changes to dxcc display
rodzic
f7855ef9b1
commit
0256ba5dd9
|
@ -372,7 +372,7 @@ class eqsl extends CI_Controller {
|
||||||
$adif .= "%20";
|
$adif .= "%20";
|
||||||
|
|
||||||
// adding prop mode if it isn't blank
|
// adding prop mode if it isn't blank
|
||||||
if ($qsl['COL_PROP_MODE'] != ''){
|
if ($qsl['COL_PROP_MODE'] = ''){
|
||||||
$adif .= "%3C";
|
$adif .= "%3C";
|
||||||
$adif .= "PROP_MODE";
|
$adif .= "PROP_MODE";
|
||||||
$adif .= "%3A";
|
$adif .= "%3A";
|
||||||
|
|
|
@ -58,7 +58,10 @@ class Statistics extends CI_Controller {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->load->model('logbook_model');
|
||||||
|
|
||||||
$data['page_title'] = "Custom Statistics";
|
$data['page_title'] = "Custom Statistics";
|
||||||
|
$data['modes'] = $this->logbook_model->get_modes();
|
||||||
|
|
||||||
$this->load->helper(array('form', 'url'));
|
$this->load->helper(array('form', 'url'));
|
||||||
|
|
||||||
|
@ -70,7 +73,7 @@ class Statistics extends CI_Controller {
|
||||||
if ($this->form_validation->run() == FALSE)
|
if ($this->form_validation->run() == FALSE)
|
||||||
{
|
{
|
||||||
$this->load->view('layout/header', $data);
|
$this->load->view('layout/header', $data);
|
||||||
$this->load->view('statistics/custom');
|
$this->load->view('statistics/custom', $data);
|
||||||
$this->load->view('layout/footer');
|
$this->load->view('layout/footer');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -80,7 +83,6 @@ class Statistics extends CI_Controller {
|
||||||
|
|
||||||
$data['result'] = $this->stats->result();
|
$data['result'] = $this->stats->result();
|
||||||
|
|
||||||
|
|
||||||
$this->load->view('layout/header', $data);
|
$this->load->view('layout/header', $data);
|
||||||
$this->load->view('statistics/custom_result');
|
$this->load->view('statistics/custom_result');
|
||||||
$this->load->view('layout/footer');
|
$this->load->view('layout/footer');
|
||||||
|
|
|
@ -32,7 +32,8 @@ class DXCC extends CI_Model {
|
||||||
"10m"=>0,
|
"10m"=>0,
|
||||||
"6m" =>0,
|
"6m" =>0,
|
||||||
"4m" =>0,
|
"4m" =>0,
|
||||||
"2m" =>0);
|
"2m" =>0,
|
||||||
|
"70cm"=>0);
|
||||||
$last_country = $row->COL_COUNTRY;
|
$last_country = $row->COL_COUNTRY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<table width="100%" class="zebra-striped">
|
<table width="100%" class="zebra-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width:225px">Country</td>
|
<td style="width:225px">Country (<?php echo count($dxcc)?>)</td>
|
||||||
<td>160m</td>
|
<td>160m</td>
|
||||||
<td>80m</td>
|
<td>80m</td>
|
||||||
<td>40m</td>
|
<td>40m</td>
|
||||||
|
@ -24,6 +24,7 @@
|
||||||
<td>6m</td>
|
<td>6m</td>
|
||||||
<td>4m</td>
|
<td>4m</td>
|
||||||
<td>2m</td>
|
<td>2m</td>
|
||||||
|
<td>70cm</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
@ -54,6 +54,11 @@
|
||||||
<input type="checkbox" name="mode_data" value="data" /> Data
|
<input type="checkbox" name="mode_data" value="data" /> Data
|
||||||
<input type="checkbox" name="mode_fm" value="FM" /> FM
|
<input type="checkbox" name="mode_fm" value="FM" /> FM
|
||||||
<input type="checkbox" name="mode_am" value="AM" /> AM
|
<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>
|
||||||
|
|
||||||
<div class="type">
|
<div class="type">
|
||||||
|
|
Ładowanie…
Reference in New Issue