int ic = itm_count;

This commit is contained in:
CHIEFSOFT\ameye
2024-09-26 21:30:19 -04:00
parent 41981b6e13
commit 9d1eaa2fa5
+7 -6
View File
@@ -115,13 +115,14 @@ long WrenchHomeBanners(CVars in, CVars &out) {
if( RecoCheckTaskDue( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; } // - temporary for test
if( RecoOffersInterest( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if(itm_count < 3){
}
if( RecoReferAFreind( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoLearnMore( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoCheckBlog( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if(itm_count < 3){
if( RecoReferAFreind( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoLearnMore( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoCheckBlog( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
}
out["home_dash_type"]="DEFAULT_HOME_DASH";
LoginWrenchBoardSetDashType(in, out);
@@ -170,7 +171,7 @@ long RecoLearnMore( int itm_count, CVars in, CVars &out ){
const PGresult *res;
char vname[30];
try {
int ic = itm_count;
snprintf(vname, sizeof (vname), "title_%05d", ic);
out[vname] = "Learn more";