banners
This commit is contained in:
@@ -78,7 +78,7 @@ long WrenchJobManagerOffers( CVars in, CVars &out){
|
||||
|
||||
res = pgsql_query(" SELECT j.id AS job_id,jo.expire,jo.public_view, j.*,jo.uid AS offer_uid,jo.offer_code AS offer_code, "
|
||||
" (CASE WHEN jo.public_view > 0 THEN 'public' ELSE jo.email END) AS job_to, "
|
||||
" c.code AS currency_code, c.description AS currency_description,j.country,mf.uid AS family_uid "
|
||||
" c.code AS currency_code, c.description AS currency_description,j.country,mf.uid AS family_uid, j.banner AS banner "
|
||||
" FROM members_jobs_offer jo "
|
||||
" LEFT JOIN members_jobs j ON j.id = jo.job_id "
|
||||
" LEFT JOIN currency c ON c.country=j.country "
|
||||
@@ -146,6 +146,9 @@ long WrenchJobManagerOffers( CVars in, CVars &out){
|
||||
snprintf(vname, sizeof (vname), "currency_code_%05d", i);
|
||||
out[vname] = rec["currency_code"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "banner_%05d", i);
|
||||
out[vname] = rec["banner"];
|
||||
|
||||
}
|
||||
}
|
||||
ret = PHP_API_OK;
|
||||
|
||||
Reference in New Issue
Block a user