fix text url

This commit is contained in:
CHIEFSOFT\ameye
2024-09-12 10:26:20 -04:00
parent f61920ddb0
commit f59bf668f5
+5 -4
View File
@@ -164,7 +164,7 @@ long RecoStartMarketCardUS( 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 WHERE uid::text = '%s' AND added::date > now() - interval '3000 minutes' AND country='US' ", in["uuid"].c_str());
res = pgsql_query("SELECT * FROM members WHERE uid::text = '%s' AND added::date > now() - interval '6000 minutes' AND country='US' ", in["uuid"].c_str());
if (res != NULL && pgsql_num_rows(res) > 0) {
snprintf(vname, sizeof (vname), "title_%05d", ic);
@@ -252,7 +252,8 @@ long RecoOffersInterest(int itm_count, CVars in, CVars &out ){
out[vname] = "icon1";
snprintf(vname, sizeof (vname), "banner_%05d", ic);
out[vname] ="https://blog.wrenchboard.com/wp-content/uploads/2022/01/wrechboard-sample.jpg";
//out[vname] ="https://blog.wrenchboard.com/wp-content/uploads/2022/01/wrechboard-sample.jpg";
out[vname] ="https://www.wrenchboard.com/assets/images/apps/banners/interest-pending.jpg";
snprintf(vname, sizeof (vname), "banner_location_%05d", ic);
out[vname] ="URL";
@@ -294,7 +295,7 @@ long RecoStartMarketCard( 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 WHERE uid::text = '%s' AND added::date > now() - interval '3000 minutes' ", in["uuid"].c_str());
res = pgsql_query("SELECT * FROM members WHERE uid::text = '%s' AND added::date > now() - interval '6000 minutes' ", in["uuid"].c_str());
if (res != NULL && pgsql_num_rows(res) > 0) {
snprintf(vname, sizeof (vname), "title_%05d", ic);
@@ -329,7 +330,7 @@ long RecoStartMarketCard( int itm_count, CVars in, CVars &out ){
// out[vname] ="LOCAL";
snprintf(vname, sizeof (vname), "link_path_%05d", ic);
out[vname] = "mytask";
out[vname] = "market";
snprintf(vname, sizeof (vname), "button_text_%05d", ic);
out[vname] = "Continue";