This commit is contained in:
2022-05-21 10:15:23 -04:00
parent 186ee393a2
commit 0a9898a69d
5 changed files with 33 additions and 5 deletions
+13
View File
@@ -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'];