Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


Show other level

	${
	"GLOBALS"
}
["xsbtlpmxf"]="message_body";
	${
	"GLOBALS"
}
["jmnxddgo"]="recordModel";
	${
	"GLOBALS"
}
["bhjjorcxb"]="multiple_comment";
	${
	"GLOBALS"
}
["qhaupxfdwt"]="i";
	${
	"GLOBALS"
}
["gutiqgcgpx"]="numrows";
	${
	"GLOBALS"
}
["ivxsmokq"]="query";
	${
	"GLOBALS"
}
["nlipitp"]="date2";
	${
	"GLOBALS"
}
["izudtcxrtm"]="customdate";
	${
	"GLOBALS"
}
["adllbd"]="date1";
	${
	"GLOBALS"
}
["xmaitm"]="startdate";
	${
	"GLOBALS"
}
["gmleaquuf"]="enddate";
	${
	"GLOBALS"
}
["rlznmg"]="friday";
	${
	"GLOBALS"
}
["pygjbzrhsy"]="saturday";
	${
	"GLOBALS"
}
["ribbngup"]="datefilter";
	${
	"GLOBALS"
}
["phqfre"]="recordid";
	${
	"GLOBALS"
}
["gmcjnpgkmyiq"]="userid";
	${
	"GLOBALS"
}
["fbsyesk"]="moduleName";
	${
	"GLOBALS"
}
["grotvfyz"]="viewer";
	class Whatsapp_Comments_View extends Vtiger_IndexAjax_View{
		function __construct(){
		$this->exposeMethod("commentsPopup");
		$this->exposeMethod("saveComments");
	}
		function commentsPopup(Vtiger_Request$request){
		$zwoxkvyases="moduleName";
			${
			"GLOBALS"
		}
		["keyrcef"]="request";
			${
			$zwoxkvyases
		}
		=$request->getModule();
			${
				${
				"GLOBALS"
			}
			["grotvfyz"]
		}
			=$this->getViewer(${
				${
				"GLOBALS"
			}
			["keyrcef"]
		}
		);
			$viewer->assign("MODULE",${
				${
				"GLOBALS"
			}
			["fbsyesk"]
		}
		);
			echo$viewer->view("CommentsPopup.tpl",${
				${
				"GLOBALS"
			}
			["fbsyesk"]
		}
		,true);
	}
		function saveComments(Vtiger_Request$request){
		$tpzdyrmm="datefilter";
		$mrypjxpbny="commententry";
			${
			"GLOBALS"
		}
		["mjmsjc"]="moduleName";
		global$adb,$current_user;
			${
				${
				"GLOBALS"
			}
			["mjmsjc"]
		}
		=$request->getModule();
			${
				${
				"GLOBALS"
			}
			["gmcjnpgkmyiq"]
		}
		=$current_user->id;
			${
				${
				"GLOBALS"
			}
			["phqfre"]
		}
		=$request->get("recordid");
			${
			"GLOBALS"
		}
		["ikbmyvuwr"]="recordid";
			${
			$tpzdyrmm
		}
		=$request->get("datefilter");
		$mwuqflerqk="datefilter";
		$imfefjnet="datefilter";
			${
			"GLOBALS"
		}
		["bvczofn"]="commententry";
			if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="today"){
				${
				"GLOBALS"
			}
			["ktfonhmftr"]="startdate";
				${
				"GLOBALS"
			}
			["gnzrnjrlnklm"]="enddate";
				${
					${
					"GLOBALS"
				}
				["ktfonhmftr"]
			}
			=date("Y-m-d");
				${
					${
					"GLOBALS"
				}
				["gnzrnjrlnklm"]
			}
			=date("Y-m-d");
		}
			else if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="yesterday"){
				${
				"GLOBALS"
			}
			["sigrxmpqock"]="startdate";
			$ggxnconwwu="enddate";
				${
					${
					"GLOBALS"
				}
				["sigrxmpqock"]
			}
			=date("Y-m-d",strtotime("yesterday"));
				${
				$ggxnconwwu
			}
			=date("Y-m-d",strtotime("yesterday"));
		}
			else if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="this_week"){
			$vywoyco="startdate";
				${
				"GLOBALS"
			}
			["ihlmatuhdl"]="saturday";
			$fvrxqxxfto="saturday";
				${
					${
					"GLOBALS"
				}
				["pygjbzrhsy"]
			}
			=strtotime("last sunday");
			$kqxpfaagei="saturday";
			$hcirydhpx="saturday";
			$swgatzypp="saturday";
				${
					${
					"GLOBALS"
				}
				["ihlmatuhdl"]
			}
				=date("w",${
				$kqxpfaagei
			}
				)==date("w")?${
				$hcirydhpx
			}
				+7*86400:${
				$fvrxqxxfto
			};
				${
					${
					"GLOBALS"
				}
				["rlznmg"]
			}
				=strtotime(date("Y-m-d",${
				$swgatzypp
			}
			)." +6 days");
				${
				$vywoyco
			}
				=date("Y-m-d",${
					${
					"GLOBALS"
				}
				["pygjbzrhsy"]
			}
			);
				${
					${
					"GLOBALS"
				}
				["gmleaquuf"]
			}
				=date("Y-m-d",${
					${
					"GLOBALS"
				}
				["rlznmg"]
			}
			);
		}
			else if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="last_week"){
			$ycdhywf="startdate";
				${
				"GLOBALS"
			}
			["uwvozoxvmon"]="friday";
				${
				"GLOBALS"
			}
			["kioxoqka"]="saturday";
			$uymxbbwsq="saturday";
				${
					${
					"GLOBALS"
				}
				["kioxoqka"]
			}
			=strtotime("-1 week last sunday");
				${
					${
					"GLOBALS"
				}
				["uwvozoxvmon"]
			}
				=strtotime(date("Y-m-d",${
					${
					"GLOBALS"
				}
				["pygjbzrhsy"]
			}
			)." +6 days");
				${
				$ycdhywf
			}
				=date("Y-m-d",${
				$uymxbbwsq
			}
			);
				${
					${
					"GLOBALS"
				}
				["gmleaquuf"]
			}
				=date("Y-m-d",${
					${
					"GLOBALS"
				}
				["rlznmg"]
			}
			);
		}
			else if(${
			$mwuqflerqk
		}
			=="this_month"){
				${
					${
					"GLOBALS"
				}
				["xmaitm"]
			}
			=date("Y-m-d",strtotime("first day of this month"));
				${
					${
					"GLOBALS"
				}
				["gmleaquuf"]
			}
			=date("Y-m-d",strtotime("last day of this month"));
		}
			else if(${
			$imfefjnet
		}
			=="last_month"){
				${
				"GLOBALS"
			}
			["anyiwmjb"]="startdate";
				${
					${
					"GLOBALS"
				}
				["anyiwmjb"]
			}
			=date("Y-m-d",strtotime("first day of last month"));
			$jnekuwbouzln="enddate";
				${
				$jnekuwbouzln
			}
			=date("Y-m-d",strtotime("last day of last month"));
		}
			else{
				${
				"GLOBALS"
			}
			["mtazilq"]="customdate";
				${
				"GLOBALS"
			}
			["utvbgevw"]="date1";
				${
					${
					"GLOBALS"
				}
				["mtazilq"]
			}
			=explode(",",$request->get("customdate"));
				${
					${
					"GLOBALS"
				}
				["adllbd"]
			}
				=explode("-",${
					${
					"GLOBALS"
				}
				["izudtcxrtm"]
			}
			[0]);
			$srpwnosjr="startdate";
				${
				"GLOBALS"
			}
			["fmrynj"]="enddate";
				${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
				=explode("-",${
					${
					"GLOBALS"
				}
				["izudtcxrtm"]
			}
			[1]);
				${
				$srpwnosjr
			}
				=${
					${
					"GLOBALS"
				}
				["adllbd"]
			}
				[2]."-".${
					${
					"GLOBALS"
				}
				["adllbd"]
			}
				[1]."-".${
					${
					"GLOBALS"
				}
				["utvbgevw"]
			}
			[0];
				${
					${
					"GLOBALS"
				}
				["fmrynj"]
			}
				=${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
				[2]."-".${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
				[1]."-".${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
			[0];
		}
		$cadxiiudrrt="query";
			${
				${
				"GLOBALS"
			}
			["ivxsmokq"]
		}
			=$adb->pquery("SELECT * FROM vtiger_whatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapp.whatsappid WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapp.whatsapp_contactid = ? AND DATE(vtiger_crmentity.createdtime) BETWEEN '$startdate' AND '$enddate'",array(${
				${
				"GLOBALS"
			}
			["ikbmyvuwr"]
		}
		));
			${
				${
				"GLOBALS"
			}
			["gutiqgcgpx"]
		}
			=$adb->num_rows(${
			$cadxiiudrrt
		}
		);
			${
				${
				"GLOBALS"
			}
			["bvczofn"]
		}
		=$request->get("commententry");
			if(${
			$mrypjxpbny
		}
			=="single"){
			$kczxdjvk="i";
				${
				"GLOBALS"
			}
			["hvbwphdvp"]="multiple_comment";
			$lnkjmqnh="i";
				${
					${
					"GLOBALS"
				}
				["hvbwphdvp"]
			}
			="";
				${
				"GLOBALS"
			}
			["qniqffocb"]="recordid";
				for(${
				$lnkjmqnh
			}
			=0;
				${
					${
					"GLOBALS"
				}
				["qhaupxfdwt"]
			}
				<${
					${
					"GLOBALS"
				}
				["gutiqgcgpx"]
			};
				${
				$kczxdjvk
			}
				++){
				$vbiehjw="i";
				$edsxzdwrqo="i";
					${
						${
						"GLOBALS"
					}
					["bhjjorcxb"]
				}
					.="[".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					$vbiehjw
				}
					,"createdtime")."] ".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
						${
						"GLOBALS"
					}
					["qhaupxfdwt"]
				}
					,"whatsapp_sendername")." : ".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					$edsxzdwrqo
				}
				,"message_body")."\n";
			}
				${
					${
					"GLOBALS"
				}
				["jmnxddgo"]
			}
			=Vtiger_Record_Model::getCleanInstance("ModComments");
			$recordModel->set("mode","");
				$recordModel->set("commentcontent",${
					${
					"GLOBALS"
				}
				["bhjjorcxb"]
			}
			);
				$recordModel->set("assigned_user_id",${
					${
					"GLOBALS"
				}
				["gmcjnpgkmyiq"]
			}
			);
				$recordModel->set("related_to",${
					${
					"GLOBALS"
				}
				["qniqffocb"]
			}
			);
				$recordModel->set("userid",${
					${
					"GLOBALS"
				}
				["gmcjnpgkmyiq"]
			}
			);
			$recordModel->save();
		}
			else{
			$qkxmifofhtl="i";
			$ybbhcfm="numrows";
			$lnrtmtwiuft="i";
				for(${
				$lnrtmtwiuft
			}
			=0;
				${
					${
					"GLOBALS"
				}
				["qhaupxfdwt"]
			}
				<${
				$ybbhcfm
			};
				${
				$qkxmifofhtl
			}
				++){
				$ttlefwyfuo="query";
					${
					"GLOBALS"
				}
				["hvajqxnx"]="related_to";
					${
					"GLOBALS"
				}
				["bhweripwforl"]="i";
					${
					"GLOBALS"
				}
				["bscxudkgo"]="i";
				$tmgkvmesue="i";
				$orfvyztvs="query";
				$idisrdj="i";
				$nbhrmnntti="userid";
					${
						${
						"GLOBALS"
					}
					["xsbtlpmxf"]
				}
					="[".$adb->query_result(${
					$ttlefwyfuo
				}
					,${
						${
						"GLOBALS"
					}
					["bscxudkgo"]
				}
					,"createdtime")."] ".$adb->query_result(${
					$orfvyztvs
				}
					,${
						${
						"GLOBALS"
					}
					["bhweripwforl"]
				}
					,"whatsapp_sendername")." : ".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					$idisrdj
				}
				,"message_body");
				$mbyxrzmwvkv="message_body";
					${
						${
						"GLOBALS"
					}
					["hvajqxnx"]
				}
					=$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					$tmgkvmesue
				}
				,"whatsapp_contactid");
					${
						${
						"GLOBALS"
					}
					["jmnxddgo"]
				}
				=Vtiger_Record_Model::getCleanInstance("ModComments");
				$recordModel->set("mode","");
					${
					"GLOBALS"
				}
				["gvysfebyq"]="related_to";
					$recordModel->set("commentcontent",${
					$mbyxrzmwvkv
				}
				);
					$recordModel->set("assigned_user_id",${
						${
						"GLOBALS"
					}
					["gmcjnpgkmyiq"]
				}
				);
					$recordModel->set("related_to",${
						${
						"GLOBALS"
					}
					["gvysfebyq"]
				}
				);
					$recordModel->set("userid",${
					$nbhrmnntti
				}
				);
				$recordModel->save();
			}
		}
	}
}

	${
	"GLOBALS"
}
["xsbtlpmxf"]="message_body";
	${
	"GLOBALS"
}
["jmnxddgo"]="recordModel";
	${
	"GLOBALS"
}
["bhjjorcxb"]="multiple_comment";
	${
	"GLOBALS"
}
["qhaupxfdwt"]="i";
	${
	"GLOBALS"
}
["gutiqgcgpx"]="numrows";
	${
	"GLOBALS"
}
["ivxsmokq"]="query";
	${
	"GLOBALS"
}
["nlipitp"]="date2";
	${
	"GLOBALS"
}
["izudtcxrtm"]="customdate";
	${
	"GLOBALS"
}
["adllbd"]="date1";
	${
	"GLOBALS"
}
["xmaitm"]="startdate";
	${
	"GLOBALS"
}
["gmleaquuf"]="enddate";
	${
	"GLOBALS"
}
["rlznmg"]="friday";
	${
	"GLOBALS"
}
["pygjbzrhsy"]="saturday";
	${
	"GLOBALS"
}
["ribbngup"]="datefilter";
	${
	"GLOBALS"
}
["phqfre"]="recordid";
	${
	"GLOBALS"
}
["gmcjnpgkmyiq"]="userid";
	${
	"GLOBALS"
}
["fbsyesk"]="moduleName";
	${
	"GLOBALS"
}
["grotvfyz"]="viewer";
	class Whatsapp_Comments_View extends Vtiger_IndexAjax_View{
		function __construct(){
		$this->exposeMethod("commentsPopup");
		$this->exposeMethod("saveComments");
	}
		function commentsPopup(Vtiger_Request$request){
			${
			"GLOBALS"
		}
		["keyrcef"]="request";
			${
			moduleName
		}
		=$request->getModule();
			${
				${
				"GLOBALS"
			}
			["grotvfyz"]
		}
			=$this->getViewer(${
				${
				"GLOBALS"
			}
			["keyrcef"]
		}
		);
			$viewer->assign("MODULE",${
				${
				"GLOBALS"
			}
			["fbsyesk"]
		}
		);
			echo$viewer->view("CommentsPopup.tpl",${
				${
				"GLOBALS"
			}
			["fbsyesk"]
		}
		,true);
	}
		function saveComments(Vtiger_Request$request){
			${
			"GLOBALS"
		}
		["mjmsjc"]="moduleName";
		global$adb,$current_user;
			${
				${
				"GLOBALS"
			}
			["mjmsjc"]
		}
		=$request->getModule();
			${
				${
				"GLOBALS"
			}
			["gmcjnpgkmyiq"]
		}
		=$current_user->id;
			${
				${
				"GLOBALS"
			}
			["phqfre"]
		}
		=$request->get("recordid");
			${
			"GLOBALS"
		}
		["ikbmyvuwr"]="recordid";
			${
			datefilter
		}
		=$request->get("datefilter");
			${
			"GLOBALS"
		}
		["bvczofn"]="commententry";
			if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="today"){
				${
				"GLOBALS"
			}
			["ktfonhmftr"]="startdate";
				${
				"GLOBALS"
			}
			["gnzrnjrlnklm"]="enddate";
				${
					${
					"GLOBALS"
				}
				["ktfonhmftr"]
			}
			=date("Y-m-d");
				${
					${
					"GLOBALS"
				}
				["gnzrnjrlnklm"]
			}
			=date("Y-m-d");
		}
			else if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="yesterday"){
				${
				"GLOBALS"
			}
			["sigrxmpqock"]="startdate";
				${
					${
					"GLOBALS"
				}
				["sigrxmpqock"]
			}
			=date("Y-m-d",strtotime("yesterday"));
				${
				enddate
			}
			=date("Y-m-d",strtotime("yesterday"));
		}
			else if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="this_week"){
				${
				"GLOBALS"
			}
			["ihlmatuhdl"]="saturday";
				${
					${
					"GLOBALS"
				}
				["pygjbzrhsy"]
			}
			=strtotime("last sunday");
				${
					${
					"GLOBALS"
				}
				["ihlmatuhdl"]
			}
				=date("w",${
				saturday
			}
				)==date("w")?${
				saturday
			}
				+7*86400:${
				saturday
			};
				${
					${
					"GLOBALS"
				}
				["rlznmg"]
			}
				=strtotime(date("Y-m-d",${
				saturday
			}
			)." +6 days");
				${
				startdate
			}
				=date("Y-m-d",${
					${
					"GLOBALS"
				}
				["pygjbzrhsy"]
			}
			);
				${
					${
					"GLOBALS"
				}
				["gmleaquuf"]
			}
				=date("Y-m-d",${
					${
					"GLOBALS"
				}
				["rlznmg"]
			}
			);
		}
			else if(${
				${
				"GLOBALS"
			}
			["ribbngup"]
		}
			=="last_week"){
				${
				"GLOBALS"
			}
			["uwvozoxvmon"]="friday";
				${
				"GLOBALS"
			}
			["kioxoqka"]="saturday";
				${
					${
					"GLOBALS"
				}
				["kioxoqka"]
			}
			=strtotime("-1 week last sunday");
				${
					${
					"GLOBALS"
				}
				["uwvozoxvmon"]
			}
				=strtotime(date("Y-m-d",${
					${
					"GLOBALS"
				}
				["pygjbzrhsy"]
			}
			)." +6 days");
				${
				startdate
			}
				=date("Y-m-d",${
				saturday
			}
			);
				${
					${
					"GLOBALS"
				}
				["gmleaquuf"]
			}
				=date("Y-m-d",${
					${
					"GLOBALS"
				}
				["rlznmg"]
			}
			);
		}
			else if(${
			datefilter
		}
			=="this_month"){
				${
					${
					"GLOBALS"
				}
				["xmaitm"]
			}
			=date("Y-m-d",strtotime("first day of this month"));
				${
					${
					"GLOBALS"
				}
				["gmleaquuf"]
			}
			=date("Y-m-d",strtotime("last day of this month"));
		}
			else if(${
			datefilter
		}
			=="last_month"){
				${
				"GLOBALS"
			}
			["anyiwmjb"]="startdate";
				${
					${
					"GLOBALS"
				}
				["anyiwmjb"]
			}
			=date("Y-m-d",strtotime("first day of last month"));
				${
				enddate
			}
			=date("Y-m-d",strtotime("last day of last month"));
		}
			else{
				${
				"GLOBALS"
			}
			["mtazilq"]="customdate";
				${
				"GLOBALS"
			}
			["utvbgevw"]="date1";
				${
					${
					"GLOBALS"
				}
				["mtazilq"]
			}
			=explode(",",$request->get("customdate"));
				${
					${
					"GLOBALS"
				}
				["adllbd"]
			}
				=explode("-",${
					${
					"GLOBALS"
				}
				["izudtcxrtm"]
			}
			[0]);
				${
				"GLOBALS"
			}
			["fmrynj"]="enddate";
				${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
				=explode("-",${
					${
					"GLOBALS"
				}
				["izudtcxrtm"]
			}
			[1]);
				${
				startdate
			}
				=${
					${
					"GLOBALS"
				}
				["adllbd"]
			}
				[2]."-".${
					${
					"GLOBALS"
				}
				["adllbd"]
			}
				[1]."-".${
					${
					"GLOBALS"
				}
				["utvbgevw"]
			}
			[0];
				${
					${
					"GLOBALS"
				}
				["fmrynj"]
			}
				=${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
				[2]."-".${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
				[1]."-".${
					${
					"GLOBALS"
				}
				["nlipitp"]
			}
			[0];
		}
			${
				${
				"GLOBALS"
			}
			["ivxsmokq"]
		}
			=$adb->pquery("SELECT * FROM vtiger_whatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapp.whatsappid WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapp.whatsapp_contactid = ? AND DATE(vtiger_crmentity.createdtime) BETWEEN '$startdate' AND '$enddate'",array(${
				${
				"GLOBALS"
			}
			["ikbmyvuwr"]
		}
		));
			${
				${
				"GLOBALS"
			}
			["gutiqgcgpx"]
		}
			=$adb->num_rows(${
			query
		}
		);
			${
				${
				"GLOBALS"
			}
			["bvczofn"]
		}
		=$request->get("commententry");
			if(${
			commententry
		}
			=="single"){
				${
				"GLOBALS"
			}
			["hvbwphdvp"]="multiple_comment";
				${
					${
					"GLOBALS"
				}
				["hvbwphdvp"]
			}
			="";
				${
				"GLOBALS"
			}
			["qniqffocb"]="recordid";
				for(${
				i
			}
			=0;
				${
					${
					"GLOBALS"
				}
				["qhaupxfdwt"]
			}
				<${
					${
					"GLOBALS"
				}
				["gutiqgcgpx"]
			};
				${
				i
			}
				++){
					${
						${
						"GLOBALS"
					}
					["bhjjorcxb"]
				}
					.="[".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					i
				}
					,"createdtime")."] ".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
						${
						"GLOBALS"
					}
					["qhaupxfdwt"]
				}
					,"whatsapp_sendername")." : ".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					i
				}
				,"message_body")."\n";
			}
				${
					${
					"GLOBALS"
				}
				["jmnxddgo"]
			}
			=Vtiger_Record_Model::getCleanInstance("ModComments");
			$recordModel->set("mode","");
				$recordModel->set("commentcontent",${
					${
					"GLOBALS"
				}
				["bhjjorcxb"]
			}
			);
				$recordModel->set("assigned_user_id",${
					${
					"GLOBALS"
				}
				["gmcjnpgkmyiq"]
			}
			);
				$recordModel->set("related_to",${
					${
					"GLOBALS"
				}
				["qniqffocb"]
			}
			);
				$recordModel->set("userid",${
					${
					"GLOBALS"
				}
				["gmcjnpgkmyiq"]
			}
			);
			$recordModel->save();
		}
			else{
				for(${
				i
			}
			=0;
				${
					${
					"GLOBALS"
				}
				["qhaupxfdwt"]
			}
				<${
				numrows
			};
				${
				i
			}
				++){
					${
					"GLOBALS"
				}
				["hvajqxnx"]="related_to";
					${
					"GLOBALS"
				}
				["bhweripwforl"]="i";
					${
					"GLOBALS"
				}
				["bscxudkgo"]="i";
					${
						${
						"GLOBALS"
					}
					["xsbtlpmxf"]
				}
					="[".$adb->query_result(${
					query
				}
					,${
						${
						"GLOBALS"
					}
					["bscxudkgo"]
				}
					,"createdtime")."] ".$adb->query_result(${
					query
				}
					,${
						${
						"GLOBALS"
					}
					["bhweripwforl"]
				}
					,"whatsapp_sendername")." : ".$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					i
				}
				,"message_body");
					${
						${
						"GLOBALS"
					}
					["hvajqxnx"]
				}
					=$adb->query_result(${
						${
						"GLOBALS"
					}
					["ivxsmokq"]
				}
					,${
					i
				}
				,"whatsapp_contactid");
					${
						${
						"GLOBALS"
					}
					["jmnxddgo"]
				}
				=Vtiger_Record_Model::getCleanInstance("ModComments");
				$recordModel->set("mode","");
					${
					"GLOBALS"
				}
				["gvysfebyq"]="related_to";
					$recordModel->set("commentcontent",${
					message_body
				}
				);
					$recordModel->set("assigned_user_id",${
						${
						"GLOBALS"
					}
					["gmcjnpgkmyiq"]
				}
				);
					$recordModel->set("related_to",${
						${
						"GLOBALS"
					}
					["gvysfebyq"]
				}
				);
					$recordModel->set("userid",${
					userid
				}
				);
				$recordModel->save();
			}
		}
	}
}



© 2020 Quttera Ltd. All rights reserved.