diff --git a/www/application/controllers/Dash.php b/www/application/controllers/Dash.php index a9360c29..7fd2ff9d 100644 --- a/www/application/controllers/Dash.php +++ b/www/application/controllers/Dash.php @@ -11,6 +11,11 @@ class Dash extends Users_Controller { } } + public function help(){ + $data = $this->getSessionArray(); + $data['page_title'] ="Help"; + $this->renderSecurePage('users/view_help', $data); + } public function index() { $data['username'] = $_SESSION['username']; // = $this->input->post('username'); diff --git a/www/application/controllers/Jobs.php b/www/application/controllers/Jobs.php index 4eb59149..9786eea5 100644 --- a/www/application/controllers/Jobs.php +++ b/www/application/controllers/Jobs.php @@ -620,15 +620,16 @@ class Jobs extends Users_Controller { $data = $this->getSessionArray(); // echo 'Ameye'; - $data['offer_code'] = $this->input->get('offer_code'); - $data['yourmessage'] = $this->input->get('yourmessage'); - $data['member_id'] = $_SESSION['member_id']; // just maing sure - $data['msg_type'] = 'JOB'; - $data['action'] = WRENCHBOARD_JOB_SEND_QUESTION; + $in=[]; + $in['offer_code'] = $this->input->get('offer_code'); + $in['yourmessage'] = $this->input->get('yourmessage'); + $in['member_id'] = $_SESSION['member_id']; // just maing sure + $in['msg_type'] = 'JOB'; + $in['action'] = WRENCHBOARD_JOB_SEND_QUESTION; // $this->load->model('backend_model'); $out = array(); $out['status'] = ''; - $res = $this->wrenchboard_api($data, $out); + $res = $this->wrenchboard_api($in, $out); if ($res == PHP_CREATED_OK) { echo 'Success - Message sent' . $out['status']; } else { diff --git a/www/application/controllers/Member.php b/www/application/controllers/Member.php index 6e7c98e3..cb1206c7 100644 --- a/www/application/controllers/Member.php +++ b/www/application/controllers/Member.php @@ -1220,9 +1220,12 @@ class Member extends Users_Controller { $data["calendar_data"] = $calendar_data; - $this->load->view('users/view_header_user', $data); - $this->load->view('users/view_schedule', $data); - $this->load->view('users/view_footer_user', $data); + // $this->load->view('users/view_header_user', $data); + // $this->load->view('users/view_schedule', $data); + // $this->load->view('users/view_footer_user', $data); + + $this->renderSecurePage('users/view_schedule', $data); + } public function userlog() { diff --git a/www/application/views/jobs/common/jobside.php b/www/application/views/jobs/common/jobside.php index f2abc1e8..8e5aa3b2 100644 --- a/www/application/views/jobs/common/jobside.php +++ b/www/application/views/jobs/common/jobside.php @@ -1,5 +1,5 @@ -
+
diff --git a/www/application/views/site3/internal/template/view_securefooter.php b/www/application/views/site3/internal/template/view_securefooter.php index 7a2d911a..13e417e1 100644 --- a/www/application/views/site3/internal/template/view_securefooter.php +++ b/www/application/views/site3/internal/template/view_securefooter.php @@ -60,6 +60,12 @@ + + + + + + diff --git a/www/application/views/site3/internal/template/view_securehead.php b/www/application/views/site3/internal/template/view_securehead.php index 6f7adff6..78fe0f14 100644 --- a/www/application/views/site3/internal/template/view_securehead.php +++ b/www/application/views/site3/internal/template/view_securehead.php @@ -24,6 +24,12 @@ $server_name = 'https://'. $_SERVER['HTTP_HOST']; + + + + + @@ -311,6 +317,28 @@ $server_name = 'https://'. $_SERVER['HTTP_HOST'];
+ + + + + +