mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Raw function body in model
This commit is contained in:
@@ -330,10 +330,31 @@ class Awards extends CI_Controller {
|
||||
}
|
||||
|
||||
public function jcc_export() {
|
||||
$fp = fopen( 'php://output', 'w' );
|
||||
fputcsv($fp, array('Car', 'Year', 'Miles' ));
|
||||
fclose($fp);
|
||||
return;
|
||||
$this->load->model('Jcc_model');
|
||||
$qsl = $this->security->xss_clean($this->input->post('qsl'));
|
||||
$lotw = $this->security->xss_clean($this->input->post('lotw'));
|
||||
$eqsl = $this->security->xss_clean($this->input->post('eqsl'));
|
||||
$qrz = $this->security->xss_clean($this->input->post('qrz'));
|
||||
$worked = $this->security->xss_clean($this->input->post('worked'));
|
||||
$confirmed = $this->security->xss_clean($this->input->post('confirmed'));
|
||||
$notworked = $this->security->xss_clean($this->input->post('notworked'));
|
||||
$includedeleted = $this->security->xss_clean($this->input->post('includedeleted'));
|
||||
$Africa = $this->security->xss_clean($this->input->post('Africa'));
|
||||
$Asia = $this->security->xss_clean($this->input->post('Asia'));
|
||||
$Europe = $this->security->xss_clean($this->input->post('Europe'));
|
||||
$NorthAmerica = $this->security->xss_clean($this->input->post('NorthAmerica'));
|
||||
$SouthAmerica = $this->security->xss_clean($this->input->post('SouthAmerica'));
|
||||
$Oceania = $this->security->xss_clean($this->input->post('Oceania'));
|
||||
$Antarctica = $this->security->xss_clean($this->input->post('Antarctica'));
|
||||
$band = $this->security->xss_clean($this->input->post('band'));
|
||||
$mode = $this->security->xss_clean($this->input->post('mode'));
|
||||
|
||||
$qsos = $this->Jcc_model->exportJcc();
|
||||
|
||||
$fp = fopen( 'php://output', 'w' );
|
||||
fputcsv($fp, array('No', 'Callsign', 'Date', 'Band', 'Mode'), ';');
|
||||
fclose($fp);
|
||||
return;
|
||||
}
|
||||
|
||||
public function vucc() {
|
||||
|
||||
@@ -1131,5 +1131,8 @@ class Jcc_model extends CI_Model {
|
||||
$sql .= " and COL_CNTY in (".implode(',', array_keys($this->jaCities)).")";
|
||||
return $sql;
|
||||
}
|
||||
|
||||
function exportJcc() {
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user