diff --git a/application/controllers/Dxatlas.php b/application/controllers/Dxatlas.php
new file mode 100644
index 00000000..ac8c46ff
--- /dev/null
+++ b/application/controllers/Dxatlas.php
@@ -0,0 +1,104 @@
+load->model('user_model');
+ $this->load->model('modes');
+ $this->load->model('dxcc');
+ $this->load->model('logbook_model');
+
+ if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
+
+ $data['worked_bands'] = $this->dxcc->get_worked_bands(); // Used in the view for band select
+ $data['modes'] = $this->modes->active(); // Used in the view for mode select
+ $data['dxcc'] = $this->logbook_model->fetchDxcc(); // Used in the view for dxcc select
+
+ $data['page_title'] = "DX Atlas Gridsquare Export";
+
+ $this->load->view('interface_assets/header', $data);
+ $this->load->view('dxatlas/index');
+ $this->load->view('interface_assets/footer');
+
+ }
+
+ public function export()
+ {
+ // Load Librarys
+ $this->load->library('qra');
+ $this->load->helper('file');
+
+ // Load Database connections
+ $this->load->model('logbook_model');
+
+ // Parameters
+ $band = $this->input->post('band');
+ $mode = $this->input->post('mode');
+ $dxcc = $this->input->post('dxcc_id');
+ $cqz = $this->input->post('cqz');
+ $propagation = $this->input->post('prop_mode');
+ $fromdate = $this->input->post('fromdate');
+ $todate = $this->input->post('todate');
+
+ // Get QSOs with Valid QRAs
+ $qsos = $this->logbook_model->kml_get_all_qsos($band, $mode, $dxcc, $cqz, $propagation, $fromdate, $todate);
+
+ $output = "";
+ $output .= "
Band: ".$row->COL_BAND."