New items

This commit is contained in:
dev-chiefworks
2022-04-23 14:48:11 -04:00
parent 49fbb7619a
commit ca802eb5a0
10 changed files with 299 additions and 20 deletions
+7 -2
View File
@@ -65,8 +65,13 @@ class Bko_Controller extends WRB_Controller {
// PUBIC active JOB table
$mysql = "SELECT jo.offer_code||'<br><b>Exp: </b>'||jo.expire AS det1,jo.id AS offer_id,'<b>'||mj.title||'</b><br>'||mj.description,'<b>Timeline:</b>'||mj.timeline_days||'day(s)<br><b>Price:</b>'||mj.price*0.01||' #$?' AS det2 FROM members_jobs_offer jo "
. " LEFT JOIN members_jobs mj ON mj.id=jo.job_id "
$mysql = "SELECT jo.offer_code||'<br><b>Exp: </b>'||jo.expire::date||'<br><b>Country: </b>'||mj.country||'<br>Job Id'||jo.id AS \"Job\",
m.id||'<br>'||m.email||'<br>'||m.firstname||' '||m.lastname AS \"Job Owner\",
'<b>'||mj.title||'</b><br>'||mj.description AS \"Description\",
'<b>Timeline:</b>'||mj.timeline_days||'day(s)<br><b>Price:</b>'||mj.price*0.01||' #$?' AS \"Delivery\"
FROM members_jobs_offer jo "
. " LEFT JOIN members_jobs mj ON mj.id=jo.job_id "
. " LEFT JOIN members m ON mj.member_id = m.id "
. " WHERE mj.status=1 AND jo.status=1 "
. " AND jo.expire> now() AND jo.public_view > 0";