From c042097dd11593cce1aabf23fda882a2db30a406 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sun, 24 Jul 2022 21:16:37 -0400 Subject: [PATCH] fix --- www/application/controllers/Jobs.php | 7 +- www/application/models/Job_model.php | 2 +- .../views/jobs/uploads/upload_files.php | 120 ++++++++++++++++++ www/application/views/jobs/view_jobgroup.php | 81 ++++++++---- .../views/jobs/view_startcreate.php | 2 +- www/application/views/jobs/view_thisjob.php | 11 +- .../internal/template/view_securefooter.php | 2 +- 7 files changed, 189 insertions(+), 36 deletions(-) create mode 100644 www/application/views/jobs/uploads/upload_files.php diff --git a/www/application/controllers/Jobs.php b/www/application/controllers/Jobs.php index 13ee6f3f..fc9481e1 100644 --- a/www/application/controllers/Jobs.php +++ b/www/application/controllers/Jobs.php @@ -876,9 +876,10 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] ); $data["group_name"] = ""; $data["group_member_table"] = "Please add a group"; } - $this->load->view('users/view_header_user', $data); - $this->load->view('jobs/view_jobgroup', $data); - $this->load->view('users/view_footer_user', $data); + // $this->load->view('users/view_header_user', $data); + // $this->load->view('jobs/view_jobgroup', $data); + // $this->load->view('users/view_footer_user', $data); + $this->renderSecurePage('jobs/view_jobgroup', $data); } public function jobgrp_members() { diff --git a/www/application/models/Job_model.php b/www/application/models/Job_model.php index 1e05a30b..02742f11 100644 --- a/www/application/models/Job_model.php +++ b/www/application/models/Job_model.php @@ -101,7 +101,7 @@ class Job_model extends CI_Model { $this->tableStr = ''; $i = 0; foreach ($query->result() as $row) { - $this->tableStr .=""; + $this->tableStr .=""; $groups[$row->id] = $row->group_name; $i++; } diff --git a/www/application/views/jobs/uploads/upload_files.php b/www/application/views/jobs/uploads/upload_files.php new file mode 100644 index 00000000..a190e7d6 --- /dev/null +++ b/www/application/views/jobs/uploads/upload_files.php @@ -0,0 +1,120 @@ + +
+ +
+ + + +
+ + +
+
+ Selected
+ +
+ +
+ + + + + + diff --git a/www/application/views/jobs/view_jobgroup.php b/www/application/views/jobs/view_jobgroup.php index 353b34a0..43468952 100644 --- a/www/application/views/jobs/view_jobgroup.php +++ b/www/application/views/jobs/view_jobgroup.php @@ -1,35 +1,48 @@ - -
- + +
-
+ +
-
-
my Preferred List
-
- Use "Preferred List" to create the list of users you prefer to send your offers. + +
+ +
+

+ Job Group + Use "Preferred List" to create the list of users you prefer to send your offers +

+
+ +
-
+ + +
+ +
+ + -
- -
-
- - - -
-
+
+
+
-
-
- +
+
+ +
-
- +
+
+
+
+ +
+

@@ -40,13 +53,27 @@
- -
+ + + + + + + + + +
+ + +
+
+
+ +
-
- +
diff --git a/www/application/views/jobs/view_startcreate.php b/www/application/views/jobs/view_startcreate.php index 2eae764a..75bed1a7 100644 --- a/www/application/views/jobs/view_startcreate.php +++ b/www/application/views/jobs/view_startcreate.php @@ -115,4 +115,4 @@
- +
diff --git a/www/application/views/jobs/view_thisjob.php b/www/application/views/jobs/view_thisjob.php index a18bb711..efe66703 100644 --- a/www/application/views/jobs/view_thisjob.php +++ b/www/application/views/jobs/view_thisjob.php @@ -97,9 +97,14 @@
- - - + + + +
id . "\" onchange=\"jobGroupChanged(this,'".str_replace("'","\\'",stripslashes($row->group_name))."')\"".(($sel==$row->id || ($sel<1 && $i==0))?"checked":"").">" . $row->group_name . "
id . "\" onchange=\"jobGroupChanged(this,'".str_replace("'","\\'",stripslashes($row->group_name))."')\"".(($sel==$row->id || ($sel<1 && $i==0))?"checked":"").">" . $row->group_name . "
+ +
diff --git a/www/application/views/site3/internal/template/view_securefooter.php b/www/application/views/site3/internal/template/view_securefooter.php index 4eaf1e92..98717a53 100644 --- a/www/application/views/site3/internal/template/view_securefooter.php +++ b/www/application/views/site3/internal/template/view_securefooter.php @@ -64,7 +64,7 @@ - +