int ic = itm_count;
This commit is contained in:
@@ -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( 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( 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(itm_count < 3){
|
||||||
if( RecoLearnMore( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
if( RecoReferAFreind( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
||||||
if( RecoCheckBlog( 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";
|
out["home_dash_type"]="DEFAULT_HOME_DASH";
|
||||||
LoginWrenchBoardSetDashType(in, out);
|
LoginWrenchBoardSetDashType(in, out);
|
||||||
@@ -170,7 +171,7 @@ long RecoLearnMore( int itm_count, CVars in, CVars &out ){
|
|||||||
const PGresult *res;
|
const PGresult *res;
|
||||||
char vname[30];
|
char vname[30];
|
||||||
try {
|
try {
|
||||||
|
int ic = itm_count;
|
||||||
|
|
||||||
snprintf(vname, sizeof (vname), "title_%05d", ic);
|
snprintf(vname, sizeof (vname), "title_%05d", ic);
|
||||||
out[vname] = "Learn more";
|
out[vname] = "Learn more";
|
||||||
|
|||||||
Reference in New Issue
Block a user