diff --git a/www/application/controllers/Jobs.php b/www/application/controllers/Jobs.php index 8b7b722a..e188b206 100644 --- a/www/application/controllers/Jobs.php +++ b/www/application/controllers/Jobs.php @@ -54,7 +54,8 @@ class Jobs extends Users_Controller { 'description'=>'We’ve been focused on making a the from also not been eye', 'delivery'=>'', 'img'=>'/site3/assets/media/jobs/share-stories.jpg', - 'timeline_days'=>'7' + 'timeline_days'=>'7', + 'price'=> 2000 ], [ 'ID'=>'TESTMYAPP', @@ -62,7 +63,8 @@ class Jobs extends Users_Controller { 'description'=>'We’ve been focused on making a the from also not been eye', 'delivery'=>'', 'img'=>'/site3/assets/media/jobs/test-app.jpg', - 'timeline_days'=>'7' + 'timeline_days'=>'7', + 'price'=> 2000 ], [ 'ID'=>'REVIEWFEEDBACK', @@ -70,7 +72,8 @@ class Jobs extends Users_Controller { 'description'=>'We’ve been focused on making a the from also not been eye', 'delivery'=>'', 'img'=>'/site3/assets/media/jobs/review-stories.jpg', - 'timeline_days'=>'7' + 'timeline_days'=>'7', + 'price'=> 2000 ], [ 'ID'=>'PROPOSEBLOG', @@ -78,7 +81,8 @@ class Jobs extends Users_Controller { 'description'=>'We’ve been focused on making a the from also not been eye', 'delivery'=>'', 'img'=>'/site3/assets/media/jobs/propose-new.jpg', - 'timeline_days'=>'7' + 'timeline_days'=>'7', + 'price'=> 2000 ], [ 'ID'=>'WEBSITEREVIEW', @@ -86,7 +90,8 @@ class Jobs extends Users_Controller { 'description'=>'We’ve been focused on making a the from also not been eye', 'delivery'=>'', 'img'=>'/site3/assets/media/jobs/review-site.jpg', - 'timeline_days'=>'7' + 'timeline_days'=>'7', + 'price'=> 2000 ], ]; @@ -927,11 +932,15 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] ); { $title = $preFill['name']; $description = $preFill['description']; + $timeline = $preFill['timeline_days']; + $price = $preFill['price']; } else { $title = NULL; $description = NULL; + $timeline = NULL; + $price = NULL; } @@ -941,10 +950,10 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] ); $job_detail = NULL; - $timeline = NULL; + $country = 'NG'; // $timeline_days = NULL; - $price = NULL; + $submit = NULL; $country_job ='NG'; @@ -972,9 +981,9 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] ); $in = array(); $in['title'] = $title; $in['description'] = $description; - $in['timeline_days'] = $timeline; + $in['timeline_days'] = $this->input->post('timeline') ; //$timeline; $in['job_detail'] = trim( $this->input->post('job_detail') ); // Somehow this doesnt show when large $job_detail; - $in['price'] = (is_int($price)? $price:0) * 100; + $in['price'] = $this->input->post('price') ; // (is_int($price)? $price:0) * 100; $in['member_id'] = $_SESSION['member_id']; $in['country'] = $country_job;