home type

This commit is contained in:
CHIEFSOFT\ameye
2024-01-29 12:09:48 -05:00
parent 431fb14d79
commit 4541d07768
2 changed files with 6 additions and 1 deletions
@@ -86,6 +86,9 @@ long WrenchHomeBanners(CVars in, CVars &out) {
//if( RecoCheckBlog( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoOffersInterest( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
if( RecoReferAFreind( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
out["home_dash_type"]="DEFAULT_HOME_DASH";
//
// snprintf(vname, sizeof (vname), "button_text_%05d", ic);
// out[vname] = "Continue";
+3 -1
View File
@@ -407,6 +407,7 @@ class ResultFormatter extends Model
"total_record" => ($total - 1),
"internal_return" => $out["internal_return"],
"family_action" => 0,
"home_dash_type" => $out["home_dash_type"],
"result_list" => array(),
);
for ($i = 0; $i < $total; $i++) {
@@ -643,7 +644,8 @@ class ResultFormatter extends Model
$res["result_list"][] = array(
"group_uid" => $out["group_uid_${key}"],
"group_name" => $out["group_name_${key}"],
"group_id" => $out["group_id_${key}"]
"group_id" => $out["group_id_${key}"],
"member_count" => $out["member_count_${key}"],
);
}