This commit is contained in:
2022-04-23 11:39:19 -04:00
parent e0edf1932d
commit 88dd88241d
4 changed files with 38 additions and 9 deletions
+18 -3
View File
@@ -921,6 +921,7 @@ echo $this->getMarketInterestMessage( $data['offer_code'], $out['client_id'] )
// $timeline_days = NULL;
$price = NULL;
$submit = NULL;
$country_job ='NG';
extract($_POST);
$redirected = false;
@@ -932,6 +933,7 @@ echo $this->getMarketInterestMessage( $data['offer_code'], $out['client_id'] )
$in['job_detail'] =$this->input->post('job_detail'); // Somehow this doesnt show when large $job_detail;
$in['price'] = $price * 100;
$in['member_id'] = $_SESSION['member_id'];
$in['country'] = $country_job;
$this->load->model('job_model');
if ($this->job_model->verifyJobInputs($in) == true) {
@@ -988,13 +990,26 @@ echo $this->getMarketInterestMessage( $data['offer_code'], $out['client_id'] )
}
}
public function agreejobterms(){
$data = $this->getSessionArray();
$in = array();
$in['action'] = WRENCHBOARD_ACCOUNT_TERMS;
$in['action_item'] = ACCOUNT_AGREE_JOBS;
$in['member_id'] = $_SESSION['member_id'];
$this->load->model('backend_model');
$out = array();
$res = $this->backend_model->wrenchboard_api($in, $out);
if ($res == PHP_API_OK) {
redirect('/jobs/create');
}
}
public function jobagree() {
$data = $this->getSessionArray();
//$this->agreejobterms();
if ($_POST) {
//echo rand(1000,9999);
$in = array();
$in['action'] = WRENCHBOARD_ACCOUNT_TERMS;
$in['action_item'] = ACCOUNT_AGREE_JOBS;
+2 -2
View File
@@ -23,14 +23,14 @@ class Paymnt extends Users_Controller {
public function paycc() {
$data = $this->getSessionArray();
$data['card_table_result'] = $this->cardListData(4)['card_table_result'];
$data['page_title'] ="Deposit Funds";
$data['page_title'] ="Deposit Funds with Credit or Debit Card(s)";
$this->RenderUserPage('users/view_startpaymus', $data);
}
public function paypal() {
$data = $this->getSessionArray();
$data['card_table_result'] = $this->cardListData(4)['card_table_result'];
$data['page_title'] ="Deposit Funds";
$data['page_title'] ="Deposit Funds with PayPal";
$this->RenderUserPage('users/view_paypal', $data);
}