From f19143ec7d06bd0ccb16602032235fa8af1985aa Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 20 Jan 2024 14:15:33 -0500 Subject: [PATCH] WrenchHomeBanners --- wrenchboard/src/shared_tool/reco_egine.cc | 49 ++++++++++++----------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/wrenchboard/src/shared_tool/reco_egine.cc b/wrenchboard/src/shared_tool/reco_egine.cc index 7b8322cc..63b56659 100644 --- a/wrenchboard/src/shared_tool/reco_egine.cc +++ b/wrenchboard/src/shared_tool/reco_egine.cc @@ -86,30 +86,31 @@ 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++; } - - snprintf(vname, sizeof (vname), "button_text_%05d", ic); - out[vname] = "Continue"; - - snprintf(vname, sizeof (vname), "short_button_text_%05d", ic); - out[vname] = "View now"; - - snprintf(vname, sizeof (vname), "short_title_%05d", ic); - out[vname] = "Interest Pending"; - - snprintf(vname, sizeof (vname), "short_description_%05d", ic); - out[vname] = "Some users are interested in your job(s)"; - - snprintf(vname, sizeof (vname), "short_style_%05d", ic); - out[vname] = "short_style ly"; - - ret = PHP_API_OK; - } - - - } catch (bad_parameter) { - out["status"] = "ERROR"; - } - logfmt(logINFO, "/RecoOffersInterest()"); +// +// snprintf(vname, sizeof (vname), "button_text_%05d", ic); +// out[vname] = "Continue"; +// +// snprintf(vname, sizeof (vname), "short_button_text_%05d", ic); +// out[vname] = "View now"; +// +// snprintf(vname, sizeof (vname), "short_title_%05d", ic); +// out[vname] = "Interest Pending"; +// +// snprintf(vname, sizeof (vname), "short_description_%05d", ic); +// out[vname] = "Some users are interested in your job(s)"; +// +// snprintf(vname, sizeof (vname), "short_style_%05d", ic); +// out[vname] = "short_style ly"; +// +// +// } +// +// +// } catch (bad_parameter) { +// out["status"] = "ERROR"; +// } + logfmt(logINFO, "/WrenchHomeBanners()"); + ret = PHP_API_OK; return ret; }