banner type
This commit is contained in:
@@ -90,9 +90,9 @@ long WrenchHomeBanners(CVars in, CVars &out) {
|
|||||||
char vname[30];
|
char vname[30];
|
||||||
long member_id = REQ_LONG(in, "member_id", 1, -1);
|
long member_id = REQ_LONG(in, "member_id", 1, -1);
|
||||||
int itm_count= 0;
|
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( RecoStartMarketCardUS( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
||||||
if( RecoStartMarketCard( 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( RecoPendingInterestCount( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
||||||
if( RecoCheckFamilyLogin( 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++; }
|
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";
|
out[vname] = "icon1 imp_offers";
|
||||||
|
|
||||||
snprintf(vname, sizeof (vname), "banner_%05d", ic);
|
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);
|
snprintf(vname, sizeof (vname), "banner_location_%05d", ic);
|
||||||
out[vname] ="LOCAL";
|
out[vname] ="URL";
|
||||||
|
|
||||||
snprintf(vname, sizeof (vname), "link_path_%05d", ic);
|
snprintf(vname, sizeof (vname), "link_path_%05d", ic);
|
||||||
out[vname] = "mytask";
|
out[vname] = "mytask";
|
||||||
|
|||||||
Reference in New Issue
Block a user