banner text

This commit is contained in:
CHIEFSOFT\ameye
2023-06-24 23:53:25 -04:00
parent f3983c79d4
commit 26ae23d61a
+5 -5
View File
@@ -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";