banner type

This commit is contained in:
CHIEFSOFT\ameye
2024-09-20 21:53:53 -04:00
parent 4c83bccfc2
commit 049e1cc7d5
+4 -3
View File
@@ -90,9 +90,9 @@ long WrenchHomeBanners(CVars in, CVars &out) {
char vname[30];
long member_id = REQ_LONG(in, "member_id", 1, -1);
int itm_count= 0;
if( RecoCheckOffers( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoStartMarketCardUS( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoStartMarketCard( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoCheckOffers( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoPendingInterestCount( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoCheckFamilyLogin( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoCheckFamilyCount( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
@@ -388,10 +388,11 @@ long RecoCheckOffers(int itm_count, CVars in, CVars &out ){
out[vname] = "icon1 imp_offers";
snprintf(vname, sizeof (vname), "banner_%05d", ic);
out[vname] ="banner-waiting.jpg";
//out[vname] ="banner-waiting.jpg";
out[vname] ="https://www.wrenchboard.com/assets/images/apps/banners/banner-waiting.jpg";
snprintf(vname, sizeof (vname), "banner_location_%05d", ic);
out[vname] ="LOCAL";
out[vname] ="URL";
snprintf(vname, sizeof (vname), "link_path_%05d", ic);
out[vname] = "mytask";