fix
This commit is contained in:
@@ -713,19 +713,14 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
|
||||
}
|
||||
|
||||
public function viewmyjob() {
|
||||
|
||||
$data = $this->getSessionArray();
|
||||
$jobOfferID = $this->input->post('jobOfferID');
|
||||
$data['jobOfferID'] = $jobOfferID;
|
||||
if ($jobOfferID != '') {
|
||||
$this->load->model('job_model');
|
||||
$out = $this->job_model->readMyloadJobOffer($_SESSION['member_id'], $jobOfferID);
|
||||
|
||||
// print_r($out);
|
||||
if ($out['result'] == 1) {
|
||||
|
||||
$data["job_sent_to"] = $out["job_sent_to"];
|
||||
|
||||
$data["added_date"] = $out["added_date"];
|
||||
$data["title"] = $out["title"];
|
||||
$data["description"] = $out["description"];
|
||||
@@ -736,13 +731,8 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
|
||||
$date = date_create($out["expire"]);
|
||||
$out["expire"] = date_format($date, 'Y-m-d H:i');
|
||||
$data["expire"] = $out["expire"];
|
||||
|
||||
$data['job_link'] = 'https://'.$_SERVER['HTTP_HOST']."/plb/viewjob/".$out['offer_code'];
|
||||
|
||||
/* $this->load->view('users/view_header_user', $data);
|
||||
$this->load->view('jobs/view_viewmyjoboffer', $data);
|
||||
$this->load->view('users/view_footer_user', $data);*/
|
||||
|
||||
$data['page_title'] = 'View Job - '.$out["offer_code"];
|
||||
$this->RenderUserPage('jobs/view_viewmyjoboffer', $data);
|
||||
} else {
|
||||
redirect('dash'); // go back to dash if not valid
|
||||
|
||||
Reference in New Issue
Block a user