fix
This commit is contained in:
@@ -933,7 +933,16 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
|
||||
|
||||
$data['amount_array'] = $amountArray;
|
||||
|
||||
|
||||
$mysqlJ = "SELECT id, title,created::date FROM members_jobs WHERE
|
||||
member_id = " . $_SESSION['member_id'] . "
|
||||
AND status = 1
|
||||
ORDER BY id DESC LIMIT 5";
|
||||
|
||||
$query = $this->db->query($mysqlJ);
|
||||
$data['recentjobs'] = $query->result();
|
||||
|
||||
|
||||
|
||||
extract($_POST);
|
||||
$redirected = false;
|
||||
if ($_POST) {
|
||||
@@ -941,7 +950,7 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
|
||||
$in['title'] = $title;
|
||||
$in['description'] = $description;
|
||||
$in['timeline_days'] = $timeline;
|
||||
$in['job_detail'] =$this->input->post('job_detail'); // Somehow this doesnt show when large $job_detail;
|
||||
$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['member_id'] = $_SESSION['member_id'];
|
||||
$in['country'] = $country_job;
|
||||
@@ -972,6 +981,15 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
|
||||
$this->combo_model->defaultComboMessage = 'Select Job Country';
|
||||
$data['country_job'] = $this->combo_model->getCountryJobCombo('country', $country);
|
||||
|
||||
$data['title'] = $title;
|
||||
$data['description'] = $description;
|
||||
$data['timeline_days'] = $timeline;
|
||||
$data['job_detail'] = trim( $job_detail );
|
||||
$data['price'] = $price;
|
||||
$data['country'] = $country_job;
|
||||
|
||||
$data['page_title'] = "Create Job";
|
||||
|
||||
if ($redirected == false) {
|
||||
$this->load->model('dash_model');
|
||||
$out = $this->dash_model->getDashData($data);
|
||||
|
||||
Reference in New Issue
Block a user