From 886379b0f7b85575b03687bcbcbb35e8a7dc2885 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sun, 24 Apr 2022 10:53:27 -0400 Subject: [PATCH] fix --- www/application/controllers/Jobs.php | 17 +- .../views/jobs/view_manageinterest.php | 179 +++++++++++------- 2 files changed, 120 insertions(+), 76 deletions(-) diff --git a/www/application/controllers/Jobs.php b/www/application/controllers/Jobs.php index 9786eea5..08262c1a 100644 --- a/www/application/controllers/Jobs.php +++ b/www/application/controllers/Jobs.php @@ -642,22 +642,23 @@ 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['interest_id'] = $this->input->get('interest_id'); - $data['member_id'] = $_SESSION['member_id']; // just maing sure - $data['msg_type'] = 'MRKTINT'; // MARKET INTEREST + $in =[]; + $in['offer_code'] = $this->input->get('offer_code'); + $in['yourmessage'] = $this->input->get('yourmessage'); + $in['interest_id'] = $this->input->get('interest_id'); + $in['member_id'] = $_SESSION['member_id']; // just maing sure + $in['msg_type'] = 'MRKTINT'; // MARKET INTEREST - $data['action'] = WRENCHBOARD_JOB_MRKTINT_QUEST; + $in['action'] = WRENCHBOARD_JOB_MRKTINT_QUEST; // $this->load->model('backend_model'); $out = array(); $out['status'] = ''; - $res = $this->wrenchboard_api($data, $out); + $res = $this->wrenchboard_api($in, $out); // print_r($out); if ($res == PHP_CREATED_OK) { //echo rand(100,999)." " .$out['client_id']; -echo $this->getMarketInterestMessage( $data['offer_code'], $out['client_id'] ); //'Success - Message sent' . $out['status']; +echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] ); //'Success - Message sent' . $out['status']; } else { echo 'Error - ' . $out['status']; } diff --git a/www/application/views/jobs/view_manageinterest.php b/www/application/views/jobs/view_manageinterest.php index 437b1c20..39701fd0 100644 --- a/www/application/views/jobs/view_manageinterest.php +++ b/www/application/views/jobs/view_manageinterest.php @@ -27,78 +27,121 @@ // --> + + + + +
+ + + +
+ +
+ +
+

+ Interest in +

+
+ +
+
+ + + + +
+
+ +
+ +
+
+
+
+
[]-
+
+ + + + + + + +
+ Job Added :
+
+ Member Since :

+ +
+ Jobs Completed :
+ Jobs Active :
+ Jobs Uncompleted :
+ Pending Offers :
+ % Completion +
+ + + + + + +
+
+
+ +
+
+
Others Interested in this Task
+
+ +
+ +
+
+
+ Message to
+
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+
+ +
+ + +
+
+ +
+ +
+ + +
+ + + + + + +
- -
-
-
-
- -
-
-
-
-
[]-
-
- - - - - - - -
- Job Added :
-
- Member Since :

- -
- Jobs Completed :
- Jobs Active :
- Jobs Uncompleted :
- Pending Offers :
- % Completion -
- - - - - - -
-
-
- -
-
-
Others Interested in this Task
-
- -
- -
-
-
- Message to
-
-
- -
-
- -
-
-
-
- -
-
-
-
-