From 26ae23d61a3af8b0afeb1d8e7f8b14a49094b459 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 24 Jun 2023 23:53:25 -0400 Subject: [PATCH] banner text --- wrenchboard/src/shared_tool/reco_egine.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wrenchboard/src/shared_tool/reco_egine.cc b/wrenchboard/src/shared_tool/reco_egine.cc index 9323118f..ef16c92b 100644 --- a/wrenchboard/src/shared_tool/reco_egine.cc +++ b/wrenchboard/src/shared_tool/reco_egine.cc @@ -197,14 +197,14 @@ long RecoCheckOffers(int itm_count, CVars in, CVars &out ){ try { int ic = itm_count; long member_id = REQ_LONG(in, "member_id", 1, -1); - res = pgsql_query("SELECT * FROM members_jobs_offer WHERE expire > now() AND status = 1 AND client_id = %lu ",member_id); + res = pgsql_query("SELECT * FROM members_jobs_offer WHERE expire > now() AND status = 1 AND client_id > 0 AND client_id = %lu ",member_id); if (res != NULL && pgsql_num_rows(res) > 0) { snprintf(vname, sizeof (vname), "title_%05d", ic); - out[vname] = "This is the offer available text"; + out[vname] = "Some offers are waiting for you."; snprintf(vname, sizeof (vname), "description_%05d", ic); - out[vname] = "This is the offer available text DESCRIPTIOON - This is the offer available text"; + out[vname] = "You have received some offers. View, accept, or reject before the offer(s) expire."; snprintf(vname, sizeof (vname), "card_type_%05d", ic); out[vname] = "OFFERS"; @@ -234,10 +234,10 @@ long RecoCheckOffers(int itm_count, CVars in, CVars &out ){ out[vname] = "short_button_text"; snprintf(vname, sizeof (vname), "short_title_%05d", ic); - out[vname] = "short_title"; + out[vname] = "Some offers are waiting for you."; snprintf(vname, sizeof (vname), "short_description_%05d", ic); - out[vname] = "short_description"; + out[vname] = " View, accept, or reject before the offer(s) expire"; snprintf(vname, sizeof (vname), "short_style_%05d", ic); out[vname] = "short_style";