fix
This commit is contained in:
@@ -6,6 +6,19 @@ class Job_model extends CI_Model {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Supply active list of jobs for this id
|
||||
*/
|
||||
public function selectMarketJob($jobId){
|
||||
$mysql = 'SELECT jo.offer_code,mj.title,mj.description,mj.timeline_days,mj.price,jo.job_description,jo.expire::date FROM members_jobs_offer jo '
|
||||
. ' LEFT JOIN members_jobs mj ON mj.id=jo.job_id '
|
||||
. ' WHERE mj.status=1 AND jo.status=1 '
|
||||
. ' AND jo.expire> now() AND mj.id ='.$jobId;
|
||||
|
||||
$query = $this->db->query($mysql);
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
public function deleteMemberGroup($group_id) {
|
||||
$this->actionMessage = '';
|
||||
$x['member_id'] = $_SESSION['member_id'];
|
||||
|
||||
Reference in New Issue
Block a user