diff --git a/application/controllers/Publicview.php b/application/controllers/Publicview.php
new file mode 100644
index 0000000..0386a2a
--- /dev/null
+++ b/application/controllers/Publicview.php
@@ -0,0 +1,59 @@
+load->model('itindata_model');
+ $this->load->helper('url_helper');
+ $this->load->helper('form');
+ $this->lang->load('itin','greek');
+ $sesdata = $this->session->userdata;
+ $this->data = array(
+ 'user_lang' => $sesdata['site_lang'],
+ );
+
+ }
+ public function index($id)
+ {
+echo $id;
+ }
+
+ public function show($qrc)
+ {
+ $data = $this->data;
+
+ if ($inspections = $this->itindata_model->get_inspectionsfull(array('qrcode_inspection' => '"'.$qrc.'"'))) {
+
+ $data['inspection'] = $inspections[0];
+ $data['fueltypes'] = $this->_getfueltypes();
+ $data['wheeldrives'] = $this->_getwheeldrives();
+ $inspection = $inspections[0];
+ $data['sec1score'] = $inspection->s1score_inspection;
+ $data['sec2score'] = $inspection->s2score_inspection;
+ $data['sec3score'] = $inspection->s3score_inspection;
+ $data['inspscore'] = $this->itindata_model->get_inspectionscore($id);
+ //$data['inspimg'] = $this->itindata_model->get_inspectionimages($id);
+ $data['inspectionid'] = $inspection->id_inspection;
+ $data['checkpoints'] = $this->itindata_model->get_checkpoints();
+ $this->load->view('public/header', $data);
+ $this->load->view('public/publicshow', $data);
+ $this->load->view('public/footer', $data);
+ } else {
+ redirect('https://www.imperial-dekra.gr/');
+ }
+ }
+
+ private function _getfueltypes() {
+ $fueltypes = array('petrol', 'diesel', 'hybridpetrol', 'hybriddiesel', 'pluginpetrol', 'plugindiesel', 'electric', 'cng', 'lng');
+ return $fueltypes;
+ }
+
+ private function _getwheeldrives() {
+ $wheeldrives = array('fwd', 'rwd', 'awd');
+ return $wheeldrives;
+ }
+
+
+}
diff --git a/application/views/public/footer.php b/application/views/public/footer.php
new file mode 100644
index 0000000..a603acc
--- /dev/null
+++ b/application/views/public/footer.php
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+