Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ${"\x47L\x4f\x42\x41L\x53"}["\x65\x65\x71\x6a\x6b\x68\x76\x66\x66\x75m\x67"]="\x63\x..

Decoded Output download

<?php ${"GLOBALS"}["eeqjkhvffumg"]="customerMobileNo";${"GLOBALS"}["gfjnkya"]="sendMessagetype";${"GLOBALS"}["jepsxjpqzjj"]="filenameExplode";${"GLOBALS"}["ntyosxvor"]="newFilename";${"GLOBALS"}["lxgrtnxb"]="key";${"GLOBALS"}["ttjntln"]="sendButtonValue";${"GLOBALS"}["jmsburx"]="val";${"GLOBALS"}["oklxrhyct"]="postfields";${"GLOBALS"}["prboysgbjwz"]="value";${"GLOBALS"}["hibisde"]="sendButtonListValue";${"GLOBALS"}["yjkvtqina"]="apiUrl";${"GLOBALS"}["lwpdpv"]="configData";${"GLOBALS"}["lqdgvew"]="whatsappNumber";${"GLOBALS"}["urzhlhycdmk"]="api_url";${"GLOBALS"}["rhlsxmwnef"]="num_rows";${"GLOBALS"}["xynogsvy"]="confugurationQuery";${"GLOBALS"}["rikcvmjz"]="currentBotId";${"GLOBALS"}["jsoccrhx"]="firstQueId";${"GLOBALS"}["zuvdqlqnrmb"]="firstQueQuery";${"GLOBALS"}["ievksph"]="activeBotQuery";${"GLOBALS"}["piuulnxwegmm"]="getUserGrous";${"GLOBALS"}["yafyikczmjuj"]="nextSequence1";${"GLOBALS"}["bkdxybci"]="nxtQuestionRows";${"GLOBALS"}["bnxcqiykbtf"]="getNextQuestionQuery1";${"GLOBALS"}["gdumchjuneh"]="sinumericQuery";${"GLOBALS"}["wwvksprrlruh"]="messageTypequery";${"GLOBALS"}["uctyqcyugewo"]="messagetypeId";${"GLOBALS"}["kwdppqjhiu"]="fieldColumnName";${"GLOBALS"}["ghblxgez"]="vtigerResponceField";${"GLOBALS"}["bhwbyfc"]="getResponceFieldQuery";${"GLOBALS"}["izvbyeh"]="serachRows";${"GLOBALS"}["pnurtelnmv"]="tablename";${"GLOBALS"}["kctsqjfpuyda"]="getSearchQuery";${"GLOBALS"}["mmmcnluerj"]="baseTable";${"GLOBALS"}["flltrcqiprfq"]="moduleModel";${"GLOBALS"}["bcdkxbcqsba"]="getSearchTableQuery";${"GLOBALS"}["uqgzxnt"]="nextEndQuestionBody1";${"GLOBALS"}["libstgnkcs"]="optionRow";${"GLOBALS"}["oymqlrom"]="getNextQuestionsQuery";${"GLOBALS"}["wwoxayoygnp"]="endBotQuery";${"GLOBALS"}["cubjalvnrz"]="endNod";${"GLOBALS"}["ntcujues"]="next_sequenceId";${"GLOBALS"}["vtchidcp"]="queText";${"GLOBALS"}["nltrsbetxmx"]="varmessagetype";${"GLOBALS"}["vimmuvxpgdp"]="nextSequence";${"GLOBALS"}["nrthqfnqbnx"]="questionData";${"GLOBALS"}["yehllkes"]="vtigerfieldValue";${"GLOBALS"}["svgibkoh"]="flowbuilderfield";${"GLOBALS"}["vlpehussga"]="fieldMappingQuery";${"GLOBALS"}["uafrctsluy"]="relatedFieldName";${"GLOBALS"}["fbibal"]="insertModuleName";${"GLOBALS"}["kzqxujclg"]="vtigerfield";${"GLOBALS"}["qwamdjqkqi"]="defaultvalue";${"GLOBALS"}["bpvnzbwbbrli"]="fieldValueQuery";${"GLOBALS"}["hcijravw"]="insertRecordModel";${"GLOBALS"}["odsthkssmf"]="getMappingFieldQuery";${"GLOBALS"}["arlnmsui"]="relatedModuleId";${"GLOBALS"}["lelxkppedftf"]="relatedFieldQuery";${"GLOBALS"}["ejhwzxfsit"]="relatedRecorModel";${"GLOBALS"}["htgvmxvnivq"]="relatedRecordRows";${"GLOBALS"}["ntljebi"]="baseTableid";${"GLOBALS"}["pbmumdodde"]="getSearchRelatedQuery";${"GLOBALS"}["fdtkigtuchu"]="relatedModuleName";${"GLOBALS"}["jgeucnup"]="moduleInstance";${"GLOBALS"}["dpdfsxxvvhhp"]="relatedFindQuery";${"GLOBALS"}["qbemesfdruxb"]="vtigerFielduiType";${"GLOBALS"}["cptgjjgxb"]="getUiTypeQuery";${"GLOBALS"}["unodmfcujrao"]="relatedfieldValueQuery";${"GLOBALS"}["eurxrhc"]="relvtigerfield";${"GLOBALS"}["jtfkyy"]="relflowbuilderfield";${"GLOBALS"}["cyyuujamez"]="m";${"GLOBALS"}["nmqwecq"]="relatedRows";${"GLOBALS"}["dgyidblj"]="tabid";${"GLOBALS"}["zqsnwufdu"]="actionDetail";${"GLOBALS"}["awitqojb"]="nextEndQuestionBody";${"GLOBALS"}["dvdapuoqfl"]="endNodQuery";${"GLOBALS"}["xdvqwly"]="responseimg";${"GLOBALS"}["xwusycnebbw"]="selectQuery1";${"GLOBALS"}["nryvminnydz"]="variablevalue";${"GLOBALS"}["uxxlkyi"]="conditions";${"GLOBALS"}["jiqogkoqil"]="conditionRows";${"GLOBALS"}["ozwjnohcmnjp"]="conditionQuery";${"GLOBALS"}["zpbhiixgcpq"]="nextSequence12";${"GLOBALS"}["uvshvorbhwcc"]="typeQueQuery";${"GLOBALS"}["ylvbbu"]="typeQuestionQuery";${"GLOBALS"}["xqnoufvwus"]="next_que_id";${"GLOBALS"}["jlnfncb"]="nextQuestionButtonBody";${"GLOBALS"}["skhwhok"]="opt_text";${"GLOBALS"}["wtctojwndby"]="opt_seq";${"GLOBALS"}["rrxzbdwfohj"]="buttonArray";${"GLOBALS"}["msahwahb"]="i";${"GLOBALS"}["iqpnqhqmrej"]="optionSequence";${"GLOBALS"}["cbjolh"]="getNextQuestionQuery";${"GLOBALS"}["ihtdjtwodfm"]="manualtransfers";${"GLOBALS"}["sfehed"]="nextQueId";${"GLOBALS"}["kwibsir"]="getNextQuestionOptionQuery";${"GLOBALS"}["hyatdhdxy"]="dateFormate";${"GLOBALS"}["hosmghwyuh"]="nextQuestionBody";${"GLOBALS"}["teooawm"]="searchModuleQuery";${"GLOBALS"}["weptyvx"]="currenActiveBot";${"GLOBALS"}["rjjdwwon"]="preQuestionDetails";${"GLOBALS"}["fmnmhb"]="currentBotTime";${"GLOBALS"}["cpqtuwg"]="active";${"GLOBALS"}["beevwsmd"]="date";${"GLOBALS"}["clhgwkewnw"]="getModuleName";${"GLOBALS"}["ejuyrxjf"]="related_tabid";${"GLOBALS"}["jsjydouu"]="crmaction_id";${"GLOBALS"}["pqpfxat"]="que_id";${"GLOBALS"}["ydhpykxelez"]="copy_from";${"GLOBALS"}["hkdffacn"]="messagetype";${"GLOBALS"}["dkygjizuq"]="type";${"GLOBALS"}["xblzlk"]="next_sequence";${"GLOBALS"}["xxailqbd"]="que_text";${"GLOBALS"}["utnyioxvgwrt"]="copy_to";${"GLOBALS"}["vyvqpbb"]="searchColumn";${"GLOBALS"}["rikbbgnids"]="searchModule";${"GLOBALS"}["pssarwsrdo"]="query";${"GLOBALS"}["dviqqlidt"]="manualdatetime";${"GLOBALS"}["rvdifykq"]="prebotid";${"GLOBALS"}["uynudefjmyl"]="getPreQuestionIdQuery";${"GLOBALS"}["tzgepzspid"]="preQuestionID";${"GLOBALS"}["ojdpruc"]="firstbotid";${"GLOBALS"}["mefjvsrkqj"]="getUserIdQuery";${"GLOBALS"}["ubopawl"]="multipleWahtsapp";${"GLOBALS"}["tmorjz"]="todayDate";${"GLOBALS"}["intkmzgxao"]="ondaySendMessage";${"GLOBALS"}["intrzxlord"]="whatsAppLicenseStatus";${"GLOBALS"}["jalneso"]="manualtransfer";${"GLOBALS"}["irmjynuwlzbp"]="relatedToData";${"GLOBALS"}["woxykhr"]="autoResponderText";${"GLOBALS"}["vvgwihp"]="authtoken";${"GLOBALS"}["jbxfwtxre"]="currentDateTime";${"GLOBALS"}["vbdcnigr"]="action";${"GLOBALS"}["itupyhyru"]="expirydate";${"GLOBALS"}["fflovmtcl"]="sendmessagelimit";${"GLOBALS"}["zuxuijwqpiz"]="botLicenseDetail";${"GLOBALS"}["siupxg"]="whatsappScanNo";${"GLOBALS"}["lspxxuelir"]="minutes";${"GLOBALS"}["fldjvkkyltf"]="messageTimeDiffrence";${"GLOBALS"}["axlyumbov"]="botidealtime";${"GLOBALS"}["mewgfrzia"]="currenBotID";${"GLOBALS"}["bgfmlpe"]="manualDateTimeDate";${"GLOBALS"}["yhexqxpocpv"]="preQuestionRows";${"GLOBALS"}["ruakthtkcy"]="preQuestionData";${"GLOBALS"}["ppexrgjrck"]="body";${"GLOBALS"}["iehdwjy"]="configureUserid";${"GLOBALS"}["bqelbnnvlyh"]="sendResponderMessage";${"GLOBALS"}["xqwqncvgoqc"]="currentusername";${"GLOBALS"}["peoytbcloqc"]="auth_token";${"GLOBALS"}["jyyxkihncmu"]="url";${"GLOBALS"}["mcuwzksvctk"]="date_var";${"GLOBALS"}["dmjpdfjt"]="row";${"GLOBALS"}["zckfqexcy"]="getRecordQuery";${"GLOBALS"}["jmwyca"]="whatsappQuery";${"GLOBALS"}["hvafruyqmn"]="whatsappBusinessNo";${"GLOBALS"}["zlmgfmsein"]="userid";${"GLOBALS"}["rrvgmgdiwot"]="moduleName";${"GLOBALS"}["nljqifjaywk"]="whatsapplogid";${"GLOBALS"}["mavrco"]="getnumberImportant";${"GLOBALS"}["ryxouuz"]="getMessageDateTime";${"GLOBALS"}["poxctlybt"]="displayname";${"GLOBALS"}["xurbrsb"]="recordModelData";${"GLOBALS"}["xqfwwcehol"]="setype";${"GLOBALS"}["rsbcfepvcu"]="recordModel";${"GLOBALS"}["povxtghlifji"]="whatsappLogQuery";${"GLOBALS"}["esyrdinmket"]="whatsapplogRows";${"GLOBALS"}["wqewupl"]="whatsappBody";${"GLOBALS"}["mqsmdqovncx"]="fp";${"GLOBALS"}["xtkmpmm"]="site_URL";${"GLOBALS"}["tfaeetjco"]="newfileURL";${"GLOBALS"}["hhbxamx"]="curl1";${"GLOBALS"}["ttchlnhh"]="response1";${"GLOBALS"}["snajdswgd"]="mediaFileURL";${"GLOBALS"}["pkjewv"]="target_file";${"GLOBALS"}["upozbmlk"]="root_directory";${"GLOBALS"}["pfnschmur"]="whatsappfolderpath";${"GLOBALS"}["opsnbmrot"]="week";${"GLOBALS"}["kocvfugkmyxq"]="day";${"GLOBALS"}["ygbyuxd"]="month";${"GLOBALS"}["polxivrmyv"]="year";${"GLOBALS"}["btcjwmreeb"]="filename";${"GLOBALS"}["ltfdluqowoq"]="pdffilename";${"GLOBALS"}["fgcxtwtt"]="mime_type";${"GLOBALS"}["jrcfipm"]="response";${"GLOBALS"}["qxuuyiqpvfd"]="result";${"GLOBALS"}["ybcoyetjt"]="curl";${"GLOBALS"}["ygexfsi"]="mediaFileId";${"GLOBALS"}["ionpflxghw"]="getWhatsappQuery";${"GLOBALS"}["xqlfzisfnwv"]="relatedTo";${"GLOBALS"}["bjeuesefbozc"]="mobilenoLen";${"GLOBALS"}["tdjaunjj"]="mobileno";${"GLOBALS"}["jlgvcu"]="customerNo";${"GLOBALS"}["jmvvgtc"]="messageid";${"GLOBALS"}["muiaiwnp"]="messageType";${"GLOBALS"}["mrosutg"]="whatsappLog";${"GLOBALS"}["plomfwcbu"]="autoResponder";${"GLOBALS"}["rkeiyoghfl"]="configurationAdminData";${"GLOBALS"}["jtvmqy"]="iconactive";${"GLOBALS"}["xkenftbrmyz"]="customfield1";${"GLOBALS"}["dpckiofxu"]="configurationData";${"GLOBALS"}["jimwyblgm"]="senderName";${"GLOBALS"}["gltxxorp"]="currenUserID";${"GLOBALS"}["nrbqtb"]="quotebody";${"GLOBALS"}["tobxkkslhf"]="rows";${"GLOBALS"}["jvlqxsyjv"]="replyMessageTextQuery";${"GLOBALS"}["ciboxzeeu"]="display_phone_number";${"GLOBALS"}["fqroharfwxw"]="quotMessage";${"GLOBALS"}["loxelerdabj"]="time";${"GLOBALS"}["dsnrdnidjtjb"]="participant";${"GLOBALS"}["qmhvrcrd"]="recievedMessageId";${"GLOBALS"}["nuezxsbej"]="mediaFile";${"GLOBALS"}["xgthpoymy"]="whatsAppBotQuery";${"GLOBALS"}["ijlogrhpc"]="whatsappbot";${"GLOBALS"}["rrxjllgm"]="msg_id";${"GLOBALS"}["ljvjyu"]="msg_status";${"GLOBALS"}["jsyxhmv"]="verify_token";${"GLOBALS"}["jpqoqpsyl"]="challenge";$cmrciuhlocb="whatsAppBotQuery";chdir(dirname(__FILE__)."/../../");$jkyunocvtxgr="currentusername";${"GLOBALS"}["hkbsikrw"]="whatsAppBotQuery";${"GLOBALS"}["ezbjvmknry"]="whatsAppBotRows";${"GLOBALS"}["xevbjhimtu"]="current_user";include_once"include/Webservices/Relation.php";include_once"vtlib/Vtiger/Module.php";include_once"includes/main/WebUI.php";${"GLOBALS"}["mktxtlgjsmmv"]="verify_token";$qnwohvylh="display_phone_number";$xwuwmpkd="msg_status";global$current_user,$adb,$root_directory,$site_URL;${${"GLOBALS"}["xevbjhimtu"]}=Users::getActiveAdminUser();${$jkyunocvtxgr}=$current_user->first_name." ".$current_user->last_name;$bldgncbq="data";${${"GLOBALS"}["jpqoqpsyl"]}=$_REQUEST["hub_challenge"];${${"GLOBALS"}["mktxtlgjsmmv"]}=$_REQUEST["hub_verify_token"];$gkcqukrez="display_phone_number";if(${${"GLOBALS"}["jsyxhmv"]}==="abc123"){echo${${"GLOBALS"}["jpqoqpsyl"]};exit;}${$bldgncbq}=json_decode(file_get_contents("php://input"));${${"GLOBALS"}["ljvjyu"]}=$data->entry[0]->changes[0]->value->statuses[0]->status;if(${$xwuwmpkd}=="read"){${"GLOBALS"}["pyqzfxfkil"]="msg_id";${${"GLOBALS"}["pyqzfxfkil"]}=$data->entry[0]->changes[0]->value->statuses[0]->id;$adb->pquery("UPDATE vtiger_ctwhatsappbusiness SET whatsapp_unreadread = 'Read' where msgid = ?",array(${${"GLOBALS"}["rrxjllgm"]}));}${$qnwohvylh}=$data->entry[0]->changes[0]->value->metadata->display_phone_number;${${"GLOBALS"}["hkbsikrw"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessusers
    INNER JOIN vtiger_ctwhatsappbusiness_user_groups ON vtiger_ctwhatsappbusiness_user_groups.userid = vtiger_ctwhatsappbusinessusers.customfield5 INNER JOIN ctwhatsapp_bots ON ctwhatsapp_bots.assignuserid = vtiger_ctwhatsappbusiness_user_groups.userid WHERE vtiger_ctwhatsappbusinessusers.whatsappno = ? AND ctwhatsapp_bots.deleted = ?",array(${$gkcqukrez},1));${${"GLOBALS"}["ezbjvmknry"]}=$adb->num_rows(${$cmrciuhlocb});${${"GLOBALS"}["ijlogrhpc"]}=$adb->query_result(${${"GLOBALS"}["xgthpoymy"]},0,"whatsappbot");if(${${"GLOBALS"}["ijlogrhpc"]}==0){${${"GLOBALS"}["nuezxsbej"]}=$data->entry[0]->changes[0]->value->messages[0]->type;if($data->entry[0]->changes[0]->value->messages){$tdqjtmffd="whatsappScanNo";$xrmoewmietx="body";${"GLOBALS"}["qvlmyqv"]="recordModel";${"GLOBALS"}["yjmqipx"]="getMessageDateTime";$fpiryqxu="mobileno";${$xrmoewmietx}=$data->entry[0]->changes[0]->value->messages[0]->text->body;${"GLOBALS"}["yfqpjwbkmhge"]="whatsappLogQuery";${${"GLOBALS"}["qmhvrcrd"]}=$data->entry[0]->changes[0]->value->messages[0]->id;${"GLOBALS"}["gxfnmxgxp"]="display_phone_number";${$tdqjtmffd}=$data->entry[0]->changes[0]->value->metadata->phone_number_id;${"GLOBALS"}["bcxitfcpr"]="mobileno";${"GLOBALS"}["xpfyugcgech"]="quotebody";$nuuwxnyzqhp="time";${${"GLOBALS"}["dsnrdnidjtjb"]}=$data->entry[0]->changes[0]->value->contacts[0]->profile->name;${$nuuwxnyzqhp}=$data->entry[0]->changes[0]->value->messages[0]->timestamp;$afivhus="moduleName";${"GLOBALS"}["adddyhuxf"]="mobileno";$wccnkwlu="relatedTo";${"GLOBALS"}["plrfyyggote"]="whatsappBody";$nonfqeejl="authtoken";${"GLOBALS"}["luiuyulh"]="mobileno";$drwwykpf="recievedMessageId";${${"GLOBALS"}["yjmqipx"]}=date("Y-m-d H:i:s",${${"GLOBALS"}["loxelerdabj"]});${${"GLOBALS"}["luiuyulh"]}=$data->entry[0]->changes[0]->value->messages[0]->from;${${"GLOBALS"}["fqroharfwxw"]}=$data->entry[0]->changes[0]->value->messages[0]->context->id;${"GLOBALS"}["nydfpyvcfh"]="configurationAdminData";${"GLOBALS"}["rdjrthsc"]="relatedToData";${"GLOBALS"}["sygjihrpr"]="getWhatsappQuery";if(${${"GLOBALS"}["fqroharfwxw"]}){$sdwxmtcvezr="replyMessageTextQuery";$vrhoolfqov="quotMessage";$fpfvcounksy="rows";${$sdwxmtcvezr}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusiness 
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsappbusiness.ctwhatsappid 
                WHERE vtiger_ctwhatsappbusiness.your_number = ? AND vtiger_ctwhatsappbusiness.msgid = ?",array(${${"GLOBALS"}["ciboxzeeu"]},${$vrhoolfqov}));${$fpfvcounksy}=$adb->num_rows(${${"GLOBALS"}["jvlqxsyjv"]});if(${${"GLOBALS"}["tobxkkslhf"]}){${${"GLOBALS"}["nrbqtb"]}=$adb->query_result(${${"GLOBALS"}["jvlqxsyjv"]},0,"message_body");}}${$wccnkwlu}="";${${"GLOBALS"}["gltxxorp"]}=$current_user->id;${"GLOBALS"}["toqruxxhcgj"]="configurationData";${${"GLOBALS"}["qvlmyqv"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["gltxxorp"]},"Users");${${"GLOBALS"}["jimwyblgm"]}=$recordModel->get("first_name")." ".$recordModel->get("last_name");${"GLOBALS"}["dlyeuq"]="mobileno";${${"GLOBALS"}["dpckiofxu"]}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["gltxxorp"]});${${"GLOBALS"}["xkenftbrmyz"]}=${${"GLOBALS"}["dpckiofxu"]}["customfield1"];$dhployiwx="autoResponderText";${$nonfqeejl}=${${"GLOBALS"}["dpckiofxu"]}["authtoken"];$wqyffke="configureUserid";$ddctefvrgvy="configurationAdminData";${${"GLOBALS"}["jtvmqy"]}=${${"GLOBALS"}["toqruxxhcgj"]}["iconactive"];${$ddctefvrgvy}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationDataWithId();${"GLOBALS"}["bsznwwmres"]="relatedTo";${${"GLOBALS"}["xkenftbrmyz"]}=${${"GLOBALS"}["rkeiyoghfl"]}["customfield1"];${"GLOBALS"}["yabkhdotngjz"]="getMessageDateTime";${${"GLOBALS"}["plomfwcbu"]}=${${"GLOBALS"}["rkeiyoghfl"]}["autoResponder"];${$dhployiwx}=${${"GLOBALS"}["nydfpyvcfh"]}["autoResponderText"];${${"GLOBALS"}["mrosutg"]}=${${"GLOBALS"}["rkeiyoghfl"]}["whatsapplog"];$rbklsodom="relatedTo";${${"GLOBALS"}["muiaiwnp"]}="Recieved";${"GLOBALS"}["smsdtivupcz"]="configureUserid";${$fpiryqxu}=${${"GLOBALS"}["dlyeuq"]};${${"GLOBALS"}["jmvvgtc"]}=${$drwwykpf};${"GLOBALS"}["ekoinqjbe"]="customerNo";${${"GLOBALS"}["jlgvcu"]}=${${"GLOBALS"}["tdjaunjj"]};${${"GLOBALS"}["bjeuesefbozc"]}=strlen(${${"GLOBALS"}["adddyhuxf"]});if(${${"GLOBALS"}["bjeuesefbozc"]}>10&&${${"GLOBALS"}["xkenftbrmyz"]}!=""){${"GLOBALS"}["nniemsoga"]="withoutcode";$fhwtswkp="mobileno";$sipkouq="mobileno";${"GLOBALS"}["ymxdlqwavbjq"]="withoutcode";${${"GLOBALS"}["ymxdlqwavbjq"]}=substr(${$sipkouq},-10);${$fhwtswkp}=${${"GLOBALS"}["nniemsoga"]};}else{$jmfaml="customfield1";$ublgdoqvd="mobileno";$spfgkxp="mobileno";${$spfgkxp}=${$jmfaml}.${$ublgdoqvd};}$vxprogynjjm="relatedTo";${"GLOBALS"}["vfgwtwg"]="relatedToData";${${"GLOBALS"}["vfgwtwg"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"GLOBALS"}["tdjaunjj"]},-9));${${"GLOBALS"}["xqlfzisfnwv"]}=${${"GLOBALS"}["rdjrthsc"]}["relatedTo"];${${"GLOBALS"}["ionpflxghw"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppUserData(${${"GLOBALS"}["jlgvcu"]},${${"GLOBALS"}["bsznwwmres"]},${${"GLOBALS"}["ciboxzeeu"]});${$wqyffke}=${${"GLOBALS"}["sygjihrpr"]}["smownerid"];if(${${"GLOBALS"}["tdjaunjj"]}){$pfanfrop="getnumberImportant";${$pfanfrop}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"GLOBALS"}["tdjaunjj"]});}if(${${"GLOBALS"}["nuezxsbej"]}!="text"){$ncdjqbll="mime_type";${"GLOBALS"}["irmvkmgjyff"]="curl";$jntyaprupkyk="mime_type";$uhourw="curl1";${${"GLOBALS"}["ygexfsi"]}=$data->entry[0]->changes[0]->value->messages[0]->image->id;$casvjuqfqli="mime_type";$ynaqqknjiwsv="week";${"GLOBALS"}["fnxfizbemoje"]="mediaFileId";$ptisxknl="day";$hyijocj="authtoken";${"GLOBALS"}["fpphguqo"]="curl";${"GLOBALS"}["lgdolwvzofn"]="mediaFileURL";if(${${"GLOBALS"}["fnxfizbemoje"]}==""){$ngkeglig="mediaFileId";${${"GLOBALS"}["ygexfsi"]}=$data->entry[0]->changes[0]->value->messages[0]->document->id;if(${$ngkeglig}==""){${"GLOBALS"}["echflthqs"]="mediaFileId";${${"GLOBALS"}["echflthqs"]}=$data->entry[0]->changes[0]->value->messages[0]->audio->id;if(${${"GLOBALS"}["ygexfsi"]}==""){${${"GLOBALS"}["ygexfsi"]}=$data->entry[0]->changes[0]->value->messages[0]->video->id;}}}$jubphb="mime_type";$tswpnwmvdw="response";${"GLOBALS"}["zpewjsp"]="mediaFileId";$sheqkjevyroj="root_directory";${"GLOBALS"}["bdloxtmblv"]="week";${${"GLOBALS"}["irmvkmgjyff"]}=curl_init();${"GLOBALS"}["yktseggert"]="day";$zbvrsjpawyqv="mime_type";curl_setopt_array(${${"GLOBALS"}["ybcoyetjt"]},array(CURLOPT_URL=>"https://graph.facebook.com/v15.0/".${${"GLOBALS"}["zpewjsp"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GET",CURLOPT_HTTPHEADER=>array("Authorization: Bearer ".${$hyijocj}),));${${"GLOBALS"}["qxuuyiqpvfd"]}=curl_exec(${${"GLOBALS"}["ybcoyetjt"]});curl_close(${${"GLOBALS"}["fpphguqo"]});$niofqul="whatsappfolderpath";${$tswpnwmvdw}=json_decode(${${"GLOBALS"}["qxuuyiqpvfd"]},true);${${"GLOBALS"}["lgdolwvzofn"]}=${${"GLOBALS"}["jrcfipm"]}["url"];${"GLOBALS"}["jrpiquye"]="authtoken";$bcfijyxkx="curl1";$khwteuu="fp";${$ncdjqbll}=$data->entry[0]->changes[0]->value->messages[0]->image->mime_type;$epcvnfntnf="day";if(${${"GLOBALS"}["fgcxtwtt"]}==""){${${"GLOBALS"}["fgcxtwtt"]}=$data->entry[0]->changes[0]->value->messages[0]->document->mime_type;${"GLOBALS"}["mbgrbzarhl"]="pdffilename";${${"GLOBALS"}["mbgrbzarhl"]}=$data->entry[0]->changes[0]->value->messages[0]->document->filename;if(${${"GLOBALS"}["fgcxtwtt"]}==""){$oaqxnucp="mime_type";${${"GLOBALS"}["fgcxtwtt"]}=$data->entry[0]->changes[0]->value->messages[0]->audio->mime_type;$hgdyoglpitf="pdffilename";${$hgdyoglpitf}=$data->entry[0]->changes[0]->value->messages[0]->audio->filename;if(${$oaqxnucp}==""){$pyrpkqg="mime_type";${$pyrpkqg}=$data->entry[0]->changes[0]->value->messages[0]->video->mime_type;${${"GLOBALS"}["ltfdluqowoq"]}=$data->entry[0]->changes[0]->value->messages[0]->video->filename;}}}${"GLOBALS"}["lmnhreyx"]="whatsappfolderpath";$wlfnhptof="day";${"GLOBALS"}["kmtomcq"]="day";${"GLOBALS"}["csvaxdmpjm"]="whatsappfolderpath";$gismtiuus="day";$xnsxekucy="curl1";if(${${"GLOBALS"}["fgcxtwtt"]}=="image/jpeg"){${${"GLOBALS"}["btcjwmreeb"]}="Image".rand().".jpeg";}else if(${$jntyaprupkyk}=="text/csv"||${${"GLOBALS"}["fgcxtwtt"]}=="application/msword"||${${"GLOBALS"}["fgcxtwtt"]}==""){$djtbnb="filename";${$djtbnb}=${${"GLOBALS"}["ltfdluqowoq"]};}else if(${${"GLOBALS"}["fgcxtwtt"]}=="application/pdf"){$hrldtfxy="filename";${$hrldtfxy}=${${"GLOBALS"}["ltfdluqowoq"]};}else if(${$jubphb}=="application/vnd.openxmlformats-officedocument.wordprocessingml.document"){${${"GLOBALS"}["btcjwmreeb"]}=${${"GLOBALS"}["ltfdluqowoq"]};}else if(${$zbvrsjpawyqv}=="audio/mpeg"){$fkkjdxjngx="filename";${$fkkjdxjngx}="Audio".rand().".mp3";}else if(${$casvjuqfqli}=="video/mp4"){$jmluapijfkt="filename";${$jmluapijfkt}="Video".rand().".mp4";}$mpodkm="year";if(file_exists("workflow1.txt")){$mpccobrhmdyl="mime_type";$userfile=fopen("workflow1.txt","a+");fwrite($userfile,"
".print_r(${$mpccobrhmdyl},true));fclose($userfile);}else{$oydfalxux="mime_type";$userfile=fopen("workflow1.txt","w+");fwrite($userfile,print_r(${$oydfalxux},true));fclose($userfile);}${${"GLOBALS"}["polxivrmyv"]}=date("Y");$xzxyyyqlcjhh="filename";${${"GLOBALS"}["ygbyuxd"]}=date("F");${${"GLOBALS"}["kocvfugkmyxq"]}=date("j");${${"GLOBALS"}["opsnbmrot"]}="";$gofngbowx="target_file";${${"GLOBALS"}["pfnschmur"]}="modules/CTWhatsAppBusiness/CTWhatsAppBusinessStorage/";${"GLOBALS"}["kligumfgkop"]="week";$qmaxtwlm="whatsappfolderpath";if(!is_dir(${${"GLOBALS"}["upozbmlk"]}.${${"GLOBALS"}["pfnschmur"]})){$tgewklp="whatsappfolderpath";mkdir(${${"GLOBALS"}["upozbmlk"]}.${${"GLOBALS"}["pfnschmur"]});$wtkyyszy="root_directory";chmod(${$wtkyyszy}.${$tgewklp},0777);}if(!is_dir(${${"GLOBALS"}["upozbmlk"]}.${$qmaxtwlm}.${${"GLOBALS"}["polxivrmyv"]})){${"GLOBALS"}["mdfotvi"]="whatsappfolderpath";$eotvvhjdr="whatsappfolderpath";$emlvawbf="year";${"GLOBALS"}["gmwglpnfdc"]="root_directory";mkdir(${${"GLOBALS"}["gmwglpnfdc"]}.${$eotvvhjdr}.${$emlvawbf});chmod(${${"GLOBALS"}["upozbmlk"]}.${${"GLOBALS"}["mdfotvi"]}.${${"GLOBALS"}["polxivrmyv"]},0777);}if(!is_dir(${${"GLOBALS"}["upozbmlk"]}.${$niofqul}.${${"GLOBALS"}["polxivrmyv"]}."/".${${"GLOBALS"}["ygbyuxd"]})){$eyeetdtcif="whatsappfolderpath";${"GLOBALS"}["tzzbuwqyecwk"]="root_directory";${"GLOBALS"}["vigmotkdiql"]="root_directory";mkdir(${${"GLOBALS"}["tzzbuwqyecwk"]}.${$eyeetdtcif}."$year/$month/");chmod(${${"GLOBALS"}["vigmotkdiql"]}.${${"GLOBALS"}["pfnschmur"]}."$year/$month/",0777);}${"GLOBALS"}["hppsvnyh"]="week";${"GLOBALS"}["nhybezc"]="fp";if(${${"GLOBALS"}["yktseggert"]}>0&&${$ptisxknl}<=7)${${"GLOBALS"}["opsnbmrot"]}="week1";elseif(${$wlfnhptof}>7&&${${"GLOBALS"}["kmtomcq"]}<=14)${${"GLOBALS"}["opsnbmrot"]}="week2";elseif(${$epcvnfntnf}>14&&${${"GLOBALS"}["kocvfugkmyxq"]}<=21)${${"GLOBALS"}["kligumfgkop"]}="week3";elseif(${$gismtiuus}>21&&${${"GLOBALS"}["kocvfugkmyxq"]}<=28)${${"GLOBALS"}["bdloxtmblv"]}="week4";else${$ynaqqknjiwsv}="week5";if(!is_dir(${${"GLOBALS"}["upozbmlk"]}.${${"GLOBALS"}["csvaxdmpjm"]}.${$mpodkm}."/".${${"GLOBALS"}["ygbyuxd"]}."/".${${"GLOBALS"}["hppsvnyh"]})){${"GLOBALS"}["mzcemtsfpx"]="whatsappfolderpath";$ifbvpokv="whatsappfolderpath";mkdir(${${"GLOBALS"}["upozbmlk"]}.${${"GLOBALS"}["mzcemtsfpx"]}."$year/$month/$week/");chmod(${${"GLOBALS"}["upozbmlk"]}.${$ifbvpokv}."$year/$month/$week/",0777);}${${"GLOBALS"}["pkjewv"]}=${$sheqkjevyroj}.${${"GLOBALS"}["pfnschmur"]}."$year/$month/$week/".${$xzxyyyqlcjhh};${$uhourw}=curl_init();curl_setopt_array(${$bcfijyxkx},array(CURLOPT_URL=>${${"GLOBALS"}["snajdswgd"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_USERAGENT=>"curl/7.64.1",CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GET",CURLOPT_HTTPHEADER=>array("Authorization: Bearer ".${${"GLOBALS"}["jrpiquye"]}),));${${"GLOBALS"}["ttchlnhh"]}=curl_exec(${${"GLOBALS"}["hhbxamx"]});curl_close(${$xnsxekucy});${${"GLOBALS"}["tfaeetjco"]}=${${"GLOBALS"}["xtkmpmm"]}.${${"GLOBALS"}["lmnhreyx"]}."$year/$month/$week/".${${"GLOBALS"}["btcjwmreeb"]};${${"GLOBALS"}["mqsmdqovncx"]}=fopen(${$gofngbowx},"wb");fwrite(${${"GLOBALS"}["nhybezc"]},${${"GLOBALS"}["ttchlnhh"]});fclose(${$khwteuu});${${"GLOBALS"}["wqewupl"]}=${${"GLOBALS"}["tfaeetjco"]};}else{${"GLOBALS"}["kltwyyiypc"]="body";${${"GLOBALS"}["wqewupl"]}=${${"GLOBALS"}["kltwyyiypc"]};}${${"GLOBALS"}["yfqpjwbkmhge"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppLogData(${${"GLOBALS"}["ekoinqjbe"]},${$rbklsodom},${${"GLOBALS"}["ciboxzeeu"]});${${"GLOBALS"}["esyrdinmket"]}=${${"GLOBALS"}["povxtghlifji"]}["rows"];if(${${"GLOBALS"}["esyrdinmket"]}==0){${"GLOBALS"}["wityerph"]="customerNo";$ltkpnkcsw="senderName";${${"GLOBALS"}["rsbcfepvcu"]}=Vtiger_Record_Model::getCleanInstance("WhatsAppBusinessLog");${"GLOBALS"}["ohixajyer"]="whatsappBody";$kvkskwoyux="messageType";$recordModel->set("whatsapplog_sendername",${$ltkpnkcsw});$recordModel->set("messagelog_body",${${"GLOBALS"}["ohixajyer"]});$aawbsiodz="customerNo";$recordModel->set("messagelog_type",${$kvkskwoyux});$recordModel->set("whatsapplog_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});if(${${"GLOBALS"}["xqlfzisfnwv"]}){$wcfghumyp="setype";${${"GLOBALS"}["xqfwwcehol"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["xqlfzisfnwv"]});${${"GLOBALS"}["xurbrsb"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["xqlfzisfnwv"]},${$wcfghumyp});${"GLOBALS"}["jojujsludp"]="displayname";${${"GLOBALS"}["poxctlybt"]}=$recordModelData->get("label");$recordModel->set("whatsapplog_displayname",${${"GLOBALS"}["jojujsludp"]});}else{$recordModel->set("whatsapplog_displayname",${${"GLOBALS"}["jlgvcu"]});}$recordModel->set("whatsapplog_unreadread","Unread");$recordModel->set("whatsapplog_withccode",${${"GLOBALS"}["wityerph"]});$recordModel->set("whatsapplog_sendername",${$aawbsiodz});$kngtkzyiy="display_phone_number";$recordModel->set("whatsapplog_msgid",${${"GLOBALS"}["jmvvgtc"]});$recordModel->set("whatsapplog_datetime",${${"GLOBALS"}["ryxouuz"]});${"GLOBALS"}["fdxplpvz"]="configureUserid";$recordModel->set("whatsapplog_your_number",${$kngtkzyiy});$recordModel->set("assigned_user_id",${${"GLOBALS"}["fdxplpvz"]});$recordModel->set("whatsapplog_important",${${"GLOBALS"}["mavrco"]});$recordModel->save();}else{${${"GLOBALS"}["nljqifjaywk"]}=${${"GLOBALS"}["povxtghlifji"]}["whatsappbusinesslogid"];$xbkbhqce="configureUserid";${"GLOBALS"}["dvltsjubl"]="getMessageDateTime";${${"GLOBALS"}["rsbcfepvcu"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["nljqifjaywk"]},"WhatsAppBusinessLog");$recordModel->set("mode","edit");$recordModel->set("id",${${"GLOBALS"}["nljqifjaywk"]});$recordModel->set("whatsapplog_datetime",${${"GLOBALS"}["dvltsjubl"]});$recordModel->set("messagelog_body",${${"GLOBALS"}["wqewupl"]});$recordModel->set("assigned_user_id",${$xbkbhqce});$recordModel->set("whatsapplog_unreadread","Unread");$recordModel->save();}${$afivhus}="CTWhatsAppBusiness";${${"GLOBALS"}["rsbcfepvcu"]}=Vtiger_Record_Model::getCleanInstance(${${"GLOBALS"}["rrvgmgdiwot"]});$recordModel->set("whatsapp_sendername",${${"GLOBALS"}["jimwyblgm"]});$recordModel->set("message_body",${${"GLOBALS"}["plrfyyggote"]});$recordModel->set("message_type",${${"GLOBALS"}["muiaiwnp"]});$recordModel->set("whatsapp_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});if(${$vxprogynjjm}){${"GLOBALS"}["mtorjco"]="setype";$vmnqthsvkqz="setype";${$vmnqthsvkqz}=VtigerCRMObject::getSEType(${${"GLOBALS"}["xqlfzisfnwv"]});$ixxlzrwiw="relatedTo";${${"GLOBALS"}["xurbrsb"]}=Vtiger_Record_Model::getInstanceById(${$ixxlzrwiw},${${"GLOBALS"}["mtorjco"]});${${"GLOBALS"}["poxctlybt"]}=$recordModelData->get("label");$recordModel->set("whatsapp_displayname",${${"GLOBALS"}["poxctlybt"]});}else{$jcttnyyl="customerNo";$recordModel->set("whatsapp_displayname",${$jcttnyyl});}$recordModel->set("whatsapp_unreadread","Unread");$recordModel->set("whatsapp_withccode",${${"GLOBALS"}["jlgvcu"]});$recordModel->set("whatsapp_sendername",${${"GLOBALS"}["jlgvcu"]});$recordModel->set("msgid",${${"GLOBALS"}["jmvvgtc"]});$recordModel->set("whatsapp_datetime",${${"GLOBALS"}["yabkhdotngjz"]});$recordModel->set("your_number",${${"GLOBALS"}["gxfnmxgxp"]});$recordModel->set("assigned_user_id",${${"GLOBALS"}["smsdtivupcz"]});$recordModel->set("whatsapp_important",${${"GLOBALS"}["mavrco"]});$recordModel->set("whatsapp_quotemessage",${${"GLOBALS"}["xpfyugcgech"]});$recordModel->save();if(${${"GLOBALS"}["bcxitfcpr"]}){${"GLOBALS"}["vitekthe"]="configurationData";${${"GLOBALS"}["zlmgfmsein"]}=$_REQUEST["userid"];$lynmvceoajv="configurationData";$wtqkowjh="api_url";${$wtqkowjh}=${${"GLOBALS"}["dpckiofxu"]}["api_url"];${"GLOBALS"}["bbmneoqehd"]="auth_token";${${"GLOBALS"}["bbmneoqehd"]}=${${"GLOBALS"}["vitekthe"]}["authtoken"];${${"GLOBALS"}["hvafruyqmn"]}=${$lynmvceoajv}["whatsapp_businessnumber"];if(${${"GLOBALS"}["plomfwcbu"]}==1){${"GLOBALS"}["hrlxcyj"]="mobileno";$okeulutxicm="getRecordQuery";$edkate="row";${${"GLOBALS"}["jmwyca"]}=CTWhatsAppBusiness_Record_Model::unreadQuery();${$okeulutxicm}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusiness 
                    INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsappbusiness.ctwhatsappid 
                    WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsappbusiness.whatsapp_withccode = ? AND vtiger_ctwhatsappbusiness.message_type = 'Recieved'",array(${${"GLOBALS"}["hrlxcyj"]}));${$edkate}=$adb->num_rows(${${"GLOBALS"}["zckfqexcy"]});if(${${"GLOBALS"}["dmjpdfjt"]}==1){$cdjkwdl="url";${"GLOBALS"}["tkjqoldd"]="display_phone_number";${"GLOBALS"}["dtecfwlgd"]="mobileno";$ipneepylge="postfields";${"GLOBALS"}["wmekrjy"]="sendResponderMessage";$ynxkleko="api_url";${"GLOBALS"}["oqhmaumkm"]="autoResponderText";${$cdjkwdl}=${$ynxkleko}.${${"GLOBALS"}["hvafruyqmn"]}."/messages";$tbxengqqycq="recordModelResponder";${"GLOBALS"}["nhhqfgem"]="postfields";${"GLOBALS"}["pfdcphbxhvl"]="mobileno";${$ipneepylge}=array("messaging_product"=>"whatsapp","recipient_type"=>"individual","to"=>${${"GLOBALS"}["pfdcphbxhvl"]},"type"=>"text","text"=>array("preview_url"=>false,"body"=>${${"GLOBALS"}["oqhmaumkm"]}),);${${"GLOBALS"}["mcuwzksvctk"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["wmekrjy"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"GLOBALS"}["jyyxkihncmu"]},${${"GLOBALS"}["nhhqfgem"]},${${"GLOBALS"}["peoytbcloqc"]});${"GLOBALS"}["ooyjmgdy"]="display_phone_number";${"GLOBALS"}["jiqeudbze"]="autoResponderText";${$tbxengqqycq}=Vtiger_Record_Model::getCleanInstance("CTWhatsAppBusiness");$recordModelResponder->set("whatsapp_sendername",${${"GLOBALS"}["xqwqncvgoqc"]});$recordModelResponder->set("msgid",${${"GLOBALS"}["bqelbnnvlyh"]}["messages"][0]["id"]);${"GLOBALS"}["xplfinh"]="date_var";$recordModelResponder->set("whatsapp_withccode",${${"GLOBALS"}["dtecfwlgd"]});$recordModelResponder->set("message_type","Send");$recordModelResponder->set("message_body",${${"GLOBALS"}["jiqeudbze"]});$recordModelResponder->set("whatsapp_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});if(${${"GLOBALS"}["xqlfzisfnwv"]}){$blsrktifxx="relatedTo";$xuohiez="displayname";$yddibdkf="displayname";${${"GLOBALS"}["xqfwwcehol"]}=VtigerCRMObject::getSEType(${$blsrktifxx});${${"GLOBALS"}["xurbrsb"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["xqlfzisfnwv"]},${${"GLOBALS"}["xqfwwcehol"]});${$yddibdkf}=$recordModelData->get("label");$recordModelResponder->set("whatsapp_displayname",${$xuohiez});}else{$recordModelResponder->set("whatsapp_displayname",${${"GLOBALS"}["jlgvcu"]});}$recordModelResponder->set("assigned_user_id",${${"GLOBALS"}["iehdwjy"]});$recordModelResponder->set("whatsapp_unreadread","Unread");$recordModelResponder->set("whatsapp_fromno",${${"GLOBALS"}["ooyjmgdy"]});$recordModelResponder->set("your_number",${${"GLOBALS"}["tkjqoldd"]});$recordModelResponder->set("whatsapp_datetime",$adb->formatDate(${${"GLOBALS"}["xplfinh"]},true));$recordModelResponder->save();}}}}}else{$fubhesuxhme="mediaFile";${$fubhesuxhme}=$data->entry[0]->changes[0]->value->messages[0]->type;if($data->entry[0]->changes[0]->value->messages){$ppjuqiltq="whatsappScanNo";${"GLOBALS"}["jphxgtiyndv"]="getMessageDateTime";$hyimkt="recievedMessageId";$osfcsgukkvh="getMessageDateTime";${"GLOBALS"}["dulxjkqzeu"]="licenseDate";$kgerihd="currenUserID";$icmoahppwxq="relatedToData";${"GLOBALS"}["rucrvnm"]="customerNo";${"GLOBALS"}["itvdtrkfztsr"]="mediaFile";$tqocdxefu="autoResponder";if(${${"GLOBALS"}["itvdtrkfztsr"]}=="interactive"){$sesweljv="body";${$sesweljv}=$data->entry[0]->changes[0]->value->messages[0]->interactive->button_reply->id;}else{${${"GLOBALS"}["ppexrgjrck"]}=$data->entry[0]->changes[0]->value->messages[0]->text->body;}$tvbjhhyxgun="mobileno";$fpuwynqa="expirydate";${$hyimkt}=$data->entry[0]->changes[0]->value->messages[0]->id;${$ppjuqiltq}=$data->entry[0]->changes[0]->value->metadata->display_phone_number;$mlbysdhsdtq="relatedTo";${${"GLOBALS"}["dsnrdnidjtjb"]}=$data->entry[0]->changes[0]->value->contacts[0]->profile->name;$sfqhvwv="currenBotID";${${"GLOBALS"}["loxelerdabj"]}=$data->entry[0]->changes[0]->value->messages[0]->timestamp;$louovmopre="customfield1";${"GLOBALS"}["njfxxnz"]="recordModel";${"GLOBALS"}["hhuyww"]="currenUserID";$cplpngvtyfv="relatedTo";$pduzmw="recordModel";${$osfcsgukkvh}=date("Y-m-d H:i:s",${${"GLOBALS"}["loxelerdabj"]});$zummwljrih="firstbotid";$fwprgsfp="mobileno";${${"GLOBALS"}["tdjaunjj"]}=$data->entry[0]->changes[0]->value->messages[0]->from;$nfhugxbfi="moduleName";${"GLOBALS"}["fueojr"]="body";$movyvgbxx="configurationAdminData";$ybiltije="configurationData";if(${$fwprgsfp}){$xsexphbyi="preQuestionData";${${"GLOBALS"}["ruakthtkcy"]}=getPreQuestionDetails(${${"GLOBALS"}["tdjaunjj"]});${${"GLOBALS"}["yhexqxpocpv"]}=${$xsexphbyi}["preQuestionRows"];${${"GLOBALS"}["bgfmlpe"]}=${${"GLOBALS"}["ruakthtkcy"]}["manualdatetime"];${"GLOBALS"}["yvxkwcwa"]="manualDateTimeDate";${${"GLOBALS"}["mewgfrzia"]}=${${"GLOBALS"}["ruakthtkcy"]}["prebotid"];if(${${"GLOBALS"}["yvxkwcwa"]}){${"GLOBALS"}["cuwjhueix"]="botidealtime";${"GLOBALS"}["npsedpuircx"]="preQuestionData";${"GLOBALS"}["jgxjmxsh"]="manualdatetime";${${"GLOBALS"}["jgxjmxsh"]}=strtotime(${${"GLOBALS"}["npsedpuircx"]}["manualdatetime"]);${"GLOBALS"}["nvofemqp"]="configurationData";${"GLOBALS"}["gzyrwszs"]="time";${${"GLOBALS"}["nvofemqp"]}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationDataWithId();${"GLOBALS"}["eyfhldht"]="time";${"GLOBALS"}["osgkvifi"]="manualdatetime";${${"GLOBALS"}["axlyumbov"]}=${${"GLOBALS"}["dpckiofxu"]}["botidealtime"];$egkjlvthrz="messageTimeDiffrence";${${"GLOBALS"}["eyfhldht"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["fldjvkkyltf"]}=strtotime(${${"GLOBALS"}["gzyrwszs"]})-${${"GLOBALS"}["osgkvifi"]};${${"GLOBALS"}["lspxxuelir"]}=floor((${$egkjlvthrz}/60)%60);if(${${"GLOBALS"}["lspxxuelir"]}>=${${"GLOBALS"}["cuwjhueix"]}){$ofszmqwjuoax="mobileno";$adb->pquery("UPDATE whatsappbot_pre_que SET manualtransfer = '0' AND prequemobilenumber = ?",array(${$ofszmqwjuoax}));}}}${"GLOBALS"}["mxudktoga"]="getWhatsappQuery";${$zummwljrih}=getCurrentBotActive(${${"GLOBALS"}["siupxg"]});if(${$sfqhvwv}==""){${"GLOBALS"}["aqgbxqet"]="currenBotID";$auemzruvs="firstbotid";${${"GLOBALS"}["aqgbxqet"]}=${$auemzruvs};}${${"GLOBALS"}["zuxuijwqpiz"]}=CTWhatsAppBusiness_WhatsappBot_View::getBotLicenseDetail();$wkoyrnxa="whatsAppLicenseStatus";${$wkoyrnxa}=${${"GLOBALS"}["zuxuijwqpiz"]}["status"];$ioxinycdg="ondaySendMessage";$dieznihf="getWhatsappQuery";${"GLOBALS"}["ulnpbvbmkjlb"]="customfield1";${${"GLOBALS"}["fflovmtcl"]}=${${"GLOBALS"}["zuxuijwqpiz"]}["sendmessagelimit"];${${"GLOBALS"}["itupyhyru"]}=${${"GLOBALS"}["zuxuijwqpiz"]}["expirydate"];${${"GLOBALS"}["dulxjkqzeu"]}=Settings_CTWhatsAppBusiness_ConfigurationDetail_View::encrypt_decrypt(${$fpuwynqa},${${"GLOBALS"}["vbdcnigr"]}="d");${${"GLOBALS"}["jbxfwtxre"]}=date("Y-m-d");${"GLOBALS"}["ssmgkqlmbbk"]="whatsappBody";${$ioxinycdg}=getOneDaysMessages();${${"GLOBALS"}["xqlfzisfnwv"]}="";${${"GLOBALS"}["hhuyww"]}=$current_user->id;${"GLOBALS"}["ivwgrbtp"]="mobileno";$hxdltokhi="currenUserID";${"GLOBALS"}["xgqcmjj"]="configurationData";${"GLOBALS"}["utlznq"]="configureUserid";$cdindptak="configurationAdminData";${${"GLOBALS"}["njfxxnz"]}=Vtiger_Record_Model::getInstanceById(${$hxdltokhi},"Users");${${"GLOBALS"}["jimwyblgm"]}=$recordModel->get("first_name")." ".$recordModel->get("last_name");${${"GLOBALS"}["dpckiofxu"]}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationAllDataWithId(${$kgerihd});${$louovmopre}=${${"GLOBALS"}["dpckiofxu"]}["customfield1"];${${"GLOBALS"}["vvgwihp"]}=${${"GLOBALS"}["xgqcmjj"]}["authtoken"];${${"GLOBALS"}["jtvmqy"]}=${$ybiltije}["iconactive"];${$movyvgbxx}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationDataWithId();$dcslgdrgho="relatedTo";${${"GLOBALS"}["ulnpbvbmkjlb"]}=${$cdindptak}["customfield1"];${"GLOBALS"}["oylnsgesd"]="display_phone_number";$wfpyrhlqngsl="display_phone_number";${$tqocdxefu}=${${"GLOBALS"}["rkeiyoghfl"]}["autoResponder"];${${"GLOBALS"}["woxykhr"]}=${${"GLOBALS"}["rkeiyoghfl"]}["autoResponderText"];${${"GLOBALS"}["muiaiwnp"]}="Recieved";${${"GLOBALS"}["tdjaunjj"]}=${$tvbjhhyxgun};${${"GLOBALS"}["jmvvgtc"]}=${${"GLOBALS"}["qmhvrcrd"]};${${"GLOBALS"}["jlgvcu"]}=${${"GLOBALS"}["tdjaunjj"]};${"GLOBALS"}["qvxjvbjgx"]="mobileno";$htcpjxzgztu="preQuestionData";${$icmoahppwxq}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"GLOBALS"}["ivwgrbtp"]},-9));${$cplpngvtyfv}=${${"GLOBALS"}["irmjynuwlzbp"]}["relatedTo"];${"GLOBALS"}["sxidodi"]="senderName";${$dieznihf}=CTWhatsAppBusiness_Record_Model::getWhatsAppUserData(${${"GLOBALS"}["jlgvcu"]},${$dcslgdrgho},${$wfpyrhlqngsl});${${"GLOBALS"}["utlznq"]}=${${"GLOBALS"}["mxudktoga"]}["smownerid"];${"GLOBALS"}["vvojbeeqsc"]="customerNo";if(${${"GLOBALS"}["qvxjvbjgx"]}){$nihlgucxq="mobileno";${"GLOBALS"}["gcidknftjmq"]="getnumberImportant";${${"GLOBALS"}["gcidknftjmq"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${$nihlgucxq});}${${"GLOBALS"}["ssmgkqlmbbk"]}=${${"GLOBALS"}["fueojr"]};${${"GLOBALS"}["povxtghlifji"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppLogData(${${"GLOBALS"}["vvojbeeqsc"]},${$mlbysdhsdtq},${${"GLOBALS"}["oylnsgesd"]});$dudrqfnasdqe="relatedTo";${${"GLOBALS"}["esyrdinmket"]}=${${"GLOBALS"}["povxtghlifji"]}["rows"];if(${${"GLOBALS"}["esyrdinmket"]}==0){${"GLOBALS"}["nluorjm"]="recordModel";$romrgsf="customerNo";$csgqfvepxtl="getnumberImportant";${${"GLOBALS"}["nluorjm"]}=Vtiger_Record_Model::getCleanInstance("WhatsAppBusinessLog");${"GLOBALS"}["lkrxbjuf"]="display_phone_number";$recordModel->set("whatsapplog_sendername",${${"GLOBALS"}["jimwyblgm"]});$recordModel->set("messagelog_body",${${"GLOBALS"}["wqewupl"]});$recordModel->set("messagelog_type",${${"GLOBALS"}["muiaiwnp"]});$recordModel->set("whatsapplog_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});if(${${"GLOBALS"}["xqlfzisfnwv"]}){${"GLOBALS"}["grrgdsxu"]="displayname";${"GLOBALS"}["cnzenlwtyi"]="relatedTo";$isyrwgr="recordModelData";${${"GLOBALS"}["xqfwwcehol"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["cnzenlwtyi"]});${$isyrwgr}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["xqlfzisfnwv"]},${${"GLOBALS"}["xqfwwcehol"]});${${"GLOBALS"}["grrgdsxu"]}=$recordModelData->get("label");$recordModel->set("whatsapplog_displayname",${${"GLOBALS"}["poxctlybt"]});}else{$hjngwnpgah="customerNo";$recordModel->set("whatsapplog_displayname",${$hjngwnpgah});}$recordModel->set("whatsapplog_unreadread","Unread");$recordModel->set("whatsapplog_withccode",${${"GLOBALS"}["jlgvcu"]});$recordModel->set("whatsapplog_sendername",${$romrgsf});$recordModel->set("whatsapplog_msgid",${${"GLOBALS"}["jmvvgtc"]});$recordModel->set("whatsapplog_datetime",${${"GLOBALS"}["ryxouuz"]});$recordModel->set("whatsapplog_your_number",${${"GLOBALS"}["lkrxbjuf"]});$recordModel->set("assigned_user_id",${${"GLOBALS"}["iehdwjy"]});$recordModel->set("whatsapplog_important",${$csgqfvepxtl});$recordModel->save();}else{${"GLOBALS"}["gfsbmlege"]="whatsappBody";$mktpqitu="configureUserid";$fnjxavci="getMessageDateTime";${${"GLOBALS"}["nljqifjaywk"]}=${${"GLOBALS"}["povxtghlifji"]}["whatsappbusinesslogid"];$eqwgokehykx="whatsapplogid";${${"GLOBALS"}["rsbcfepvcu"]}=Vtiger_Record_Model::getInstanceById(${$eqwgokehykx},"WhatsAppBusinessLog");$recordModel->set("mode","edit");$recordModel->set("id",${${"GLOBALS"}["nljqifjaywk"]});$recordModel->set("whatsapplog_datetime",${$fnjxavci});$recordModel->set("messagelog_body",${${"GLOBALS"}["gfsbmlege"]});$recordModel->set("assigned_user_id",${$mktpqitu});$recordModel->set("whatsapplog_unreadread","Unread");$recordModel->save();}${${"GLOBALS"}["rrvgmgdiwot"]}="CTWhatsAppBusiness";${$pduzmw}=Vtiger_Record_Model::getCleanInstance(${$nfhugxbfi});$recordModel->set("whatsapp_sendername",${${"GLOBALS"}["sxidodi"]});$recordModel->set("message_body",${${"GLOBALS"}["wqewupl"]});$recordModel->set("message_type",${${"GLOBALS"}["muiaiwnp"]});$recordModel->set("whatsapp_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});if(${$dudrqfnasdqe}){${"GLOBALS"}["zewkidsdyc"]="relatedTo";${"GLOBALS"}["wqmoncdi"]="displayname";${${"GLOBALS"}["xqfwwcehol"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["xqlfzisfnwv"]});$fmjiexhle="setype";${${"GLOBALS"}["xurbrsb"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["zewkidsdyc"]},${$fmjiexhle});${${"GLOBALS"}["wqmoncdi"]}=$recordModelData->get("label");$recordModel->set("whatsapp_displayname",${${"GLOBALS"}["poxctlybt"]});}else{${"GLOBALS"}["ipppmzvudo"]="customerNo";$recordModel->set("whatsapp_displayname",${${"GLOBALS"}["ipppmzvudo"]});}$recordModel->set("whatsapp_unreadread","Unread");$yndvtxwayn="preQuestionData";$recordModel->set("whatsapp_withccode",${${"GLOBALS"}["jlgvcu"]});$recordModel->set("whatsapp_sendername",${${"GLOBALS"}["rucrvnm"]});$recordModel->set("msgid",${${"GLOBALS"}["jmvvgtc"]});$recordModel->set("whatsapp_datetime",${${"GLOBALS"}["jphxgtiyndv"]});$nzbfqjefegw="mobileno";$recordModel->set("your_number",${${"GLOBALS"}["ciboxzeeu"]});$recordModel->set("assigned_user_id",${${"GLOBALS"}["iehdwjy"]});$recordModel->set("whatsapp_important",${${"GLOBALS"}["mavrco"]});$recordModel->set("whatsapp_quotemessage",${${"GLOBALS"}["nrbqtb"]});$recordModel->save();${$yndvtxwayn}=getPreQuestionDetails(${$nzbfqjefegw});${${"GLOBALS"}["jalneso"]}=${$htcpjxzgztu}["manualtransfer"];if(${${"GLOBALS"}["jalneso"]}!=1){${"GLOBALS"}["kdrsfxpfg"]="sendmessagelimit";if(${${"GLOBALS"}["intrzxlord"]}==1&&${${"GLOBALS"}["intkmzgxao"]}<${${"GLOBALS"}["kdrsfxpfg"]}){$qxeesicy="preQuestionRows";if(${$qxeesicy}==0){${"GLOBALS"}["fnggwcntps"]="mobileno";${"GLOBALS"}["oogbyf"]="whatsappBody";defaultMessage(${${"GLOBALS"}["oogbyf"]},${${"GLOBALS"}["fnggwcntps"]},${${"GLOBALS"}["jalneso"]},${${"GLOBALS"}["siupxg"]});}else{$hjawlmvhuiy="whatsappScanNo";${"GLOBALS"}["scpmgcjpqwtk"]="manualtransfer";sendNextQuestionWithOption(${${"GLOBALS"}["wqewupl"]},${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["scpmgcjpqwtk"]},${$hjawlmvhuiy});}}}}}function getOneDaysMessages(){${"GLOBALS"}["kmsdnkh"]="totalrecord";$jlrmnes="query";global$adb;$ochwbihkxt="query";${${"GLOBALS"}["tmorjz"]}=date("Y-m-d");${$ochwbihkxt}=$adb->pquery("SELECT count(*) as totalrecord
            FROM vtiger_ctwhatsappbusiness
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsappbusiness.ctwhatsappid
            WHERE vtiger_ctwhatsappbusiness.message_type = 'Send' AND vtiger_crmentity.deleted = 0 AND MONTH(vtiger_crmentity.createdtime) = MONTH(NOW())
            AND YEAR(vtiger_crmentity.createdtime) = YEAR(NOW())");$hcsctqzfseq="totalrecord";${${"GLOBALS"}["kmsdnkh"]}=$adb->query_result(${$jlrmnes},0,"totalrecord");return${$hcsctqzfseq};}function getCurrentBotActive($whatsappScanNo){${"GLOBALS"}["oebpehy"]="getUserGrous";${"GLOBALS"}["hjtsnprbo"]="userid";$iqtctlto="getUserGrous";global$adb;${$iqtctlto}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");$wnsskpluor="firstbotid";$rvcoqix="activeBotQuery";${${"GLOBALS"}["ubopawl"]}=$adb->query_result(${${"GLOBALS"}["oebpehy"]},0,"customfield4");${"GLOBALS"}["yzglewfe"]="activeBotQuery";if(${${"GLOBALS"}["ubopawl"]}=="multipleWhatsapp"){${${"GLOBALS"}["mefjvsrkqj"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessusers WHERE whatsappno = ?",array(${${"GLOBALS"}["siupxg"]}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");}else{$bovqlev="getUserIdQuery";${"GLOBALS"}["tfulmlvm"]="getUserIdQuery";${${"GLOBALS"}["tfulmlvm"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration WHERE whatsappno = ?",array(${${"GLOBALS"}["siupxg"]}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${$bovqlev},0,"customfield5");}${${"GLOBALS"}["yzglewfe"]}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE deleted = 1 AND assignuserid = ?",array(${${"GLOBALS"}["hjtsnprbo"]}));${${"GLOBALS"}["ojdpruc"]}=$adb->query_result(${$rvcoqix},0,"botid");return${$wnsskpluor};}function getPreQuestionDetails($mobileno){$ycgxdwm="getPreQuestionIdQuery";${"GLOBALS"}["ivuqqpe"]="manualtransfer";$nxolrwxqhnh="preQuestionRows";global$adb;${"GLOBALS"}["qmycfketz"]="result";$pxwhhjape="getPreQuestionIdQuery";${"GLOBALS"}["jvnhokoqi"]="result";${"GLOBALS"}["difxgqvycm"]="preQuestionID";${"GLOBALS"}["fsfjyoq"]="getPreQuestionIdQuery";${$ycgxdwm}=$adb->pquery("SELECT * FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["tdjaunjj"]}));$iceuvpm="manualdatetime";${$nxolrwxqhnh}=$adb->num_rows(${${"GLOBALS"}["fsfjyoq"]});${"GLOBALS"}["mywgbxajne"]="prebotid";${${"GLOBALS"}["tzgepzspid"]}=$adb->query_result(${${"GLOBALS"}["uynudefjmyl"]},0,"preque");${${"GLOBALS"}["rvdifykq"]}=$adb->query_result(${${"GLOBALS"}["uynudefjmyl"]},0,"prebotid");${${"GLOBALS"}["ivuqqpe"]}=$adb->query_result(${$pxwhhjape},0,"manualtransfer");${$iceuvpm}=$adb->query_result(${${"GLOBALS"}["uynudefjmyl"]},0,"manualdatetime");${${"GLOBALS"}["qmycfketz"]}=array("preQuestionID"=>${${"GLOBALS"}["difxgqvycm"]},"prebotid"=>${${"GLOBALS"}["mywgbxajne"]},"manualtransfer"=>${${"GLOBALS"}["jalneso"]},"manualdatetime"=>${${"GLOBALS"}["dviqqlidt"]},"preQuestionRows"=>${${"GLOBALS"}["yhexqxpocpv"]});return${${"GLOBALS"}["jvnhokoqi"]};}function getSearchModuleQuery($preQuestionID,$prebotid){${"GLOBALS"}["hqnyrzns"]="next_sequence";${"GLOBALS"}["xipojccyi"]="query";${"GLOBALS"}["gdhysr"]="preQuestionID";${"GLOBALS"}["zvwtmkqpjwj"]="que_id";$bzrdivfevo="type";$rsgdvxpjro="result";${"GLOBALS"}["cntkedqzei"]="searchColumn";$yfahnflili="que_text";$xmciftm="messagetype";global$adb;${${"GLOBALS"}["pssarwsrdo"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE ctwhatsappbot_que_master.next_sequence = ? AND ctwhatsappbot_que_master.botid = ?",array(${${"GLOBALS"}["gdhysr"]},${${"GLOBALS"}["rvdifykq"]}));$kryxaf="que_id";${${"GLOBALS"}["rikbbgnids"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"search_module");$mybmgvq="query";${"GLOBALS"}["tvucdhfslxu"]="searchModule";$bpdioftbk="query";${${"GLOBALS"}["vyvqpbb"]}=$adb->query_result(${${"GLOBALS"}["xipojccyi"]},0,"search_column");${${"GLOBALS"}["utnyioxvgwrt"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"copy_to");${${"GLOBALS"}["hqnyrzns"]}=$adb->query_result(${$mybmgvq},0,"next_sequence");${$bzrdivfevo}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"type");${$kryxaf}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"que_id");${${"GLOBALS"}["xxailqbd"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"que_text");${$xmciftm}=$adb->query_result(${$bpdioftbk},0,"messagetype");${${"GLOBALS"}["qxuuyiqpvfd"]}=array("searchModule"=>${${"GLOBALS"}["tvucdhfslxu"]},"searchColumn"=>${${"GLOBALS"}["cntkedqzei"]},"copy_to"=>${${"GLOBALS"}["utnyioxvgwrt"]},"next_sequence"=>${${"GLOBALS"}["xblzlk"]},"type"=>${${"GLOBALS"}["dkygjizuq"]},"que_id"=>${${"GLOBALS"}["zvwtmkqpjwj"]},"que_text"=>${$yfahnflili},"messagetype"=>${${"GLOBALS"}["hkdffacn"]});return${$rsgdvxpjro};}function getSearchTypeQuestionQuery($preQuestionID,$prebotid){$fbgygjssi="result";${"GLOBALS"}["mhkjcczxu"]="next_sequence";${"GLOBALS"}["wpexefbvr"]="query";$jfrnei="query";$wugdkbr="searchModule";$yumcdschugk="searchColumn";$ntblakv="query";${"GLOBALS"}["eqnyyduyyqh"]="responseimg";$ijskguvp="copy_to";global$adb;${${"GLOBALS"}["pssarwsrdo"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE ctwhatsappbot_que_master.que_sequence = ? AND ctwhatsappbot_que_master.botid = ?",array(${${"GLOBALS"}["tzgepzspid"]},${${"GLOBALS"}["rvdifykq"]}));$fdqttexmmin="searchColumn";${"GLOBALS"}["hxldcvtk"]="query";${$wugdkbr}=$adb->query_result(${${"GLOBALS"}["hxldcvtk"]},0,"search_module");${"GLOBALS"}["kxlovhcpn"]="que_id";${"GLOBALS"}["okuljh"]="type";${$yumcdschugk}=$adb->query_result(${$ntblakv},0,"search_column");$rboqclqfan="varmessagetype";${"GLOBALS"}["mbitepquvz"]="que_text";$xwhtyexv="result";${${"GLOBALS"}["utnyioxvgwrt"]}=$adb->query_result(${${"GLOBALS"}["wpexefbvr"]},0,"copy_to");${${"GLOBALS"}["xblzlk"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"next_sequence");$ofjfilgjf="copy_from";${"GLOBALS"}["crclvtgm"]="responseimg";${"GLOBALS"}["hefyiqpt"]="query";${${"GLOBALS"}["okuljh"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"type");${${"GLOBALS"}["kxlovhcpn"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"que_id");$cqgpccxxx="varmessagetype";${${"GLOBALS"}["xxailqbd"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"que_text");$curbiqtm="query";${$cqgpccxxx}=$adb->query_result(${${"GLOBALS"}["hefyiqpt"]},0,"varmessagetype");${${"GLOBALS"}["ydhpykxelez"]}=$adb->query_result(${$jfrnei},0,"copy_from");${${"GLOBALS"}["crclvtgm"]}=$adb->query_result(${$curbiqtm},0,"responseimg");${$xwhtyexv}=array("searchModule"=>${${"GLOBALS"}["rikbbgnids"]},"searchColumn"=>${$fdqttexmmin},"copy_to"=>${$ijskguvp},"next_sequence"=>${${"GLOBALS"}["mhkjcczxu"]},"type"=>${${"GLOBALS"}["dkygjizuq"]},"que_id"=>${${"GLOBALS"}["pqpfxat"]},"que_text"=>${${"GLOBALS"}["mbitepquvz"]},"varmessagetype"=>${$rboqclqfan},"copy_from"=>${$ofjfilgjf},"responseimg"=>${${"GLOBALS"}["eqnyyduyyqh"]});return${$fbgygjssi};}function insertResponceValue($mobileno,$body,$copy_to,$prebotid){$wnjjknt="body";$hrxwzpcbdjx="copy_to";${"GLOBALS"}["wmixmgtvw"]="mobileno";$lddbbjx="prebotid";global$adb;$adb->pquery("INSERT INTO vtiger_whatsappbot_responcevalue (mobilewhatsappnumber, variablevalue, variablename, bot_id) VALUES ('".${${"GLOBALS"}["wmixmgtvw"]}."', '".${$wnjjknt}."', '".${$hrxwzpcbdjx}."', '".${$lddbbjx}."')",array());}function getActionDetails($que_id){${"GLOBALS"}["foztzpjx"]="crmActionquery";$mcrpkkqgi="crmActionquery";$jqxmxi="crmActionquery";${"GLOBALS"}["dpzonvmxhpwm"]="crmActionquery";${"GLOBALS"}["gkkktiyindl"]="tabid";${"GLOBALS"}["qjkrnqn"]="tabid";global$adb;${$mcrpkkqgi}=$adb->pquery("SELECT * FROM ctwhatsappbot_crmaction_master WHERE que_id = ?",array(${${"GLOBALS"}["pqpfxat"]}));$tjvspv="result";$wqhjhqqqb="crmActionquery";${${"GLOBALS"}["vbdcnigr"]}=$adb->query_result(${${"GLOBALS"}["foztzpjx"]},0,"action");$ttilfcx="result";${${"GLOBALS"}["qjkrnqn"]}=$adb->query_result(${${"GLOBALS"}["dpzonvmxhpwm"]},0,"tabid");${${"GLOBALS"}["jsjydouu"]}=$adb->query_result(${$jqxmxi},0,"crmaction_id");${"GLOBALS"}["uvxuxroq"]="crmaction_id";${${"GLOBALS"}["ejuyrxjf"]}=$adb->query_result(${$wqhjhqqqb},0,"related_tabid");${$tjvspv}=array("action"=>${${"GLOBALS"}["vbdcnigr"]},"tabid"=>${${"GLOBALS"}["gkkktiyindl"]},"crmaction_id"=>${${"GLOBALS"}["uvxuxroq"]},"related_tabid"=>${${"GLOBALS"}["ejuyrxjf"]});return${$ttilfcx};}function getInsertModuleName($tabid){${"GLOBALS"}["oquhbxqfvgd"]="tabid";${"GLOBALS"}["pshwbuj"]="insertModuleName";global$adb;${${"GLOBALS"}["clhgwkewnw"]}=$adb->pquery("SELECT * FROM vtiger_tab WHERE tabid = ?",array(${${"GLOBALS"}["oquhbxqfvgd"]}));return${${"GLOBALS"}["pshwbuj"]}=$adb->query_result(${${"GLOBALS"}["clhgwkewnw"]},0,"name");}function validateDate($date){if(preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])\$/",${${"GLOBALS"}["beevwsmd"]})){return 1;}else{return 0;}}function currenAvtivateBot($prebotid){${"GLOBALS"}["duljrpyzwyu"]="prebotid";global$adb;$mzptwbrjvygb="active";${${"GLOBALS"}["pssarwsrdo"]}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE botid = ?",array(${${"GLOBALS"}["duljrpyzwyu"]}));${${"GLOBALS"}["cpqtuwg"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"deleted");return${$mzptwbrjvygb};}function sendNextQuestionWithOption($body,$mobileno,$manualtransfer,$whatsappScanNo){$wkryjbtnefw="prebotid";${"GLOBALS"}["czlmemynph"]="mobileno";global$adb;$wozgeog="preQuestionID";${${"GLOBALS"}["fmnmhb"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["rjjdwwon"]}=getPreQuestionDetails(${${"GLOBALS"}["czlmemynph"]});$sbhrskjtiih="prebotid";${$wozgeog}=${${"GLOBALS"}["rjjdwwon"]}["preQuestionID"];${"GLOBALS"}["cmfhqxjyoml"]="preQuestionDetails";${$wkryjbtnefw}=${${"GLOBALS"}["rjjdwwon"]}["prebotid"];${${"GLOBALS"}["jalneso"]}=${${"GLOBALS"}["cmfhqxjyoml"]}["manualtransfer"];$xflqdooavom="currenActiveBot";${${"GLOBALS"}["weptyvx"]}=currenAvtivateBot(${$sbhrskjtiih});if(${$xflqdooavom}==1){${"GLOBALS"}["ygrbmcaqcrc"]="prebotid";${"GLOBALS"}["gyqsxdhmbeo"]="searchModuleQuery";$vximneil="searchModuleQuery";${${"GLOBALS"}["teooawm"]}=getSearchTypeQuestionQuery(${${"GLOBALS"}["tzgepzspid"]},${${"GLOBALS"}["ygrbmcaqcrc"]});$hcxsvhighujz="manualtransfer";$khubwxkdgv="searchModuleQuery";${"GLOBALS"}["xkdoixahnp"]="searchModuleQuery";$uqsvdok="searchColumn";${"GLOBALS"}["ybdaen"]="searchModuleQuery";${${"GLOBALS"}["rikbbgnids"]}=${$khubwxkdgv}["searchModule"];${$uqsvdok}=${${"GLOBALS"}["ybdaen"]}["searchColumn"];${${"GLOBALS"}["utnyioxvgwrt"]}=${${"GLOBALS"}["gyqsxdhmbeo"]}["copy_to"];${${"GLOBALS"}["xblzlk"]}=${${"GLOBALS"}["xkdoixahnp"]}["next_sequence"];${${"GLOBALS"}["xxailqbd"]}=${$vximneil}["que_text"];if(${$hcxsvhighujz}!=1){$ughvvuw="row";${"GLOBALS"}["wnwooskbfwcm"]="body";${"GLOBALS"}["gfrgqy"]="getNextQuestionOptionQuery";${"GLOBALS"}["moxxnzlrtn"]="prebotid";if(${${"GLOBALS"}["utnyioxvgwrt"]}){$aemmqllkdcu="copy_to";$yzkgppkse="copy_to";if(${$yzkgppkse}=="email"){$cooskpfu="body";if(filter_var(${$cooskpfu},FILTER_VALIDATE_EMAIL)){${"GLOBALS"}["hvxksgi"]="mobileno";${"GLOBALS"}["ljnkliytgm"]="body";insertResponceValue(${${"GLOBALS"}["hvxksgi"]},${${"GLOBALS"}["ljnkliytgm"]},${${"GLOBALS"}["utnyioxvgwrt"]},${${"GLOBALS"}["rvdifykq"]});}else{$hgmidxcs="nextQuestionBody";${$hgmidxcs}=vtranslate("Please enter valid email","CTWhatsAppBusiness");sendMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["siupxg"]});exit;}}else if(${$aemmqllkdcu}=="number"){$hsnvtzkjggp="body";if(is_numeric(${$hsnvtzkjggp})){${"GLOBALS"}["ldoucbms"]="copy_to";insertResponceValue(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["ppexrgjrck"]},${${"GLOBALS"}["ldoucbms"]},${${"GLOBALS"}["rvdifykq"]});}else{$mlxydtct="nextQuestionBody";$hkmjiii="whatsappScanNo";${"GLOBALS"}["wsmmhffe"]="mobileno";${$mlxydtct}=vtranslate("Please enter numeric only","CTWhatsAppBusiness");sendMessage(${${"GLOBALS"}["wsmmhffe"]},${${"GLOBALS"}["hosmghwyuh"]},${$hkmjiii});exit;}}else if(${${"GLOBALS"}["utnyioxvgwrt"]}=="date"){${"GLOBALS"}["jvjxckad"]="body";${${"GLOBALS"}["hyatdhdxy"]}=validateDate(${${"GLOBALS"}["jvjxckad"]});if(${${"GLOBALS"}["hyatdhdxy"]}==1){$srdeclitft="mobileno";$ubgsiaepvnyj="body";$hhfwekdn="prebotid";insertResponceValue(${$srdeclitft},${$ubgsiaepvnyj},${${"GLOBALS"}["utnyioxvgwrt"]},${$hhfwekdn});}else{${"GLOBALS"}["bresng"]="nextQuestionBody";${${"GLOBALS"}["bresng"]}=vtranslate("Please enter valid date","CTWhatsAppBusiness");sendMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["siupxg"]});exit;}}else{$fwicojx="body";${"GLOBALS"}["pdulqoeos"]="mobileno";${"GLOBALS"}["nvqqftstor"]="prebotid";${"GLOBALS"}["buhpgpvee"]="copy_to";insertResponceValue(${${"GLOBALS"}["pdulqoeos"]},${$fwicojx},${${"GLOBALS"}["buhpgpvee"]},${${"GLOBALS"}["nvqqftstor"]});}}${${"GLOBALS"}["kwibsir"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_opt_master 
                INNER JOIN ctwhatsappbot_que_opt_assign ON ctwhatsappbot_que_opt_assign.opt_id = ctwhatsappbot_opt_master.opt_id
                INNER JOIN ctwhatsappbot_que_master ON ctwhatsappbot_que_master.que_id = ctwhatsappbot_que_opt_assign.que_id
                WHERE ctwhatsappbot_opt_master.opt_seq = ? AND ctwhatsappbot_opt_master.botid = ? AND ctwhatsappbot_que_master.que_sequence = ?",array(${${"GLOBALS"}["wnwooskbfwcm"]},${${"GLOBALS"}["moxxnzlrtn"]},${${"GLOBALS"}["tzgepzspid"]}));${${"GLOBALS"}["dmjpdfjt"]}=$adb->num_rows(${${"GLOBALS"}["gfrgqy"]});if(${$ughvvuw}){${"GLOBALS"}["xifqwqaqm"]="nextQueId";${"GLOBALS"}["ovpvmh"]="mobileno";${"GLOBALS"}["mqyydqt"]="getNextQuestionOptionQuery";$kdsebsxyjqq="prebotid";${${"GLOBALS"}["xifqwqaqm"]}=$adb->query_result(${${"GLOBALS"}["mqyydqt"]},0,"next_que_id");$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["ovpvmh"]}));$adb->pquery("INSERT INTO whatsappbot_pre_que (preque, prebotid, prequemobilenumber, manualtransfer, idealdatetime) VALUES (?,?,?,?,?)",array(${${"GLOBALS"}["sfehed"]},${$kdsebsxyjqq},${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["ihtdjtwodfm"]},${${"GLOBALS"}["fmnmhb"]}));${${"GLOBALS"}["cbjolh"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master 
                    INNER JOIN ctwhatsappbot_que_opt_assign ON ctwhatsappbot_que_opt_assign.que_id = ctwhatsappbot_que_master.que_id 
                    INNER JOIN ctwhatsappbot_opt_master ON ctwhatsappbot_opt_master.opt_id = ctwhatsappbot_que_opt_assign.opt_id 
                    WHERE ctwhatsappbot_que_master.que_sequence = ? AND ctwhatsappbot_que_opt_assign.botid = ?",array(${${"GLOBALS"}["sfehed"]},${${"GLOBALS"}["rvdifykq"]}));${${"GLOBALS"}["tobxkkslhf"]}=$adb->num_rows(${${"GLOBALS"}["cbjolh"]});if(${${"GLOBALS"}["tobxkkslhf"]}){$yceavtax="getNextQuestionQuery";$wvinnfffny="nextQuestionButtonBody";$sllxpqg="next_que_id";$pjrntstb="messagetype";$aqvbuvzm="getNextQuestionQuery";${"GLOBALS"}["nzwequmb"]="i";${"GLOBALS"}["bowosvwc"]="messagetype";${"GLOBALS"}["bymtehrrdwp"]="nextQuestionBody";${${"GLOBALS"}["bymtehrrdwp"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},0,"que_text")."
";$tbxcidonaq="messagetype";$fsvhxhacwg="rows";${$wvinnfffny}=$adb->query_result(${$aqvbuvzm},0,"que_text");${$sllxpqg}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},0,"next_sequence");${${"GLOBALS"}["hkdffacn"]}=$adb->query_result(${$yceavtax},0,"messagetype");${${"GLOBALS"}["iqpnqhqmrej"]}=0;for(${${"GLOBALS"}["msahwahb"]}=0;${${"GLOBALS"}["nzwequmb"]}<${$fsvhxhacwg};${${"GLOBALS"}["msahwahb"]}++){${"GLOBALS"}["cqbpogfix"]="getNextQuestionQuery";$ncdskmejn="opt_seq";$ggbjgiqe="i";$rvqxdcdfoml="opt_text";${"GLOBALS"}["fcyqbnkufnlq"]="nextQuestionBody";$ulvecpvqv="getNextQuestionQuery";${$rvqxdcdfoml}=$adb->query_result(${${"GLOBALS"}["cqbpogfix"]},${${"GLOBALS"}["msahwahb"]},"opt_text");${$ncdskmejn}=$adb->query_result(${$ulvecpvqv},${$ggbjgiqe},"opt_seq");${${"GLOBALS"}["rrxzbdwfohj"]}[${${"GLOBALS"}["wtctojwndby"]}]=${${"GLOBALS"}["skhwhok"]};${${"GLOBALS"}["fcyqbnkufnlq"]}.=${${"GLOBALS"}["wtctojwndby"]}." ".${${"GLOBALS"}["skhwhok"]}."
";}if(${${"GLOBALS"}["hkdffacn"]}=="Regular message"){$neygymt="nextQuestionBody";$ojohupczb="whatsappScanNo";sendMessage(${${"GLOBALS"}["tdjaunjj"]},${$neygymt},${$ojohupczb});}else if(${$pjrntstb}=="WhatsApp Button message"){$nxmxprys="nextQuestionBody";sendButtonMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["jlnfncb"]},${${"GLOBALS"}["rrxzbdwfohj"]},${$nxmxprys},${${"GLOBALS"}["siupxg"]});}else if(${${"GLOBALS"}["bowosvwc"]}=="WhatsApp List message"){$eqtwqzwyc="buttonArray";$ueljdlnmx="nextQuestionBody";${"GLOBALS"}["rshqeckmrp"]="nextQuestionButtonBody";sendButtonListMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["rshqeckmrp"]},${$eqtwqzwyc},${$ueljdlnmx},${${"GLOBALS"}["siupxg"]});}else if(${$tbxcidonaq}=="chatwithoperator"){$qjfqorylizw="mobileno";convertRegularMode(${$qjfqorylizw});}else{${"GLOBALS"}["ifevtieel"]="whatsappScanNo";sendMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["ifevtieel"]});}}else{$todzbcf="getNextQuestionQuery";$kdtiagkkah="responseimg";$fqhbwengv="nextQueId";$ndxqztp="getNextQuestionQuery";${"GLOBALS"}["krhoiyfw"]="nextQuestionBody";${${"GLOBALS"}["cbjolh"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master  
                    WHERE ctwhatsappbot_que_master.que_sequence = ? AND ctwhatsappbot_que_master.botid = ?",array(${$fqhbwengv},${${"GLOBALS"}["rvdifykq"]}));$xjngalng="responseimg";$vujfbtqs="getNextQuestionQuery";${${"GLOBALS"}["krhoiyfw"]}=$adb->query_result(${$ndxqztp},0,"que_text");${$xjngalng}=$adb->query_result(${$vujfbtqs},0,"responseimg");${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${$todzbcf},0,"next_sequence");${${"GLOBALS"}["hkdffacn"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},0,"messagetype");if(${$kdtiagkkah}){$pniwwwmwvj="whatsappScanNo";${"GLOBALS"}["cayglx"]="responseimg";sendMessageWithImage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["cayglx"]},${$pniwwwmwvj});}else{$avmzytht="messagetype";if(${$avmzytht}=="chatwithoperator"){convertRegularMode(${${"GLOBALS"}["tdjaunjj"]});}else{${"GLOBALS"}["mtfvjux"]="nextQuestionBody";sendMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["mtfvjux"]},${${"GLOBALS"}["siupxg"]});}}}}else{$mcwnkl="next_sequence";if(${$mcwnkl}){${"GLOBALS"}["yorszpmxbr"]="que_id";$fgatdtuiy="nextSequence";${"GLOBALS"}["jquhbbl"]="next_sequence";$lbiximr="nextSequence1";$esjmkuld="type";$dddepwdomju="type";${"GLOBALS"}["viwmvkp"]="prebotid";$jhdyqkle="nextSequence12";$uixazyogxc="typeQueQuery";${"GLOBALS"}["fwunjwxcxby"]="typeQueQuery";$wspeubc="typeQueQuery";$jyudcleoehvw="prebotid";${"GLOBALS"}["jwpcfy"]="typeQuestionQuery";${${"GLOBALS"}["ylvbbu"]}=getSearchModuleQuery(${${"GLOBALS"}["jquhbbl"]},${$jyudcleoehvw});$rvawdlgw="typeQuestionQuery";${"GLOBALS"}["jltsrkev"]="typeQuestionQuery";${${"GLOBALS"}["dkygjizuq"]}=${${"GLOBALS"}["ylvbbu"]}["type"];${${"GLOBALS"}["pqpfxat"]}=${$rvawdlgw}["que_id"];${$lbiximr}=${${"GLOBALS"}["ylvbbu"]}["next_sequence"];${$jhdyqkle}=${${"GLOBALS"}["jwpcfy"]}["next_sequence"];${"GLOBALS"}["gpuiveskn"]="nextSequence1";${${"GLOBALS"}["xxailqbd"]}=${${"GLOBALS"}["jltsrkev"]}["que_text"];${${"GLOBALS"}["fwunjwxcxby"]}=getSearchTypeQuestionQuery(${${"GLOBALS"}["gpuiveskn"]},${${"GLOBALS"}["viwmvkp"]});${${"GLOBALS"}["dkygjizuq"]}=${${"GLOBALS"}["uvshvorbhwcc"]}["type"];${${"GLOBALS"}["yorszpmxbr"]}=${$uixazyogxc}["que_id"];${$fgatdtuiy}=${${"GLOBALS"}["uvshvorbhwcc"]}["next_sequence"];${${"GLOBALS"}["zpbhiixgcpq"]}=${$wspeubc}["next_sequence"];${${"GLOBALS"}["xxailqbd"]}=${${"GLOBALS"}["uvshvorbhwcc"]}["que_text"];if(${$esjmkuld}=="condition-node"){${"GLOBALS"}["iktsqhhzecw"]="que_id";${"GLOBALS"}["omqbxkr"]="conditionRows";$bkkfyxgif="conditionQuery";${${"GLOBALS"}["ozwjnohcmnjp"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_condition_assign WHERE que_id = ?",array(${${"GLOBALS"}["iktsqhhzecw"]}));${${"GLOBALS"}["omqbxkr"]}=$adb->num_rows(${$bkkfyxgif});if(${${"GLOBALS"}["jiqogkoqil"]}){$sbycrh="selectQuery1";${"GLOBALS"}["vmudwbmh"]="nextEndsequence";${"GLOBALS"}["supujlptnya"]="conditionQuery";$yyjibwc="selectQuery1";${"GLOBALS"}["nlxxgzfyj"]="nextEndsequence";${"GLOBALS"}["voounysyekch"]="variablevalue";${"GLOBALS"}["vrtknljqanb"]="nextQuestionBody";${"GLOBALS"}["djduehckb"]="variablevalue";${"GLOBALS"}["qxwhelwiddy"]="selectQuery1";${"GLOBALS"}["burwgspf"]="variablevalue";$trnolvhrj="variablevalue";${"GLOBALS"}["vlevyvebfqba"]="conditionQuery";${"GLOBALS"}["jpjrzrs"]="body";${${"GLOBALS"}["uxxlkyi"]}=$adb->query_result(${${"GLOBALS"}["supujlptnya"]},0,"conditions");${"GLOBALS"}["mevbbeiejxw"]="responseimg";${"GLOBALS"}["mjelzpp"]="body";${"GLOBALS"}["dvrsgmknmmi"]="body";${${"GLOBALS"}["nryvminnydz"]}=$adb->query_result(${${"GLOBALS"}["vlevyvebfqba"]},0,"variablevalue");switch(${${"GLOBALS"}["uxxlkyi"]}){case"equal":if(${${"GLOBALS"}["ppexrgjrck"]}==${$trnolvhrj}){$difuawdqci="next_que_id";${$difuawdqci}=$adb->query_result(${${"GLOBALS"}["ozwjnohcmnjp"]},0,"next_que_id1");}else{$vfhmev="conditionQuery";${"GLOBALS"}["sduessuyoqf"]="next_que_id";${${"GLOBALS"}["sduessuyoqf"]}=$adb->query_result(${$vfhmev},0,"next_que_id2");}break;case"not equal":if(${${"GLOBALS"}["dvrsgmknmmi"]}!=${${"GLOBALS"}["voounysyekch"]}){$iqdsoyiwqj="conditionQuery";${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${$iqdsoyiwqj},0,"next_que_id1");}else{${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${${"GLOBALS"}["ozwjnohcmnjp"]},0,"next_que_id2");}break;case"grater or equal":if(${${"GLOBALS"}["ppexrgjrck"]}>=${${"GLOBALS"}["nryvminnydz"]}){$xelczd="conditionQuery";${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${$xelczd},0,"next_que_id1");}else{${"GLOBALS"}["urzsjrf"]="next_que_id";${${"GLOBALS"}["urzsjrf"]}=$adb->query_result(${${"GLOBALS"}["ozwjnohcmnjp"]},0,"next_que_id2");}break;case"less than or equal":if(${${"GLOBALS"}["jpjrzrs"]}<=${${"GLOBALS"}["burwgspf"]}){${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${${"GLOBALS"}["ozwjnohcmnjp"]},0,"next_que_id1");}else{${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${${"GLOBALS"}["ozwjnohcmnjp"]},0,"next_que_id2");}break;case"like":if(preg_match("/".${${"GLOBALS"}["djduehckb"]}."/",${${"GLOBALS"}["mjelzpp"]})){${"GLOBALS"}["fgbkabiko"]="conditionQuery";${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${${"GLOBALS"}["fgbkabiko"]},0,"next_que_id1");}else{${"GLOBALS"}["ukgovcipz"]="conditionQuery";${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${${"GLOBALS"}["ukgovcipz"]},0,"next_que_id2");}break;case"not like":if(preg_match("/".${${"GLOBALS"}["nryvminnydz"]}."/",${${"GLOBALS"}["ppexrgjrck"]})){${"GLOBALS"}["wduuvg"]="conditionQuery";${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${${"GLOBALS"}["wduuvg"]},0,"next_que_id2");}else{${${"GLOBALS"}["xqnoufvwus"]}=$adb->query_result(${${"GLOBALS"}["ozwjnohcmnjp"]},0,"next_que_id1");}break;}${${"GLOBALS"}["qxwhelwiddy"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE que_sequence = ? AND botid = ?",array(${${"GLOBALS"}["xqnoufvwus"]},${${"GLOBALS"}["rvdifykq"]}));${${"GLOBALS"}["vrtknljqanb"]}=$adb->query_result(${$sbycrh},0,"que_text");${${"GLOBALS"}["vmudwbmh"]}=$adb->query_result(${$yyjibwc},0,"next_sequence");${${"GLOBALS"}["mevbbeiejxw"]}=$adb->query_result(${${"GLOBALS"}["xwusycnebbw"]},0,"responseimg");if(${${"GLOBALS"}["xdvqwly"]}){$rfiwlbf="responseimg";${"GLOBALS"}["cdhfhn"]="whatsappScanNo";$ruexwa="mobileno";${"GLOBALS"}["nhqzheds"]="nextQuestionBody";sendMessageWithImage(${$ruexwa},${${"GLOBALS"}["nhqzheds"]},${$rfiwlbf},${${"GLOBALS"}["cdhfhn"]});}else{${"GLOBALS"}["ihjcost"]="nextQuestionBody";sendMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["ihjcost"]},${${"GLOBALS"}["siupxg"]});}if(${${"GLOBALS"}["nlxxgzfyj"]}){${"GLOBALS"}["pntwoj"]="endNodQuery";$gpzvziy="nextEndQuestionBody";${"GLOBALS"}["qtjdqqivrht"]="nextEndsequence";${${"GLOBALS"}["pntwoj"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE que_sequence = ? AND botid = ?",array(${${"GLOBALS"}["qtjdqqivrht"]},${${"GLOBALS"}["rvdifykq"]}));${$gpzvziy}=$adb->query_result(${${"GLOBALS"}["dvdapuoqfl"]},0,"que_text");if(${${"GLOBALS"}["awitqojb"]}=="End"){$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["tdjaunjj"]}));}}}}else if(${$dddepwdomju}=="crm-action-node"){${"GLOBALS"}["qlfgiau"]="tabid";$fvrtjeo="actionDetail";$mrnqkjuxiuo="que_id";$xldimmrd="related_tabid";$gcpsdxige="action";${${"GLOBALS"}["zqsnwufdu"]}=getActionDetails(${$mrnqkjuxiuo});${${"GLOBALS"}["vbdcnigr"]}=${${"GLOBALS"}["zqsnwufdu"]}["action"];${${"GLOBALS"}["dgyidblj"]}=${$fvrtjeo}["tabid"];$rihhkblx="actionDetail";${${"GLOBALS"}["jsjydouu"]}=${$rihhkblx}["crmaction_id"];${$xldimmrd}=${${"GLOBALS"}["zqsnwufdu"]}["related_tabid"];if(${${"GLOBALS"}["qlfgiau"]}){${"GLOBALS"}["ieefsahcsix"]="tabid";$rhvdiydt="insertModuleName";${$rhvdiydt}=getInsertModuleName(${${"GLOBALS"}["ieefsahcsix"]});}if(${${"GLOBALS"}["vbdcnigr"]}=="Insert"){${"GLOBALS"}["dhonewpab"]="i";$owjcuycldw="relatedFieldQuery";${"GLOBALS"}["rkfwpeug"]="prebotid";$pegiypfyuel="relatedRows";$sstpjfaj="relatedModuleName";${"GLOBALS"}["iogheu"]="relatedFieldQuery";$vxotxtwbl="m";${"GLOBALS"}["zehnnchevmco"]="flowbuilderfield";$evmgokv="relatedModuleName";${"GLOBALS"}["qjbtyth"]="mappingRows";${"GLOBALS"}["rrptvftcwd"]="relatedFieldNameQuery";${"GLOBALS"}["duoqopkwwehe"]="getMappingFieldQuery";$xiayusinfj="relatedFindQuery";${"GLOBALS"}["iloqwfrm"]="relatedFieldName";${${"GLOBALS"}["iogheu"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_crmaction_relatedfieldmapping WHERE botid = ?",array(${${"GLOBALS"}["rkfwpeug"]}));${${"GLOBALS"}["nmqwecq"]}=$adb->num_rows(${$owjcuycldw});$bnioktfy="fieldMappingQuery";${$xiayusinfj}="";$sdobvtwgwm="relatedFieldNameQuery";$hvqqmbmjhv="modelData";$lndihehyw="insertModuleName";${"GLOBALS"}["mgcgpys"]="vtigerfield";${"GLOBALS"}["lmjmgxvnwemn"]="relatedModuleName";for(${${"GLOBALS"}["cyyuujamez"]}=0;${${"GLOBALS"}["cyyuujamez"]}<${$pegiypfyuel};${$vxotxtwbl}++){${"GLOBALS"}["hctykghi"]="relatedFieldQuery";${"GLOBALS"}["gglnbqhh"]="relflowbuilderfield";${"GLOBALS"}["wkjzvrytcii"]="relatedFieldQuery";${${"GLOBALS"}["jtfkyy"]}=$adb->query_result(${${"GLOBALS"}["wkjzvrytcii"]},${${"GLOBALS"}["cyyuujamez"]},"relflowbuilderfield");${${"GLOBALS"}["eurxrhc"]}=$adb->query_result(${${"GLOBALS"}["hctykghi"]},${${"GLOBALS"}["cyyuujamez"]},"relvtigerfield");if(${${"GLOBALS"}["gglnbqhh"]}){$dyoeieoqunp="related_tabid";$qwwilfkzzv="relflowbuilderfield";${"GLOBALS"}["ouuuhid"]="prebotid";$okgyywuq="getUiTypeQuery";${${"GLOBALS"}["unodmfcujrao"]}=$adb->pquery("SELECT * FROM vtiger_whatsappbot_responcevalue WHERE variablename = ? AND bot_id = ?",array(${$qwwilfkzzv},${${"GLOBALS"}["ouuuhid"]}));$jhxmieogtb="relatedfieldValueQuery";${${"GLOBALS"}["nryvminnydz"]}=$adb->query_result(${$jhxmieogtb},0,"variablevalue");${${"GLOBALS"}["cptgjjgxb"]}=$adb->pquery("SELECT * FROM vtiger_field WHERE columnname = ? AND tabid = ?",array(${${"GLOBALS"}["eurxrhc"]},${$dyoeieoqunp}));${${"GLOBALS"}["qbemesfdruxb"]}=$adb->query_result(${$okgyywuq},0,"uitype");if(${${"GLOBALS"}["qbemesfdruxb"]}=="11"){${${"GLOBALS"}["dpdfsxxvvhhp"]}.="  AND ".${${"GLOBALS"}["eurxrhc"]}."=\"".${${"GLOBALS"}["nryvminnydz"]}.""";}}}${$sstpjfaj}=getInsertModuleName(${${"GLOBALS"}["ejuyrxjf"]});if(${$evmgokv}){${"GLOBALS"}["rjmdfhoknqv"]="baseTable";${"GLOBALS"}["poyjuqysn"]="relatedModuleName";${"GLOBALS"}["dtwltstrr"]="moduleModel";$ktqfvhhw="baseTableid";${${"GLOBALS"}["dtwltstrr"]}=CRMEntity::getInstance(${${"GLOBALS"}["poyjuqysn"]});${"GLOBALS"}["kweumxvchu"]="relatedFindQuery";${"GLOBALS"}["ouvwludwz"]="baseTable";${${"GLOBALS"}["jgeucnup"]}=Vtiger_Module::getInstance(${${"GLOBALS"}["fdtkigtuchu"]});$gsnpgmmuk="baseTable";${"GLOBALS"}["ckbqtpngdm"]="baseTable";${${"GLOBALS"}["rjmdfhoknqv"]}=$moduleInstance->basetable;${$ktqfvhhw}=$moduleInstance->basetableid;${${"GLOBALS"}["pbmumdodde"]}=$adb->pquery("SELECT ".${${"GLOBALS"}["ouvwludwz"]}.".* FROM ".${${"GLOBALS"}["ckbqtpngdm"]}." 
                                        INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = ".${$gsnpgmmuk}.".".${${"GLOBALS"}["ntljebi"]}." WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["kweumxvchu"]},array());${${"GLOBALS"}["htgvmxvnivq"]}=$adb->num_rows(${${"GLOBALS"}["pbmumdodde"]});if(${${"GLOBALS"}["htgvmxvnivq"]}){${"GLOBALS"}["qbzhklhjr"]="relatedModuleId";$txhgepn="getSearchRelatedQuery";${${"GLOBALS"}["qbzhklhjr"]}=$adb->query_result(${$txhgepn},0,${${"GLOBALS"}["ntljebi"]});}else{${"GLOBALS"}["ytvbdw"]="m";$iiqkntuwb="relatedModuleName";$sgmpcbvzm="m";${${"GLOBALS"}["ejhwzxfsit"]}=Vtiger_Record_Model::getCleanInstance(${$iiqkntuwb});${"GLOBALS"}["bvtffgcjnm"]="m";for(${$sgmpcbvzm}=0;${${"GLOBALS"}["bvtffgcjnm"]}<${${"GLOBALS"}["nmqwecq"]};${${"GLOBALS"}["ytvbdw"]}++){$beatcreb="relatedFieldQuery";${"GLOBALS"}["wvfjdmxwhqv"]="relvtigerfield";${${"GLOBALS"}["jtfkyy"]}=$adb->query_result(${${"GLOBALS"}["lelxkppedftf"]},${${"GLOBALS"}["cyyuujamez"]},"relflowbuilderfield");${${"GLOBALS"}["wvfjdmxwhqv"]}=$adb->query_result(${$beatcreb},${${"GLOBALS"}["cyyuujamez"]},"relvtigerfield");if(${${"GLOBALS"}["jtfkyy"]}){$vqqlcicn="variablevalue";$yyawciw="variablevalue";${"GLOBALS"}["xvsuar"]="relatedfieldValueQuery";$ggffqitmpmup="relvtigerfield";$zmsrvf="prebotid";${"GLOBALS"}["tuljjd"]="variablevalue";${${"GLOBALS"}["xvsuar"]}=$adb->pquery("SELECT * FROM vtiger_whatsappbot_responcevalue WHERE variablename = ? AND bot_id = ?",array(${${"GLOBALS"}["jtfkyy"]},${$zmsrvf}));${"GLOBALS"}["gpaqdup"]="relatedfieldValueQuery";${$yyawciw}=$adb->query_result(${${"GLOBALS"}["gpaqdup"]},0,"variablevalue");${${"GLOBALS"}["dpdfsxxvvhhp"]}.="  AND ".${${"GLOBALS"}["eurxrhc"]}."="".${$vqqlcicn}."\"";$relatedRecorModel->set(${$ggffqitmpmup},${${"GLOBALS"}["tuljjd"]});}}$relatedRecorModel->save();${${"GLOBALS"}["arlnmsui"]}=$relatedRecorModel->getId();}}${${"GLOBALS"}["odsthkssmf"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_crmaction_fieldmapping WHERE crmaction_id = ? AND maptype = 'request'",array(${${"GLOBALS"}["jsjydouu"]}));${${"GLOBALS"}["qjbtyth"]}=$adb->num_rows(${${"GLOBALS"}["duoqopkwwehe"]});${${"GLOBALS"}["hcijravw"]}=Vtiger_Record_Model::getCleanInstance(${$lndihehyw});$gslqchvhlp="mappingRows";${$hvqqmbmjhv}=$insertRecordModel->getData();for(${${"GLOBALS"}["msahwahb"]}=0;${${"GLOBALS"}["msahwahb"]}<${$gslqchvhlp};${${"GLOBALS"}["dhonewpab"]}++){${"GLOBALS"}["ofereutahpm"]="getMappingFieldQuery";${"GLOBALS"}["whxgchsyx"]="getMappingFieldQuery";${"GLOBALS"}["htsaomqsbz"]="flowbuilderfield";$rhbtggn="i";$vlcdeqzngjj="flowbuilderfield";$wlyavdost="vtigerfield";${${"GLOBALS"}["htsaomqsbz"]}=$adb->query_result(${${"GLOBALS"}["ofereutahpm"]},${$rhbtggn},"flowbuilderfield");$cvrruaaq="defaultvalue";$kxcwziule="getMappingFieldQuery";${$wlyavdost}=$adb->query_result(${${"GLOBALS"}["whxgchsyx"]},${${"GLOBALS"}["msahwahb"]},"vtigerfield");$ocidepxunce="variablevalue";${$cvrruaaq}=$adb->query_result(${$kxcwziule},${${"GLOBALS"}["msahwahb"]},"defaultvalue");${${"GLOBALS"}["bpvnzbwbbrli"]}=$adb->pquery("SELECT * FROM vtiger_whatsappbot_responcevalue WHERE variablename = ? AND mobilewhatsappnumber = ? AND bot_id = ?",array(${$vlcdeqzngjj},${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["rvdifykq"]}));${$ocidepxunce}=$adb->query_result(${${"GLOBALS"}["bpvnzbwbbrli"]},0,"variablevalue");if(${${"GLOBALS"}["dgyidblj"]}){if(${${"GLOBALS"}["qwamdjqkqi"]}=="undefined"||${${"GLOBALS"}["qwamdjqkqi"]}==""){${"GLOBALS"}["yxetjli"]="variablevalue";${"GLOBALS"}["bndpgtioyot"]="vtigerfield";$insertRecordModel->set(${${"GLOBALS"}["bndpgtioyot"]},${${"GLOBALS"}["yxetjli"]});}else{${"GLOBALS"}["jvkfxtsqr"]="defaultvalue";$insertRecordModel->set(${${"GLOBALS"}["kzqxujclg"]},${${"GLOBALS"}["jvkfxtsqr"]});}}}${${"GLOBALS"}["rrptvftcwd"]}=$adb->pquery("SELECT * FROM vtiger_fieldmodulerel 
                                INNER JOIN vtiger_field ON vtiger_field.fieldid = vtiger_fieldmodulerel.fieldid 
                             WHERE vtiger_fieldmodulerel.module = ? AND vtiger_fieldmodulerel.relmodule = ?",array(${${"GLOBALS"}["fbibal"]},${${"GLOBALS"}["lmjmgxvnwemn"]}));${${"GLOBALS"}["iloqwfrm"]}=$adb->query_result(${$sdobvtwgwm},0,"columnname");if(${${"GLOBALS"}["uafrctsluy"]}){${"GLOBALS"}["vgiybqk"]="relatedFieldName";$insertRecordModel->set(${${"GLOBALS"}["vgiybqk"]},${${"GLOBALS"}["arlnmsui"]});}$insertRecordModel->save();${${"GLOBALS"}["vlpehussga"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_crmaction_fieldmapping WHERE crmaction_id = ? AND maptype = 'response'",array(${${"GLOBALS"}["jsjydouu"]}));${${"GLOBALS"}["mgcgpys"]}=$adb->query_result(${${"GLOBALS"}["vlpehussga"]},0,"vtigerfield");${${"GLOBALS"}["svgibkoh"]}=explode("@@",$adb->query_result(${$bnioktfy},0,"flowbuilderfield"));${"GLOBALS"}["ruisxjlquxh"]="nextSequence";if(${${"GLOBALS"}["zehnnchevmco"]}){$lnwixjwpkodn="vtigerfieldValue";${$lnwixjwpkodn}=$insertRecordModel->get(${${"GLOBALS"}["kzqxujclg"]});$enmnfjcure="prebotid";$adb->pquery("INSERT INTO vtiger_whatsappbot_responcevalue (mobilewhatsappnumber, variablevalue, variablename, bot_id) VALUES ('".${${"GLOBALS"}["tdjaunjj"]}."', '".${${"GLOBALS"}["yehllkes"]}."', '".${${"GLOBALS"}["svgibkoh"]}[1]."', '".${$enmnfjcure}."')",array());}if(${${"GLOBALS"}["ruisxjlquxh"]}){${"GLOBALS"}["mbrispgpnce"]="questionData";${${"GLOBALS"}["nrthqfnqbnx"]}=getSearchTypeQuestionQuery(${${"GLOBALS"}["vimmuvxpgdp"]},${${"GLOBALS"}["rvdifykq"]});${${"GLOBALS"}["nltrsbetxmx"]}=${${"GLOBALS"}["mbrispgpnce"]}["varmessagetype"];${"GLOBALS"}["kwskgnderi"]="questionData";${${"GLOBALS"}["ydhpykxelez"]}=${${"GLOBALS"}["nrthqfnqbnx"]}["copy_from"];${"GLOBALS"}["mmatrzexi"]="responseimg";${${"GLOBALS"}["vtchidcp"]}=${${"GLOBALS"}["nrthqfnqbnx"]}["que_text"];${${"GLOBALS"}["mmatrzexi"]}=${${"GLOBALS"}["kwskgnderi"]}["responseimg"];${${"GLOBALS"}["ntcujues"]}=${${"GLOBALS"}["nrthqfnqbnx"]}["next_sequence"];if(${${"GLOBALS"}["nltrsbetxmx"]}=="WhatsApp Response"){if(${${"GLOBALS"}["ydhpykxelez"]}){$bclgyq="fieldValueQuery";${"GLOBALS"}["jmwpqxlupeux"]="mobileno";$tzqmjr="nextQuestionBody";$xepsddl="copy_from";$ndvqslf="queText";${$bclgyq}=$adb->pquery("SELECT * FROM vtiger_whatsappbot_responcevalue WHERE variablename = ? AND mobilewhatsappnumber = ? AND bot_id = ?",array(${${"GLOBALS"}["ydhpykxelez"]},${${"GLOBALS"}["jmwpqxlupeux"]},${${"GLOBALS"}["rvdifykq"]}));${${"GLOBALS"}["nryvminnydz"]}=$adb->query_result(${${"GLOBALS"}["bpvnzbwbbrli"]},0,"variablevalue");$evkkrdofrrtq="next_sequenceId";${$tzqmjr}=str_replace("@@".${$xepsddl},${${"GLOBALS"}["nryvminnydz"]},${$ndvqslf});if(${$evkkrdofrrtq}){$yuxvinivc="endBotQuery";${"GLOBALS"}["vmqlffwt"]="prebotid";${$yuxvinivc}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE que_sequence = ? AND botid = ?",array(${${"GLOBALS"}["ntcujues"]},${${"GLOBALS"}["vmqlffwt"]}));${${"GLOBALS"}["cubjalvnrz"]}=$adb->query_result(${${"GLOBALS"}["wwoxayoygnp"]},0,"que_text");if(${${"GLOBALS"}["cubjalvnrz"]}=="End"){$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["tdjaunjj"]}));}}${"GLOBALS"}["yvkrmskmsfim"]="mobileno";if(${${"GLOBALS"}["xdvqwly"]}){sendMessageWithImage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["xdvqwly"]},${${"GLOBALS"}["siupxg"]});}else{${"GLOBALS"}["giybttl"]="mobileno";sendMessage(${${"GLOBALS"}["giybttl"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["siupxg"]});}$adb->pquery("DELETE FROM vtiger_whatsappbot_responcevalue WHERE mobilewhatsappnumber = ?",array(${${"GLOBALS"}["yvkrmskmsfim"]}));}}else{${"GLOBALS"}["lxkkqd"]="que_text";if(${${"GLOBALS"}["lxkkqd"]}==""){$xygecdycs="searchModuleQuery";$vhwvgcth="getNextQuestionsQuery";${"GLOBALS"}["aiwhvmt"]="nextSequence";${"GLOBALS"}["tlgkiskf"]="nextQuestionBody";$ytswmqtv="optionRow";${"GLOBALS"}["timfugqdxbdq"]="searchModuleQuery";$pcbwvvmdmdv="getNextQuestionsQuery";$xtwkmpfs="nextSequence";${$xygecdycs}=getSearchModuleQuery(${${"GLOBALS"}["vimmuvxpgdp"]},${${"GLOBALS"}["rvdifykq"]});$hnxvdcqxw="optionRow";${$xtwkmpfs}=${${"GLOBALS"}["timfugqdxbdq"]}["next_sequence"];$xnzmxwn="getNextQuestionsQuery";${"GLOBALS"}["fwmqrn"]="currentBotTime";$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["tdjaunjj"]}));$adb->pquery("INSERT INTO whatsappbot_pre_que (preque, prebotid, prequemobilenumber, manualtransfer, idealdatetime) VALUES (?,?,?,?,?)",array(${${"GLOBALS"}["aiwhvmt"]},${${"GLOBALS"}["rvdifykq"]},${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["ihtdjtwodfm"]},${${"GLOBALS"}["fwmqrn"]}));${$pcbwvvmdmdv}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master 
                                                INNER JOIN ctwhatsappbot_que_opt_assign ON ctwhatsappbot_que_opt_assign.que_id = ctwhatsappbot_que_master.que_id 
                                                INNER JOIN ctwhatsappbot_opt_master ON ctwhatsappbot_opt_master.opt_id = ctwhatsappbot_que_opt_assign.opt_id 
                                                WHERE ctwhatsappbot_que_master.que_sequence = $nextSequence AND ctwhatsappbot_que_master.botid = $prebotid");${${"GLOBALS"}["tlgkiskf"]}=$adb->query_result(${$vhwvgcth},0,"que_text")."
";${$ytswmqtv}=$adb->num_rows(${$xnzmxwn});if(${$hnxvdcqxw}){${"GLOBALS"}["ynmfvsahhb"]="getNextQuestionsQuery";${"GLOBALS"}["srhqrki"]="messagetype";${"GLOBALS"}["mgtcbqi"]="prebotid";${${"GLOBALS"}["vimmuvxpgdp"]}=$adb->query_result(${${"GLOBALS"}["oymqlrom"]},0,"next_sequence");${${"GLOBALS"}["jlnfncb"]}=$adb->query_result(${${"GLOBALS"}["oymqlrom"]},0,"que_text");$ocdoplnha="endNodQuery";${"GLOBALS"}["ficnkheuafm"]="nextSequence";$rbhxuvdhp="messagetype";${${"GLOBALS"}["hkdffacn"]}=$adb->query_result(${${"GLOBALS"}["ynmfvsahhb"]},0,"messagetype");for(${${"GLOBALS"}["msahwahb"]}=0;${${"GLOBALS"}["msahwahb"]}<${${"GLOBALS"}["libstgnkcs"]};${${"GLOBALS"}["msahwahb"]}++){$cclmbmqkmrj="opt_seq";${"GLOBALS"}["xmxcvrbfpi"]="opt_text";$uvnxmgt="opt_text";${"GLOBALS"}["ldxfgjmtkqhj"]="getNextQuestionsQuery";${$uvnxmgt}=$adb->query_result(${${"GLOBALS"}["oymqlrom"]},${${"GLOBALS"}["msahwahb"]},"opt_text");${$cclmbmqkmrj}=$adb->query_result(${${"GLOBALS"}["ldxfgjmtkqhj"]},${${"GLOBALS"}["msahwahb"]},"opt_seq");${${"GLOBALS"}["rrxzbdwfohj"]}[${${"GLOBALS"}["wtctojwndby"]}]=${${"GLOBALS"}["xmxcvrbfpi"]};${${"GLOBALS"}["hosmghwyuh"]}.=${${"GLOBALS"}["wtctojwndby"]}." ".${${"GLOBALS"}["skhwhok"]}."
";}${${"GLOBALS"}["dvdapuoqfl"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE que_sequence = ? AND botid = ?",array(${${"GLOBALS"}["ficnkheuafm"]},${${"GLOBALS"}["mgtcbqi"]}));${${"GLOBALS"}["uqgzxnt"]}=$adb->query_result(${$ocdoplnha},0,"que_text");$ltxrnxkchqy="messagetype";if(${${"GLOBALS"}["uqgzxnt"]}=="End"){$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["tdjaunjj"]}));}if(${${"GLOBALS"}["hkdffacn"]}=="Regular message"){${"GLOBALS"}["joksowgydwo"]="mobileno";$imqfrbtog="whatsappScanNo";${"GLOBALS"}["gmwcjjou"]="nextQuestionBody";sendMessage(${${"GLOBALS"}["joksowgydwo"]},${${"GLOBALS"}["gmwcjjou"]},${$imqfrbtog});}else if(${${"GLOBALS"}["srhqrki"]}=="WhatsApp Button message"){$vnkoqjzyonks="whatsappScanNo";${"GLOBALS"}["ubescho"]="nextQuestionBody";sendButtonMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["jlnfncb"]},${${"GLOBALS"}["rrxzbdwfohj"]},${${"GLOBALS"}["ubescho"]},${$vnkoqjzyonks});}else if(${$ltxrnxkchqy}=="WhatsApp List message"){$kdnzhv="mobileno";$ehxdteard="whatsappScanNo";$fxmracqy="buttonArray";sendButtonListMessage(${$kdnzhv},${${"GLOBALS"}["jlnfncb"]},${$fxmracqy},${${"GLOBALS"}["hosmghwyuh"]},${$ehxdteard});}else if(${$rbhxuvdhp}=="chatwithoperator"){${"GLOBALS"}["ledsci"]="mobileno";convertRegularMode(${${"GLOBALS"}["ledsci"]});}}else{${"GLOBALS"}["wywuin"]="getNextQuestionQuery";${"GLOBALS"}["iwnikebxmq"]="nextQuestionBody";${"GLOBALS"}["pswoyaxrof"]="nextSequence";$wnhsaenv="nextQuestionBody";$vpntyzn="prebotid";${"GLOBALS"}["lxnuoj"]="nextSequence";$ygkrqfzvf="endNodQuery";${"GLOBALS"}["dvvfmdizkxp"]="nextSequence";${${"GLOBALS"}["wywuin"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master 
                                                WHERE que_sequence = ? AND botid = ?",array(${${"GLOBALS"}["lxnuoj"]},${${"GLOBALS"}["rvdifykq"]}));$rvxtoqifl="nextEndQuestionBody1";${${"GLOBALS"}["iwnikebxmq"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},0,"que_text");${${"GLOBALS"}["pswoyaxrof"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},0,"next_sequence");${${"GLOBALS"}["dvdapuoqfl"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE que_sequence = ? AND botid = ?",array(${${"GLOBALS"}["dvvfmdizkxp"]},${$vpntyzn}));${$rvxtoqifl}=$adb->query_result(${$ygkrqfzvf},0,"que_text");if(${${"GLOBALS"}["uqgzxnt"]}=="End"){$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["tdjaunjj"]}));}if(${$wnhsaenv}!="End"){${"GLOBALS"}["jjndwwwndl"]="mobileno";$hmedjrmszb="whatsappScanNo";$irsgrtrulgm="nextQuestionBody";sendMessage(${${"GLOBALS"}["jjndwwwndl"]},${$irsgrtrulgm},${$hmedjrmszb});}}}}}}else if(${$gcpsdxige}=="Search"){$mwmtvoqwl="requestRows";${${"GLOBALS"}["odsthkssmf"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_crmaction_fieldmapping WHERE crmaction_id = ? AND maptype = 'request'",array(${${"GLOBALS"}["jsjydouu"]}));${"GLOBALS"}["rghstuyovri"]="requestRows";${$mwmtvoqwl}=$adb->num_rows(${${"GLOBALS"}["odsthkssmf"]});if(${${"GLOBALS"}["rghstuyovri"]}){${"GLOBALS"}["jruorxixxvt"]="tablename";${"GLOBALS"}["urssyhwqaem"]="tabid";$wcwcpwsfn="moduleInstance";$yilbbbcebf="vtigerfield";$ribibhqfa="que_text";$trptpdlppb="getMappingFieldQuery";$llykdkc="questionData";${"GLOBALS"}["fefcefqywme"]="tablename";${"GLOBALS"}["jjnwldypecib"]="getSearchTableQuery";${"GLOBALS"}["wsdmritfsb"]="getSearchQuery";${$yilbbbcebf}=$adb->query_result(${$trptpdlppb},0,"vtigerfield");${${"GLOBALS"}["bcdkxbcqsba"]}=$adb->pquery("SELECT * FROM vtiger_field WHERE tabid = ? AND fieldname = ?",array(${${"GLOBALS"}["urssyhwqaem"]},${${"GLOBALS"}["kzqxujclg"]}));${"GLOBALS"}["hnfvjufzcnx"]="tablename";${${"GLOBALS"}["fefcefqywme"]}=$adb->query_result(${${"GLOBALS"}["jjnwldypecib"]},0,"tablename");${"GLOBALS"}["fueqtlmcn"]="questionData";$jorycqpmnigm="insertModuleName";${"GLOBALS"}["hvqiswtpveb"]="nextSequence";$gkrgmkhu="next_sequence";${${"GLOBALS"}["flltrcqiprfq"]}=CRMEntity::getInstance(${${"GLOBALS"}["fbibal"]});$syouxis="vtigerfield";${$wcwcpwsfn}=Vtiger_Module::getInstance(${$jorycqpmnigm});${${"GLOBALS"}["mmmcnluerj"]}=$moduleInstance->basetable;${"GLOBALS"}["hwyjptfegm"]="responseimg";$frakysrf="currentBotTime";${${"GLOBALS"}["ntljebi"]}=$moduleInstance->basetableid;${${"GLOBALS"}["kctsqjfpuyda"]}=$adb->pquery("SELECT ".${${"GLOBALS"}["pnurtelnmv"]}.".* FROM ".${${"GLOBALS"}["jruorxixxvt"]}." 
                                        INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = ".${${"GLOBALS"}["hnfvjufzcnx"]}.".".${${"GLOBALS"}["ntljebi"]}." WHERE ".${$syouxis}." = ?",array(${${"GLOBALS"}["ppexrgjrck"]}));${${"GLOBALS"}["izvbyeh"]}=$adb->num_rows(${${"GLOBALS"}["wsdmritfsb"]});$hpqicdwzhu="copy_from";if(${${"GLOBALS"}["izvbyeh"]}){${"GLOBALS"}["vbevsvtvp"]="fieldValue";${"GLOBALS"}["fbclmbvmg"]="mobileno";$llsqkxesvq="getResponceFieldQuery";$euuwzox="fieldValue";${${"GLOBALS"}["bhwbyfc"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_crmaction_fieldmapping WHERE crmaction_id = ? AND maptype = 'response'",array(${${"GLOBALS"}["jsjydouu"]}));${"GLOBALS"}["vmhgexjthmw"]="vtigerResponceField";${"GLOBALS"}["nucnebfl"]="fieldColumnName";${${"GLOBALS"}["ghblxgez"]}=$adb->query_result(${$llsqkxesvq},0,"vtigerfield");${"GLOBALS"}["iqajue"]="query";$uccovoox="vtigerResponceField";${${"GLOBALS"}["iqajue"]}=$adb->pquery("SELECT * FROM vtiger_field WHERE tabid = ? AND fieldname = ?",array(${${"GLOBALS"}["dgyidblj"]},${${"GLOBALS"}["vmhgexjthmw"]}));${${"GLOBALS"}["nucnebfl"]}=$adb->query_result(${${"GLOBALS"}["pssarwsrdo"]},0,"columnname");${${"GLOBALS"}["vbevsvtvp"]}=$adb->query_result(${${"GLOBALS"}["kctsqjfpuyda"]},0,${${"GLOBALS"}["kwdppqjhiu"]});$luxcim="prebotid";insertResponceValue(${${"GLOBALS"}["fbclmbvmg"]},${$euuwzox},${$uccovoox},${$luxcim});}${${"GLOBALS"}["nrthqfnqbnx"]}=getSearchTypeQuestionQuery(${${"GLOBALS"}["hvqiswtpveb"]},${${"GLOBALS"}["rvdifykq"]});${$ribibhqfa}=${$llykdkc}["que_text"];$tpymmlnds="prebotid";${$hpqicdwzhu}=${${"GLOBALS"}["nrthqfnqbnx"]}["copy_from"];${${"GLOBALS"}["xblzlk"]}=${${"GLOBALS"}["nrthqfnqbnx"]}["next_sequence"];${${"GLOBALS"}["hwyjptfegm"]}=${${"GLOBALS"}["fueqtlmcn"]}["responseimg"];$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["tdjaunjj"]}));$adb->pquery("INSERT INTO whatsappbot_pre_que (preque, prebotid, prequemobilenumber, manualtransfer, idealdatetime) VALUES (?,?,?,?,?)",array(${$gkrgmkhu},${$tpymmlnds},${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["ihtdjtwodfm"]},${$frakysrf}));if(${${"GLOBALS"}["ydhpykxelez"]}){${"GLOBALS"}["jhuvooskvpc"]="vtigerResponceField";${"GLOBALS"}["uxqekgrk"]="fieldValueQuery";${"GLOBALS"}["iuiofncl"]="nextQuestionBody";${"GLOBALS"}["kcqlxibsijgz"]="responseimg";$xirmqmm="copy_from";$fsapccdwr="variablevalue";$iyhmsljw="prebotid";${${"GLOBALS"}["bpvnzbwbbrli"]}=$adb->pquery("SELECT * FROM vtiger_whatsappbot_responcevalue WHERE variablename = ? AND mobilewhatsappnumber = ? AND bot_id = ?",array(${${"GLOBALS"}["jhuvooskvpc"]},${${"GLOBALS"}["tdjaunjj"]},${$iyhmsljw}));${${"GLOBALS"}["nryvminnydz"]}=$adb->query_result(${${"GLOBALS"}["uxqekgrk"]},0,"variablevalue");${${"GLOBALS"}["iuiofncl"]}=str_replace("@@".${$xirmqmm},${$fsapccdwr},${${"GLOBALS"}["xxailqbd"]});if(${${"GLOBALS"}["kcqlxibsijgz"]}){$udscblgxwgwt="whatsappScanNo";sendMessageWithImage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["xdvqwly"]},${$udscblgxwgwt});}else{$eqtcazouqynu="mobileno";$fwfblhowiwi="nextQuestionBody";$vmyhbmnh="whatsappScanNo";sendMessage(${$eqtcazouqynu},${$fwfblhowiwi},${$vmyhbmnh});}}}}}else{${"GLOBALS"}["bktchfhdctmw"]="nextSequence1";${"GLOBALS"}["iijnbunmghe"]="optionRow";${"GLOBALS"}["lrcqbrkok"]="nextQuestionBody";${"GLOBALS"}["ozfmdpj"]="mobileno";${${"GLOBALS"}["uctyqcyugewo"]}=${${"GLOBALS"}["ylvbbu"]}["que_id"];${"GLOBALS"}["hrlfxyh"]="getNextQuestionsQuery";if(${${"GLOBALS"}["uctyqcyugewo"]}){${"GLOBALS"}["krorxkdmbf"]="messagetype";$ccysogovbre="messageTypequery";$deoxbksbqgkg="messagetype";${$ccysogovbre}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE que_id = ?",array(${${"GLOBALS"}["uctyqcyugewo"]}));${$deoxbksbqgkg}=$adb->query_result(${${"GLOBALS"}["wwvksprrlruh"]},0,"messagetype");if(${${"GLOBALS"}["krorxkdmbf"]}=="Regular message"){$skjvsxdxqbb="body";${${"GLOBALS"}["gdumchjuneh"]}=" AND opt_seq = ".${$skjvsxdxqbb};}else{${"GLOBALS"}["natictbjd"]="sinumericQuery";${${"GLOBALS"}["natictbjd"]}="";}}$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["ozfmdpj"]}));$adb->pquery("INSERT INTO whatsappbot_pre_que (preque, prebotid, prequemobilenumber, manualtransfer, idealdatetime) VALUES (?,?,?,?,?)",array(${${"GLOBALS"}["bktchfhdctmw"]},${${"GLOBALS"}["rvdifykq"]},${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["ihtdjtwodfm"]},${${"GLOBALS"}["fmnmhb"]}));${${"GLOBALS"}["oymqlrom"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master 
                                INNER JOIN ctwhatsappbot_que_opt_assign ON ctwhatsappbot_que_opt_assign.que_id = ctwhatsappbot_que_master.que_id 
                                INNER JOIN ctwhatsappbot_opt_master ON ctwhatsappbot_opt_master.opt_id = ctwhatsappbot_que_opt_assign.opt_id 
                                WHERE ctwhatsappbot_que_master.que_sequence = $nextSequence1 AND ctwhatsappbot_que_master.botid = $prebotid");${"GLOBALS"}["zcwdlxzgxgy"]="optionRow";${${"GLOBALS"}["lrcqbrkok"]}=$adb->query_result(${${"GLOBALS"}["hrlfxyh"]},0,"que_text")."
";${${"GLOBALS"}["iijnbunmghe"]}=$adb->num_rows(${${"GLOBALS"}["oymqlrom"]});if(${${"GLOBALS"}["zcwdlxzgxgy"]}){${"GLOBALS"}["koayxysbx"]="nextQuestionButtonBody";${"GLOBALS"}["qvylkvqmfe"]="nextSequence";${"GLOBALS"}["mecrucwjebu"]="messagetype";$mugydiihp="messagetype";$vetwofbip="getNextQuestionsQuery";${"GLOBALS"}["dwojteupdt"]="i";${${"GLOBALS"}["qvylkvqmfe"]}=$adb->query_result(${${"GLOBALS"}["oymqlrom"]},0,"next_sequence");${${"GLOBALS"}["koayxysbx"]}=$adb->query_result(${${"GLOBALS"}["oymqlrom"]},0,"que_text");$grmvyoqtu="i";${$mugydiihp}=$adb->query_result(${$vetwofbip},0,"messagetype");for(${$grmvyoqtu}=0;${${"GLOBALS"}["dwojteupdt"]}<${${"GLOBALS"}["libstgnkcs"]};${${"GLOBALS"}["msahwahb"]}++){$boouwxrdsl="getNextQuestionsQuery";$pspjmaskyrk="opt_seq";${${"GLOBALS"}["skhwhok"]}=$adb->query_result(${$boouwxrdsl},${${"GLOBALS"}["msahwahb"]},"opt_text");${"GLOBALS"}["bwcpfeas"]="opt_seq";${$pspjmaskyrk}=$adb->query_result(${${"GLOBALS"}["oymqlrom"]},${${"GLOBALS"}["msahwahb"]},"opt_seq");$mkcryhxjgp="nextQuestionBody";${${"GLOBALS"}["rrxzbdwfohj"]}[${${"GLOBALS"}["wtctojwndby"]}]=${${"GLOBALS"}["skhwhok"]};${$mkcryhxjgp}.=${${"GLOBALS"}["bwcpfeas"]}." ".${${"GLOBALS"}["skhwhok"]}."
";}if(${${"GLOBALS"}["hkdffacn"]}=="Regular message"){$cfgdqdehmn="whatsappScanNo";sendMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${$cfgdqdehmn});}else if(${${"GLOBALS"}["mecrucwjebu"]}=="WhatsApp Button message"){$lutcitmmftv="buttonArray";$wjmhbqv="nextQuestionButtonBody";sendButtonMessage(${${"GLOBALS"}["tdjaunjj"]},${$wjmhbqv},${$lutcitmmftv},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["siupxg"]});}else if(${${"GLOBALS"}["hkdffacn"]}=="WhatsApp List message"){$clhjev="buttonArray";${"GLOBALS"}["rfobkv"]="nextQuestionBody";${"GLOBALS"}["fjqphbekh"]="mobileno";$mhogziqf="whatsappScanNo";sendButtonListMessage(${${"GLOBALS"}["fjqphbekh"]},${${"GLOBALS"}["jlnfncb"]},${$clhjev},${${"GLOBALS"}["rfobkv"]},${$mhogziqf});}else if(${${"GLOBALS"}["hkdffacn"]}=="chatwithoperator"){convertRegularMode(${${"GLOBALS"}["tdjaunjj"]});}}else{$snloijbvvp="nextSequence1";${"GLOBALS"}["kzgdcbonlw"]="nxtQuestionRows";$khejqgbedrk="getNextQuestionQuery1";${$khejqgbedrk}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master 
                            WHERE que_sequence = ? AND botid = ?".${${"GLOBALS"}["gdumchjuneh"]},array(${$snloijbvvp},${${"GLOBALS"}["rvdifykq"]}));${${"GLOBALS"}["kzgdcbonlw"]}=$adb->num_rows(${${"GLOBALS"}["bnxcqiykbtf"]});if(${${"GLOBALS"}["bkdxybci"]}){$vrxbfyukcv="manualtransfers";${${"GLOBALS"}["hosmghwyuh"]}=$adb->query_result(${${"GLOBALS"}["bnxcqiykbtf"]},0,"que_text");$ivwxckjs="mobileno";${"GLOBALS"}["nferiqdz"]="next_que_id";${${"GLOBALS"}["xdvqwly"]}=$adb->query_result(${${"GLOBALS"}["bnxcqiykbtf"]},0,"responseimg");${${"GLOBALS"}["nferiqdz"]}=$adb->query_result(${${"GLOBALS"}["bnxcqiykbtf"]},0,"next_sequence");$nspottpi="currentBotTime";$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${$ivwxckjs}));$adb->pquery("INSERT INTO whatsappbot_pre_que (preque, prebotid, prequemobilenumber, manualtransfer, idealdatetime) VALUES (?,?,?,?,?)",array(${${"GLOBALS"}["yafyikczmjuj"]},${${"GLOBALS"}["rvdifykq"]},${${"GLOBALS"}["tdjaunjj"]},${$vrxbfyukcv},${$nspottpi}));if(${${"GLOBALS"}["xdvqwly"]}){${"GLOBALS"}["mcfdlvi"]="responseimg";sendMessageWithImage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["mcfdlvi"]},${${"GLOBALS"}["siupxg"]});}else{$pprgvbul="mobileno";sendMessage(${$pprgvbul},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["siupxg"]});}}else{$uwaqfun="mobileno";${"GLOBALS"}["yrvfawe"]="nextQuestionBody";${${"GLOBALS"}["yrvfawe"]}=vtranslate("Please enter valid input","CTWhatsApp");sendMessage(${$uwaqfun},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["siupxg"]});exit;}}}}}}}}function defaultMessage($body,$mobileno,$manualtransfer,$whatsappScanNo){${"GLOBALS"}["pthlrh"]="manualtransfer";global$adb;${"GLOBALS"}["evjiloappgt"]="preQuestionDetails";${"GLOBALS"}["qteckwjjbtu"]="mobileno";${"GLOBALS"}["dvojwuszo"]="firstbotid";${"GLOBALS"}["tocpweksm"]="preQuestionDetails";$dubgmpsweg="firstQueId";$nyogqjiuoiy="firstQueQuery";${${"GLOBALS"}["fmnmhb"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["tocpweksm"]}=getPreQuestionDetails(${${"GLOBALS"}["qteckwjjbtu"]});${"GLOBALS"}["bvkwcknzg"]="activeBotQuery";${${"GLOBALS"}["pthlrh"]}=${${"GLOBALS"}["evjiloappgt"]}["manualtransfer"];${${"GLOBALS"}["piuulnxwegmm"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${"GLOBALS"}["rjschzjpi"]="mobileno";$swllfnipe="manualtransfer";$ulejjd="rows";${${"GLOBALS"}["ubopawl"]}=$adb->query_result(${${"GLOBALS"}["piuulnxwegmm"]},0,"customfield4");$hvfcuzntxxj="rows";if(${${"GLOBALS"}["ubopawl"]}=="multipleWhatsapp"){${"GLOBALS"}["ddkkkns"]="whatsappScanNo";${${"GLOBALS"}["mefjvsrkqj"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessusers WHERE whatsappno = ?",array(${${"GLOBALS"}["ddkkkns"]}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");}else{$crmvfrkhh="getUserIdQuery";${"GLOBALS"}["auvdfmyy"]="userid";${$crmvfrkhh}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration WHERE whatsappno = ?",array(${${"GLOBALS"}["siupxg"]}));${"GLOBALS"}["oekllmlyuht"]="getUserIdQuery";${${"GLOBALS"}["auvdfmyy"]}=$adb->query_result(${${"GLOBALS"}["oekllmlyuht"]},0,"customfield5");}${${"GLOBALS"}["ievksph"]}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE deleted = 1 AND assignuserid = ?",array(${${"GLOBALS"}["zlmgfmsein"]}));$mhpmckftap="firstbotid";${${"GLOBALS"}["dvojwuszo"]}=$adb->query_result(${${"GLOBALS"}["bvkwcknzg"]},0,"botid");${"GLOBALS"}["tolivxfwj"]="currentBotTime";${$nyogqjiuoiy}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master WHERE botid = ? ORDER BY ctwhatsappbot_que_master.que_id ASC LIMIT 0,1",array(${$mhpmckftap}));${$dubgmpsweg}=$adb->query_result(${${"GLOBALS"}["zuvdqlqnrmb"]},0,"next_sequence");${${"GLOBALS"}["cbjolh"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master 
            INNER JOIN ctwhatsappbot_que_opt_assign ON ctwhatsappbot_que_opt_assign.que_id = ctwhatsappbot_que_master.que_id 
            INNER JOIN ctwhatsappbot_opt_master ON ctwhatsappbot_opt_master.opt_id = ctwhatsappbot_que_opt_assign.opt_id 
            WHERE ctwhatsappbot_que_master.que_sequence = $firstQueId AND ctwhatsappbot_que_master.botid = $firstbotid");${$hvfcuzntxxj}=$adb->num_rows(${${"GLOBALS"}["cbjolh"]});$adb->pquery("DELETE FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["rjschzjpi"]}));$adb->pquery("INSERT INTO whatsappbot_pre_que (preque, prebotid, prequemobilenumber, manualtransfer, idealdatetime) VALUES (?,?,?,?,?)",array(${${"GLOBALS"}["jsoccrhx"]},${${"GLOBALS"}["ojdpruc"]},${${"GLOBALS"}["tdjaunjj"]},${$swllfnipe},${${"GLOBALS"}["tolivxfwj"]}));if(${$ulejjd}){$oxyedcqofdra="getNextQuestionQuery";${"GLOBALS"}["afmyktkem"]="nextQuestionButtonBody";$rdrxwxvenq="que_sequence";${"GLOBALS"}["oltzpwc"]="messagetype";$gntmtfeikly="getNextQuestionQuery";${"GLOBALS"}["vykrpiequr"]="getNextQuestionQuery";${${"GLOBALS"}["hosmghwyuh"]}=$adb->query_result(${${"GLOBALS"}["vykrpiequr"]},0,"que_text")."
";${${"GLOBALS"}["afmyktkem"]}=$adb->query_result(${$gntmtfeikly},0,"que_text");$ndnlnemc="messagetype";$nivnsnxo="messagetype";${"GLOBALS"}["qmpmlrcqhcnf"]="i";${"GLOBALS"}["qbjenhxgw"]="rows";${"GLOBALS"}["aqlxeumyw"]="messagetype";${$rdrxwxvenq}=$adb->query_result(${$oxyedcqofdra},0,"que_sequence");${${"GLOBALS"}["hkdffacn"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},0,"messagetype");${${"GLOBALS"}["rrxzbdwfohj"]}=array();for(${${"GLOBALS"}["msahwahb"]}=0;${${"GLOBALS"}["qmpmlrcqhcnf"]}<${${"GLOBALS"}["qbjenhxgw"]};${${"GLOBALS"}["msahwahb"]}++){${"GLOBALS"}["pkllbjtbea"]="opt_text";${"GLOBALS"}["pbldgsenyvum"]="opt_text";${"GLOBALS"}["mqttwudiqd"]="i";${"GLOBALS"}["mbbimwrfync"]="opt_text";$jemoryz="i";$joptnyt="opt_seq";${${"GLOBALS"}["pkllbjtbea"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},${${"GLOBALS"}["mqttwudiqd"]},"opt_text");${${"GLOBALS"}["wtctojwndby"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},${$jemoryz},"opt_seq");${"GLOBALS"}["ebujbhqfjvl"]="buttonArray";${${"GLOBALS"}["ebujbhqfjvl"]}[${$joptnyt}]=${${"GLOBALS"}["pbldgsenyvum"]};${${"GLOBALS"}["hosmghwyuh"]}.=${${"GLOBALS"}["wtctojwndby"]}." ".${${"GLOBALS"}["mbbimwrfync"]}."
";}if(${$nivnsnxo}=="Regular message"){$mjrokprmrvv="nextQuestionBody";${"GLOBALS"}["xqpjzvrycth"]="whatsappScanNo";sendMessage(${${"GLOBALS"}["tdjaunjj"]},${$mjrokprmrvv},${${"GLOBALS"}["xqpjzvrycth"]});}else if(${$ndnlnemc}=="WhatsApp Button message"){$gqdshvafnie="mobileno";${"GLOBALS"}["ukmjtt"]="whatsappScanNo";$tkbsgjbsn="nextQuestionButtonBody";sendButtonMessage(${$gqdshvafnie},${$tkbsgjbsn},${${"GLOBALS"}["rrxzbdwfohj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["ukmjtt"]});}else if(${${"GLOBALS"}["aqlxeumyw"]}=="WhatsApp List message"){${"GLOBALS"}["xpybdqj"]="buttonArray";${"GLOBALS"}["bgymknq"]="nextQuestionButtonBody";sendButtonListMessage(${${"GLOBALS"}["tdjaunjj"]},${${"GLOBALS"}["bgymknq"]},${${"GLOBALS"}["xpybdqj"]},${${"GLOBALS"}["hosmghwyuh"]},${${"GLOBALS"}["siupxg"]});}else if(${${"GLOBALS"}["oltzpwc"]}=="chatwithoperator"){$ijdrkewfbheq="mobileno";convertRegularMode(${$ijdrkewfbheq});}else{$pvkrkotu="nextQuestionBody";${"GLOBALS"}["ieyngujqslww"]="whatsappScanNo";${"GLOBALS"}["vxjifr"]="mobileno";sendMessage(${${"GLOBALS"}["vxjifr"]},${$pvkrkotu},${${"GLOBALS"}["ieyngujqslww"]});}}else{${"GLOBALS"}["jbvgysybnb"]="getNextQuestionQuery";$bthhduykdh="mobileno";${"GLOBALS"}["xuvbuvhtic"]="nextQuestionBody";${${"GLOBALS"}["jbvgysybnb"]}=$adb->pquery("SELECT * FROM ctwhatsappbot_que_master 
            WHERE ctwhatsappbot_que_master.que_sequence = $firstQueId AND ctwhatsappbot_que_master.botid = $firstbotid");${${"GLOBALS"}["xuvbuvhtic"]}=$adb->query_result(${${"GLOBALS"}["cbjolh"]},0,"que_text");sendMessage(${$bthhduykdh},${${"GLOBALS"}["hosmghwyuh"]});}}function sendButtonListMessage($mobileno,$nextQuestionButtonBody,$buttonArray,$nextQuestionBody,$whatsappScanNo){$uguhdhjfxke="currenUserID";${"GLOBALS"}["uwurwmgpjiqr"]="mobileno";${"GLOBALS"}["qjgzumbarzi"]="preQuestionDetails";global$current_user,$adb;$xvtuyrtojr="configData";${$uguhdhjfxke}=$current_user->id;${${"GLOBALS"}["qjgzumbarzi"]}=getPreQuestionDetails(${${"GLOBALS"}["uwurwmgpjiqr"]});${"GLOBALS"}["wkxcmalbexn"]="nextQuestionBody";${"GLOBALS"}["xdrsrlds"]="userid";${${"GLOBALS"}["rikcvmjz"]}=${${"GLOBALS"}["rjjdwwon"]}["prebotid"];${${"GLOBALS"}["piuulnxwegmm"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${${"GLOBALS"}["ubopawl"]}=$adb->query_result(${${"GLOBALS"}["piuulnxwegmm"]},0,"customfield4");${"GLOBALS"}["ududleegp"]="confugurationQuery";$rgnbgdqzmdut="whatsappNumber";if(${${"GLOBALS"}["ubopawl"]}=="multipleWhatsapp"){$rwvuqeklc="whatsappScanNo";${${"GLOBALS"}["mefjvsrkqj"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessusers WHERE whatsappno = ?",array(${$rwvuqeklc}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");}else{$gdpwldx="getUserIdQuery";$atodbrwgxj="whatsappScanNo";${$gdpwldx}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration WHERE whatsappno = ?",array(${$atodbrwgxj}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");}${${"GLOBALS"}["xynogsvy"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${${"GLOBALS"}["rhlsxmwnef"]}=$adb->num_rows(${${"GLOBALS"}["ududleegp"]});if(${${"GLOBALS"}["rhlsxmwnef"]}){${${"GLOBALS"}["urzhlhycdmk"]}=$adb->query_result(${${"GLOBALS"}["xynogsvy"]},0,"api_url");}${${"GLOBALS"}["ievksph"]}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE deleted = 1 AND assignuserid = ?",array(${${"GLOBALS"}["xdrsrlds"]}));${${"GLOBALS"}["lqdgvew"]}=$adb->query_result(${${"GLOBALS"}["ievksph"]},0,"scanwhatsapp_number");${${"GLOBALS"}["lwpdpv"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${$rgnbgdqzmdut});${${"GLOBALS"}["yjkvtqina"]}=${${"GLOBALS"}["lwpdpv"]}["api_url"];${${"GLOBALS"}["peoytbcloqc"]}=${$xvtuyrtojr}["auth_token"];if(${${"GLOBALS"}["wkxcmalbexn"]}!=""){${"GLOBALS"}["kgojhpltrgm"]="url";${"GLOBALS"}["whxsyhhmurrg"]="key";${"GLOBALS"}["vuorulv"]="url";${"GLOBALS"}["fwdxqqdsb"]="sendButtonListValue";$ebwanvdrqw="apiUrl";${"GLOBALS"}["hkcijqrp"]="postfields";${${"GLOBALS"}["vuorulv"]}=${$ebwanvdrqw}."/sendbutton";${"GLOBALS"}["qstelzhi"]="auth_token";${${"GLOBALS"}["hibisde"]}["title"]="";foreach(${${"GLOBALS"}["rrxzbdwfohj"]} as${${"GLOBALS"}["whxsyhhmurrg"]}=>${${"GLOBALS"}["prboysgbjwz"]}){$lbtevdncv="sendButtonListValue";$pkvziinte="key";${"GLOBALS"}["hjicyspelrjk"]="value";${$lbtevdncv}["rows"][]=array("title"=>${${"GLOBALS"}["hjicyspelrjk"]},"rowId"=>${$pkvziinte});}${${"GLOBALS"}["oklxrhyct"]}=array("number"=>${${"GLOBALS"}["tdjaunjj"]},"message"=>array("text"=>html_entity_decode(htmlspecialchars_decode(${${"GLOBALS"}["jlnfncb"]},ENT_QUOTES)),"footer"=>"","title"=>"","buttonText"=>"Required, text on the button to view the list","sections"=>array(${${"GLOBALS"}["fwdxqqdsb"]})));${${"GLOBALS"}["jmsburx"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"GLOBALS"}["kgojhpltrgm"]},${${"GLOBALS"}["hkcijqrp"]},${${"GLOBALS"}["qstelzhi"]});${${"GLOBALS"}["mavrco"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"GLOBALS"}["tdjaunjj"]});if(${${"GLOBALS"}["jmsburx"]}){${${"GLOBALS"}["xqwqncvgoqc"]}=$current_user->first_name." ".$current_user->last_name;${"GLOBALS"}["onijjcklo"]="relatedToData";${${"GLOBALS"}["irmjynuwlzbp"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"GLOBALS"}["tdjaunjj"]},-9));${"GLOBALS"}["rdtmynroaymj"]="recordModelResponder";$mttwbnkd="relatedTo";$djdkgsqy="getnumberImportant";${$mttwbnkd}=${${"GLOBALS"}["onijjcklo"]}["relatedTo"];$xclprnmeh="mobileno";$lrcuunkp="val";$cpkgsdjseu="currentusername";${${"GLOBALS"}["poxctlybt"]}=${${"GLOBALS"}["irmjynuwlzbp"]}["displayname"];${${"GLOBALS"}["mcuwzksvctk"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["rdtmynroaymj"]}=Vtiger_Record_Model::getCleanInstance("CTWhatsAppBusiness");$recordModelResponder->set("whatsapp_sendername",${$cpkgsdjseu});$recordModelResponder->set("msgid",${$lrcuunkp}["key"]["id"]);$recordModelResponder->set("whatsapp_withccode",${$xclprnmeh});$recordModelResponder->set("message_type","Send");$recordModelResponder->set("message_body",${${"GLOBALS"}["hosmghwyuh"]});if(${${"GLOBALS"}["poxctlybt"]}){$atiwqoipzf="displayname";$recordModelResponder->set("whatsapp_displayname",${$atiwqoipzf});}$recordModelResponder->set("whatsapp_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});$recordModelResponder->set("whatsapp_unreadread","Unread");$nkeuldajrri="date_var";$recordModelResponder->set("whatsapp_fromno",${${"GLOBALS"}["lqdgvew"]});$recordModelResponder->set("your_number",${${"GLOBALS"}["lqdgvew"]});$recordModelResponder->set("whatsapp_important",${$djdkgsqy});$recordModelResponder->set("whatsapp_botid",${${"GLOBALS"}["rikcvmjz"]});$recordModelResponder->set("whatsapp_datetime",$adb->formatDate(${$nkeuldajrri},true));$recordModelResponder->save();}}}function sendButtonMessage($mobileno,$nextQuestionButtonBody,$buttonArray,$nextQuestionBody,$whatsappScanNo){$dqrdghtm="num_rows";global$current_user,$adb;${"GLOBALS"}["mguttfxdebo"]="preQuestionDetails";${"GLOBALS"}["redsjdc"]="whatsappNumber";$edjgetrjt="configData";${"GLOBALS"}["nbqetxcu"]="confugurationQuery";${${"GLOBALS"}["gltxxorp"]}=$current_user->id;${${"GLOBALS"}["rjjdwwon"]}=getPreQuestionDetails(${${"GLOBALS"}["tdjaunjj"]});${"GLOBALS"}["iicdemvujux"]="getUserGrous";${"GLOBALS"}["qucprtgmij"]="num_rows";${${"GLOBALS"}["rikcvmjz"]}=${${"GLOBALS"}["mguttfxdebo"]}["prebotid"];${${"GLOBALS"}["iicdemvujux"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${${"GLOBALS"}["ubopawl"]}=$adb->query_result(${${"GLOBALS"}["piuulnxwegmm"]},0,"customfield4");if(${${"GLOBALS"}["ubopawl"]}=="multipleWhatsapp"){$wdoxdeuct="getUserIdQuery";${"GLOBALS"}["ksokfkt"]="whatsappBusinessNo";${"GLOBALS"}["iievtmg"]="whatsappScanNo";${"GLOBALS"}["lomtflxzus"]="userid";${${"GLOBALS"}["mefjvsrkqj"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessusers WHERE whatsappno = ?",array(${${"GLOBALS"}["iievtmg"]}));${${"GLOBALS"}["lomtflxzus"]}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");${${"GLOBALS"}["ksokfkt"]}=$adb->query_result(${$wdoxdeuct},0,"whatsapp_businessnumber");}else{$iqdqdbq="getUserIdQuery";${${"GLOBALS"}["mefjvsrkqj"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration WHERE whatsappno = ?",array(${${"GLOBALS"}["siupxg"]}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${$iqdqdbq},0,"customfield5");${${"GLOBALS"}["hvafruyqmn"]}="";}${"GLOBALS"}["jxmndfovy"]="whatsappNumber";${"GLOBALS"}["gxojbnclkr"]="activeBotQuery";${"GLOBALS"}["fpiduj"]="nextQuestionBody";${${"GLOBALS"}["nbqetxcu"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${$dqrdghtm}=$adb->num_rows(${${"GLOBALS"}["xynogsvy"]});if(${${"GLOBALS"}["qucprtgmij"]}){${"GLOBALS"}["oaofir"]="api_url";${${"GLOBALS"}["oaofir"]}=$adb->query_result(${${"GLOBALS"}["xynogsvy"]},0,"api_url");}${${"GLOBALS"}["ievksph"]}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE deleted = 1 AND assignuserid = ?",array(${${"GLOBALS"}["zlmgfmsein"]}));${${"GLOBALS"}["redsjdc"]}=$adb->query_result(${${"GLOBALS"}["gxojbnclkr"]},0,"scanwhatsapp_number");${${"GLOBALS"}["lwpdpv"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${${"GLOBALS"}["jxmndfovy"]});${${"GLOBALS"}["yjkvtqina"]}=${${"GLOBALS"}["lwpdpv"]}["api_url"];${${"GLOBALS"}["peoytbcloqc"]}=${$edjgetrjt}["auth_token"];if(${${"GLOBALS"}["fpiduj"]}!=""){${"GLOBALS"}["otmdeohryb"]="url";${"GLOBALS"}["isdpnnhzxfea"]="url";${${"GLOBALS"}["ttjntln"]}=array();${"GLOBALS"}["ygjlyxdpag"]="mobileno";$ndhouqg="sendButtonValue";$wbijycg="whatsappBusinessNo";${"GLOBALS"}["nyfogrde"]="auth_token";foreach(${${"GLOBALS"}["rrxzbdwfohj"]} as${${"GLOBALS"}["lxgrtnxb"]}=>${${"GLOBALS"}["prboysgbjwz"]}){${"GLOBALS"}["boviwgmi"]="key";${${"GLOBALS"}["ttjntln"]}[]=array("type"=>"reply","reply"=>array("id"=>${${"GLOBALS"}["boviwgmi"]},"title"=>html_entity_decode(htmlspecialchars_decode(${${"GLOBALS"}["prboysgbjwz"]},ENT_QUOTES))));}${"GLOBALS"}["gcehwvmt"]="getnumberImportant";${${"GLOBALS"}["otmdeohryb"]}=${${"GLOBALS"}["yjkvtqina"]}.${$wbijycg}."/messages";${${"GLOBALS"}["oklxrhyct"]}=array("messaging_product"=>"whatsapp","recipient_type"=>"individual","to"=>${${"GLOBALS"}["ygjlyxdpag"]},"type"=>"interactive","interactive"=>array("type"=>"button","body"=>array("text"=>htmlspecialchars_decode(${${"GLOBALS"}["hosmghwyuh"]},ENT_QUOTES)),"action"=>array("buttons"=>${$ndhouqg})),);${"GLOBALS"}["mwkmkizng"]="mobileno";$zepwgutlqtv="postfields";${${"GLOBALS"}["jmsburx"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"GLOBALS"}["isdpnnhzxfea"]},${$zepwgutlqtv},${${"GLOBALS"}["nyfogrde"]});${${"GLOBALS"}["gcehwvmt"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"GLOBALS"}["mwkmkizng"]});if(${${"GLOBALS"}["jmsburx"]}){$ijtkjxwonwc="currentusername";${"GLOBALS"}["mbbttcmzcen"]="currentBotId";$foocjwovn="relatedToData";${"GLOBALS"}["oovjlkouh"]="getnumberImportant";${"GLOBALS"}["ylewywiou"]="relatedTo";${"GLOBALS"}["ymrdtit"]="recordModelResponder";$xyhorrmm="val";$rithliltm="displayname";$kbryqon="whatsappNumber";${$ijtkjxwonwc}=$current_user->first_name." ".$current_user->last_name;${${"GLOBALS"}["irmjynuwlzbp"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"GLOBALS"}["tdjaunjj"]},-9));${${"GLOBALS"}["ylewywiou"]}=${$foocjwovn}["relatedTo"];${$rithliltm}=${${"GLOBALS"}["irmjynuwlzbp"]}["displayname"];${${"GLOBALS"}["mcuwzksvctk"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["ymrdtit"]}=Vtiger_Record_Model::getCleanInstance("CTWhatsAppBusiness");$recordModelResponder->set("whatsapp_sendername",${${"GLOBALS"}["xqwqncvgoqc"]});$recordModelResponder->set("msgid",${$xyhorrmm}["key"]["id"]);$recordModelResponder->set("whatsapp_withccode",${${"GLOBALS"}["tdjaunjj"]});$recordModelResponder->set("message_type","Send");$recordModelResponder->set("message_body",${${"GLOBALS"}["hosmghwyuh"]});if(${${"GLOBALS"}["poxctlybt"]}){${"GLOBALS"}["ntwbiuc"]="displayname";$recordModelResponder->set("whatsapp_displayname",${${"GLOBALS"}["ntwbiuc"]});}$recordModelResponder->set("whatsapp_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});$recordModelResponder->set("whatsapp_unreadread","Unread");$recordModelResponder->set("whatsapp_fromno",${$kbryqon});$recordModelResponder->set("your_number",${${"GLOBALS"}["lqdgvew"]});$recordModelResponder->set("whatsapp_important",${${"GLOBALS"}["oovjlkouh"]});$recordModelResponder->set("whatsapp_botid",${${"GLOBALS"}["mbbttcmzcen"]});$recordModelResponder->set("whatsapp_datetime",$adb->formatDate(${${"GLOBALS"}["mcuwzksvctk"]},true));$recordModelResponder->save();}}}function sendMessage($mobileno,$nextQuestionBody,$whatsappScanNo){global$current_user,$adb;${${"GLOBALS"}["gltxxorp"]}=$current_user->id;${"GLOBALS"}["zuwujeni"]="confugurationQuery";$rmwhgqyauxm="whatsappNumber";$pmrxtjso="num_rows";${${"GLOBALS"}["rjjdwwon"]}=getPreQuestionDetails(${${"GLOBALS"}["tdjaunjj"]});${${"GLOBALS"}["rikcvmjz"]}=${${"GLOBALS"}["rjjdwwon"]}["prebotid"];${${"GLOBALS"}["piuulnxwegmm"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${"GLOBALS"}["cpnutbslvwh"]="confugurationQuery";${${"GLOBALS"}["ubopawl"]}=$adb->query_result(${${"GLOBALS"}["piuulnxwegmm"]},0,"customfield4");${"GLOBALS"}["qwvfxqg"]="whatsappBusinessNo";$rvbflyvlues="num_rows";if(${${"GLOBALS"}["ubopawl"]}=="multipleWhatsapp"){$ghibywkwbsr="getUserIdQuery";${$ghibywkwbsr}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessusers WHERE whatsappno = ?",array(${${"GLOBALS"}["siupxg"]}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");}else{${"GLOBALS"}["osrliixw"]="userid";${"GLOBALS"}["fcglotps"]="getUserIdQuery";${${"GLOBALS"}["fcglotps"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration WHERE whatsappno = ?",array(${${"GLOBALS"}["siupxg"]}));${${"GLOBALS"}["osrliixw"]}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");}$ggevlig="activeBotQuery";${${"GLOBALS"}["cpnutbslvwh"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${$rvbflyvlues}=$adb->num_rows(${${"GLOBALS"}["zuwujeni"]});${"GLOBALS"}["kifepj"]="configData";${"GLOBALS"}["sgjxuewhq"]="configData";if(${$pmrxtjso}){${${"GLOBALS"}["urzhlhycdmk"]}=$adb->query_result(${${"GLOBALS"}["xynogsvy"]},0,"api_url");}${${"GLOBALS"}["ievksph"]}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE deleted = 1 AND assignuserid = ?",array(${${"GLOBALS"}["zlmgfmsein"]}));${"GLOBALS"}["ycwrlkzg"]="apiUrl";${${"GLOBALS"}["lqdgvew"]}=$adb->query_result(${$ggevlig},0,"scanwhatsapp_number");${"GLOBALS"}["qmsqllfpipg"]="nextQuestionBody";${${"GLOBALS"}["kifepj"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${$rmwhgqyauxm});${${"GLOBALS"}["ycwrlkzg"]}=${${"GLOBALS"}["lwpdpv"]}["api_url"];${${"GLOBALS"}["peoytbcloqc"]}=${${"GLOBALS"}["sgjxuewhq"]}["auth_token"];${${"GLOBALS"}["qwvfxqg"]}=${${"GLOBALS"}["lwpdpv"]}["whatsapp_businessnumber"];if(${${"GLOBALS"}["qmsqllfpipg"]}!=""){${"GLOBALS"}["vdxtkjjjfk"]="url";${"GLOBALS"}["wqvsvs"]="postfields";${"GLOBALS"}["bfvulxldox"]="whatsappBusinessNo";${"GLOBALS"}["utokuqmmd"]="nextQuestionBody";${"GLOBALS"}["mtdrkh"]="apiUrl";${${"GLOBALS"}["vdxtkjjjfk"]}=${${"GLOBALS"}["mtdrkh"]}.${${"GLOBALS"}["bfvulxldox"]}."/messages";$fqqtgtdl="val";${${"GLOBALS"}["oklxrhyct"]}=array("messaging_product"=>"whatsapp","recipient_type"=>"individual","to"=>${${"GLOBALS"}["tdjaunjj"]},"type"=>"text","text"=>array("preview_url"=>false,"body"=>htmlspecialchars_decode(${${"GLOBALS"}["utokuqmmd"]},ENT_QUOTES)),);$ilbrbn="auth_token";${$fqqtgtdl}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"GLOBALS"}["jyyxkihncmu"]},${${"GLOBALS"}["wqvsvs"]},${$ilbrbn});$jeqktiufv="getnumberImportant";${$jeqktiufv}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"GLOBALS"}["tdjaunjj"]});if(${${"GLOBALS"}["jmsburx"]}){$nnqalmnkf="currentusername";$mwxveyzfowlx="relatedToData";${"GLOBALS"}["owwkvvek"]="date_var";${"GLOBALS"}["riwitavnq"]="whatsappNumber";${$nnqalmnkf}=$current_user->first_name." ".$current_user->last_name;$jlvefgnielus="relatedToData";${$mwxveyzfowlx}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"GLOBALS"}["tdjaunjj"]},-9));${"GLOBALS"}["ajgwgb"]="recordModelResponder";${${"GLOBALS"}["xqlfzisfnwv"]}=${${"GLOBALS"}["irmjynuwlzbp"]}["relatedTo"];$feqvyzp="currentusername";$okbwcitgqs="mobileno";$eeliboup="val";${${"GLOBALS"}["poxctlybt"]}=${$jlvefgnielus}["displayname"];${${"GLOBALS"}["owwkvvek"]}=date("Y-m-d H:i:s");${"GLOBALS"}["gbxskcc"]="whatsappNumber";${${"GLOBALS"}["ajgwgb"]}=Vtiger_Record_Model::getCleanInstance("CTWhatsAppBusiness");$recordModelResponder->set("whatsapp_sendername",${$feqvyzp});$recordModelResponder->set("msgid",${$eeliboup}["messages"][0]["id"]);$recordModelResponder->set("whatsapp_withccode",${$okbwcitgqs});$recordModelResponder->set("message_type","Send");$recordModelResponder->set("message_body",${${"GLOBALS"}["hosmghwyuh"]});if(${${"GLOBALS"}["poxctlybt"]}){$recordModelResponder->set("whatsapp_displayname",${${"GLOBALS"}["poxctlybt"]});}$recordModelResponder->set("whatsapp_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});$recordModelResponder->set("whatsapp_unreadread","Unread");$dotoyw="date_var";$recordModelResponder->set("whatsapp_fromno",${${"GLOBALS"}["gbxskcc"]});$recordModelResponder->set("your_number",${${"GLOBALS"}["riwitavnq"]});$recordModelResponder->set("whatsapp_important",${${"GLOBALS"}["mavrco"]});$recordModelResponder->set("whatsapp_botid",${${"GLOBALS"}["rikcvmjz"]});$recordModelResponder->set("whatsapp_datetime",$adb->formatDate(${$dotoyw},true));$recordModelResponder->save();}}}function sendMessageWithImage($mobileno,$nextQuestionBody,$responseimg,$whatsappScanNo){$imjmcaczddln="newFilename";${"GLOBALS"}["dbslfmcwt"]="mobileno";${"GLOBALS"}["lthwjsrbi"]="filenameExplode";$zxwebfu="whatsappNumber";${"GLOBALS"}["ncckomwj"]="preQuestionDetails";$vivomxnlirf="filenameExplode";$ycnvjyt="confugurationQuery";$fjloqawuoxi="filenameExplode";$lebctxzrj="filenameExplode";${"GLOBALS"}["fttgovmdsf"]="currentBotId";$ecvmrkhp="filenameExplode";$pnwpmllbl="preQuestionDetails";${"GLOBALS"}["yvbvlsppvjes"]="newImageFileName";global$current_user,$adb,$site_URL,$root_directory;$lpzamtqifqv="newFilename";${"GLOBALS"}["nkexkfb"]="activeBotQuery";${${"GLOBALS"}["gltxxorp"]}=$current_user->id;${$pnwpmllbl}=getPreQuestionDetails(${${"GLOBALS"}["dbslfmcwt"]});${${"GLOBALS"}["fttgovmdsf"]}=${${"GLOBALS"}["ncckomwj"]}["prebotid"];${"GLOBALS"}["euqbcqrokzgn"]="configData";$nmgylrpf="newFilename";${${"GLOBALS"}["piuulnxwegmm"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${${"GLOBALS"}["ubopawl"]}=$adb->query_result(${${"GLOBALS"}["piuulnxwegmm"]},0,"customfield4");if(${${"GLOBALS"}["ubopawl"]}=="multipleWhatsapp"){${"GLOBALS"}["nspfghxzgeos"]="getUserIdQuery";$bbkugapl="getUserIdQuery";${${"GLOBALS"}["nspfghxzgeos"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessusers WHERE whatsappno = ?",array(${${"GLOBALS"}["siupxg"]}));${${"GLOBALS"}["zlmgfmsein"]}=$adb->query_result(${$bbkugapl},0,"customfield5");}else{$iibefgd="whatsappScanNo";$yixnvtbiwgoh="getUserIdQuery";$nmmuztdechy="userid";${$yixnvtbiwgoh}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration WHERE whatsappno = ?",array(${$iibefgd}));${$nmmuztdechy}=$adb->query_result(${${"GLOBALS"}["mefjvsrkqj"]},0,"customfield5");}$syoenjwwk="newFilename";${"GLOBALS"}["erpajhb"]="filenameExplode";${"GLOBALS"}["frfcnzpp"]="newFilename";$vyiusvfts="activeBotQuery";${$ycnvjyt}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappbusinessconfiguration");${${"GLOBALS"}["rhlsxmwnef"]}=$adb->num_rows(${${"GLOBALS"}["xynogsvy"]});if(${${"GLOBALS"}["rhlsxmwnef"]}){${"GLOBALS"}["ppjhowqxxvbd"]="api_url";${"GLOBALS"}["etcoorr"]="confugurationQuery";${${"GLOBALS"}["ppjhowqxxvbd"]}=$adb->query_result(${${"GLOBALS"}["etcoorr"]},0,"api_url");}${"GLOBALS"}["qecwzryd"]="responseimg";$fyfboknogi="newFilename";${${"GLOBALS"}["nkexkfb"]}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE deleted = 1 AND assignuserid = ?",array(${${"GLOBALS"}["zlmgfmsein"]}));${$zxwebfu}=$adb->query_result(${$vyiusvfts},0,"scanwhatsapp_number");${${"GLOBALS"}["lwpdpv"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${${"GLOBALS"}["lqdgvew"]});${${"GLOBALS"}["yjkvtqina"]}=${${"GLOBALS"}["euqbcqrokzgn"]}["api_url"];${${"GLOBALS"}["peoytbcloqc"]}=${${"GLOBALS"}["lwpdpv"]}["auth_token"];${${"GLOBALS"}["hvafruyqmn"]}=${${"GLOBALS"}["lwpdpv"]}["whatsapp_businessnumber"];${${"GLOBALS"}["erpajhb"]}=explode("/",${${"GLOBALS"}["qecwzryd"]});${${"GLOBALS"}["ntyosxvor"]}=urlencode(${$fjloqawuoxi}[6]);${$lpzamtqifqv}=str_replace("+","%20",${$syoenjwwk});${${"GLOBALS"}["ntyosxvor"]}=str_replace("_","%5F",${${"GLOBALS"}["ntyosxvor"]});${"GLOBALS"}["lalxljhtwj"]="filenameExplode";${$fyfboknogi}=str_replace(".","%2E",${$nmgylrpf});${${"GLOBALS"}["frfcnzpp"]}=str_replace("-","%2D",${${"GLOBALS"}["ntyosxvor"]});$skfqpaja="nextQuestionBody";${${"GLOBALS"}["yvbvlsppvjes"]}=${${"GLOBALS"}["lalxljhtwj"]}[0]."/".${${"GLOBALS"}["jepsxjpqzjj"]}[1]."/".${${"GLOBALS"}["lthwjsrbi"]}[2]."/".${$lebctxzrj}[3]."/".${$vivomxnlirf}[4]."/".${$ecvmrkhp}[5]."/".${$imjmcaczddln};chmod(${${"GLOBALS"}["upozbmlk"]}."/".${${"GLOBALS"}["xdvqwly"]},0777);if(${$skfqpaja}!=""){${"GLOBALS"}["gkkzzlmjbe"]="sendMessagetype";$wipiorg="url";${"GLOBALS"}["pbljmpvkmlq"]="postfields";${"GLOBALS"}["fcmeoivtpe"]="sendMessagetype";${"GLOBALS"}["fmnjtmqhol"]="auth_token";$rpfvxa="responseimg";${"GLOBALS"}["kvqoogy"]="whatsappBusinessNo";$peznjhf="postfields";${${"GLOBALS"}["gkkzzlmjbe"]}="image";${$wipiorg}=${${"GLOBALS"}["yjkvtqina"]}.${${"GLOBALS"}["kvqoogy"]}."/messages";${${"GLOBALS"}["pbljmpvkmlq"]}=array("messaging_product"=>"whatsapp","recipient_type"=>"individual","to"=>${${"GLOBALS"}["tdjaunjj"]},"type"=>${${"GLOBALS"}["gfjnkya"]},${${"GLOBALS"}["fcmeoivtpe"]}=>array("link"=>${${"GLOBALS"}["xtkmpmm"]}."/".${$rpfvxa},"caption"=>htmlspecialchars_decode(${${"GLOBALS"}["hosmghwyuh"]},ENT_QUOTES)),);${${"GLOBALS"}["jmsburx"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"GLOBALS"}["jyyxkihncmu"]},${$peznjhf},${${"GLOBALS"}["fmnjtmqhol"]});${"GLOBALS"}["sfdojhcr"]="val";${${"GLOBALS"}["mavrco"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"GLOBALS"}["tdjaunjj"]});if(${${"GLOBALS"}["sfdojhcr"]}){${"GLOBALS"}["oellntxw"]="val";$uyunstscwso="currentusername";${"GLOBALS"}["nxrpfvmoocr"]="displayname";$pbrgdjc="whatsappNumber";$yhkiximtq="displayname";${$uyunstscwso}=$current_user->first_name." ".$current_user->last_name;$moudbuwvww="relatedTo";${"GLOBALS"}["hidrqimdv"]="relatedToData";${"GLOBALS"}["rkyxxrm"]="recordModelResponder";$xrjprtz="date_var";$tktwmhcm="nextQuestionBody";$prdhldgrjsb="relatedToData";${${"GLOBALS"}["irmjynuwlzbp"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"GLOBALS"}["tdjaunjj"]},-9));${$moudbuwvww}=${$prdhldgrjsb}["relatedTo"];${${"GLOBALS"}["nxrpfvmoocr"]}=${${"GLOBALS"}["hidrqimdv"]}["displayname"];${"GLOBALS"}["haldfkpd"]="currentBotId";${$xrjprtz}=date("Y-m-d H:i:s");${${"GLOBALS"}["rkyxxrm"]}=Vtiger_Record_Model::getCleanInstance("CTWhatsAppBusiness");$recordModelResponder->set("whatsapp_sendername",${${"GLOBALS"}["xqwqncvgoqc"]});$recordModelResponder->set("msgid",${${"GLOBALS"}["oellntxw"]}["key"]["id"]);$recordModelResponder->set("whatsapp_withccode",${${"GLOBALS"}["tdjaunjj"]});$recordModelResponder->set("message_type","Send");${"GLOBALS"}["mkqnguht"]="getnumberImportant";$recordModelResponder->set("message_body",${$tktwmhcm});if(${$yhkiximtq}){${"GLOBALS"}["dkghokbqrsr"]="displayname";$recordModelResponder->set("whatsapp_displayname",${${"GLOBALS"}["dkghokbqrsr"]});}$recordModelResponder->set("whatsapp_contactid",${${"GLOBALS"}["xqlfzisfnwv"]});$recordModelResponder->set("whatsapp_unreadread","Unread");$recordModelResponder->set("whatsapp_fromno",${${"GLOBALS"}["lqdgvew"]});$recordModelResponder->set("your_number",${$pbrgdjc});$recordModelResponder->set("whatsapp_important",${${"GLOBALS"}["mkqnguht"]});$recordModelResponder->set("whatsapp_botid",${${"GLOBALS"}["haldfkpd"]});$recordModelResponder->set("whatsapp_datetime",$adb->formatDate(${${"GLOBALS"}["mcuwzksvctk"]},true));$recordModelResponder->save();}}}function convertRegularMode($customerMobileNo){global$adb;$adb->pquery("UPDATE whatsappbot_pre_que SET manualtransfer = '1' WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["eeqjkhvffumg"]}));} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42\x41L\x53"}["\x65\x65\x71\x6a\x6b\x68\x76\x66\x66\x75m\x67"]="\x63\x75\x73\x74\x6f\x6d\x65\x72M\x6f\x62\x69\x6c\x65N\x6f";${"\x47\x4c\x4f\x42A\x4cS"}["\x67\x66\x6a\x6e\x6b\x79\x61"]="\x73\x65\x6e\x64M\x65\x73\x73\x61\x67\x65\x74\x79\x70e";${"G\x4cO\x42AL\x53"}["\x6a\x65\x70\x73\x78\x6apqzj\x6a"]="\x66\x69l\x65\x6ea\x6d\x65\x45\x78\x70lo\x64e";${"GLO\x42\x41L\x53"}["n\x74\x79\x6fsxv\x6f\x72"]="\x6e\x65\x77\x46\x69\x6ce\x6e\x61\x6d\x65";${"\x47\x4cOB\x41\x4cS"}["\x6c\x78\x67\x72\x74\x6e\x78b"]="\x6b\x65\x79";${"\x47\x4cO\x42\x41\x4cS"}["\x74t\x6a\x6etl\x6e"]="se\x6ed\x42\x75tt\x6f\x6eVa\x6c\x75\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x6ams\x62urx"]="\x76\x61l";${"\x47\x4cOB\x41\x4c\x53"}["ok\x6cx\x72\x68\x79\x63\x74"]="p\x6fs\x74\x66i\x65\x6c\x64s";${"\x47L\x4f\x42AL\x53"}["\x70\x72\x62\x6fys\x67\x62\x6awz"]="v\x61lu\x65";${"\x47LO\x42\x41L\x53"}["h\x69\x62is\x64\x65"]="\x73\x65\x6e\x64B\x75\x74t\x6fn\x4c\x69\x73\x74\x56\x61\x6c\x75\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x79\x6a\x6bv\x74\x71\x69\x6e\x61"]="\x61p\x69\x55\x72l";${"G\x4c\x4f\x42\x41L\x53"}["\x6cw\x70\x64\x70\x76"]="c\x6fn\x66\x69\x67\x44\x61\x74\x61";${"\x47\x4c\x4fB\x41L\x53"}["\x6cq\x64\x67\x76e\x77"]="\x77\x68at\x73\x61p\x70\x4e\x75mb\x65\x72";${"GL\x4f\x42\x41\x4cS"}["\x75rz\x68\x6c\x68y\x63d\x6d\x6b"]="ap\x69\x5f\x75r\x6c";${"\x47\x4cOBA\x4c\x53"}["\x72hl\x73\x78\x6d\x77\x6e\x65f"]="\x6e\x75m\x5fr\x6f\x77s";${"G\x4c\x4f\x42\x41LS"}["\x78\x79n\x6fgs\x76\x79"]="c\x6f\x6e\x66ug\x75r\x61ti\x6f\x6e\x51\x75e\x72\x79";${"\x47\x4c\x4f\x42A\x4c\x53"}["rikc\x76m\x6a\x7a"]="cu\x72r\x65\x6etBot\x49d";${"\x47L\x4f\x42\x41\x4c\x53"}["jsoc\x63\x72\x68x"]="\x66\x69\x72\x73t\x51u\x65\x49\x64";${"\x47L\x4f\x42A\x4c\x53"}["\x7a\x75\x76\x64\x71\x6c\x71\x6e\x72\x6d\x62"]="\x66\x69\x72\x73\x74QueQu\x65\x72\x79";${"\x47\x4cOBA\x4cS"}["i\x65\x76\x6b\x73\x70\x68"]="\x61\x63\x74\x69\x76\x65\x42\x6f\x74\x51\x75\x65\x72\x79";${"\x47\x4cOB\x41\x4c\x53"}["p\x69\x75u\x6c\x6e\x78we\x67m\x6d"]="g\x65\x74\x55\x73\x65r\x47\x72\x6f\x75\x73";${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x61\x66\x79\x69k\x63\x7a\x6d\x6a\x75\x6a"]="n\x65\x78t\x53\x65\x71\x75e\x6ece1";${"\x47\x4cO\x42A\x4cS"}["bk\x64\x78\x79\x62c\x69"]="\x6ex\x74Q\x75\x65\x73ti\x6fnR\x6fw\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62n\x78\x63\x71\x69\x79k\x62\x74f"]="\x67etN\x65\x78\x74Q\x75es\x74i\x6f\x6eQ\x75\x65\x72\x79\x31";${"G\x4c\x4f\x42A\x4c\x53"}["\x67\x64\x75\x6d\x63\x68\x6au\x6ee\x68"]="\x73\x69nu\x6d\x65r\x69\x63\x51\x75e\x72y";${"G\x4c\x4fB\x41L\x53"}["\x77\x77\x76k\x73\x70\x72r\x6cr\x75\x68"]="\x6d\x65\x73sa\x67\x65T\x79\x70e\x71ue\x72y";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75c\x74\x79qc\x79\x75g\x65\x77\x6f"]="\x6de\x73sag\x65\x74\x79p\x65\x49\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bw\x64\x70p\x71\x6a\x68\x69u"]="\x66\x69el\x64\x43\x6f\x6c\x75\x6d\x6eN\x61m\x65";${"\x47\x4cOB\x41L\x53"}["g\x68b\x6cx\x67\x65\x7a"]="vt\x69\x67\x65rRes\x70\x6f\x6e\x63e\x46\x69\x65ld";${"\x47L\x4fB\x41L\x53"}["\x62\x68\x77\x62\x79\x66c"]="\x67\x65t\x52\x65\x73p\x6f\x6e\x63e\x46i\x65ld\x51\x75e\x72y";${"GL\x4fB\x41L\x53"}["i\x7av\x62\x79\x65h"]="\x73era\x63\x68\x52ows";${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x6eu\x72t\x65\x6c\x6e\x6d\x76"]="\x74\x61\x62l\x65na\x6d\x65";${"\x47L\x4f\x42\x41L\x53"}["kct\x73\x71\x6afpu\x79\x64\x61"]="ge\x74\x53e\x61\x72\x63\x68Quer\x79";${"\x47LO\x42\x41\x4c\x53"}["\x6dm\x6d\x63\x6e\x6c\x75\x65r\x6a"]="\x62\x61seT\x61\x62\x6c\x65";${"\x47\x4cOB\x41L\x53"}["\x66\x6c\x6ctr\x63qip\x72f\x71"]="\x6d\x6f\x64\x75\x6c\x65\x4d\x6f\x64e\x6c";${"G\x4cOBA\x4c\x53"}["b\x63d\x6bxbc\x71\x73b\x61"]="g\x65\x74\x53\x65\x61\x72\x63\x68T\x61\x62leQu\x65\x72y";${"G\x4c\x4fBALS"}["\x75\x71gz\x78nt"]="\x6ee\x78\x74E\x6e\x64\x51\x75\x65\x73\x74\x69\x6f\x6e\x42\x6fdy1";${"\x47\x4c\x4fBA\x4c\x53"}["l\x69b\x73\x74gnk\x63\x73"]="\x6f\x70\x74i\x6f\x6eRo\x77";${"G\x4c\x4f\x42AL\x53"}["\x6fy\x6d\x71\x6c\x72\x6f\x6d"]="\x67\x65\x74\x4e\x65x\x74\x51\x75e\x73\x74\x69o\x6e\x73\x51\x75\x65\x72\x79";${"\x47\x4cO\x42A\x4c\x53"}["\x77wo\x78\x61y\x6fyg\x6e\x70"]="en\x64\x42o\x74Q\x75\x65\x72y";${"\x47L\x4f\x42ALS"}["\x63\x75b\x6a\x61\x6cv\x6erz"]="e\x6ed\x4eo\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["nt\x63\x75j\x75\x65s"]="n\x65x\x74\x5f\x73e\x71uen\x63e\x49\x64";${"\x47LO\x42\x41L\x53"}["v\x74\x63\x68i\x64\x63\x70"]="\x71\x75\x65Tex\x74";${"\x47L\x4fBA\x4c\x53"}["\x6e\x6ctr\x73bet\x78m\x78"]="\x76\x61r\x6de\x73sa\x67e\x74\x79\x70\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x69\x6d\x6du\x76\x78\x70g\x64\x70"]="\x6e\x65\x78\x74\x53\x65qu\x65n\x63e";${"\x47\x4cO\x42\x41\x4cS"}["\x6e\x72\x74h\x71f\x6e\x71b\x6ex"]="\x71\x75\x65s\x74\x69onD\x61t\x61";${"\x47\x4cO\x42\x41\x4cS"}["\x79\x65\x68\x6cl\x6be\x73"]="\x76t\x69g\x65r\x66\x69\x65l\x64V\x61\x6c\x75\x65";${"GL\x4fB\x41\x4cS"}["s\x76\x67\x69bkoh"]="\x66l\x6f\x77\x62\x75i\x6c\x64\x65r\x66\x69el\x64";${"\x47\x4c\x4fB\x41L\x53"}["\x76\x6c\x70\x65\x68\x75s\x73\x67a"]="\x66\x69\x65\x6cd\x4d\x61p\x70\x69\x6e\x67Q\x75\x65ry";${"\x47\x4c\x4fB\x41\x4cS"}["\x75\x61f\x72ct\x73\x6c\x75\x79"]="\x72\x65\x6c\x61t\x65\x64\x46\x69\x65\x6c\x64Name";${"G\x4c\x4fBA\x4cS"}["\x66\x62\x69\x62\x61l"]="in\x73\x65rt\x4d\x6fd\x75leNam\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x7aqx\x75\x6a\x63\x6cg"]="\x76\x74\x69gerf\x69\x65\x6cd";${"\x47\x4c\x4f\x42A\x4c\x53"}["q\x77\x61md\x6a\x71\x6b\x71i"]="\x64\x65\x66\x61u\x6ct\x76\x61\x6c\x75\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x62p\x76\x6ez\x62\x77\x62b\x72\x6c\x69"]="fie\x6cdV\x61\x6cu\x65Q\x75er\x79";${"\x47LO\x42\x41\x4c\x53"}["\x68\x63\x69\x6a\x72\x61\x76w"]="i\x6e\x73\x65\x72t\x52\x65c\x6f\x72\x64\x4do\x64e\x6c";${"\x47L\x4fB\x41\x4c\x53"}["\x6fds\x74\x68\x6b\x73s\x6d\x66"]="\x67\x65t\x4dapp\x69ng\x46\x69\x65\x6cd\x51\x75ery";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x61r\x6c\x6e\x6ds\x75\x69"]="r\x65\x6cate\x64\x4do\x64\x75\x6c\x65\x49\x64";${"GL\x4fB\x41LS"}["\x6cel\x78k\x70pe\x64ft\x66"]="r\x65\x6ca\x74\x65\x64F\x69el\x64\x51ue\x72\x79";${"GLO\x42\x41\x4c\x53"}["ej\x68w\x7a\x78\x66s\x69\x74"]="re\x6c\x61t\x65\x64\x52ecor\x4d\x6fdel";${"GL\x4f\x42\x41\x4cS"}["\x68\x74g\x76\x6d\x78v\x6e\x69vq"]="r\x65\x6ca\x74\x65\x64\x52e\x63\x6f\x72\x64R\x6f\x77s";${"G\x4c\x4f\x42\x41L\x53"}["\x6etl\x6ae\x62\x69"]="\x62\x61\x73\x65\x54a\x62\x6c\x65\x69\x64";${"\x47\x4cOB\x41L\x53"}["\x70b\x6dumd\x6f\x64d\x65"]="g\x65t\x53e\x61\x72c\x68\x52\x65\x6ca\x74\x65\x64\x51\x75\x65\x72y";${"\x47L\x4f\x42\x41LS"}["\x66\x64\x74k\x69\x67\x74uc\x68\x75"]="\x72\x65\x6cate\x64\x4d\x6f\x64ul\x65\x4e\x61\x6de";${"\x47\x4c\x4fB\x41L\x53"}["j\x67\x65\x75\x63n\x75\x70"]="m\x6f\x64\x75\x6ce\x49n\x73\x74an\x63\x65";${"GL\x4f\x42AL\x53"}["\x64\x70d\x66\x73\x78\x78\x76\x76\x68h\x70"]="\x72e\x6cat\x65\x64\x46\x69\x6e\x64\x51\x75\x65\x72\x79";${"\x47L\x4f\x42AL\x53"}["q\x62e\x6des\x66\x64\x72\x75\x78\x62"]="\x76ti\x67e\x72\x46i\x65l\x64\x75\x69Ty\x70e";${"\x47L\x4fB\x41\x4cS"}["\x63p\x74\x67jj\x67\x78\x62"]="g\x65tU\x69\x54\x79p\x65Qu\x65\x72\x79";${"\x47\x4cOB\x41\x4cS"}["u\x6e\x6fd\x6d\x66\x63uj\x72\x61\x6f"]="\x72\x65\x6c\x61\x74\x65d\x66\x69e\x6cdVa\x6c\x75\x65\x51u\x65\x72\x79";${"G\x4c\x4fB\x41L\x53"}["eur\x78r\x68\x63"]="\x72\x65\x6c\x76\x74\x69\x67\x65\x72\x66\x69\x65l\x64";${"\x47L\x4f\x42A\x4c\x53"}["\x6atf\x6b\x79\x79"]="r\x65l\x66lo\x77\x62u\x69\x6c\x64\x65\x72f\x69e\x6cd";${"\x47\x4c\x4f\x42\x41L\x53"}["cy\x79\x75uja\x6d\x65\x7a"]="\x6d";${"\x47\x4cO\x42\x41LS"}["nmq\x77\x65\x63\x71"]="re\x6c\x61\x74\x65\x64R\x6fw\x73";${"\x47\x4c\x4f\x42\x41LS"}["d\x67\x79\x69\x64\x62l\x6a"]="\x74\x61b\x69d";${"\x47\x4c\x4f\x42\x41LS"}["\x7a\x71\x73\x6e\x77u\x66\x64\x75"]="\x61ct\x69\x6fnD\x65\x74\x61il";${"\x47L\x4f\x42A\x4cS"}["a\x77it\x71o\x6ab"]="n\x65x\x74\x45n\x64\x51\x75\x65\x73ti\x6f\x6eB\x6f\x64y";${"\x47\x4cO\x42ALS"}["\x64v\x64\x61\x70\x75oq\x66\x6c"]="\x65\x6e\x64N\x6f\x64\x51u\x65\x72y";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78dv\x71\x77\x6c\x79"]="\x72\x65\x73\x70\x6f\x6e\x73\x65\x69\x6d\x67";${"\x47L\x4fBA\x4c\x53"}["xwu\x73\x79\x63ne\x62b\x77"]="\x73\x65lectQ\x75\x65\x72\x791";${"\x47\x4cO\x42\x41\x4cS"}["\x6er\x79\x76m\x69\x6e\x6e\x79\x64\x7a"]="\x76\x61r\x69\x61bl\x65v\x61\x6cu\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x78x\x6ckyi"]="\x63\x6fn\x64i\x74io\x6e\x73";${"GL\x4f\x42A\x4cS"}["\x6ai\x71og\x6bo\x71\x69l"]="\x63\x6fn\x64\x69\x74\x69o\x6e\x52\x6f\x77\x73";${"G\x4cOB\x41L\x53"}["o\x7a\x77\x6an\x6f\x68\x63\x6dnj\x70"]="\x63\x6fn\x64i\x74\x69\x6fn\x51\x75\x65\x72y";${"\x47L\x4fB\x41\x4c\x53"}["\x7a\x70\x62\x68\x69\x69\x78\x67\x63\x70q"]="\x6ee\x78t\x53\x65\x71\x75\x65nc\x651\x32";${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x76sh\x76o\x72b\x68\x77c\x63"]="t\x79\x70eQ\x75eQu\x65r\x79";${"\x47LO\x42A\x4cS"}["\x79\x6cv\x62\x62\x75"]="\x74ype\x51u\x65s\x74\x69\x6f\x6e\x51\x75e\x72\x79";${"\x47\x4c\x4fB\x41L\x53"}["\x78\x71\x6e\x6fuf\x76\x77us"]="n\x65\x78t\x5fq\x75e_\x69d";${"GLOB\x41LS"}["j\x6cn\x66\x6e\x63\x62"]="\x6ee\x78t\x51\x75\x65s\x74\x69on\x42\x75tt\x6f\x6eB\x6f\x64y";${"GL\x4fB\x41L\x53"}["\x73\x6bh\x77\x68\x6f\x6b"]="\x6f\x70\x74\x5f\x74ex\x74";${"\x47\x4cOBA\x4c\x53"}["w\x74\x63to\x6a\x77\x6e\x64b\x79"]="\x6f\x70\x74\x5f\x73eq";${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x72\x78\x7ab\x64w\x66ohj"]="button\x41\x72\x72\x61\x79";${"G\x4c\x4f\x42A\x4cS"}["\x6ds\x61\x68\x77\x61\x68b"]="i";${"\x47L\x4fBA\x4c\x53"}["\x69\x71\x70n\x71h\x71m\x72\x65j"]="\x6f\x70\x74\x69onSe\x71ue\x6e\x63e";${"\x47\x4cOB\x41\x4cS"}["c\x62\x6a\x6flh"]="\x67\x65\x74N\x65x\x74\x51\x75e\x73t\x69\x6f\x6e\x51\x75\x65ry";${"GL\x4f\x42\x41\x4cS"}["\x69h\x74d\x6at\x77\x6f\x64fm"]="\x6dan\x75\x61lt\x72\x61\x6es\x66\x65\x72\x73";${"G\x4c\x4fB\x41LS"}["s\x66\x65\x68e\x64"]="\x6ee\x78\x74\x51ue\x49\x64";${"G\x4c\x4fB\x41\x4c\x53"}["\x6bw\x69\x62si\x72"]="\x67\x65\x74\x4ee\x78\x74\x51\x75\x65s\x74\x69\x6f\x6e\x4f\x70ti\x6f\x6e\x51\x75\x65ry";${"\x47LO\x42AL\x53"}["\x68\x79\x61\x74d\x68d\x78y"]="\x64at\x65Fo\x72\x6dat\x65";${"\x47LO\x42\x41\x4cS"}["\x68\x6fsmg\x68\x77\x79u\x68"]="\x6eex\x74\x51\x75\x65s\x74\x69\x6f\x6eBo\x64\x79";${"\x47\x4c\x4fBA\x4cS"}["t\x65o\x6fa\x77m"]="\x73ea\x72\x63\x68\x4do\x64ul\x65\x51u\x65\x72y";${"G\x4c\x4f\x42\x41L\x53"}["\x77\x65\x70\x74\x79\x76\x78"]="c\x75\x72re\x6e\x41ct\x69ve\x42\x6f\x74";${"\x47\x4c\x4f\x42AL\x53"}["\x72\x6aj\x64w\x77\x6f\x6e"]="\x70\x72\x65Q\x75\x65st\x69o\x6e\x44\x65t\x61\x69\x6c\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x66mn\x6d\x68b"]="cur\x72\x65ntBot\x54\x69me";${"\x47L\x4f\x42\x41\x4c\x53"}["cp\x71t\x75\x77\x67"]="\x61\x63\x74\x69\x76\x65";${"\x47L\x4fBA\x4c\x53"}["\x62\x65\x65\x76\x77\x73\x6dd"]="\x64\x61t\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x63l\x68\x67\x77ke\x77\x6e\x77"]="\x67e\x74Mod\x75\x6c\x65N\x61me";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65j\x75\x79\x72x\x6a\x66"]="\x72\x65\x6c\x61t\x65d\x5f\x74a\x62\x69\x64";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x73\x6aydo\x75u"]="cr\x6d\x61\x63\x74i\x6f\x6e_id";${"G\x4c\x4f\x42\x41\x4cS"}["p\x71\x70\x66\x78at"]="q\x75\x65_\x69\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["y\x64\x68\x70\x79k\x78e\x6ce\x7a"]="c\x6f\x70\x79\x5f\x66r\x6f\x6d";${"\x47L\x4f\x42AL\x53"}["\x68\x6b\x64\x66\x66\x61\x63\x6e"]="mes\x73a\x67\x65\x74yp\x65";${"\x47\x4cOB\x41\x4c\x53"}["\x64\x6b\x79\x67\x6ai\x7a\x75\x71"]="t\x79\x70\x65";${"GL\x4f\x42A\x4c\x53"}["\x78b\x6c\x7a\x6c\x6b"]="\x6e\x65\x78\x74\x5f\x73\x65\x71u\x65\x6e\x63e";${"\x47LO\x42A\x4cS"}["\x78\x78a\x69\x6cq\x62d"]="\x71u\x65_te\x78\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x74n\x79i\x6f\x78v\x67\x77\x72t"]="\x63\x6f\x70y_\x74o";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x79\x76qp\x62b"]="\x73\x65\x61rch\x43\x6flu\x6d\x6e";${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x69kbb\x67n\x69\x64\x73"]="sea\x72chM\x6f\x64\x75\x6c\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70\x73\x73\x61\x72\x77\x73r\x64\x6f"]="\x71\x75er\x79";${"\x47L\x4fBA\x4c\x53"}["\x64\x76i\x71\x71\x6c\x69\x64t"]="\x6da\x6e\x75al\x64a\x74\x65\x74i\x6d\x65";${"\x47LO\x42\x41\x4cS"}["\x72\x76\x64\x69\x66\x79k\x71"]="p\x72\x65\x62o\x74\x69d";${"\x47\x4cOB\x41\x4c\x53"}["\x75\x79\x6e\x75de\x66\x6a\x6dyl"]="g\x65\x74P\x72e\x51\x75\x65st\x69on\x49\x64\x51\x75er\x79";${"G\x4cO\x42\x41\x4cS"}["\x74\x7a\x67\x65\x70\x7a\x73\x70\x69d"]="\x70r\x65\x51u\x65s\x74i\x6f\x6e\x49D";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x6a\x64p\x72\x75\x63"]="f\x69\x72s\x74b\x6f\x74\x69\x64";${"G\x4c\x4f\x42A\x4cS"}["m\x65\x66j\x76s\x72\x6b\x71j"]="g\x65\x74U\x73\x65\x72\x49d\x51\x75\x65\x72\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x62\x6fp\x61\x77\x6c"]="\x6dult\x69\x70\x6ce\x57a\x68\x74\x73\x61p\x70";${"\x47\x4c\x4fBAL\x53"}["\x74mo\x72\x6az"]="\x74\x6f\x64ay\x44\x61t\x65";${"\x47L\x4fB\x41L\x53"}["\x69n\x74\x6bm\x7a\x67xa\x6f"]="o\x6ed\x61y\x53\x65nd\x4de\x73\x73a\x67\x65";${"G\x4c\x4f\x42AL\x53"}["\x69\x6e\x74\x72z\x78l\x6f\x72d"]="\x77\x68\x61\x74sA\x70pL\x69\x63\x65ns\x65\x53\x74\x61tu\x73";${"\x47\x4cO\x42A\x4c\x53"}["\x6a\x61\x6c\x6e\x65\x73\x6f"]="m\x61n\x75\x61\x6c\x74\x72\x61\x6es\x66\x65\x72";${"\x47\x4cOB\x41\x4c\x53"}["\x69\x72\x6d\x6a\x79n\x75wl\x7ab\x70"]="re\x6c\x61\x74e\x64\x54o\x44\x61\x74\x61";${"GL\x4fBA\x4c\x53"}["\x77\x6f\x78\x79\x6bh\x72"]="\x61u\x74\x6f\x52\x65\x73\x70ond\x65rText";${"\x47LO\x42\x41L\x53"}["\x76\x76g\x77i\x68\x70"]="a\x75\x74\x68\x74\x6f\x6be\x6e";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ab\x78\x66\x77\x74\x78re"]="c\x75\x72\x72\x65\x6et\x44\x61\x74\x65Time";${"\x47LO\x42\x41L\x53"}["\x76\x62\x64cn\x69\x67\x72"]="\x61\x63t\x69o\x6e";${"\x47\x4c\x4f\x42ALS"}["\x69t\x75p\x79\x68\x79\x72\x75"]="\x65xp\x69\x72\x79\x64\x61\x74e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66f\x6c\x6f\x76\x6d\x74\x63\x6c"]="se\x6e\x64\x6de\x73s\x61\x67e\x6c\x69\x6di\x74";${"\x47\x4cO\x42A\x4cS"}["\x7a\x75x\x75\x69\x6a\x77\x71pi\x7a"]="\x62ot\x4c\x69\x63\x65ns\x65\x44e\x74ai\x6c";${"\x47\x4c\x4fBA\x4c\x53"}["\x73\x69\x75\x70\x78\x67"]="\x77\x68\x61ts\x61ppS\x63\x61\x6e\x4e\x6f";${"\x47L\x4fBA\x4c\x53"}["\x6csp\x78\x78\x75\x65\x6c\x69\x72"]="\x6d\x69\x6eu\x74\x65s";${"\x47\x4c\x4f\x42\x41LS"}["fld\x6a\x76k\x6by\x6c\x74f"]="\x6des\x73\x61ge\x54\x69me\x44\x69f\x66r\x65\x6ec\x65";${"G\x4cO\x42\x41L\x53"}["\x61x\x6c\x79\x75m\x62\x6fv"]="b\x6f\x74\x69\x64\x65a\x6c\x74ime";${"\x47L\x4fB\x41\x4c\x53"}["m\x65\x77\x67\x66\x72z\x69a"]="c\x75rre\x6e\x42\x6f\x74\x49\x44";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62g\x66\x6d\x6cp\x65"]="\x6da\x6eu\x61\x6c\x44\x61\x74\x65\x54\x69\x6d\x65\x44\x61\x74e";${"\x47L\x4f\x42\x41LS"}["\x79\x68\x65\x78\x71\x78p\x6fcp\x76"]="\x70\x72e\x51ues\x74i\x6fn\x52\x6f\x77\x73";${"GL\x4f\x42\x41\x4c\x53"}["r\x75\x61\x6bt\x68\x74kc\x79"]="\x70r\x65\x51\x75\x65\x73t\x69\x6fn\x44\x61t\x61";${"\x47L\x4f\x42\x41L\x53"}["\x70\x70\x65\x78r\x67j\x72\x63\x6b"]="\x62\x6f\x64\x79";${"G\x4cO\x42\x41\x4c\x53"}["ie\x68\x64\x77\x6a\x79"]="c\x6fn\x66i\x67\x75\x72\x65\x55\x73\x65\x72\x69\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x62qe\x6cb\x6e\x6e\x76l\x79\x68"]="\x73\x65n\x64\x52\x65\x73\x70\x6f\x6ed\x65\x72\x4d\x65s\x73\x61\x67e";${"G\x4c\x4f\x42\x41\x4c\x53"}["x\x71\x77\x71\x6e\x63\x76g\x6f\x71\x63"]="\x63\x75r\x72\x65nt\x75\x73e\x72n\x61\x6de";${"G\x4cO\x42\x41\x4c\x53"}["p\x65oy\x74b\x63\x6coq\x63"]="\x61\x75\x74\x68\x5fto\x6ben";${"\x47LO\x42A\x4c\x53"}["j\x79\x79xki\x68\x6e\x63mu"]="u\x72\x6c";${"GL\x4fB\x41\x4cS"}["\x6dc\x75\x77\x7a\x6b\x73\x76\x63tk"]="\x64\x61\x74\x65\x5f\x76\x61\x72";${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x6d\x6a\x70dfj\x74"]="\x72\x6f\x77";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x63k\x66\x71\x65\x78\x63y"]="\x67\x65\x74\x52\x65\x63\x6f\x72d\x51ue\x72y";${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x6d\x77\x79\x63\x61"]="wh\x61\x74\x73\x61p\x70\x51ue\x72\x79";${"\x47L\x4f\x42\x41LS"}["\x68\x76\x61fr\x75\x79\x71\x6d\x6e"]="w\x68atsa\x70\x70B\x75\x73i\x6e\x65\x73\x73\x4e\x6f";${"\x47\x4c\x4f\x42A\x4c\x53"}["z\x6c\x6d\x67\x66m\x73ei\x6e"]="\x75s\x65\x72\x69\x64";${"G\x4cOB\x41\x4c\x53"}["\x72rvg\x6dgd\x69\x77\x6ft"]="\x6dodu\x6c\x65Na\x6d\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6el\x6aq\x69\x66\x6a\x61y\x77\x6b"]="\x77h\x61\x74\x73ap\x70lo\x67\x69\x64";${"\x47L\x4f\x42A\x4c\x53"}["m\x61vrco"]="\x67\x65t\x6e\x75\x6d\x62\x65\x72\x49\x6d\x70o\x72\x74\x61\x6e\x74";${"G\x4c\x4f\x42\x41L\x53"}["\x72\x79\x78\x6fu\x75\x7a"]="\x67\x65\x74Me\x73\x73a\x67\x65D\x61\x74\x65\x54i\x6d\x65";${"\x47L\x4f\x42\x41\x4cS"}["p\x6f\x78\x63\x74\x6c\x79\x62\x74"]="\x64ispl\x61yna\x6de";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x75r\x62\x72\x73\x62"]="r\x65c\x6fr\x64\x4do\x64\x65\x6c\x44\x61\x74\x61";${"G\x4c\x4fBA\x4c\x53"}["\x78q\x66\x77\x77\x63\x65\x68\x6fl"]="\x73\x65\x74\x79\x70e";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x73\x62\x63\x66\x65\x70\x76c\x75"]="\x72\x65c\x6f\x72\x64Mo\x64\x65\x6c";${"GLO\x42\x41\x4c\x53"}["\x70\x6f\x76\x78\x74\x67\x68li\x66\x6a\x69"]="\x77\x68\x61\x74\x73\x61p\x70\x4co\x67Query";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x73\x79\x72\x64\x69\x6emk\x65\x74"]="\x77h\x61t\x73\x61\x70\x70\x6c\x6fg\x52o\x77s";${"\x47L\x4fBA\x4c\x53"}["\x77qe\x77\x75\x70\x6c"]="\x77\x68at\x73\x61\x70\x70\x42\x6fd\x79";${"GLO\x42\x41\x4c\x53"}["\x6d\x71\x73m\x64\x71\x6f\x76\x6ec\x78"]="\x66\x70";${"\x47\x4cOB\x41\x4cS"}["x\x74\x6b\x6d\x70mm"]="\x73\x69\x74e\x5f\x55R\x4c";${"\x47\x4cOBA\x4c\x53"}["t\x66a\x65\x65\x74jc\x6f"]="n\x65\x77\x66il\x65U\x52L";${"\x47L\x4f\x42A\x4c\x53"}["h\x68\x62x\x61mx"]="\x63u\x72\x6c\x31";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x74\x63\x68\x6cnhh"]="r\x65\x73\x70o\x6e\x73\x651";${"\x47\x4c\x4fB\x41LS"}["\x73n\x61j\x64\x73\x77g\x64"]="me\x64ia\x46\x69le\x55\x52L";${"\x47\x4c\x4f\x42A\x4cS"}["pk\x6a\x65w\x76"]="\x74arge\x74\x5f\x66\x69\x6c\x65";${"\x47\x4c\x4f\x42A\x4cS"}["\x75\x70\x6fzb\x6dl\x6b"]="\x72\x6f\x6f\x74\x5f\x64\x69r\x65c\x74\x6fry";${"\x47L\x4fBAL\x53"}["\x70f\x6es\x63\x68\x6d\x75\x72"]="\x77h\x61tsappf\x6f\x6cde\x72\x70\x61\x74\x68";${"\x47\x4c\x4fB\x41\x4c\x53"}["o\x70snb\x6d\x72ot"]="\x77\x65\x65\x6b";${"\x47\x4c\x4f\x42A\x4c\x53"}["ko\x63\x76\x66u\x67\x6b\x6d\x79\x78\x71"]="\x64\x61\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["\x79g\x62\x79\x75\x78\x64"]="\x6d\x6fn\x74\x68";${"GLOB\x41\x4c\x53"}["\x70ol\x78ivr\x6d\x79v"]="\x79\x65ar";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x74c\x6a\x77\x6d\x72\x65\x65b"]="f\x69le\x6e\x61m\x65";${"G\x4c\x4f\x42ALS"}["\x6c\x74f\x64\x6c\x75\x71\x6f\x77\x6f\x71"]="\x70df\x66il\x65\x6ea\x6d\x65";${"G\x4cO\x42\x41\x4cS"}["\x66\x67\x63\x78\x74\x77\x74\x74"]="m\x69\x6d\x65\x5ft\x79\x70\x65";${"GL\x4f\x42\x41L\x53"}["j\x72\x63\x66\x69p\x6d"]="res\x70\x6f\x6es\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x78\x75u\x79\x69\x71pv\x66\x64"]="\x72\x65\x73\x75\x6c\x74";${"\x47\x4cO\x42\x41L\x53"}["y\x62\x63\x6fyetj\x74"]="c\x75rl";${"\x47\x4c\x4fB\x41\x4cS"}["\x79ge\x78f\x73\x69"]="me\x64i\x61\x46ile\x49\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x6fn\x70f\x6c\x78\x67\x68\x77"]="get\x57h\x61\x74\x73a\x70\x70\x51\x75\x65\x72y";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x71\x6c\x66\x7ais\x66\x6e\x77\x76"]="\x72\x65\x6ca\x74\x65\x64To";${"\x47\x4cO\x42\x41L\x53"}["bj\x65u\x65\x73\x65f\x62\x6f\x7a\x63"]="\x6dob\x69l\x65\x6e\x6f\x4ce\x6e";${"\x47L\x4f\x42ALS"}["\x74d\x6aa\x75\x6e\x6a\x6a"]="\x6dob\x69l\x65\x6eo";${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x6c\x67\x76\x63\x75"]="\x63u\x73to\x6d\x65\x72\x4e\x6f";${"\x47\x4cOB\x41\x4c\x53"}["\x6a\x6d\x76\x76\x67\x74\x63"]="\x6d\x65\x73\x73a\x67\x65\x69d";${"\x47\x4c\x4fBA\x4c\x53"}["\x6d\x75\x69ai\x77\x6e\x70"]="\x6de\x73\x73a\x67\x65\x54\x79\x70e";${"\x47\x4c\x4fB\x41L\x53"}["\x6dro\x73\x75\x74\x67"]="\x77\x68at\x73\x61\x70\x70\x4co\x67";${"G\x4c\x4fB\x41L\x53"}["\x70\x6c\x6fm\x66\x77c\x62u"]="\x61\x75\x74o\x52e\x73\x70o\x6e\x64\x65r";${"GL\x4f\x42\x41\x4cS"}["r\x6b\x65\x69\x79\x6fg\x68f\x6c"]="\x63\x6f\x6e\x66\x69\x67\x75r\x61\x74\x69o\x6e\x41\x64mi\x6e\x44at\x61";${"\x47L\x4f\x42A\x4c\x53"}["j\x74vm\x71\x79"]="\x69\x63\x6f\x6ea\x63\x74\x69\x76\x65";${"\x47LO\x42\x41\x4c\x53"}["x\x6b\x65\x6e\x66\x74\x62r\x6d\x79\x7a"]="\x63\x75s\x74\x6fm\x66i\x65\x6c\x64\x31";${"\x47\x4c\x4f\x42\x41\x4cS"}["dp\x63\x6bi\x6ff\x78\x75"]="c\x6fnfi\x67\x75r\x61\x74\x69\x6f\x6eD\x61\x74\x61";${"G\x4c\x4f\x42\x41L\x53"}["\x6a\x69m\x77y\x62l\x67m"]="\x73end\x65\x72N\x61me";${"\x47L\x4fB\x41\x4c\x53"}["\x67\x6c\x74\x78x\x6f\x72\x70"]="\x63u\x72\x72en\x55\x73\x65r\x49D";${"\x47\x4c\x4fBA\x4cS"}["\x6e\x72bq\x74\x62"]="qu\x6ft\x65\x62\x6f\x64y";${"\x47\x4cOBAL\x53"}["t\x6f\x62x\x6bk\x73lhf"]="r\x6f\x77\x73";${"G\x4cO\x42AL\x53"}["\x6av\x6c\x71\x78sy\x6a\x76"]="\x72\x65p\x6c\x79\x4d\x65\x73\x73\x61g\x65\x54\x65x\x74Q\x75e\x72\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x69\x62\x6f\x78\x7a\x65\x65\x75"]="\x64\x69\x73p\x6c\x61\x79\x5f\x70\x68o\x6e\x65\x5f\x6e\x75\x6d\x62\x65\x72";${"GL\x4fB\x41\x4c\x53"}["fq\x72o\x68\x61\x72\x66\x77x\x77"]="\x71uo\x74\x4dess\x61\x67\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x6f\x78\x65l\x65\x72\x64\x61\x62\x6a"]="\x74im\x65";${"\x47LO\x42A\x4c\x53"}["\x64\x73n\x72\x64ni\x64jtj\x62"]="p\x61r\x74ic\x69\x70\x61n\x74";${"\x47\x4cOB\x41\x4cS"}["q\x6dh\x76r\x63rd"]="\x72\x65\x63\x69ev\x65\x64\x4de\x73s\x61\x67\x65I\x64";${"\x47\x4cOBA\x4c\x53"}["\x6e\x75\x65z\x78\x73\x62\x65\x6a"]="\x6d\x65d\x69\x61\x46\x69\x6ce";${"G\x4c\x4f\x42AL\x53"}["\x78\x67\x74\x68\x70\x6f\x79\x6d\x79"]="wh\x61t\x73\x41\x70\x70B\x6f\x74Qu\x65r\x79";${"GLO\x42\x41\x4cS"}["\x69\x6a\x6co\x67\x72\x68\x70\x63"]="\x77ha\x74\x73\x61\x70\x70\x62ot";${"\x47\x4cOB\x41L\x53"}["\x72rxj\x6c\x6cgm"]="\x6d\x73g\x5f\x69\x64";${"\x47L\x4fB\x41\x4c\x53"}["\x6c\x6av\x6ay\x75"]="\x6dsg\x5f\x73\x74\x61\x74u\x73";${"G\x4c\x4f\x42A\x4c\x53"}["\x6a\x73\x79\x78h\x6dv"]="\x76\x65\x72ify\x5f\x74\x6f\x6b\x65n";${"GLO\x42\x41\x4c\x53"}["\x6a\x70q\x6fqps\x79\x6c"]="\x63h\x61ll\x65n\x67\x65";$cmrciuhlocb="\x77ha\x74\x73\x41\x70\x70B\x6f\x74Qu\x65\x72\x79";chdir(dirname(__FILE__)."/.\x2e/\x2e./");$jkyunocvtxgr="c\x75\x72\x72en\x74\x75s\x65\x72n\x61\x6d\x65";${"\x47LO\x42\x41\x4c\x53"}["h\x6bb\x73ik\x72\x77"]="\x77\x68a\x74\x73\x41\x70p\x42\x6f\x74\x51\x75e\x72y";${"\x47\x4cO\x42\x41\x4c\x53"}["ez\x62\x6av\x6d\x6bn\x72y"]="w\x68\x61t\x73\x41p\x70\x42ot\x52\x6fw\x73";${"G\x4c\x4fBA\x4cS"}["\x78\x65v\x62\x6a\x68i\x6dtu"]="c\x75r\x72\x65\x6et\x5f\x75\x73e\x72";include_once"inc\x6c\x75de/Webser\x76i\x63\x65s/\x52\x65l\x61\x74i\x6f\x6e.p\x68\x70";include_once"v\x74\x6c\x69b/\x56tiger/\x4dod\x75\x6ce\x2e\x70h\x70";include_once"i\x6e\x63l\x75d\x65\x73/main/\x57eb\x55I.php";${"\x47\x4cO\x42\x41\x4cS"}["m\x6b\x74\x78\x74\x6cgjsmm\x76"]="v\x65r\x69f\x79\x5ft\x6fk\x65\x6e";$qnwohvylh="\x64i\x73p\x6ca\x79\x5f\x70h\x6f\x6e\x65_\x6eu\x6d\x62\x65\x72";$xwuwmpkd="m\x73\x67_\x73t\x61t\x75s";global$current_user,$adb,$root_directory,$site_URL;${${"\x47L\x4fB\x41\x4c\x53"}["x\x65vb\x6ah\x69\x6d\x74u"]}=Users::getActiveAdminUser();${$jkyunocvtxgr}=$current_user->first_name." ".$current_user->last_name;$bldgncbq="d\x61\x74\x61";${${"\x47\x4cOB\x41L\x53"}["\x6ap\x71\x6f\x71p\x73y\x6c"]}=$_REQUEST["\x68\x75b_\x63\x68a\x6c\x6ce\x6e\x67e"];${${"G\x4c\x4f\x42ALS"}["\x6d\x6b\x74\x78\x74lg\x6a\x73\x6dm\x76"]}=$_REQUEST["\x68u\x62\x5fv\x65r\x69fy_t\x6fke\x6e"];$gkcqukrez="d\x69\x73\x70\x6c\x61\x79\x5fp\x68\x6f\x6e\x65\x5fnu\x6dbe\x72";if(${${"\x47\x4c\x4f\x42ALS"}["\x6as\x79xh\x6dv"]}==="a\x62c1\x323"){echo${${"\x47L\x4fB\x41\x4c\x53"}["\x6a\x70\x71o\x71p\x73\x79\x6c"]};exit;}${$bldgncbq}=json_decode(file_get_contents("\x70h\x70://\x69n\x70\x75t"));${${"\x47\x4cOBA\x4c\x53"}["lj\x76\x6ay\x75"]}=$data->entry[0]->changes[0]->value->statuses[0]->status;if(${$xwuwmpkd}=="\x72ea\x64"){${"G\x4c\x4fB\x41\x4c\x53"}["\x70yq\x7af\x78\x66\x6b\x69\x6c"]="\x6ds\x67\x5f\x69\x64";${${"\x47\x4c\x4fB\x41\x4cS"}["p\x79\x71\x7af\x78\x66k\x69\x6c"]}=$data->entry[0]->changes[0]->value->statuses[0]->id;$adb->pquery("UPD\x41TE \x76t\x69g\x65r\x5f\x63twh\x61tsappb\x75s\x69\x6eess S\x45\x54 w\x68\x61tsa\x70p_\x75\x6e\x72eadr\x65\x61d\x20\x3d\x20\x27\x52\x65\x61\x64\x27\x20\x77\x68ere m\x73g\x69d\x20\x3d ?",array(${${"\x47\x4c\x4fBA\x4cS"}["r\x72xj\x6c\x6cg\x6d"]}));}${$qnwohvylh}=$data->entry[0]->changes[0]->value->metadata->display_phone_number;${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x6bb\x73i\x6b\x72\x77"]}=$adb->pquery("S\x45\x4cE\x43\x54\x20*\x20\x46RO\x4d vt\x69\x67er\x5fctwhats\x61p\x70\x62us\x69n\x65s\x73\x75\x73\x65rs\n\x20  \x20\x49N\x4e\x45\x52 J\x4f\x49\x4e v\x74iger\x5fc\x74\x77ha\x74s\x61\x70\x70\x62\x75\x73in\x65\x73s_\x75\x73\x65\x72\x5fg\x72o\x75\x70\x73\x20\x4fN\x20\x76\x74iger_ct\x77\x68ats\x61\x70pbusin\x65s\x73\x5fuse\x72\x5f\x67\x72\x6f\x75\x70s.useri\x64\x20\x3d\x20vt\x69ge\x72\x5fctw\x68\x61t\x73appbu\x73in\x65s\x73u\x73\x65\x72\x73\x2ec\x75\x73\x74o\x6dfie\x6cd\x35\x20IN\x4e\x45\x52 \x4aO\x49\x4e c\x74\x77hatsa\x70\x70\x5fb\x6fts\x20\x4f\x4e\x20\x63twha\x74\x73a\x70p_bo\x74\x73\x2eass\x69\x67n\x75s\x65\x72\x69\x64 \x3d\x20v\x74\x69g\x65r\x5f\x63t\x77\x68a\x74s\x61\x70\x70bus\x69\x6ee\x73\x73\x5f\x75\x73er\x5f\x67r\x6fu\x70\x73.\x75s\x65ri\x64 \x57HE\x52E \x76t\x69\x67\x65r_c\x74w\x68\x61t\x73a\x70p\x62u\x73i\x6ees\x73\x75s\x65\x72\x73.wh\x61\x74s\x61\x70p\x6eo\x20=\x20? AND\x20ctwhat\x73ap\x70_bots.d\x65\x6ce\x74ed\x20=\x20?",array(${$gkcqukrez},1));${${"G\x4cO\x42\x41LS"}["\x65z\x62jv\x6d\x6b\x6e\x72\x79"]}=$adb->num_rows(${$cmrciuhlocb});${${"\x47LO\x42A\x4c\x53"}["i\x6a\x6c\x6f\x67\x72\x68p\x63"]}=$adb->query_result(${${"G\x4cO\x42\x41\x4c\x53"}["\x78\x67\x74hp\x6f\x79\x6dy"]},0,"what\x73\x61pp\x62o\x74");if(${${"G\x4c\x4f\x42\x41\x4cS"}["\x69\x6a\x6c\x6f\x67\x72hpc"]}==0){${${"\x47\x4cO\x42A\x4c\x53"}["n\x75e\x7a\x78\x73\x62ej"]}=$data->entry[0]->changes[0]->value->messages[0]->type;if($data->entry[0]->changes[0]->value->messages){$tdqjtmffd="w\x68\x61\x74sap\x70\x53c\x61\x6eNo";$xrmoewmietx="bo\x64y";${"GLO\x42\x41\x4cS"}["\x71\x76\x6c\x6d\x79\x71v"]="\x72e\x63o\x72\x64\x4do\x64e\x6c";${"GL\x4fBA\x4c\x53"}["\x79\x6a\x6d\x71\x69\x70\x78"]="\x67\x65\x74Me\x73\x73ag\x65\x44\x61t\x65T\x69\x6d\x65";$fpiryqxu="\x6d\x6fb\x69\x6c\x65\x6e\x6f";${$xrmoewmietx}=$data->entry[0]->changes[0]->value->messages[0]->text->body;${"\x47L\x4f\x42A\x4c\x53"}["\x79f\x71\x70\x6a\x77\x62k\x6d\x68\x67\x65"]="\x77\x68a\x74sa\x70p\x4c\x6f\x67\x51u\x65\x72y";${${"\x47\x4cO\x42\x41L\x53"}["\x71m\x68\x76r\x63\x72\x64"]}=$data->entry[0]->changes[0]->value->messages[0]->id;${"G\x4c\x4f\x42AL\x53"}["g\x78f\x6em\x78g\x78\x70"]="d\x69\x73p\x6c\x61\x79_\x70\x68o\x6e\x65_n\x75m\x62\x65\x72";${$tdqjtmffd}=$data->entry[0]->changes[0]->value->metadata->phone_number_id;${"\x47L\x4fB\x41\x4c\x53"}["bc\x78i\x74f\x63\x70\x72"]="\x6do\x62\x69\x6c\x65\x6e\x6f";${"\x47LO\x42\x41L\x53"}["x\x70\x66\x79ug\x63\x67\x65c\x68"]="\x71\x75\x6f\x74\x65b\x6f\x64\x79";$nuuwxnyzqhp="t\x69\x6d\x65";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64s\x6er\x64\x6e\x69\x64\x6a\x74\x6a\x62"]}=$data->entry[0]->changes[0]->value->contacts[0]->profile->name;${$nuuwxnyzqhp}=$data->entry[0]->changes[0]->value->messages[0]->timestamp;$afivhus="\x6d\x6f\x64u\x6c\x65\x4e\x61me";${"\x47\x4c\x4fBA\x4c\x53"}["\x61\x64\x64dy\x68\x75\x78\x66"]="\x6do\x62\x69\x6c\x65\x6eo";$wccnkwlu="\x72\x65\x6c\x61\x74\x65dT\x6f";${"\x47\x4c\x4fBAL\x53"}["\x70\x6c\x72\x66\x79yg\x67o\x74e"]="\x77\x68\x61\x74sa\x70\x70Bo\x64y";$nonfqeejl="\x61\x75th\x74\x6fk\x65n";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x75\x69uyu\x6ch"]="\x6do\x62\x69\x6c\x65\x6e\x6f";$drwwykpf="\x72\x65\x63\x69\x65\x76e\x64\x4d\x65\x73sa\x67e\x49d";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x6a\x6d\x71\x69\x70x"]}=date("\x59-m-\x64 \x48:i:\x73",${${"\x47\x4cOBA\x4c\x53"}["\x6c\x6f\x78e\x6c\x65r\x64ab\x6a"]});${${"\x47\x4cO\x42A\x4c\x53"}["l\x75\x69\x75\x79\x75l\x68"]}=$data->entry[0]->changes[0]->value->messages[0]->from;${${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x71r\x6f\x68\x61\x72\x66\x77\x78\x77"]}=$data->entry[0]->changes[0]->value->messages[0]->context->id;${"\x47\x4c\x4fB\x41L\x53"}["\x6ey\x64\x66\x70\x79\x76\x63\x66h"]="\x63o\x6efi\x67\x75r\x61\x74i\x6f\x6eA\x64m\x69\x6eD\x61\x74a";${"\x47\x4c\x4fBA\x4c\x53"}["r\x64\x6a\x72\x74hsc"]="\x72\x65\x6ca\x74e\x64\x54\x6f\x44\x61\x74a";${"\x47\x4cO\x42\x41L\x53"}["\x73y\x67j\x69hr\x70r"]="\x67et\x57\x68\x61\x74\x73a\x70\x70\x51\x75\x65r\x79";if(${${"\x47\x4cO\x42\x41\x4cS"}["\x66\x71r\x6f\x68\x61\x72f\x77x\x77"]}){$sdwxmtcvezr="r\x65\x70\x6cy\x4d\x65s\x73\x61\x67\x65T\x65\x78\x74Q\x75\x65\x72\x79";$vrhoolfqov="\x71\x75\x6ft\x4de\x73\x73a\x67\x65";$fpfvcounksy="r\x6f\x77\x73";${$sdwxmtcvezr}=$adb->pquery("S\x45\x4cEC\x54\x20*\x20F\x52\x4f\x4d\x20vtig\x65\x72\x5f\x63\x74what\x73\x61pp\x62\x75si\x6ee\x73s \n\x20\x20 \x20\x20    \x20\x20 \x20\x20\x20 I\x4e\x4eE\x52 \x4a\x4f\x49\x4e v\x74\x69g\x65r\x5f\x63r\x6d\x65\x6e\x74i\x74\x79 O\x4e vt\x69g\x65r\x5f\x63rme\x6et\x69t\x79.\x63\x72m\x69d = \x76tiger\x5fct\x77\x68at\x73ap\x70\x62\x75s\x69\x6ees\x73.ctw\x68a\x74sa\x70p\x69d \n\x20 \x20\x20\x20  \x20\x20 \x20  \x20\x20 \x57H\x45RE\x20\x76\x74\x69\x67\x65\x72\x5fctwh\x61t\x73\x61p\x70b\x75\x73\x69\x6e\x65\x73s.\x79\x6f\x75r\x5f\x6eumber \x3d\x20? AN\x44 vtiger\x5f\x63twh\x61t\x73a\x70pb\x75s\x69n\x65\x73\x73.\x6d\x73\x67\x69\x64\x20= ?",array(${${"\x47L\x4f\x42AL\x53"}["c\x69\x62\x6f\x78\x7a\x65\x65u"]},${$vrhoolfqov}));${$fpfvcounksy}=$adb->num_rows(${${"\x47LO\x42\x41L\x53"}["j\x76l\x71x\x73\x79\x6a\x76"]});if(${${"G\x4cOBAL\x53"}["\x74\x6f\x62xkk\x73\x6ch\x66"]}){${${"\x47L\x4f\x42\x41\x4c\x53"}["n\x72b\x71\x74b"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x76\x6cqx\x73y\x6a\x76"]},0,"m\x65\x73\x73ag\x65_\x62o\x64y");}}${$wccnkwlu}="";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x6c\x74x\x78\x6f\x72p"]}=$current_user->id;${"G\x4c\x4f\x42\x41L\x53"}["\x74o\x71ru\x78\x78\x68c\x67\x6a"]="\x63\x6fn\x66\x69\x67\x75\x72a\x74i\x6f\x6e\x44\x61\x74\x61";${${"\x47LO\x42\x41\x4cS"}["\x71\x76lm\x79\x71\x76"]}=Vtiger_Record_Model::getInstanceById(${${"G\x4c\x4f\x42\x41\x4cS"}["\x67ltx\x78or\x70"]},"\x55\x73\x65\x72s");${${"\x47\x4c\x4f\x42\x41LS"}["\x6a\x69\x6d\x77\x79\x62\x6cg\x6d"]}=$recordModel->get("f\x69r\x73t\x5f\x6ea\x6d\x65")."\x20".$recordModel->get("l\x61st_\x6e\x61m\x65");${"\x47L\x4f\x42\x41\x4cS"}["\x64\x6c\x79eu\x71"]="\x6d\x6f\x62\x69\x6ce\x6e\x6f";${${"\x47\x4c\x4f\x42\x41L\x53"}["d\x70\x63\x6bi\x6f\x66x\x75"]}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationAllDataWithId(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67l\x74x\x78or\x70"]});${${"G\x4cOBALS"}["\x78\x6be\x6ef\x74\x62rm\x79\x7a"]}=${${"G\x4c\x4fBA\x4c\x53"}["\x64p\x63k\x69\x6f\x66x\x75"]}["c\x75\x73\x74\x6fm\x66i\x65ld\x31"];$dhployiwx="\x61ut\x6f\x52\x65\x73\x70\x6fnde\x72T\x65\x78t";${$nonfqeejl}=${${"\x47\x4cOB\x41\x4c\x53"}["\x64\x70c\x6b\x69\x6f\x66\x78u"]}["\x61ut\x68\x74\x6f\x6be\x6e"];$wqyffke="\x63\x6f\x6e\x66\x69\x67\x75\x72e\x55\x73\x65\x72\x69\x64";$ddctefvrgvy="c\x6fn\x66\x69gura\x74i\x6f\x6e\x41\x64\x6d\x69\x6eD\x61ta";${${"\x47\x4cO\x42\x41L\x53"}["\x6at\x76mq\x79"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74o\x71ru\x78x\x68\x63\x67\x6a"]}["\x69c\x6fn\x61\x63\x74\x69ve"];${$ddctefvrgvy}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationDataWithId();${"G\x4c\x4fB\x41LS"}["\x62\x73znwwm\x72\x65\x73"]="\x72\x65\x6c\x61t\x65\x64\x54\x6f";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x6be\x6e\x66\x74\x62\x72\x6d\x79\x7a"]}=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x6b\x65\x69\x79o\x67\x68\x66\x6c"]}["cu\x73t\x6f\x6d\x66ield\x31"];${"GL\x4f\x42\x41LS"}["\x79\x61bk\x68\x64\x6f\x74ngjz"]="g\x65\x74\x4d\x65\x73\x73\x61\x67\x65\x44\x61\x74e\x54i\x6d\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["pl\x6f\x6d\x66\x77\x63\x62\x75"]}=${${"\x47\x4c\x4fBA\x4c\x53"}["rk\x65\x69\x79o\x67hfl"]}["au\x74o\x52e\x73\x70ond\x65r"];${$dhployiwx}=${${"\x47LO\x42\x41\x4c\x53"}["n\x79\x64\x66p\x79\x76\x63\x66\x68"]}["a\x75\x74\x6f\x52\x65\x73\x70on\x64erTe\x78\x74"];${${"\x47\x4cOB\x41\x4c\x53"}["\x6dr\x6f\x73\x75\x74\x67"]}=${${"\x47L\x4fBAL\x53"}["\x72\x6be\x69\x79\x6f\x67\x68\x66l"]}["\x77hat\x73app\x6cog"];$rbklsodom="re\x6c\x61t\x65\x64\x54o";${${"\x47LO\x42AL\x53"}["\x6du\x69\x61\x69\x77\x6e\x70"]}="\x52ecie\x76e\x64";${"\x47L\x4f\x42\x41\x4cS"}["\x73\x6d\x73d\x74i\x76u\x70cz"]="\x63\x6fn\x66\x69g\x75reU\x73\x65\x72i\x64";${$fpiryqxu}=${${"G\x4c\x4f\x42\x41LS"}["\x64\x6c\x79\x65\x75\x71"]};${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x6d\x76\x76\x67\x74\x63"]}=${$drwwykpf};${"\x47L\x4f\x42AL\x53"}["\x65\x6b\x6f\x69\x6e\x71\x6a\x62\x65"]="\x63\x75s\x74\x6f\x6d\x65r\x4e\x6f";${${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x6c\x67vc\x75"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["\x74\x64\x6a\x61\x75\x6e\x6aj"]};${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x6a\x65\x75e\x73\x65f\x62o\x7a\x63"]}=strlen(${${"\x47\x4cOB\x41\x4cS"}["ad\x64\x64y\x68u\x78f"]});if(${${"GLOB\x41\x4c\x53"}["\x62\x6ae\x75\x65s\x65\x66\x62\x6f\x7ac"]}>10&&${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x6be\x6ef\x74\x62\x72\x6d\x79z"]}!=""){${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x6e\x69\x65\x6d\x73o\x67a"]="wi\x74\x68o\x75\x74\x63\x6f\x64\x65";$fhwtswkp="\x6d\x6f\x62\x69\x6c\x65\x6eo";$sipkouq="\x6d\x6f\x62\x69\x6ce\x6e\x6f";${"GLO\x42\x41\x4c\x53"}["y\x6dx\x64l\x71\x77\x61vb\x6a\x71"]="\x77\x69\x74\x68\x6f\x75t\x63\x6f\x64\x65";${${"G\x4cO\x42\x41LS"}["ym\x78d\x6c\x71wa\x76b\x6a\x71"]}=substr(${$sipkouq},-10);${$fhwtswkp}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["nni\x65m\x73\x6fga"]};}else{$jmfaml="c\x75\x73\x74o\x6d\x66iel\x641";$ublgdoqvd="\x6d\x6fbi\x6c\x65no";$spfgkxp="\x6d\x6f\x62\x69\x6ceno";${$spfgkxp}=${$jmfaml}.${$ublgdoqvd};}$vxprogynjjm="\x72\x65l\x61ted\x54o";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76fg\x77\x74\x77\x67"]="r\x65\x6c\x61\x74\x65\x64\x54\x6f\x44\x61t\x61";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76f\x67\x77tw\x67"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"G\x4c\x4fBA\x4c\x53"}["\x74d\x6a\x61\x75n\x6a\x6a"]},-9));${${"\x47\x4c\x4fB\x41\x4cS"}["\x78q\x6c\x66z\x69\x73\x66\x6ew\x76"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["r\x64j\x72\x74\x68sc"]}["\x72\x65la\x74\x65d\x54o"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69o\x6e\x70\x66\x6cxg\x68\x77"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppUserData(${${"\x47\x4c\x4fB\x41\x4cS"}["\x6a\x6c\x67v\x63\x75"]},${${"G\x4cO\x42\x41\x4c\x53"}["\x62sz\x6e\x77w\x6dr\x65s"]},${${"\x47\x4cO\x42\x41L\x53"}["c\x69bo\x78\x7a\x65e\x75"]});${$wqyffke}=${${"G\x4c\x4fB\x41\x4cS"}["s\x79g\x6aihr\x70r"]}["sm\x6f\x77\x6e\x65\x72i\x64"];if(${${"GL\x4f\x42\x41LS"}["\x74\x64ja\x75\x6ej\x6a"]}){$pfanfrop="g\x65t\x6eu\x6dber\x49m\x70\x6f\x72\x74\x61\x6e\x74";${$pfanfrop}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74d\x6a\x61\x75\x6e\x6a\x6a"]});}if(${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x75e\x7a\x78s\x62\x65j"]}!="te\x78\x74"){$ncdjqbll="\x6d\x69\x6de_typ\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x72\x6d\x76\x6b\x6d\x67\x6a\x79ff"]="c\x75rl";$jntyaprupkyk="\x6d\x69\x6d\x65\x5ft\x79\x70\x65";$uhourw="cur\x6c\x31";${${"\x47LO\x42A\x4c\x53"}["\x79g\x65x\x66\x73\x69"]}=$data->entry[0]->changes[0]->value->messages[0]->image->id;$casvjuqfqli="\x6d\x69m\x65\x5f\x74\x79\x70\x65";$ynaqqknjiwsv="\x77\x65\x65\x6b";${"GLOB\x41\x4c\x53"}["\x66nx\x66\x69\x7a\x62e\x6doje"]="\x6d\x65d\x69a\x46i\x6c\x65I\x64";$ptisxknl="\x64\x61\x79";$hyijocj="\x61\x75\x74h\x74\x6fke\x6e";${"\x47\x4c\x4f\x42AL\x53"}["f\x70\x70\x68g\x75qo"]="\x63\x75\x72\x6c";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6cg\x64\x6f\x6c\x77\x76\x7ao\x66\x6e"]="\x6d\x65d\x69\x61\x46il\x65UR\x4c";if(${${"\x47\x4cO\x42\x41LS"}["\x66\x6e\x78f\x69\x7abe\x6do\x6a\x65"]}==""){$ngkeglig="\x6d\x65\x64\x69aFi\x6ce\x49\x64";${${"\x47L\x4f\x42\x41LS"}["\x79g\x65\x78\x66\x73\x69"]}=$data->entry[0]->changes[0]->value->messages[0]->document->id;if(${$ngkeglig}==""){${"\x47\x4cO\x42A\x4cS"}["\x65\x63h\x66lt\x68q\x73"]="me\x64\x69\x61\x46i\x6c\x65\x49\x64";${${"\x47LO\x42A\x4c\x53"}["\x65\x63\x68f\x6ct\x68q\x73"]}=$data->entry[0]->changes[0]->value->messages[0]->audio->id;if(${${"\x47L\x4f\x42ALS"}["y\x67e\x78f\x73\x69"]}==""){${${"G\x4c\x4f\x42AL\x53"}["yg\x65\x78f\x73i"]}=$data->entry[0]->changes[0]->value->messages[0]->video->id;}}}$jubphb="\x6d\x69\x6de_t\x79\x70\x65";$tswpnwmvdw="\x72\x65\x73\x70\x6f\x6e\x73\x65";${"\x47LO\x42A\x4cS"}["\x7ap\x65\x77\x6a\x73p"]="m\x65d\x69a\x46\x69l\x65\x49d";$sheqkjevyroj="\x72o\x6ft\x5f\x64ir\x65ct\x6fr\x79";${"\x47L\x4fB\x41L\x53"}["bd\x6c\x6f\x78\x74\x6dbl\x76"]="w\x65\x65k";${${"\x47\x4cOBA\x4c\x53"}["\x69rmvk\x6d\x67\x6ay\x66\x66"]}=curl_init();${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x6bt\x73\x65gge\x72t"]="\x64\x61\x79";$zbvrsjpawyqv="\x6d\x69me\x5ft\x79\x70\x65";curl_setopt_array(${${"G\x4cO\x42AL\x53"}["\x79\x62\x63o\x79et\x6a\x74"]},array(CURLOPT_URL=>"\x68\x74\x74\x70\x73://\x67\x72\x61ph\x2e\x66a\x63\x65\x62\x6f\x6fk.c\x6fm/v15\x2e\x30/".${${"\x47LO\x42A\x4c\x53"}["\x7ap\x65\x77\x6a\x73\x70"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GET",CURLOPT_HTTPHEADER=>array("A\x75\x74h\x6f\x72i\x7aa\x74\x69\x6fn:\x20Be\x61r\x65\x72\x20".${$hyijocj}),));${${"\x47\x4cO\x42\x41L\x53"}["\x71\x78\x75\x75\x79\x69\x71\x70\x76\x66d"]}=curl_exec(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x62\x63\x6fy\x65\x74j\x74"]});curl_close(${${"\x47L\x4f\x42\x41L\x53"}["\x66\x70p\x68g\x75q\x6f"]});$niofqul="\x77\x68a\x74s\x61\x70\x70f\x6f\x6c\x64\x65\x72\x70\x61\x74\x68";${$tswpnwmvdw}=json_decode(${${"GL\x4f\x42\x41L\x53"}["\x71\x78\x75\x75\x79\x69\x71\x70\x76fd"]},true);${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x67\x64\x6f\x6c\x77\x76\x7a\x6f\x66\x6e"]}=${${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x72\x63\x66\x69\x70\x6d"]}["url"];${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x72\x70\x69\x71u\x79\x65"]="au\x74htoke\x6e";$bcfijyxkx="\x63ur\x6c1";$khwteuu="f\x70";${$ncdjqbll}=$data->entry[0]->changes[0]->value->messages[0]->image->mime_type;$epcvnfntnf="\x64\x61\x79";if(${${"\x47\x4c\x4f\x42AL\x53"}["\x66\x67\x63x\x74wt\x74"]}==""){${${"G\x4c\x4fB\x41\x4c\x53"}["\x66gcxt\x77\x74\x74"]}=$data->entry[0]->changes[0]->value->messages[0]->document->mime_type;${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6dbgrb\x7a\x61\x72\x68\x6c"]="\x70\x64f\x66\x69\x6ce\x6e\x61\x6d\x65";${${"G\x4c\x4fB\x41L\x53"}["\x6d\x62\x67\x72b\x7a\x61\x72\x68l"]}=$data->entry[0]->changes[0]->value->messages[0]->document->filename;if(${${"\x47LOBA\x4c\x53"}["\x66gc\x78t\x77\x74\x74"]}==""){$oaqxnucp="\x6d\x69me\x5f\x74yp\x65";${${"\x47\x4c\x4f\x42\x41L\x53"}["f\x67\x63\x78\x74\x77t\x74"]}=$data->entry[0]->changes[0]->value->messages[0]->audio->mime_type;$hgdyoglpitf="\x70d\x66\x66i\x6ce\x6e\x61m\x65";${$hgdyoglpitf}=$data->entry[0]->changes[0]->value->messages[0]->audio->filename;if(${$oaqxnucp}==""){$pyrpkqg="m\x69\x6d\x65_\x74\x79p\x65";${$pyrpkqg}=$data->entry[0]->changes[0]->value->messages[0]->video->mime_type;${${"GL\x4f\x42\x41\x4c\x53"}["\x6c\x74\x66d\x6c\x75\x71\x6f\x77o\x71"]}=$data->entry[0]->changes[0]->value->messages[0]->video->filename;}}}${"\x47\x4cOB\x41L\x53"}["\x6c\x6dn\x68\x72\x65yx"]="wh\x61\x74\x73\x61\x70\x70\x66o\x6cde\x72\x70\x61\x74h";$wlfnhptof="da\x79";${"\x47\x4cO\x42\x41\x4cS"}["\x6b\x6d\x74\x6fm\x63\x71"]="\x64a\x79";${"\x47\x4c\x4fBAL\x53"}["\x63s\x76\x61x\x64mp\x6am"]="\x77\x68a\x74\x73a\x70p\x66\x6f\x6c\x64er\x70\x61\x74\x68";$gismtiuus="d\x61\x79";$xnsxekucy="\x63\x75\x72l\x31";if(${${"G\x4c\x4f\x42AL\x53"}["f\x67\x63\x78t\x77tt"]}=="im\x61g\x65/jpe\x67"){${${"GL\x4f\x42\x41\x4cS"}["\x62\x74\x63jwm\x72\x65\x65b"]}="I\x6dag\x65".rand().".\x6a\x70\x65g";}else if(${$jntyaprupkyk}=="\x74e\x78\x74/\x63\x73v"||${${"\x47L\x4f\x42ALS"}["\x66g\x63\x78\x74wt\x74"]}=="\x61\x70p\x6c\x69cat\x69\x6f\x6e/ms\x77or\x64"||${${"\x47\x4cO\x42A\x4cS"}["f\x67c\x78\x74\x77\x74\x74"]}==""){$djtbnb="f\x69len\x61m\x65";${$djtbnb}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x74\x66dl\x75\x71owo\x71"]};}else if(${${"G\x4c\x4f\x42A\x4c\x53"}["f\x67\x63\x78t\x77t\x74"]}=="\x61p\x70\x6cic\x61\x74\x69\x6fn/\x70\x64f"){$hrldtfxy="\x66\x69\x6c\x65\x6ea\x6d\x65";${$hrldtfxy}=${${"G\x4cOB\x41\x4c\x53"}["ltf\x64\x6c\x75\x71o\x77\x6fq"]};}else if(${$jubphb}=="\x61pp\x6cic\x61\x74i\x6f\x6e/v\x6ed.\x6fpe\x6e\x78\x6dl\x66orma\x74\x73-\x6fffice\x64oc\x75\x6de\x6et\x2e\x77\x6frdpr\x6f\x63\x65s\x73\x69ngml.\x64o\x63u\x6d\x65\x6e\x74"){${${"G\x4cO\x42A\x4c\x53"}["\x62\x74\x63\x6a\x77\x6d\x72e\x65\x62"]}=${${"G\x4c\x4f\x42\x41L\x53"}["\x6ct\x66dluqo\x77\x6f\x71"]};}else if(${$zbvrsjpawyqv}=="a\x75\x64io/m\x70\x65\x67"){$fkkjdxjngx="\x66i\x6c\x65\x6eame";${$fkkjdxjngx}="Au\x64\x69\x6f".rand()."\x2e\x6d\x703";}else if(${$casvjuqfqli}=="\x76\x69deo/\x6d\x70\x34"){$jmluapijfkt="\x66i\x6c\x65na\x6de";${$jmluapijfkt}="Vide\x6f".rand()."\x2e\x6dp4";}$mpodkm="\x79\x65\x61r";if(file_exists("\x77orkfl\x6fw1.tx\x74")){$mpccobrhmdyl="m\x69\x6d\x65\x5f\x74\x79\x70\x65";$userfile=fopen("w\x6fr\x6bf\x6cow\x31.\x74x\x74","a+");fwrite($userfile,"\n".print_r(${$mpccobrhmdyl},true));fclose($userfile);}else{$oydfalxux="\x6di\x6d\x65\x5f\x74\x79\x70\x65";$userfile=fopen("\x77o\x72\x6bf\x6cow1\x2e\x74\x78\x74","w+");fwrite($userfile,print_r(${$oydfalxux},true));fclose($userfile);}${${"\x47L\x4fBA\x4c\x53"}["\x70ol\x78iv\x72\x6d\x79\x76"]}=date("Y");$xzxyyyqlcjhh="f\x69\x6ce\x6ea\x6d\x65";${${"\x47\x4cO\x42A\x4c\x53"}["\x79\x67\x62\x79u\x78d"]}=date("\x46");${${"G\x4c\x4f\x42A\x4c\x53"}["k\x6fc\x76\x66u\x67\x6b\x6d\x79x\x71"]}=date("j");${${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x70\x73\x6eb\x6dr\x6ft"]}="";$gofngbowx="t\x61\x72get\x5f\x66\x69l\x65";${${"\x47LO\x42A\x4c\x53"}["\x70\x66ns\x63\x68\x6dur"]}="\x6do\x64\x75les/\x43T\x57\x68\x61\x74\x73Ap\x70B\x75s\x69\x6e\x65s\x73/CT\x57\x68\x61\x74\x73\x41\x70\x70\x42\x75\x73\x69\x6ee\x73s\x53t\x6f\x72\x61ge/";${"\x47L\x4fBA\x4c\x53"}["\x6bl\x69\x67\x75\x6dfg\x6b\x6f\x70"]="we\x65\x6b";$qmaxtwlm="w\x68a\x74\x73\x61\x70\x70\x66o\x6c\x64\x65\x72p\x61\x74\x68";if(!is_dir(${${"\x47\x4cO\x42\x41\x4cS"}["\x75\x70\x6fz\x62\x6dl\x6b"]}.${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x66n\x73\x63\x68\x6d\x75\x72"]})){$tgewklp="\x77ha\x74\x73\x61\x70\x70fol\x64\x65\x72\x70\x61t\x68";mkdir(${${"\x47\x4cO\x42AL\x53"}["\x75\x70o\x7a\x62\x6dlk"]}.${${"G\x4cO\x42\x41L\x53"}["\x70\x66\x6e\x73\x63\x68\x6d\x75\x72"]});$wtkyyszy="r\x6f\x6f\x74_dire\x63tor\x79";chmod(${$wtkyyszy}.${$tgewklp},0777);}if(!is_dir(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x70\x6f\x7a\x62\x6d\x6c\x6b"]}.${$qmaxtwlm}.${${"\x47LO\x42\x41\x4c\x53"}["\x70\x6f\x6cx\x69v\x72\x6d\x79\x76"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x64\x66\x6ft\x76\x69"]="w\x68\x61\x74\x73\x61p\x70f\x6fl\x64\x65r\x70\x61t\x68";$eotvvhjdr="\x77\x68\x61\x74\x73ap\x70\x66\x6fl\x64\x65\x72p\x61\x74\x68";$emlvawbf="\x79\x65a\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["g\x6d\x77\x67\x6c\x70\x6e\x66\x64c"]="\x72\x6f\x6f\x74\x5fdi\x72e\x63\x74o\x72y";mkdir(${${"\x47\x4c\x4fB\x41L\x53"}["\x67mwgl\x70n\x66dc"]}.${$eotvvhjdr}.${$emlvawbf});chmod(${${"\x47\x4cOB\x41\x4c\x53"}["\x75\x70ozb\x6dlk"]}.${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6dd\x66\x6f\x74vi"]}.${${"G\x4c\x4f\x42A\x4c\x53"}["\x70\x6f\x6cx\x69\x76r\x6d\x79\x76"]},0777);}if(!is_dir(${${"G\x4c\x4f\x42\x41\x4c\x53"}["u\x70\x6f\x7a\x62\x6d\x6c\x6b"]}.${$niofqul}.${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70o\x6cx\x69v\x72\x6d\x79\x76"]}."/".${${"\x47\x4c\x4f\x42\x41\x4cS"}["y\x67by\x75x\x64"]})){$eyeetdtcif="w\x68\x61\x74\x73\x61p\x70\x66old\x65\x72\x70a\x74\x68";${"\x47L\x4f\x42A\x4c\x53"}["\x74z\x7a\x62uwqy\x65c\x77k"]="\x72\x6f\x6f\x74\x5f\x64i\x72\x65\x63\x74\x6f\x72y";${"\x47\x4cOBA\x4c\x53"}["vi\x67\x6d\x6ft\x6bdi\x71\x6c"]="r\x6fo\x74\x5f\x64i\x72e\x63\x74o\x72y";mkdir(${${"GL\x4f\x42A\x4c\x53"}["\x74z\x7a\x62\x75\x77\x71\x79e\x63\x77k"]}.${$eyeetdtcif}."$year/$month/");chmod(${${"\x47L\x4fBAL\x53"}["v\x69\x67m\x6f\x74\x6bdi\x71\x6c"]}.${${"GLOB\x41\x4c\x53"}["pf\x6e\x73ch\x6dur"]}."$year/$month/",0777);}${"GL\x4f\x42ALS"}["\x68\x70\x70\x73\x76\x6e\x79\x68"]="week";${"\x47\x4c\x4fB\x41\x4c\x53"}["nh\x79\x62\x65\x7ac"]="f\x70";if(${${"\x47L\x4f\x42\x41L\x53"}["\x79\x6b\x74\x73egg\x65r\x74"]}>0&&${$ptisxknl}<=7)${${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x70\x73n\x62\x6d\x72o\x74"]}="\x77\x65\x65\x6b\x31";elseif(${$wlfnhptof}>7&&${${"GL\x4f\x42A\x4c\x53"}["\x6b\x6dt\x6fm\x63q"]}<=14)${${"G\x4cOB\x41L\x53"}["\x6fps\x6eb\x6d\x72\x6f\x74"]}="w\x65\x65\x6b2";elseif(${$epcvnfntnf}>14&&${${"G\x4c\x4f\x42\x41\x4cS"}["\x6b\x6fc\x76\x66\x75\x67\x6b\x6d\x79xq"]}<=21)${${"G\x4c\x4f\x42\x41L\x53"}["\x6b\x6c\x69\x67\x75\x6d\x66\x67\x6bop"]}="\x77e\x65k\x33";elseif(${$gismtiuus}>21&&${${"\x47\x4cOB\x41\x4c\x53"}["\x6bo\x63\x76\x66u\x67\x6b\x6d\x79\x78\x71"]}<=28)${${"G\x4c\x4f\x42\x41L\x53"}["\x62\x64\x6c\x6f\x78\x74\x6d\x62l\x76"]}="w\x65\x65k\x34";else${$ynaqqknjiwsv}="wee\x6b\x35";if(!is_dir(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x70\x6fz\x62\x6dl\x6b"]}.${${"\x47\x4c\x4f\x42A\x4cS"}["c\x73\x76a\x78\x64\x6d\x70\x6am"]}.${$mpodkm}."/".${${"\x47\x4c\x4fBA\x4c\x53"}["y\x67\x62\x79\x75\x78d"]}."/".${${"\x47LO\x42\x41\x4c\x53"}["\x68p\x70\x73\x76\x6e\x79\x68"]})){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6dz\x63e\x6d\x74\x73f\x70\x78"]="\x77ha\x74\x73\x61ppfol\x64e\x72\x70a\x74\x68";$ifbvpokv="w\x68\x61\x74\x73\x61p\x70fo\x6c\x64\x65\x72\x70\x61\x74\x68";mkdir(${${"G\x4c\x4f\x42\x41L\x53"}["up\x6f\x7ab\x6dlk"]}.${${"G\x4cOBA\x4c\x53"}["\x6d\x7a\x63\x65\x6d\x74sf\x70\x78"]}."$year/$month/$week/");chmod(${${"G\x4c\x4f\x42\x41L\x53"}["\x75\x70\x6fzbm\x6c\x6b"]}.${$ifbvpokv}."$year/$month/$week/",0777);}${${"\x47L\x4f\x42\x41L\x53"}["pk\x6aewv"]}=${$sheqkjevyroj}.${${"GL\x4fB\x41LS"}["p\x66\x6e\x73\x63\x68m\x75r"]}."$year/$month/$week/".${$xzxyyyqlcjhh};${$uhourw}=curl_init();curl_setopt_array(${$bcfijyxkx},array(CURLOPT_URL=>${${"\x47\x4c\x4f\x42\x41L\x53"}["s\x6e\x61\x6ad\x73\x77\x67\x64"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_USERAGENT=>"\x63\x75rl/\x37.6\x34.\x31",CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GE\x54",CURLOPT_HTTPHEADER=>array("A\x75\x74\x68\x6f\x72i\x7a\x61\x74\x69\x6fn: Bearer ".${${"\x47L\x4fB\x41\x4c\x53"}["\x6a\x72\x70\x69\x71\x75\x79\x65"]}),));${${"\x47L\x4fBA\x4cS"}["\x74\x74c\x68\x6c\x6e\x68h"]}=curl_exec(${${"\x47\x4cO\x42\x41\x4cS"}["h\x68b\x78\x61\x6d\x78"]});curl_close(${$xnsxekucy});${${"\x47\x4cO\x42A\x4c\x53"}["tfa\x65\x65\x74jco"]}=${${"\x47\x4c\x4f\x42A\x4cS"}["\x78tk\x6dp\x6dm"]}.${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x6d\x6e\x68r\x65\x79\x78"]}."$year/$month/$week/".${${"G\x4cO\x42A\x4cS"}["\x62\x74\x63\x6aw\x6d\x72\x65e\x62"]};${${"GL\x4f\x42\x41\x4cS"}["\x6dq\x73mdq\x6f\x76n\x63\x78"]}=fopen(${$gofngbowx},"\x77\x62");fwrite(${${"\x47LO\x42\x41\x4cS"}["\x6e\x68\x79\x62e\x7a\x63"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x74\x63\x68l\x6ehh"]});fclose(${$khwteuu});${${"\x47\x4cO\x42A\x4c\x53"}["\x77\x71e\x77\x75p\x6c"]}=${${"GLO\x42\x41\x4c\x53"}["\x74f\x61e\x65\x74j\x63\x6f"]};}else{${"\x47\x4cO\x42\x41\x4cS"}["\x6b\x6c\x74\x77\x79\x79\x69\x79\x70\x63"]="\x62od\x79";${${"\x47\x4cO\x42ALS"}["\x77\x71e\x77\x75p\x6c"]}=${${"\x47\x4c\x4f\x42A\x4cS"}["k\x6c\x74\x77\x79yi\x79\x70\x63"]};}${${"\x47L\x4f\x42A\x4c\x53"}["\x79\x66\x71p\x6awbk\x6dhg\x65"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppLogData(${${"G\x4c\x4f\x42\x41L\x53"}["\x65k\x6f\x69nqj\x62\x65"]},${$rbklsodom},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x69\x62o\x78\x7aee\x75"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65s\x79r\x64\x69\x6em\x6b\x65t"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x6fv\x78t\x67h\x6cif\x6ai"]}["\x72o\x77\x73"];if(${${"\x47\x4c\x4f\x42\x41L\x53"}["e\x73\x79\x72\x64i\x6e\x6d\x6be\x74"]}==0){${"\x47L\x4fBA\x4c\x53"}["w\x69\x74y\x65\x72p\x68"]="\x63u\x73t\x6fmer\x4eo";$ltkpnkcsw="\x73\x65\x6e\x64\x65\x72N\x61\x6de";${${"G\x4c\x4fBA\x4c\x53"}["\x72s\x62\x63\x66\x65\x70vcu"]}=Vtiger_Record_Model::getCleanInstance("Wh\x61tsAp\x70\x42\x75\x73i\x6ee\x73s\x4cog");${"GL\x4f\x42A\x4c\x53"}["\x6fhi\x78\x61\x6a\x79\x65\x72"]="\x77\x68\x61\x74\x73\x61p\x70Bo\x64\x79";$kvkskwoyux="m\x65s\x73\x61g\x65T\x79\x70\x65";$recordModel->set("w\x68at\x73\x61ppl\x6fg\x5f\x73\x65\x6eder\x6e\x61m\x65",${$ltkpnkcsw});$recordModel->set("mes\x73\x61\x67\x65l\x6f\x67\x5fb\x6f\x64\x79",${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x68\x69\x78\x61j\x79\x65\x72"]});$aawbsiodz="c\x75st\x6fm\x65\x72No";$recordModel->set("me\x73\x73\x61\x67\x65\x6c\x6fg_type",${$kvkskwoyux});$recordModel->set("\x77hat\x73\x61\x70p\x6c\x6fg\x5fc\x6fnt\x61\x63\x74\x69d",${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x71l\x66zi\x73\x66n\x77\x76"]});if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x71lf\x7a\x69\x73\x66\x6e\x77\x76"]}){$wcfghumyp="\x73\x65\x74yp\x65";${${"\x47\x4cO\x42\x41\x4cS"}["\x78qf\x77\x77c\x65\x68\x6f\x6c"]}=VtigerCRMObject::getSEType(${${"G\x4c\x4fB\x41\x4c\x53"}["\x78q\x6c\x66\x7a\x69s\x66\x6e\x77\x76"]});${${"\x47LO\x42AL\x53"}["\x78\x75rb\x72\x73\x62"]}=Vtiger_Record_Model::getInstanceById(${${"\x47\x4cOB\x41\x4c\x53"}["\x78q\x6c\x66\x7ai\x73fn\x77\x76"]},${$wcfghumyp});${"\x47L\x4f\x42\x41L\x53"}["j\x6f\x6a\x75j\x73l\x75\x64\x70"]="\x64i\x73\x70l\x61\x79\x6ea\x6d\x65";${${"\x47\x4c\x4f\x42AL\x53"}["\x70\x6f\x78\x63tly\x62t"]}=$recordModelData->get("\x6c\x61\x62el");$recordModel->set("\x77\x68a\x74sapp\x6co\x67\x5fdisp\x6c\x61yna\x6de",${${"GLO\x42AL\x53"}["j\x6f\x6au\x6a\x73\x6c\x75d\x70"]});}else{$recordModel->set("\x77hat\x73a\x70p\x6c\x6f\x67\x5f\x64\x69\x73p\x6cay\x6eame",${${"G\x4c\x4f\x42AL\x53"}["\x6a\x6cg\x76\x63u"]});}$recordModel->set("\x77h\x61\x74sap\x70\x6co\x67\x5f\x75nr\x65ad\x72e\x61d","\x55\x6e\x72\x65\x61\x64");$recordModel->set("wh\x61\x74\x73ap\x70\x6cog_w\x69\x74\x68c\x63o\x64\x65",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x69\x74\x79\x65\x72p\x68"]});$recordModel->set("w\x68\x61tsap\x70l\x6f\x67_se\x6ede\x72\x6e\x61\x6de",${$aawbsiodz});$kngtkzyiy="\x64is\x70\x6c\x61\x79\x5fphone\x5f\x6e\x75\x6d\x62e\x72";$recordModel->set("\x77hats\x61pplo\x67\x5fmsg\x69\x64",${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6amvvgtc"]});$recordModel->set("wh\x61t\x73\x61pp\x6c\x6fg\x5fd\x61tet\x69\x6d\x65",${${"G\x4c\x4f\x42A\x4c\x53"}["\x72\x79\x78o\x75\x75z"]});${"G\x4c\x4f\x42\x41L\x53"}["f\x64\x78\x70l\x70\x76\x7a"]="\x63o\x6e\x66i\x67\x75\x72\x65Userid";$recordModel->set("\x77h\x61\x74\x73a\x70p\x6c\x6f\x67\x5fy\x6f\x75r\x5f\x6eu\x6d\x62er",${$kngtkzyiy});$recordModel->set("\x61s\x73\x69gned_u\x73er_i\x64",${${"\x47\x4cOB\x41\x4c\x53"}["\x66dx\x70\x6cp\x76\x7a"]});$recordModel->set("what\x73app\x6co\x67_\x69mp\x6frt\x61nt",${${"G\x4c\x4fB\x41\x4c\x53"}["\x6d\x61\x76\x72\x63o"]});$recordModel->save();}else{${${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x6c\x6a\x71\x69f\x6aa\x79\x77\x6b"]}=${${"\x47\x4cO\x42\x41\x4c\x53"}["po\x76x\x74\x67\x68\x6c\x69\x66\x6ai"]}["\x77hats\x61\x70\x70\x62\x75\x73in\x65ssl\x6f\x67i\x64"];$xbkbhqce="\x63o\x6e\x66\x69\x67u\x72\x65\x55s\x65\x72\x69\x64";${"\x47\x4c\x4fB\x41L\x53"}["d\x76\x6c\x74\x73\x6au\x62\x6c"]="get\x4d\x65ssa\x67\x65\x44a\x74\x65Time";${${"\x47\x4cOB\x41L\x53"}["rs\x62\x63\x66e\x70\x76\x63u"]}=Vtiger_Record_Model::getInstanceById(${${"G\x4cOB\x41\x4cS"}["n\x6cj\x71i\x66ja\x79w\x6b"]},"\x57hats\x41\x70\x70\x42\x75s\x69\x6ees\x73Lo\x67");$recordModel->set("mo\x64e","\x65di\x74");$recordModel->set("id",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6eljq\x69\x66j\x61y\x77\x6b"]});$recordModel->set("whatsa\x70\x70log_d\x61t\x65t\x69\x6d\x65",${${"\x47\x4c\x4fBA\x4cS"}["\x64\x76\x6c\x74\x73j\x75bl"]});$recordModel->set("\x6d\x65\x73sa\x67e\x6cog_\x62\x6f\x64y",${${"\x47\x4cO\x42AL\x53"}["\x77qe\x77\x75\x70\x6c"]});$recordModel->set("a\x73signed_u\x73e\x72_i\x64",${$xbkbhqce});$recordModel->set("\x77h\x61\x74sapplog_\x75\x6e\x72\x65ad\x72e\x61d","Un\x72\x65ad");$recordModel->save();}${$afivhus}="\x43\x54W\x68\x61\x74s\x41\x70\x70B\x75si\x6ees\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["r\x73\x62\x63\x66ep\x76\x63\x75"]}=Vtiger_Record_Model::getCleanInstance(${${"G\x4c\x4f\x42\x41L\x53"}["rr\x76\x67\x6d\x67\x64\x69\x77\x6f\x74"]});$recordModel->set("w\x68a\x74\x73\x61\x70p\x5f\x73\x65\x6ede\x72\x6e\x61\x6de",${${"G\x4cOB\x41\x4cS"}["\x6a\x69\x6d\x77\x79\x62l\x67\x6d"]});$recordModel->set("mess\x61g\x65_bod\x79",${${"\x47LO\x42\x41\x4c\x53"}["\x70\x6c\x72\x66\x79\x79\x67\x67\x6ft\x65"]});$recordModel->set("mes\x73\x61ge_type",${${"\x47L\x4f\x42A\x4c\x53"}["\x6duia\x69\x77\x6e\x70"]});$recordModel->set("w\x68\x61\x74\x73\x61p\x70_\x63\x6fnta\x63t\x69\x64",${${"G\x4c\x4fBA\x4c\x53"}["\x78\x71lf\x7ais\x66\x6e\x77\x76"]});if(${$vxprogynjjm}){${"\x47\x4cO\x42\x41L\x53"}["\x6dt\x6f\x72\x6a\x63\x6f"]="\x73etype";$vmnqthsvkqz="\x73\x65t\x79\x70\x65";${$vmnqthsvkqz}=VtigerCRMObject::getSEType(${${"\x47L\x4fB\x41\x4cS"}["\x78\x71lfz\x69s\x66\x6e\x77v"]});$ixxlzrwiw="\x72\x65l\x61t\x65d\x54\x6f";${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x75\x72b\x72\x73b"]}=Vtiger_Record_Model::getInstanceById(${$ixxlzrwiw},${${"\x47L\x4fB\x41\x4c\x53"}["\x6dt\x6fr\x6a\x63\x6f"]});${${"G\x4cO\x42AL\x53"}["\x70\x6f\x78c\x74\x6c\x79b\x74"]}=$recordModelData->get("\x6c\x61b\x65\x6c");$recordModel->set("wha\x74\x73app_\x64\x69s\x70\x6cay\x6e\x61me",${${"G\x4c\x4f\x42\x41LS"}["po\x78c\x74l\x79b\x74"]});}else{$jcttnyyl="c\x75\x73t\x6f\x6d\x65\x72\x4e\x6f";$recordModel->set("\x77\x68\x61t\x73a\x70\x70_dis\x70\x6c\x61yn\x61\x6de",${$jcttnyyl});}$recordModel->set("whats\x61\x70\x70\x5f\x75\x6erea\x64\x72\x65\x61\x64","\x55nread");$recordModel->set("\x77h\x61\x74s\x61\x70p\x5f\x77it\x68\x63\x63o\x64e",${${"\x47\x4cO\x42\x41\x4cS"}["j\x6cgvcu"]});$recordModel->set("\x77hatsap\x70\x5fse\x6e\x64\x65r\x6e\x61me",${${"\x47L\x4f\x42\x41L\x53"}["\x6alg\x76\x63u"]});$recordModel->set("ms\x67id",${${"G\x4cO\x42\x41L\x53"}["\x6a\x6dv\x76\x67t\x63"]});$recordModel->set("\x77\x68ats\x61pp\x5fd\x61\x74e\x74\x69m\x65",${${"G\x4cO\x42AL\x53"}["\x79\x61bk\x68\x64o\x74\x6e\x67jz"]});$recordModel->set("\x79ou\x72_nu\x6db\x65\x72",${${"\x47\x4cO\x42A\x4c\x53"}["\x67\x78\x66\x6em\x78\x67xp"]});$recordModel->set("\x61\x73\x73\x69g\x6eed_\x75s\x65\x72\x5f\x69\x64",${${"\x47LOB\x41L\x53"}["\x73\x6d\x73\x64\x74i\x76\x75\x70\x63z"]});$recordModel->set("\x77h\x61\x74\x73\x61\x70\x70_import\x61nt",${${"\x47\x4c\x4fB\x41LS"}["\x6d\x61v\x72\x63\x6f"]});$recordModel->set("w\x68a\x74\x73\x61\x70\x70\x5f\x71\x75o\x74eme\x73\x73\x61\x67e",${${"\x47\x4cO\x42AL\x53"}["\x78pfyu\x67\x63\x67ec\x68"]});$recordModel->save();if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62cxi\x74f\x63\x70\x72"]}){${"GL\x4fB\x41\x4c\x53"}["v\x69t\x65k\x74\x68e"]="\x63\x6f\x6e\x66\x69\x67\x75r\x61\x74\x69\x6f\x6e\x44a\x74a";${${"G\x4c\x4f\x42\x41L\x53"}["\x7a\x6cmg\x66\x6d\x73\x65\x69\x6e"]}=$_REQUEST["u\x73\x65ri\x64"];$lynmvceoajv="\x63o\x6e\x66\x69\x67\x75r\x61ti\x6fn\x44\x61\x74\x61";$wtqkowjh="\x61p\x69\x5fu\x72\x6c";${$wtqkowjh}=${${"\x47\x4cOBAL\x53"}["\x64pc\x6b\x69\x6f\x66\x78\x75"]}["a\x70\x69_\x75\x72\x6c"];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x62\x6d\x6ee\x6f\x71e\x68d"]="au\x74\x68\x5ft\x6f\x6ben";${${"\x47\x4c\x4f\x42A\x4c\x53"}["b\x62\x6dne\x6f\x71\x65\x68\x64"]}=${${"\x47L\x4f\x42\x41L\x53"}["v\x69\x74e\x6b\x74\x68\x65"]}["a\x75t\x68t\x6f\x6ben"];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x76a\x66ruy\x71\x6d\x6e"]}=${$lynmvceoajv}["whatsa\x70p_\x62\x75\x73i\x6ee\x73s\x6eumber"];if(${${"\x47L\x4f\x42AL\x53"}["plo\x6df\x77\x63\x62u"]}==1){${"G\x4c\x4f\x42AL\x53"}["\x68\x72\x6c\x78cyj"]="mob\x69\x6c\x65n\x6f";$okeulutxicm="g\x65\x74R\x65\x63\x6f\x72dQ\x75\x65r\x79";$edkate="r\x6f\x77";${${"GLO\x42\x41\x4c\x53"}["\x6am\x77y\x63\x61"]}=CTWhatsAppBusiness_Record_Model::unreadQuery();${$okeulutxicm}=$adb->pquery("\x53ELECT * FR\x4f\x4d\x20v\x74i\x67\x65\x72_c\x74\x77ha\x74sap\x70bu\x73i\x6e\x65\x73\x73 \n \x20 \x20\x20   \x20\x20 \x20\x20 \x20   \x20 I\x4eN\x45\x52\x20\x4aOI\x4e \x76\x74i\x67er\x5fcrmenti\x74y\x20O\x4e v\x74i\x67e\x72\x5f\x63\x72me\x6et\x69\x74y.\x63\x72\x6d\x69d\x20\x3d v\x74i\x67\x65\x72\x5fc\x74w\x68\x61\x74\x73\x61p\x70\x62\x75\x73\x69\x6eess.\x63t\x77\x68\x61\x74sap\x70\x69d \n\x20 \x20    \x20\x20      \x20\x20\x20\x20 W\x48ERE\x20vt\x69g\x65r_c\x72m\x65nt\x69ty\x2e\x64\x65let\x65\x64 =\x20\x30\x20\x41\x4eD v\x74\x69\x67er\x5f\x63tw\x68a\x74s\x61p\x70b\x75si\x6e\x65ss\x2ew\x68a\x74\x73\x61\x70p_wi\x74hcco\x64\x65 = ? \x41\x4e\x44 vti\x67e\x72_c\x74\x77h\x61ts\x61\x70\x70\x62\x75\x73\x69\x6eess\x2e\x6d\x65\x73\x73\x61ge_\x74y\x70e = 'R\x65\x63\x69ev\x65d\x27",array(${${"G\x4c\x4f\x42\x41\x4cS"}["h\x72\x6c\x78\x63\x79j"]}));${$edkate}=$adb->num_rows(${${"GL\x4f\x42\x41LS"}["\x7a\x63k\x66\x71\x65\x78cy"]});if(${${"G\x4c\x4fBAL\x53"}["d\x6d\x6a\x70dfjt"]}==1){$cdjkwdl="\x75\x72\x6c";${"\x47L\x4f\x42\x41\x4cS"}["\x74\x6b\x6a\x71\x6fld\x64"]="displ\x61\x79\x5f\x70\x68o\x6ee\x5f\x6e\x75\x6d\x62\x65r";${"G\x4cO\x42\x41\x4cS"}["dt\x65\x63fwlg\x64"]="\x6d\x6f\x62i\x6ce\x6eo";$ipneepylge="p\x6fs\x74\x66i\x65\x6cd\x73";${"G\x4cOBALS"}["w\x6d\x65\x6b\x72\x6ay"]="s\x65n\x64\x52\x65\x73\x70\x6f\x6ede\x72\x4de\x73\x73\x61\x67\x65";$ynxkleko="\x61\x70i\x5f\x75\x72\x6c";${"\x47\x4cO\x42\x41LS"}["\x6fq\x68\x6d\x61\x75\x6dk\x6d"]="\x61u\x74oR\x65s\x70\x6fnd\x65\x72\x54ex\x74";${$cdjkwdl}=${$ynxkleko}.${${"\x47L\x4f\x42A\x4c\x53"}["\x68\x76\x61fr\x75\x79qm\x6e"]}."/\x6dess\x61\x67\x65\x73";$tbxengqqycq="re\x63\x6f\x72\x64\x4do\x64e\x6c\x52e\x73\x70\x6f\x6ede\x72";${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x68\x68q\x66\x67e\x6d"]="po\x73\x74f\x69\x65\x6c\x64\x73";${"G\x4c\x4fB\x41\x4c\x53"}["\x70fd\x63\x70h\x62x\x68\x76\x6c"]="\x6do\x62\x69\x6c\x65\x6e\x6f";${$ipneepylge}=array("\x6de\x73sagi\x6eg_\x70roduct"=>"\x77h\x61t\x73\x61\x70\x70","\x72eci\x70i\x65n\x74_t\x79\x70e"=>"ind\x69vidual","\x74\x6f"=>${${"\x47L\x4fB\x41\x4cS"}["\x70\x66\x64\x63\x70\x68\x62xh\x76\x6c"]},"typ\x65"=>"\x74e\x78\x74","\x74e\x78t"=>array("pre\x76\x69ew\x5furl"=>false,"bo\x64y"=>${${"\x47\x4c\x4fBA\x4c\x53"}["\x6fq\x68m\x61\x75mk\x6d"]}),);${${"GLO\x42\x41L\x53"}["m\x63\x75\x77z\x6b\x73v\x63\x74\x6b"]}=date("\x59-\x6d-\x64 \x48:\x69:s");${${"\x47L\x4f\x42\x41LS"}["wm\x65\x6b\x72jy"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"\x47\x4cO\x42\x41L\x53"}["j\x79\x79\x78\x6b\x69\x68\x6e\x63\x6du"]},${${"G\x4c\x4f\x42\x41LS"}["\x6e\x68\x68\x71\x66\x67\x65\x6d"]},${${"G\x4cOB\x41\x4c\x53"}["p\x65\x6f\x79\x74bc\x6c\x6fq\x63"]});${"GLO\x42\x41L\x53"}["\x6f\x6f\x79j\x6d\x67\x64\x79"]="\x64\x69\x73pl\x61\x79_p\x68\x6f\x6e\x65\x5fn\x75\x6d\x62\x65\x72";${"G\x4c\x4f\x42A\x4cS"}["\x6a\x69qe\x75\x64\x62\x7a\x65"]="au\x74\x6fR\x65\x73\x70on\x64\x65\x72\x54e\x78\x74";${$tbxengqqycq}=Vtiger_Record_Model::getCleanInstance("\x43T\x57h\x61tsA\x70\x70B\x75s\x69ne\x73\x73");$recordModelResponder->set("\x77h\x61\x74\x73\x61p\x70\x5f\x73\x65nd\x65\x72nam\x65",${${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x71\x77\x71\x6e\x63\x76\x67\x6f\x71c"]});$recordModelResponder->set("\x6ds\x67i\x64",${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62q\x65lb\x6e\x6e\x76l\x79h"]}["\x6de\x73s\x61\x67\x65\x73"][0]["id"]);${"\x47\x4cOBA\x4c\x53"}["\x78\x70\x6c\x66i\x6e\x68"]="d\x61\x74e_v\x61\x72";$recordModelResponder->set("w\x68\x61t\x73\x61\x70\x70\x5f\x77it\x68\x63c\x6f\x64\x65",${${"\x47\x4c\x4fB\x41\x4cS"}["\x64\x74\x65\x63\x66wl\x67\x64"]});$recordModelResponder->set("message\x5f\x74y\x70\x65","\x53end");$recordModelResponder->set("messag\x65_b\x6f\x64y",${${"\x47L\x4fB\x41\x4c\x53"}["\x6a\x69\x71\x65u\x64\x62z\x65"]});$recordModelResponder->set("\x77h\x61\x74s\x61p\x70_\x63\x6fn\x74\x61ctid",${${"\x47\x4cO\x42\x41\x4cS"}["\x78\x71\x6cf\x7a\x69\x73\x66\x6ewv"]});if(${${"G\x4cO\x42\x41\x4c\x53"}["x\x71\x6cf\x7a\x69\x73\x66n\x77v"]}){$blsrktifxx="rel\x61t\x65\x64\x54\x6f";$xuohiez="\x64\x69\x73\x70\x6c\x61y\x6e\x61me";$yddibdkf="\x64isp\x6c\x61yn\x61\x6d\x65";${${"\x47\x4c\x4f\x42\x41LS"}["\x78\x71f\x77\x77c\x65\x68o\x6c"]}=VtigerCRMObject::getSEType(${$blsrktifxx});${${"G\x4c\x4fBA\x4c\x53"}["\x78ur\x62\x72s\x62"]}=Vtiger_Record_Model::getInstanceById(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x71l\x66\x7a\x69\x73\x66n\x77\x76"]},${${"\x47\x4cOBALS"}["\x78q\x66\x77\x77\x63eho\x6c"]});${$yddibdkf}=$recordModelData->get("l\x61bel");$recordModelResponder->set("wh\x61t\x73ap\x70_di\x73p\x6c\x61\x79nam\x65",${$xuohiez});}else{$recordModelResponder->set("w\x68\x61tsa\x70p\x5f\x64\x69\x73\x70\x6c\x61\x79\x6ea\x6d\x65",${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x6c\x67\x76\x63u"]});}$recordModelResponder->set("\x61s\x73igned\x5fu\x73\x65\x72\x5fi\x64",${${"\x47L\x4f\x42AL\x53"}["\x69\x65\x68\x64\x77\x6a\x79"]});$recordModelResponder->set("\x77hats\x61p\x70\x5funrea\x64\x72ea\x64","\x55\x6e\x72\x65a\x64");$recordModelResponder->set("w\x68\x61t\x73app\x5f\x66r\x6f\x6d\x6eo",${${"\x47L\x4fBALS"}["o\x6f\x79\x6a\x6d\x67\x64y"]});$recordModelResponder->set("y\x6fu\x72\x5fnu\x6dbe\x72",${${"G\x4c\x4fB\x41\x4c\x53"}["\x74k\x6aqo\x6cd\x64"]});$recordModelResponder->set("\x77\x68\x61\x74s\x61p\x70\x5f\x64a\x74\x65t\x69\x6de",$adb->formatDate(${${"G\x4cOB\x41\x4c\x53"}["xpl\x66\x69\x6e\x68"]},true));$recordModelResponder->save();}}}}}else{$fubhesuxhme="m\x65\x64\x69a\x46\x69l\x65";${$fubhesuxhme}=$data->entry[0]->changes[0]->value->messages[0]->type;if($data->entry[0]->changes[0]->value->messages){$ppjuqiltq="\x77\x68\x61ts\x61\x70\x70\x53\x63\x61\x6e\x4eo";${"G\x4c\x4f\x42A\x4c\x53"}["j\x70\x68\x78g\x74i\x79\x6e\x64v"]="\x67e\x74\x4de\x73\x73\x61ge\x44\x61t\x65\x54i\x6de";$hyimkt="\x72e\x63i\x65\x76e\x64\x4d\x65s\x73\x61\x67\x65\x49\x64";$osfcsgukkvh="get\x4d\x65\x73\x73\x61\x67\x65D\x61te\x54i\x6d\x65";${"G\x4c\x4f\x42ALS"}["\x64u\x6cx\x6a\x6b\x71\x7a\x65\x75"]="l\x69\x63\x65\x6e\x73\x65D\x61\x74e";$kgerihd="\x63urr\x65n\x55\x73\x65\x72\x49\x44";$icmoahppwxq="re\x6ca\x74\x65\x64\x54\x6f\x44\x61ta";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ru\x63\x72vn\x6d"]="\x63\x75st\x6f\x6d\x65\x72\x4eo";${"G\x4cOB\x41\x4c\x53"}["i\x74v\x64\x74\x72k\x66\x7at\x73\x72"]="\x6d\x65d\x69aF\x69\x6ce";$tqocdxefu="a\x75t\x6fR\x65\x73\x70o\x6e\x64\x65\x72";if(${${"G\x4c\x4f\x42A\x4c\x53"}["i\x74\x76\x64t\x72k\x66zt\x73\x72"]}=="i\x6e\x74er\x61cti\x76e"){$sesweljv="\x62\x6f\x64y";${$sesweljv}=$data->entry[0]->changes[0]->value->messages[0]->interactive->button_reply->id;}else{${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x70e\x78\x72\x67j\x72\x63\x6b"]}=$data->entry[0]->changes[0]->value->messages[0]->text->body;}$tvbjhhyxgun="\x6do\x62il\x65n\x6f";$fpuwynqa="ex\x70\x69\x72\x79dat\x65";${$hyimkt}=$data->entry[0]->changes[0]->value->messages[0]->id;${$ppjuqiltq}=$data->entry[0]->changes[0]->value->metadata->display_phone_number;$mlbysdhsdtq="\x72\x65l\x61tedTo";${${"\x47LO\x42A\x4c\x53"}["\x64\x73\x6e\x72dn\x69\x64\x6a\x74\x6a\x62"]}=$data->entry[0]->changes[0]->value->contacts[0]->profile->name;$sfqhvwv="\x63\x75\x72\x72\x65nBotID";${${"G\x4cO\x42\x41L\x53"}["l\x6fx\x65le\x72da\x62j"]}=$data->entry[0]->changes[0]->value->messages[0]->timestamp;$louovmopre="\x63\x75s\x74\x6fmf\x69\x65l\x64\x31";${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x6a\x66\x78\x78\x6e\x7a"]="\x72\x65\x63\x6f\x72d\x4do\x64\x65\x6c";${"G\x4cOB\x41\x4c\x53"}["h\x68\x75y\x77w"]="c\x75r\x72\x65n\x55\x73\x65\x72ID";$cplpngvtyfv="\x72\x65\x6c\x61t\x65\x64\x54\x6f";$pduzmw="\x72\x65\x63o\x72\x64M\x6f\x64\x65l";${$osfcsgukkvh}=date("Y-\x6d-d H:i:\x73",${${"GL\x4f\x42ALS"}["l\x6f\x78e\x6c\x65rd\x61\x62\x6a"]});$zummwljrih="f\x69\x72st\x62\x6f\x74\x69d";$fwprgsfp="\x6d\x6f\x62\x69\x6ce\x6e\x6f";${${"\x47LOBA\x4cS"}["\x74\x64\x6a\x61u\x6ejj"]}=$data->entry[0]->changes[0]->value->messages[0]->from;$nfhugxbfi="\x6d\x6fd\x75\x6c\x65N\x61\x6d\x65";${"\x47L\x4fB\x41L\x53"}["\x66\x75\x65\x6fj\x72"]="b\x6f\x64\x79";$movyvgbxx="\x63\x6fn\x66i\x67\x75\x72a\x74\x69o\x6e\x41dm\x69\x6e\x44\x61\x74a";$ybiltije="c\x6f\x6e\x66\x69\x67\x75\x72\x61t\x69\x6f\x6e\x44\x61\x74a";if(${$fwprgsfp}){$xsexphbyi="\x70r\x65\x51\x75e\x73\x74\x69on\x44\x61\x74\x61";${${"GL\x4f\x42A\x4c\x53"}["\x72u\x61kt\x68\x74k\x63\x79"]}=getPreQuestionDetails(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74d\x6aa\x75nj\x6a"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79h\x65\x78\x71xpo\x63\x70\x76"]}=${$xsexphbyi}["p\x72eQ\x75es\x74\x69\x6f\x6e\x52o\x77s"];${${"G\x4c\x4f\x42\x41L\x53"}["b\x67\x66\x6dl\x70\x65"]}=${${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x75\x61\x6b\x74h\x74\x6bcy"]}["man\x75a\x6c\x64\x61t\x65\x74i\x6de"];${"\x47L\x4f\x42A\x4c\x53"}["\x79v\x78kw\x63w\x61"]="m\x61\x6e\x75\x61l\x44\x61\x74\x65Ti\x6d\x65D\x61\x74\x65";${${"GL\x4fB\x41\x4cS"}["\x6d\x65\x77\x67\x66\x72\x7a\x69\x61"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72uak\x74\x68\x74\x6b\x63\x79"]}["\x70\x72e\x62\x6ft\x69\x64"];if(${${"GL\x4fB\x41L\x53"}["y\x76\x78\x6bw\x63w\x61"]}){${"\x47LO\x42A\x4c\x53"}["\x63\x75w\x6a\x68ue\x69\x78"]="\x62\x6f\x74\x69de\x61\x6c\x74i\x6d\x65";${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x70\x73\x65\x64\x70\x75\x69\x72cx"]="\x70re\x51\x75\x65s\x74ion\x44\x61t\x61";${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x67xj\x6d\x78\x73\x68"]="\x6dan\x75\x61\x6c\x64\x61\x74e\x74\x69\x6d\x65";${${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x67xjm\x78s\x68"]}=strtotime(${${"\x47\x4c\x4f\x42\x41LS"}["n\x70s\x65dpu\x69\x72\x63x"]}["\x6danu\x61\x6c\x64a\x74\x65\x74im\x65"]);${"G\x4cO\x42A\x4c\x53"}["\x6e\x76\x6f\x66\x65mq\x70"]="c\x6fn\x66\x69\x67\x75r\x61\x74\x69\x6f\x6e\x44\x61\x74a";${"\x47\x4cOB\x41L\x53"}["\x67\x7a\x79\x72\x77\x73\x7a\x73"]="\x74\x69\x6d\x65";${${"\x47LOB\x41\x4c\x53"}["n\x76\x6ff\x65\x6dqp"]}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationDataWithId();${"G\x4cO\x42\x41\x4c\x53"}["\x65\x79\x66h\x6c\x64\x68t"]="time";${"G\x4cO\x42\x41L\x53"}["o\x73\x67\x6b\x76i\x66i"]="\x6da\x6e\x75ald\x61t\x65\x74im\x65";${${"G\x4c\x4f\x42A\x4c\x53"}["\x61xl\x79\x75mb\x6fv"]}=${${"\x47L\x4f\x42\x41LS"}["\x64p\x63\x6b\x69o\x66x\x75"]}["\x62o\x74\x69\x64\x65\x61l\x74\x69\x6de"];$egkjlvthrz="m\x65s\x73\x61\x67\x65\x54\x69\x6d\x65\x44\x69\x66\x66r\x65\x6e\x63\x65";${${"\x47L\x4fB\x41L\x53"}["\x65y\x66\x68\x6c\x64\x68t"]}=date("\x59-m-d\x20\x48:i:s");${${"G\x4cO\x42\x41LS"}["fl\x64j\x76\x6b\x6b\x79\x6c\x74\x66"]}=strtotime(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x7a\x79r\x77s\x7a\x73"]})-${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x73\x67\x6bv\x69\x66\x69"]};${${"\x47\x4cOBA\x4c\x53"}["\x6c\x73p\x78xue\x6c\x69\x72"]}=floor((${$egkjlvthrz}/60)%60);if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x73\x70xx\x75e\x6c\x69\x72"]}>=${${"G\x4cO\x42\x41\x4c\x53"}["\x63\x75w\x6ah\x75\x65i\x78"]}){$ofszmqwjuoax="\x6do\x62\x69\x6ce\x6e\x6f";$adb->pquery("\x55\x50D\x41TE \x77hat\x73\x61\x70\x70\x62o\x74_\x70re\x5fqu\x65\x20\x53\x45T\x20\x6d\x61nu\x61lt\x72\x61\x6es\x66\x65\x72 =\x20'\x30\x27 A\x4eD\x20\x70\x72\x65\x71uemo\x62\x69l\x65\x6e\x75m\x62e\x72\x20\x3d ?",array(${$ofszmqwjuoax}));}}}${"G\x4cOB\x41L\x53"}["m\x78ud\x6bt\x6f\x67\x61"]="\x67\x65\x74\x57\x68a\x74\x73a\x70\x70Q\x75\x65\x72y";${$zummwljrih}=getCurrentBotActive(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x69\x75px\x67"]});if(${$sfqhvwv}==""){${"\x47\x4cO\x42\x41L\x53"}["\x61\x71\x67\x62\x78\x71\x65\x74"]="\x63u\x72r\x65\x6e\x42\x6f\x74I\x44";$auemzruvs="\x66i\x72\x73t\x62otid";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x71g\x62\x78\x71\x65t"]}=${$auemzruvs};}${${"GL\x4f\x42\x41L\x53"}["\x7a\x75\x78u\x69\x6a\x77\x71p\x69\x7a"]}=CTWhatsAppBusiness_WhatsappBot_View::getBotLicenseDetail();$wkoyrnxa="\x77\x68\x61t\x73\x41\x70\x70\x4ci\x63e\x6e\x73\x65S\x74a\x74\x75\x73";${$wkoyrnxa}=${${"GLOB\x41L\x53"}["\x7au\x78\x75\x69j\x77q\x70\x69\x7a"]}["\x73\x74\x61\x74u\x73"];$ioxinycdg="\x6fnda\x79\x53end\x4d\x65\x73s\x61ge";$dieznihf="ge\x74\x57\x68\x61\x74\x73\x61\x70\x70\x51\x75\x65r\x79";${"\x47L\x4fB\x41\x4c\x53"}["ul\x6e\x70bv\x62\x6d\x6b\x6a\x6c\x62"]="\x63u\x73\x74\x6f\x6d\x66\x69e\x6c\x64\x31";${${"\x47L\x4f\x42\x41\x4cS"}["\x66\x66\x6co\x76\x6dt\x63\x6c"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["\x7a\x75\x78\x75\x69j\x77q\x70\x69z"]}["s\x65\x6edme\x73sa\x67\x65l\x69\x6dit"];${${"\x47\x4c\x4f\x42\x41\x4cS"}["i\x74upyh\x79\x72u"]}=${${"\x47\x4c\x4fB\x41L\x53"}["z\x75x\x75\x69\x6a\x77\x71\x70\x69\x7a"]}["\x65xp\x69ry\x64at\x65"];${${"\x47\x4cOB\x41\x4c\x53"}["\x64ul\x78j\x6b\x71\x7ae\x75"]}=Settings_CTWhatsAppBusiness_ConfigurationDetail_View::encrypt_decrypt(${$fpuwynqa},${${"\x47\x4c\x4fB\x41L\x53"}["\x76b\x64c\x6e\x69g\x72"]}="\x64");${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x62xf\x77t\x78\x72e"]}=date("Y-m-d");${"\x47LOB\x41LS"}["ss\x6d\x67\x6b\x71l\x6db\x62\x6b"]="\x77\x68\x61t\x73\x61\x70\x70\x42o\x64y";${$ioxinycdg}=getOneDaysMessages();${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x71\x6cf\x7ais\x66n\x77v"]}="";${${"\x47\x4c\x4f\x42\x41LS"}["\x68\x68\x75\x79\x77\x77"]}=$current_user->id;${"G\x4c\x4fB\x41L\x53"}["\x69\x76\x77\x67\x72b\x74p"]="mobi\x6ce\x6e\x6f";$hxdltokhi="c\x75rre\x6e\x55\x73er\x49D";${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x67\x71\x63\x6d\x6a\x6a"]="\x63\x6fnfi\x67\x75\x72\x61\x74\x69onD\x61t\x61";${"\x47\x4cOBALS"}["utlz\x6e\x71"]="co\x6ef\x69g\x75r\x65U\x73e\x72\x69\x64";$cdindptak="\x63\x6f\x6e\x66i\x67\x75\x72\x61\x74i\x6fn\x41\x64\x6di\x6eD\x61\x74a";${${"\x47\x4c\x4fBA\x4c\x53"}["\x6ej\x66x\x78\x6e\x7a"]}=Vtiger_Record_Model::getInstanceById(${$hxdltokhi},"\x55s\x65\x72s");${${"\x47\x4cOB\x41\x4cS"}["j\x69\x6d\x77y\x62\x6c\x67\x6d"]}=$recordModel->get("f\x69r\x73\x74\x5fna\x6d\x65")." ".$recordModel->get("\x6c\x61\x73t_n\x61me");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x70\x63k\x69\x6f\x66x\x75"]}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationAllDataWithId(${$kgerihd});${$louovmopre}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64p\x63\x6b\x69\x6f\x66\x78\x75"]}["\x63\x75s\x74o\x6d\x66\x69\x65ld\x31"];${${"GL\x4f\x42\x41\x4c\x53"}["\x76\x76\x67\x77\x69\x68\x70"]}=${${"\x47\x4cO\x42\x41\x4c\x53"}["x\x67\x71\x63\x6d\x6a\x6a"]}["\x61\x75\x74\x68t\x6fk\x65n"];${${"\x47LO\x42\x41\x4cS"}["\x6a\x74\x76\x6dq\x79"]}=${$ybiltije}["ic\x6f\x6e\x61c\x74\x69v\x65"];${$movyvgbxx}=Settings_CTWhatsAppBusiness_Record_Model::getUserConfigurationDataWithId();$dcslgdrgho="\x72\x65\x6c\x61t\x65\x64\x54\x6f";${${"G\x4cO\x42A\x4c\x53"}["u\x6c\x6ep\x62v\x62\x6dk\x6alb"]}=${$cdindptak}["\x63ust\x6f\x6df\x69\x65\x6c\x641"];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x79\x6c\x6e\x73\x67\x65sd"]="di\x73\x70\x6cay\x5f\x70h\x6f\x6ee_\x6e\x75\x6d\x62e\x72";$wfpyrhlqngsl="\x64\x69s\x70\x6c\x61\x79\x5f\x70\x68o\x6e\x65\x5f\x6eu\x6db\x65\x72";${$tqocdxefu}=${${"\x47\x4cO\x42A\x4c\x53"}["rk\x65\x69y\x6f\x67\x68fl"]}["\x61u\x74\x6f\x52espo\x6e\x64e\x72"];${${"\x47LO\x42\x41\x4c\x53"}["wo\x78\x79\x6b\x68\x72"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["r\x6b\x65\x69\x79og\x68\x66\x6c"]}["\x61\x75toRespo\x6e\x64e\x72\x54ex\x74"];${${"\x47LOB\x41LS"}["\x6d\x75ia\x69w\x6e\x70"]}="Re\x63\x69\x65\x76\x65\x64";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x64\x6a\x61\x75\x6e\x6aj"]}=${$tvbjhhyxgun};${${"GL\x4fB\x41\x4c\x53"}["\x6a\x6d\x76\x76\x67\x74c"]}=${${"\x47\x4c\x4fBA\x4cS"}["\x71m\x68\x76\x72c\x72\x64"]};${${"G\x4cO\x42A\x4c\x53"}["\x6al\x67\x76c\x75"]}=${${"\x47LO\x42\x41\x4c\x53"}["t\x64j\x61\x75\x6e\x6a\x6a"]};${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x76\x78\x6a\x76b\x6a\x67x"]="m\x6f\x62\x69l\x65\x6e\x6f";$htcpjxzgztu="pre\x51ue\x73\x74i\x6f\x6e\x44a\x74a";${$icmoahppwxq}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"\x47\x4c\x4fB\x41\x4cS"}["i\x76\x77\x67\x72\x62tp"]},-9));${$cplpngvtyfv}=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x72\x6d\x6a\x79\x6eu\x77\x6cz\x62p"]}["r\x65\x6cate\x64\x54\x6f"];${"\x47\x4c\x4f\x42A\x4c\x53"}["s\x78\x69\x64o\x64i"]="\x73\x65n\x64\x65\x72\x4ea\x6de";${$dieznihf}=CTWhatsAppBusiness_Record_Model::getWhatsAppUserData(${${"G\x4c\x4f\x42AL\x53"}["j\x6c\x67\x76\x63\x75"]},${$dcslgdrgho},${$wfpyrhlqngsl});${${"GL\x4fB\x41L\x53"}["u\x74\x6c\x7an\x71"]}=${${"G\x4c\x4f\x42AL\x53"}["m\x78\x75\x64\x6bt\x6f\x67a"]}["sm\x6f\x77neri\x64"];${"\x47\x4cO\x42ALS"}["\x76v\x6f\x6a\x62\x65\x65\x71\x73c"]="\x63\x75s\x74\x6fme\x72N\x6f";if(${${"\x47\x4c\x4f\x42\x41LS"}["qvx\x6a\x76\x62\x6a\x67\x78"]}){$nihlgucxq="\x6do\x62\x69\x6ce\x6e\x6f";${"\x47\x4c\x4f\x42A\x4c\x53"}["g\x63\x69dknft\x6am\x71"]="\x67\x65\x74\x6e\x75mb\x65\x72Im\x70o\x72t\x61n\x74";${${"GL\x4fBA\x4c\x53"}["\x67ci\x64k\x6e\x66\x74\x6a\x6d\x71"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${$nihlgucxq});}${${"G\x4cOBAL\x53"}["s\x73\x6d\x67\x6b\x71\x6cmb\x62k"]}=${${"GL\x4f\x42\x41\x4cS"}["f\x75e\x6f\x6ar"]};${${"G\x4c\x4fBAL\x53"}["\x70\x6fvx\x74\x67h\x6ci\x66\x6a\x69"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppLogData(${${"\x47\x4c\x4f\x42\x41\x4cS"}["vvo\x6a\x62e\x65\x71\x73c"]},${$mlbysdhsdtq},${${"\x47LOB\x41L\x53"}["oy\x6c\x6e\x73ge\x73\x64"]});$dudrqfnasdqe="\x72\x65\x6ca\x74edT\x6f";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x73y\x72\x64\x69n\x6d\x6b\x65\x74"]}=${${"GLO\x42A\x4c\x53"}["po\x76\x78t\x67h\x6ci\x66j\x69"]}["\x72ow\x73"];if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x73y\x72d\x69\x6e\x6d\x6b\x65t"]}==0){${"GL\x4f\x42A\x4c\x53"}["nl\x75o\x72\x6am"]="re\x63o\x72\x64\x4do\x64\x65\x6c";$romrgsf="\x63\x75\x73t\x6f\x6d\x65\x72\x4e\x6f";$csgqfvepxtl="\x67e\x74\x6eum\x62\x65r\x49mpo\x72\x74a\x6e\x74";${${"\x47\x4cOBA\x4c\x53"}["\x6elu\x6f\x72j\x6d"]}=Vtiger_Record_Model::getCleanInstance("W\x68\x61ts\x41pp\x42usines\x73L\x6f\x67");${"G\x4c\x4f\x42\x41\x4cS"}["l\x6br\x78bj\x75f"]="\x64i\x73\x70\x6c\x61y\x5fph\x6f\x6e\x65_\x6e\x75m\x62\x65\x72";$recordModel->set("whats\x61pp\x6cog_s\x65\x6ed\x65r\x6ea\x6d\x65",${${"\x47\x4cO\x42AL\x53"}["jim\x77\x79bl\x67\x6d"]});$recordModel->set("messa\x67\x65\x6c\x6f\x67\x5fbod\x79",${${"\x47LOBA\x4c\x53"}["\x77q\x65\x77u\x70\x6c"]});$recordModel->set("\x6d\x65ssa\x67el\x6f\x67\x5f\x74y\x70\x65",${${"G\x4cOB\x41L\x53"}["m\x75i\x61i\x77n\x70"]});$recordModel->set("\x77hatsa\x70\x70\x6cog_\x63\x6fntacti\x64",${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x71lf\x7a\x69\x73\x66\x6ew\x76"]});if(${${"\x47LO\x42\x41L\x53"}["\x78\x71lf\x7a\x69\x73f\x6e\x77v"]}){${"GL\x4f\x42A\x4c\x53"}["g\x72\x72\x67\x64\x73\x78\x75"]="\x64\x69s\x70\x6ca\x79n\x61\x6de";${"\x47\x4cO\x42\x41LS"}["\x63n\x7ae\x6e\x6c\x77\x74\x79i"]="\x72\x65\x6c\x61\x74e\x64\x54\x6f";$isyrwgr="\x72\x65\x63o\x72\x64\x4d\x6fd\x65\x6c\x44\x61\x74a";${${"\x47\x4cO\x42\x41LS"}["x\x71\x66\x77\x77c\x65\x68\x6f\x6c"]}=VtigerCRMObject::getSEType(${${"\x47\x4c\x4f\x42ALS"}["c\x6e\x7ae\x6e\x6c\x77t\x79\x69"]});${$isyrwgr}=Vtiger_Record_Model::getInstanceById(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78q\x6cf\x7ai\x73fn\x77v"]},${${"\x47L\x4fB\x41\x4cS"}["\x78\x71\x66\x77w\x63e\x68\x6f\x6c"]});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67r\x72\x67\x64s\x78\x75"]}=$recordModelData->get("l\x61\x62\x65\x6c");$recordModel->set("\x77\x68\x61t\x73appl\x6fg\x5fdisp\x6cayn\x61me",${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70ox\x63\x74\x6c\x79\x62\x74"]});}else{$hjngwnpgah="\x63u\x73\x74\x6f\x6der\x4e\x6f";$recordModel->set("w\x68\x61t\x73ap\x70log\x5f\x64is\x70\x6cayna\x6de",${$hjngwnpgah});}$recordModel->set("\x77h\x61\x74\x73\x61pplog_un\x72e\x61dre\x61\x64","\x55n\x72e\x61d");$recordModel->set("wha\x74sapp\x6c\x6f\x67_w\x69th\x63c\x6fde",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6c\x67\x76\x63u"]});$recordModel->set("w\x68a\x74\x73\x61pplog_\x73ende\x72n\x61\x6d\x65",${$romrgsf});$recordModel->set("\x77\x68\x61\x74\x73\x61ppl\x6fg_\x6d\x73\x67\x69d",${${"\x47\x4cO\x42A\x4c\x53"}["\x6amv\x76\x67\x74c"]});$recordModel->set("wh\x61t\x73a\x70\x70lo\x67\x5f\x64at\x65\x74\x69m\x65",${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x79\x78o\x75\x75z"]});$recordModel->set("wha\x74\x73\x61pplog_\x79\x6f\x75r\x5f\x6eumber",${${"\x47L\x4f\x42\x41\x4c\x53"}["lkr\x78\x62\x6a\x75\x66"]});$recordModel->set("assi\x67ned\x5f\x75\x73\x65r\x5fid",${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x65\x68\x64\x77\x6a\x79"]});$recordModel->set("\x77h\x61tsap\x70\x6cog_\x69\x6dpo\x72\x74a\x6et",${$csgqfvepxtl});$recordModel->save();}else{${"G\x4c\x4f\x42\x41\x4c\x53"}["gfs\x62\x6d\x6c\x65g\x65"]="\x77\x68\x61t\x73\x61\x70\x70\x42od\x79";$mktpqitu="\x63\x6f\x6e\x66\x69g\x75\x72e\x55\x73e\x72\x69\x64";$fnjxavci="g\x65tM\x65s\x73\x61\x67\x65Da\x74\x65\x54i\x6d\x65";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6e\x6c\x6a\x71\x69\x66jaywk"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70ov\x78t\x67\x68\x6c\x69\x66\x6ai"]}["\x77\x68\x61\x74\x73app\x62\x75s\x69n\x65\x73\x73logi\x64"];$eqwgokehykx="\x77hats\x61\x70pl\x6f\x67i\x64";${${"G\x4c\x4f\x42\x41LS"}["\x72s\x62\x63fep\x76\x63u"]}=Vtiger_Record_Model::getInstanceById(${$eqwgokehykx},"\x57ha\x74sA\x70\x70\x42\x75\x73in\x65\x73\x73\x4cog");$recordModel->set("\x6d\x6fde","\x65\x64i\x74");$recordModel->set("id",${${"G\x4c\x4fB\x41L\x53"}["n\x6c\x6a\x71\x69\x66j\x61\x79w\x6b"]});$recordModel->set("wh\x61ts\x61\x70p\x6co\x67_dat\x65\x74\x69me",${$fnjxavci});$recordModel->set("\x6d\x65s\x73\x61ge\x6c\x6fg_\x62\x6f\x64\x79",${${"G\x4cO\x42\x41LS"}["gf\x73\x62\x6d\x6cege"]});$recordModel->set("\x61\x73s\x69\x67\x6e\x65d_\x75\x73er\x5f\x69d",${$mktpqitu});$recordModel->set("\x77h\x61t\x73a\x70\x70l\x6fg_\x75n\x72eadr\x65a\x64","Unrea\x64");$recordModel->save();}${${"G\x4c\x4f\x42\x41\x4cS"}["\x72\x72\x76\x67mg\x64\x69w\x6ft"]}="C\x54\x57\x68a\x74\x73Ap\x70B\x75\x73\x69nes\x73";${$pduzmw}=Vtiger_Record_Model::getCleanInstance(${$nfhugxbfi});$recordModel->set("w\x68at\x73a\x70p\x5fse\x6e\x64\x65\x72\x6e\x61\x6d\x65",${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73x\x69dod\x69"]});$recordModel->set("\x6des\x73\x61\x67e_\x62ody",${${"\x47\x4cOB\x41\x4cS"}["wqew\x75\x70\x6c"]});$recordModel->set("me\x73sa\x67e\x5f\x74\x79\x70\x65",${${"GLOB\x41\x4cS"}["mui\x61i\x77\x6e\x70"]});$recordModel->set("\x77h\x61t\x73a\x70p\x5f\x63\x6fn\x74\x61\x63ti\x64",${${"G\x4c\x4f\x42\x41LS"}["\x78\x71\x6cf\x7a\x69s\x66\x6e\x77\x76"]});if(${$dudrqfnasdqe}){${"\x47L\x4f\x42A\x4cS"}["\x7aew\x6b\x69d\x73\x64\x79\x63"]="\x72\x65late\x64\x54\x6f";${"G\x4c\x4f\x42\x41LS"}["\x77\x71\x6do\x6ec\x64\x69"]="\x64\x69s\x70\x6cayn\x61\x6d\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x71\x66\x77\x77\x63e\x68\x6f\x6c"]}=VtigerCRMObject::getSEType(${${"GLO\x42\x41LS"}["xqlf\x7a\x69\x73\x66\x6ew\x76"]});$fmjiexhle="\x73et\x79\x70\x65";${${"GLOB\x41\x4c\x53"}["\x78\x75\x72br\x73b"]}=Vtiger_Record_Model::getInstanceById(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ze\x77\x6b\x69\x64\x73dy\x63"]},${$fmjiexhle});${${"\x47\x4c\x4fBA\x4c\x53"}["\x77\x71\x6d\x6f\x6e\x63d\x69"]}=$recordModelData->get("labe\x6c");$recordModel->set("\x77\x68a\x74\x73app_\x64\x69\x73p\x6c\x61\x79na\x6d\x65",${${"GL\x4fBAL\x53"}["p\x6fx\x63\x74ly\x62t"]});}else{${"GL\x4fB\x41\x4c\x53"}["\x69\x70\x70p\x6dz\x76u\x64\x6f"]="\x63\x75\x73\x74\x6fm\x65\x72\x4eo";$recordModel->set("wh\x61tsa\x70p_di\x73pl\x61\x79n\x61\x6d\x65",${${"G\x4c\x4f\x42\x41LS"}["\x69p\x70\x70m\x7av\x75\x64\x6f"]});}$recordModel->set("\x77\x68atsa\x70p_\x75\x6er\x65\x61dr\x65a\x64","\x55\x6e\x72ea\x64");$yndvtxwayn="p\x72e\x51\x75e\x73\x74\x69\x6fn\x44a\x74\x61";$recordModel->set("w\x68a\x74\x73app\x5f\x77ithc\x63\x6fde",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6c\x67\x76c\x75"]});$recordModel->set("whatsap\x70_\x73e\x6e\x64e\x72\x6e\x61me",${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72\x75\x63\x72v\x6e\x6d"]});$recordModel->set("m\x73\x67id",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x6d\x76v\x67\x74\x63"]});$recordModel->set("\x77ha\x74\x73ap\x70\x5f\x64\x61t\x65t\x69\x6de",${${"GL\x4f\x42\x41\x4c\x53"}["\x6a\x70\x68\x78\x67t\x69\x79\x6ed\x76"]});$nzbfqjefegw="\x6d\x6f\x62\x69\x6c\x65n\x6f";$recordModel->set("you\x72\x5f\x6e\x75mber",${${"\x47L\x4fB\x41L\x53"}["\x63\x69\x62o\x78\x7a\x65\x65\x75"]});$recordModel->set("a\x73\x73\x69g\x6e\x65\x64\x5f\x75s\x65r\x5f\x69d",${${"G\x4cO\x42\x41\x4c\x53"}["i\x65\x68d\x77\x6a\x79"]});$recordModel->set("\x77h\x61tsap\x70\x5fimport\x61\x6et",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x61\x76r\x63\x6f"]});$recordModel->set("wh\x61t\x73\x61\x70p_quot\x65\x6des\x73a\x67\x65",${${"\x47\x4c\x4f\x42\x41LS"}["\x6e\x72\x62\x71\x74\x62"]});$recordModel->save();${$yndvtxwayn}=getPreQuestionDetails(${$nzbfqjefegw});${${"\x47\x4c\x4f\x42A\x4cS"}["ja\x6c\x6e\x65\x73\x6f"]}=${$htcpjxzgztu}["\x6d\x61\x6eu\x61\x6c\x74\x72ans\x66er"];if(${${"\x47\x4c\x4f\x42ALS"}["j\x61\x6c\x6e\x65\x73o"]}!=1){${"GLO\x42\x41\x4c\x53"}["\x6bd\x72\x73\x66x\x70f\x67"]="\x73\x65n\x64m\x65\x73\x73\x61\x67\x65li\x6di\x74";if(${${"G\x4c\x4f\x42AL\x53"}["\x69\x6e\x74r\x7ax\x6c\x6f\x72\x64"]}==1&&${${"\x47\x4cOBA\x4c\x53"}["\x69\x6et\x6bmzg\x78\x61\x6f"]}<${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x64r\x73\x66\x78p\x66\x67"]}){$qxeesicy="\x70\x72\x65\x51\x75e\x73\x74\x69\x6f\x6e\x52\x6f\x77s";if(${$qxeesicy}==0){${"G\x4c\x4fB\x41\x4cS"}["\x66\x6e\x67\x67wc\x6etp\x73"]="\x6d\x6fb\x69\x6ce\x6eo";${"G\x4cOBA\x4c\x53"}["o\x6fg\x62yf"]="\x77\x68\x61ts\x61\x70\x70\x42o\x64y";defaultMessage(${${"G\x4c\x4fBA\x4cS"}["\x6f\x6f\x67\x62\x79f"]},${${"G\x4cOB\x41\x4cS"}["fng\x67wc\x6et\x70\x73"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x61\x6c\x6e\x65so"]},${${"\x47\x4cO\x42\x41L\x53"}["\x73i\x75\x70\x78\x67"]});}else{$hjawlmvhuiy="w\x68\x61\x74\x73a\x70\x70\x53\x63\x61\x6e\x4e\x6f";${"\x47\x4cO\x42\x41LS"}["s\x63pmg\x63\x6a\x70qw\x74k"]="m\x61\x6eu\x61\x6c\x74\x72\x61\x6es\x66\x65\x72";sendNextQuestionWithOption(${${"\x47L\x4f\x42\x41L\x53"}["\x77\x71e\x77\x75\x70\x6c"]},${${"\x47L\x4fB\x41\x4c\x53"}["td\x6a\x61\x75n\x6a\x6a"]},${${"G\x4cOBA\x4cS"}["sc\x70\x6d\x67cjp\x71\x77\x74k"]},${$hjawlmvhuiy});}}}}}function getOneDaysMessages(){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bm\x73\x64\x6ek\x68"]="\x74o\x74\x61\x6crec\x6f\x72\x64";$jlrmnes="q\x75\x65r\x79";global$adb;$ochwbihkxt="qu\x65\x72\x79";${${"\x47L\x4fBALS"}["\x74m\x6f\x72\x6az"]}=date("\x59-\x6d-\x64");${$ochwbihkxt}=$adb->pquery("\x53EL\x45C\x54\x20\x63\x6funt(*) as\x20t\x6fta\x6c\x72\x65\x63o\x72\x64\n  \x20\x20 \x20  \x20\x20  \x46\x52\x4fM\x20v\x74\x69\x67er_\x63t\x77\x68at\x73a\x70p\x62\x75s\x69\x6eess\n       \x20\x20\x20\x20 \x49NNER J\x4f\x49\x4e \x76\x74i\x67\x65r_crme\x6e\x74it\x79 ON \x76ti\x67\x65r_\x63rm\x65\x6e\x74ity.\x63\x72m\x69\x64\x20=\x20\x76ti\x67\x65\x72\x5fctw\x68\x61\x74sap\x70\x62u\x73i\x6e\x65ss\x2ec\x74\x77ha\x74s\x61\x70pi\x64\n  \x20\x20\x20\x20   \x20  \x57HER\x45\x20vti\x67\x65\x72_\x63t\x77ha\x74sappb\x75si\x6eess.\x6des\x73\x61\x67e_t\x79pe\x20\x3d\x20'\x53e\x6e\x64\x27\x20AN\x44 vtiger\x5fcrme\x6e\x74\x69t\x79\x2ed\x65\x6c\x65\x74ed\x20\x3d \x30 \x41\x4e\x44 MON\x54H(vtige\x72_\x63\x72m\x65n\x74\x69t\x79.\x63\x72\x65at\x65d\x74i\x6de)\x20\x3d MON\x54H(\x4e\x4f\x57())\n\x20\x20 \x20\x20 \x20 \x20\x20  \x41N\x44\x20Y\x45\x41\x52(vti\x67\x65\x72_c\x72\x6den\x74\x69\x74\x79.cre\x61te\x64t\x69me)\x20=\x20\x59EA\x52(\x4e\x4fW())");$hcsctqzfseq="\x74\x6fta\x6c\x72\x65\x63\x6f\x72\x64";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6b\x6dsdn\x6bh"]}=$adb->query_result(${$jlrmnes},0,"\x74o\x74a\x6c\x72\x65co\x72d");return${$hcsctqzfseq};}function getCurrentBotActive($whatsappScanNo){${"\x47\x4c\x4f\x42AL\x53"}["oeb\x70e\x68\x79"]="ge\x74U\x73\x65rG\x72ous";${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6a\x74\x73\x6e\x70\x72bo"]="\x75\x73\x65\x72\x69\x64";$iqtctlto="\x67\x65\x74U\x73e\x72\x47\x72o\x75\x73";global$adb;${$iqtctlto}=$adb->pquery("S\x45L\x45CT * \x46R\x4f\x4d\x20\x76\x74ig\x65r\x5f\x63t\x77h\x61\x74\x73\x61\x70p\x62\x75s\x69ne\x73\x73c\x6fn\x66igu\x72\x61tio\x6e");$wnsskpluor="firs\x74\x62o\x74i\x64";$rvcoqix="a\x63t\x69\x76\x65B\x6ftQ\x75\x65\x72y";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x62o\x70a\x77\x6c"]}=$adb->query_result(${${"GLO\x42A\x4c\x53"}["\x6fe\x62\x70\x65h\x79"]},0,"\x63\x75sto\x6d\x66\x69el\x644");${"\x47LO\x42AL\x53"}["\x79\x7a\x67l\x65\x77\x66\x65"]="\x61c\x74\x69\x76e\x42otQ\x75\x65\x72y";if(${${"\x47LOB\x41\x4c\x53"}["\x75\x62\x6f\x70\x61\x77\x6c"]}=="\x6dul\x74ipl\x65W\x68at\x73\x61p\x70"){${${"G\x4cO\x42\x41\x4c\x53"}["\x6d\x65\x66\x6a\x76\x73\x72\x6bqj"]}=$adb->pquery("\x53\x45LE\x43\x54 *\x20F\x52OM \x76\x74ig\x65r_c\x74\x77h\x61t\x73a\x70pbu\x73i\x6e\x65ss\x75s\x65\x72s\x20\x57\x48ERE w\x68ats\x61pp\x6e\x6f \x3d\x20?",array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73iup\x78\x67"]}));${${"\x47L\x4f\x42\x41\x4cS"}["\x7a\x6c\x6d\x67f\x6d\x73\x65in"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41L\x53"}["\x6d\x65fj\x76\x73\x72k\x71\x6a"]},0,"\x63\x75\x73\x74o\x6d\x66\x69e\x6c\x645");}else{$bovqlev="\x67etU\x73\x65\x72\x49\x64Q\x75\x65\x72\x79";${"\x47L\x4f\x42\x41L\x53"}["\x74f\x75l\x6d\x6c\x76\x6d"]="g\x65t\x55\x73\x65\x72\x49\x64Q\x75\x65\x72y";${${"\x47\x4cO\x42A\x4c\x53"}["\x74\x66\x75\x6c\x6d\x6c\x76m"]}=$adb->pquery("SELECT *\x20\x46\x52O\x4d\x20v\x74i\x67\x65r\x5fc\x74wha\x74\x73\x61\x70\x70bu\x73\x69n\x65\x73\x73\x63\x6fn\x66i\x67ur\x61\x74i\x6fn \x57\x48\x45R\x45\x20\x77ha\x74s\x61\x70\x70\x6eo\x20\x3d\x20?",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73iu\x70x\x67"]}));${${"\x47L\x4f\x42AL\x53"}["z\x6c\x6dgfm\x73ei\x6e"]}=$adb->query_result(${$bovqlev},0,"\x63\x75\x73to\x6dfiel\x64\x35");}${${"\x47\x4c\x4f\x42\x41LS"}["\x79\x7a\x67\x6c\x65wfe"]}=$adb->pquery("\x53EL\x45\x43T\x20* FR\x4fM c\x74\x77\x68\x61\x74sapp_bots W\x48\x45R\x45 d\x65leted = \x31 A\x4e\x44 \x61\x73si\x67n\x75\x73\x65ri\x64\x20= ?",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68j\x74\x73\x6e\x70\x72b\x6f"]}));${${"G\x4c\x4fBAL\x53"}["\x6f\x6a\x64\x70\x72uc"]}=$adb->query_result(${$rvcoqix},0,"\x62ot\x69\x64");return${$wnsskpluor};}function getPreQuestionDetails($mobileno){$ycgxdwm="\x67\x65\x74\x50\x72\x65Q\x75\x65\x73t\x69\x6f\x6e\x49\x64Qu\x65\x72\x79";${"GL\x4fB\x41\x4c\x53"}["iv\x75q\x71\x70\x65"]="m\x61\x6e\x75a\x6c\x74\x72a\x6e\x73f\x65\x72";$nxolrwxqhnh="\x70\x72\x65\x51\x75\x65s\x74\x69\x6f\x6e\x52ow\x73";global$adb;${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x6d\x79c\x66\x6be\x74z"]="\x72\x65\x73\x75l\x74";$pxwhhjape="\x67\x65\x74\x50\x72\x65\x51u\x65\x73\x74\x69\x6f\x6e\x49\x64\x51\x75\x65\x72y";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x76nh\x6f\x6boqi"]="re\x73u\x6c\x74";${"GL\x4f\x42A\x4c\x53"}["d\x69\x66\x78\x67\x71v\x79\x63m"]="p\x72\x65Que\x73\x74i\x6f\x6e\x49\x44";${"\x47L\x4f\x42AL\x53"}["\x66s\x66\x6a\x79\x6fq"]="\x67\x65\x74\x50\x72\x65Q\x75\x65s\x74i\x6f\x6e\x49\x64\x51\x75er\x79";${$ycgxdwm}=$adb->pquery("S\x45LE\x43T * FRO\x4d\x20w\x68a\x74\x73a\x70pb\x6f\x74_pre_q\x75e \x57HE\x52E \x70\x72\x65q\x75emo\x62\x69lenu\x6d\x62\x65r =\x20?",array(${${"G\x4c\x4f\x42\x41L\x53"}["t\x64\x6aau\x6ej\x6a"]}));$iceuvpm="\x6da\x6e\x75\x61\x6c\x64\x61\x74\x65\x74\x69\x6d\x65";${$nxolrwxqhnh}=$adb->num_rows(${${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x73\x66\x6a\x79\x6f\x71"]});${"\x47\x4c\x4f\x42AL\x53"}["\x6d\x79\x77\x67\x62\x78\x61\x6ane"]="\x70\x72\x65b\x6f\x74i\x64";${${"\x47L\x4fBA\x4c\x53"}["\x74\x7ag\x65\x70\x7as\x70\x69d"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x79\x6eud\x65f\x6a\x6d\x79l"]},0,"\x70req\x75\x65");${${"G\x4c\x4fB\x41L\x53"}["\x72\x76\x64i\x66\x79\x6b\x71"]}=$adb->query_result(${${"\x47\x4c\x4f\x42AL\x53"}["u\x79n\x75\x64e\x66\x6a\x6d\x79\x6c"]},0,"pr\x65\x62o\x74\x69\x64");${${"\x47\x4cO\x42\x41\x4c\x53"}["iv\x75qq\x70e"]}=$adb->query_result(${$pxwhhjape},0,"\x6da\x6e\x75a\x6c\x74\x72an\x73fer");${$iceuvpm}=$adb->query_result(${${"G\x4c\x4fB\x41\x4c\x53"}["\x75\x79\x6e\x75\x64\x65\x66\x6a\x6d\x79l"]},0,"\x6d\x61nuald\x61\x74\x65tim\x65");${${"\x47LO\x42A\x4c\x53"}["qmy\x63fk\x65\x74\x7a"]}=array("\x70\x72eQ\x75e\x73\x74i\x6fn\x49\x44"=>${${"G\x4c\x4fB\x41\x4c\x53"}["\x64i\x66\x78\x67\x71v\x79c\x6d"]},"\x70\x72ebo\x74id"=>${${"\x47\x4c\x4f\x42\x41LS"}["\x6d\x79\x77g\x62xajne"]},"man\x75a\x6ct\x72ans\x66e\x72"=>${${"G\x4c\x4fBA\x4c\x53"}["ja\x6c\x6e\x65\x73o"]},"\x6danu\x61\x6cd\x61t\x65tim\x65"=>${${"G\x4cOB\x41L\x53"}["\x64v\x69\x71q\x6c\x69d\x74"]},"p\x72\x65Ques\x74ionR\x6fws"=>${${"\x47\x4c\x4fB\x41LS"}["\x79h\x65\x78\x71\x78\x70\x6f\x63\x70v"]});return${${"\x47\x4cO\x42A\x4cS"}["j\x76\x6eh\x6f\x6b\x6f\x71\x69"]};}function getSearchModuleQuery($preQuestionID,$prebotid){${"GL\x4f\x42A\x4c\x53"}["\x68\x71\x6e\x79r\x7an\x73"]="next\x5f\x73\x65\x71\x75\x65\x6ec\x65";${"\x47\x4c\x4fBAL\x53"}["\x78\x69\x70\x6f\x6accy\x69"]="\x71\x75ery";${"\x47\x4c\x4f\x42\x41L\x53"}["g\x64\x68\x79\x73\x72"]="\x70\x72\x65Qu\x65st\x69o\x6e\x49\x44";${"G\x4cO\x42ALS"}["z\x76\x77t\x6d\x6b\x71\x70j\x77\x6a"]="\x71ue\x5f\x69\x64";$bzrdivfevo="\x74\x79\x70\x65";$rsgdvxpjro="\x72\x65\x73\x75lt";${"\x47L\x4f\x42\x41\x4cS"}["\x63n\x74\x6b\x65dq\x7a\x65\x69"]="s\x65\x61r\x63\x68C\x6f\x6c\x75m\x6e";$yfahnflili="\x71\x75\x65\x5f\x74\x65x\x74";$xmciftm="\x6de\x73\x73\x61\x67\x65\x74y\x70\x65";global$adb;${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x73\x73\x61\x72ws\x72do"]}=$adb->pquery("SE\x4c\x45\x43\x54 * \x46\x52O\x4d\x20ct\x77h\x61\x74s\x61pp\x62\x6f\x74_qu\x65_m\x61\x73\x74\x65\x72 W\x48ER\x45\x20c\x74\x77h\x61\x74\x73a\x70\x70b\x6ft\x5fque_ma\x73\x74\x65r.nex\x74\x5fs\x65\x71u\x65n\x63e\x20\x3d\x20?\x20A\x4e\x44\x20\x63\x74\x77hats\x61pp\x62\x6f\x74\x5f\x71\x75e_\x6da\x73\x74e\x72\x2e\x62\x6ftid\x20\x3d ?",array(${${"G\x4cO\x42\x41\x4c\x53"}["\x67\x64\x68\x79\x73\x72"]},${${"GL\x4fB\x41L\x53"}["\x72v\x64\x69\x66\x79\x6b\x71"]}));$kryxaf="\x71\x75\x65\x5f\x69\x64";${${"G\x4c\x4f\x42\x41\x4cS"}["\x72\x69k\x62b\x67\x6ei\x64\x73"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x73sa\x72\x77\x73\x72d\x6f"]},0,"s\x65a\x72c\x68_\x6dodu\x6c\x65");$mybmgvq="\x71u\x65r\x79";${"G\x4c\x4f\x42A\x4c\x53"}["\x74vu\x63d\x68\x66\x73lx\x75"]="\x73\x65\x61r\x63\x68\x4d\x6f\x64ule";$bpdioftbk="q\x75e\x72y";${${"\x47L\x4fBA\x4c\x53"}["\x76\x79\x76q\x70b\x62"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x69p\x6f\x6a\x63\x63y\x69"]},0,"\x73\x65\x61\x72\x63\x68_col\x75\x6dn");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x74\x6e\x79\x69\x6f\x78\x76g\x77\x72\x74"]}=$adb->query_result(${${"\x47LO\x42\x41\x4c\x53"}["\x70\x73\x73\x61\x72\x77sr\x64o"]},0,"c\x6fp\x79_to");${${"G\x4cO\x42\x41\x4c\x53"}["h\x71\x6e\x79\x72\x7a\x6e\x73"]}=$adb->query_result(${$mybmgvq},0,"next_\x73\x65que\x6ece");${$bzrdivfevo}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4cS"}["\x70\x73sa\x72\x77\x73\x72do"]},0,"t\x79pe");${$kryxaf}=$adb->query_result(${${"G\x4cO\x42\x41\x4cS"}["p\x73s\x61r\x77\x73rd\x6f"]},0,"qu\x65_i\x64");${${"\x47\x4c\x4fB\x41L\x53"}["\x78\x78\x61i\x6cq\x62d"]}=$adb->query_result(${${"\x47L\x4f\x42\x41L\x53"}["p\x73\x73a\x72\x77\x73\x72\x64\x6f"]},0,"q\x75e\x5f\x74\x65\x78t");${$xmciftm}=$adb->query_result(${$bpdioftbk},0,"\x6de\x73\x73\x61\x67e\x74ype");${${"\x47\x4cO\x42A\x4cS"}["\x71x\x75\x75\x79\x69qpv\x66d"]}=array("s\x65\x61\x72c\x68Modu\x6ce"=>${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x76\x75c\x64h\x66s\x6c\x78\x75"]},"\x73\x65\x61r\x63hCo\x6c\x75\x6d\x6e"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["c\x6e\x74k\x65d\x71\x7aei"]},"c\x6fpy\x5f\x74o"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["u\x74\x6eyi\x6f\x78\x76\x67\x77\x72\x74"]},"\x6eex\x74_\x73\x65\x71u\x65\x6e\x63\x65"=>${${"\x47LO\x42\x41\x4c\x53"}["\x78bl\x7a\x6c\x6b"]},"\x74\x79pe"=>${${"\x47LO\x42A\x4c\x53"}["dk\x79gj\x69zu\x71"]},"\x71u\x65_i\x64"=>${${"\x47L\x4fBA\x4c\x53"}["\x7a\x76\x77\x74\x6dkqp\x6a\x77\x6a"]},"q\x75e_t\x65\x78t"=>${$yfahnflili},"me\x73sa\x67ety\x70\x65"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6b\x64\x66\x66a\x63\x6e"]});return${$rsgdvxpjro};}function getSearchTypeQuestionQuery($preQuestionID,$prebotid){$fbgygjssi="res\x75\x6ct";${"\x47\x4cO\x42AL\x53"}["\x6d\x68\x6b\x6a\x63cz\x78u"]="\x6e\x65\x78t_\x73\x65\x71\x75\x65\x6e\x63e";${"\x47L\x4fB\x41L\x53"}["\x77\x70\x65\x78e\x66b\x76r"]="\x71\x75\x65\x72\x79";$jfrnei="\x71\x75\x65\x72\x79";$wugdkbr="\x73ear\x63h\x4d\x6f\x64\x75l\x65";$yumcdschugk="s\x65arch\x43\x6f\x6c\x75\x6d\x6e";$ntblakv="\x71\x75ery";${"\x47L\x4f\x42\x41\x4c\x53"}["e\x71\x6e\x79\x79\x64\x75\x79\x79\x71\x68"]="\x72\x65s\x70on\x73\x65\x69m\x67";$ijskguvp="c\x6f\x70y_\x74\x6f";global$adb;${${"\x47LO\x42A\x4c\x53"}["\x70ss\x61\x72w\x73\x72\x64o"]}=$adb->pquery("SELE\x43T\x20*\x20FROM\x20c\x74w\x68\x61t\x73\x61\x70p\x62\x6f\x74_\x71u\x65_m\x61\x73te\x72 W\x48ERE\x20\x63\x74\x77\x68\x61\x74sa\x70p\x62ot_\x71\x75\x65_\x6da\x73\x74\x65r.\x71\x75\x65_se\x71u\x65n\x63e\x20\x3d ? \x41\x4e\x44\x20c\x74w\x68at\x73ap\x70bot\x5f\x71\x75e\x5f\x6da\x73\x74e\x72.\x62\x6f\x74id = ?",array(${${"\x47\x4c\x4fB\x41L\x53"}["\x74z\x67\x65\x70\x7as\x70\x69\x64"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x72vdify\x6b\x71"]}));$fdqttexmmin="se\x61\x72c\x68Co\x6cum\x6e";${"\x47\x4cO\x42A\x4cS"}["hx\x6c\x64c\x76t\x6b"]="\x71\x75e\x72y";${$wugdkbr}=$adb->query_result(${${"G\x4cO\x42\x41\x4c\x53"}["h\x78\x6c\x64c\x76t\x6b"]},0,"se\x61\x72ch\x5fm\x6fd\x75le");${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x78l\x6f\x76hc\x70\x6e"]="\x71u\x65\x5fid";${"\x47\x4cOB\x41\x4cS"}["\x6fk\x75lj\x68"]="\x74\x79\x70\x65";${$yumcdschugk}=$adb->query_result(${$ntblakv},0,"\x73\x65\x61r\x63\x68_\x63\x6f\x6cu\x6d\x6e");$rboqclqfan="v\x61\x72m\x65ss\x61\x67\x65\x74\x79pe";${"G\x4cOB\x41\x4c\x53"}["\x6db\x69tep\x71u\x76\x7a"]="\x71\x75\x65\x5fte\x78t";$xwhtyexv="re\x73u\x6ct";${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x74n\x79i\x6f\x78\x76\x67\x77r\x74"]}=$adb->query_result(${${"\x47\x4cOBA\x4cS"}["w\x70\x65\x78ef\x62\x76\x72"]},0,"c\x6fpy\x5fto");${${"G\x4cOB\x41\x4c\x53"}["\x78b\x6cz\x6c\x6b"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4c\x53"}["ps\x73\x61\x72\x77\x73r\x64o"]},0,"ne\x78t_\x73\x65\x71\x75\x65nce");$ofjfilgjf="\x63\x6f\x70\x79\x5ffr\x6f\x6d";${"G\x4c\x4fBA\x4c\x53"}["cr\x63\x6c\x76tg\x6d"]="\x72e\x73\x70o\x6es\x65\x69\x6dg";${"\x47L\x4f\x42\x41\x4cS"}["\x68\x65f\x79\x69q\x70\x74"]="q\x75\x65r\x79";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x6b\x75\x6c\x6a\x68"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4cS"}["\x70s\x73\x61r\x77\x73\x72\x64\x6f"]},0,"t\x79pe");${${"\x47L\x4fBAL\x53"}["kx\x6c\x6f\x76\x68cp\x6e"]}=$adb->query_result(${${"\x47LO\x42\x41L\x53"}["\x70\x73\x73a\x72\x77\x73\x72d\x6f"]},0,"q\x75\x65\x5f\x69\x64");$cqgpccxxx="v\x61\x72\x6d\x65\x73\x73\x61g\x65\x74ype";${${"G\x4c\x4f\x42A\x4c\x53"}["\x78\x78\x61\x69\x6c\x71b\x64"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x73\x73\x61\x72w\x73\x72do"]},0,"\x71u\x65\x5ft\x65\x78t");$curbiqtm="\x71\x75\x65\x72y";${$cqgpccxxx}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["hef\x79\x69q\x70\x74"]},0,"v\x61\x72\x6d\x65s\x73\x61\x67\x65ty\x70e");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x64\x68p\x79kx\x65le\x7a"]}=$adb->query_result(${$jfrnei},0,"co\x70\x79\x5f\x66rom");${${"\x47\x4cOB\x41\x4cS"}["c\x72\x63lv\x74g\x6d"]}=$adb->query_result(${$curbiqtm},0,"re\x73\x70o\x6es\x65img");${$xwhtyexv}=array("\x73\x65a\x72\x63\x68\x4d\x6f\x64\x75le"=>${${"G\x4c\x4f\x42\x41L\x53"}["\x72\x69kbbg\x6e\x69d\x73"]},"se\x61\x72c\x68\x43\x6flu\x6d\x6e"=>${$fdqttexmmin},"\x63\x6fp\x79\x5f\x74o"=>${$ijskguvp},"nex\x74_s\x65\x71ue\x6ec\x65"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dh\x6b\x6a\x63\x63zx\x75"]},"t\x79p\x65"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["d\x6by\x67\x6ai\x7a\x75q"]},"\x71ue_\x69\x64"=>${${"GL\x4f\x42\x41LS"}["\x70\x71\x70f\x78\x61t"]},"\x71\x75\x65\x5f\x74\x65x\x74"=>${${"\x47L\x4f\x42A\x4c\x53"}["mb\x69te\x70quv\x7a"]},"\x76\x61r\x6dess\x61\x67e\x74y\x70\x65"=>${$rboqclqfan},"\x63\x6fp\x79_f\x72om"=>${$ofjfilgjf},"re\x73\x70o\x6e\x73\x65im\x67"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x71n\x79\x79d\x75yy\x71\x68"]});return${$fbgygjssi};}function insertResponceValue($mobileno,$body,$copy_to,$prebotid){$wnjjknt="\x62\x6f\x64\x79";$hrxwzpcbdjx="co\x70\x79\x5f\x74o";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x6d\x69\x78\x6d\x67\x74vw"]="\x6d\x6f\x62i\x6ce\x6eo";$lddbbjx="\x70\x72\x65botid";global$adb;$adb->pquery("I\x4eSE\x52\x54\x20I\x4e\x54\x4f\x20v\x74ig\x65r_wh\x61\x74sap\x70\x62\x6f\x74_\x72\x65\x73\x70\x6fn\x63\x65\x76\x61l\x75e (m\x6f\x62\x69\x6ce\x77\x68\x61ts\x61\x70\x70nu\x6d\x62\x65r,\x20va\x72\x69\x61\x62le\x76\x61l\x75e, \x76\x61\x72\x69\x61b\x6c\x65\x6e\x61\x6d\x65,\x20\x62ot_\x69\x64) VA\x4cU\x45\x53 (\x27".${${"G\x4cO\x42A\x4cS"}["\x77\x6d\x69xm\x67\x74vw"]}."\x27,\x20'".${$wnjjknt}."\x27, \x27".${$hrxwzpcbdjx}."\x27,\x20'".${$lddbbjx}."')",array());}function getActionDetails($que_id){${"\x47\x4c\x4f\x42AL\x53"}["\x66o\x7a\x74\x7a\x70\x6a\x78"]="cr\x6dAc\x74i\x6fnqu\x65r\x79";$mcrpkkqgi="c\x72\x6d\x41\x63tio\x6e\x71u\x65ry";$jqxmxi="c\x72\x6dAc\x74\x69onque\x72y";${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x70\x7a\x6f\x6e\x76\x6d\x78\x68p\x77\x6d"]="c\x72\x6d\x41c\x74\x69\x6f\x6e\x71\x75\x65\x72\x79";${"\x47L\x4fBA\x4c\x53"}["g\x6b\x6b\x6bt\x69\x79i\x6e\x64\x6c"]="\x74\x61\x62\x69d";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71j\x6br\x6e\x71n"]="ta\x62\x69\x64";global$adb;${$mcrpkkqgi}=$adb->pquery("\x53\x45\x4c\x45CT\x20*\x20FR\x4f\x4d\x20\x63t\x77ha\x74s\x61p\x70\x62o\x74_\x63\x72\x6da\x63\x74i\x6f\x6e_\x6da\x73t\x65\x72 \x57H\x45R\x45 \x71\x75\x65_\x69\x64\x20=\x20?",array(${${"\x47\x4cO\x42A\x4cS"}["\x70\x71p\x66\x78\x61\x74"]}));$tjvspv="\x72e\x73\x75\x6c\x74";$wqhjhqqqb="cr\x6d\x41ct\x69\x6fn\x71u\x65\x72y";${${"G\x4c\x4f\x42A\x4c\x53"}["\x76bd\x63n\x69\x67r"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x6fz\x74\x7a\x70\x6ax"]},0,"\x61\x63\x74i\x6fn");$ttilfcx="\x72\x65\x73\x75lt";${${"\x47\x4c\x4fBA\x4c\x53"}["\x71\x6a\x6brnq\x6e"]}=$adb->query_result(${${"G\x4c\x4fB\x41\x4cS"}["d\x70\x7a\x6fn\x76\x6d\x78\x68p\x77\x6d"]},0,"\x74abi\x64");${${"G\x4c\x4fB\x41\x4c\x53"}["j\x73jydo\x75u"]}=$adb->query_result(${$jqxmxi},0,"c\x72\x6d\x61\x63\x74\x69\x6fn\x5f\x69\x64");${"\x47L\x4fB\x41\x4cS"}["u\x76\x78\x75\x78ro\x71"]="\x63\x72\x6da\x63\x74\x69\x6f\x6e\x5fid";${${"G\x4c\x4fB\x41L\x53"}["ej\x75yrx\x6a\x66"]}=$adb->query_result(${$wqhjhqqqb},0,"\x72e\x6cat\x65d_\x74a\x62\x69d");${$tjvspv}=array("a\x63\x74\x69on"=>${${"\x47\x4c\x4fBA\x4cS"}["v\x62\x64\x63n\x69g\x72"]},"ta\x62id"=>${${"\x47L\x4fB\x41\x4c\x53"}["gkk\x6bt\x69\x79\x69\x6e\x64l"]},"\x63\x72m\x61cti\x6f\x6e\x5fi\x64"=>${${"GL\x4fBALS"}["\x75\x76\x78\x75\x78r\x6fq"]},"\x72e\x6c\x61\x74\x65d_tab\x69\x64"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65j\x75y\x72x\x6a\x66"]});return${$ttilfcx};}function getInsertModuleName($tabid){${"G\x4c\x4fBAL\x53"}["oqu\x68\x62\x78\x71\x66v\x67\x64"]="\x74\x61\x62\x69\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["\x70s\x68\x77b\x75j"]="\x69ns\x65\x72\x74M\x6fdu\x6c\x65\x4eam\x65";global$adb;${${"\x47L\x4f\x42AL\x53"}["\x63lh\x67\x77\x6be\x77\x6e\x77"]}=$adb->pquery("SE\x4cEC\x54\x20* FR\x4f\x4d v\x74\x69\x67e\x72\x5ft\x61\x62\x20W\x48ERE \x74a\x62i\x64\x20\x3d ?",array(${${"\x47\x4cO\x42A\x4cS"}["o\x71uh\x62\x78qfvg\x64"]}));return${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x73h\x77\x62u\x6a"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41L\x53"}["\x63\x6c\x68\x67\x77\x6bew\x6e\x77"]},0,"\x6e\x61\x6de");}function validateDate($date){if(preg_match("/^[\x30-\x39]{4}-(\x30[1-\x39]|1[0-\x32])-(\x30[\x31-9]|[1-\x32][0-9]|\x33[0-\x31])\$/",${${"\x47\x4c\x4f\x42A\x4cS"}["\x62e\x65vw\x73md"]})){return 1;}else{return 0;}}function currenAvtivateBot($prebotid){${"G\x4cO\x42ALS"}["\x64u\x6c\x6a\x72p\x79z\x77y\x75"]="pr\x65b\x6f\x74\x69\x64";global$adb;$mzptwbrjvygb="\x61\x63\x74ive";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x73s\x61\x72\x77\x73\x72\x64\x6f"]}=$adb->pquery("\x53\x45LECT\x20* \x46R\x4f\x4d\x20\x63tw\x68\x61\x74\x73app_\x62\x6ft\x73\x20WH\x45RE b\x6ftid\x20= ?",array(${${"\x47\x4c\x4fB\x41L\x53"}["\x64\x75\x6c\x6a\x72p\x79zw\x79u"]}));${${"G\x4c\x4f\x42AL\x53"}["c\x70q\x74uwg"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x73\x73\x61\x72\x77srdo"]},0,"d\x65\x6c\x65ted");return${$mzptwbrjvygb};}function sendNextQuestionWithOption($body,$mobileno,$manualtransfer,$whatsappScanNo){$wkryjbtnefw="p\x72\x65\x62o\x74\x69\x64";${"\x47\x4c\x4f\x42A\x4cS"}["\x63zlm\x65m\x79n\x70\x68"]="\x6d\x6f\x62\x69\x6c\x65\x6eo";global$adb;$wozgeog="\x70\x72\x65\x51ue\x73t\x69\x6f\x6eID";${${"\x47LOB\x41LS"}["\x66mnm\x68b"]}=date("\x59-\x6d-d\x20H:i:\x73");${${"\x47\x4cOBA\x4c\x53"}["\x72\x6a\x6a\x64w\x77\x6f\x6e"]}=getPreQuestionDetails(${${"\x47\x4cOBA\x4c\x53"}["\x63\x7a\x6c\x6d\x65m\x79n\x70\x68"]});$sbhrskjtiih="\x70r\x65\x62\x6f\x74\x69\x64";${$wozgeog}=${${"\x47LOB\x41\x4c\x53"}["rjj\x64\x77\x77\x6f\x6e"]}["\x70\x72eQ\x75e\x73t\x69onI\x44"];${"\x47L\x4f\x42AL\x53"}["cmf\x68\x71\x78\x6ay\x6fml"]="p\x72eQ\x75\x65\x73t\x69\x6f\x6e\x44\x65\x74\x61\x69\x6c\x73";${$wkryjbtnefw}=${${"\x47LOB\x41\x4c\x53"}["\x72j\x6a\x64w\x77\x6f\x6e"]}["\x70rebo\x74i\x64"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x61\x6c\x6ees\x6f"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x63\x6d\x66hq\x78j\x79o\x6dl"]}["ma\x6eual\x74\x72an\x73\x66e\x72"];$xflqdooavom="\x63u\x72\x72\x65\x6e\x41\x63\x74ive\x42\x6ft";${${"\x47\x4c\x4f\x42ALS"}["we\x70\x74\x79\x76\x78"]}=currenAvtivateBot(${$sbhrskjtiih});if(${$xflqdooavom}==1){${"\x47\x4c\x4fB\x41\x4cS"}["\x79g\x72\x62\x6dc\x61qc\x72\x63"]="pre\x62\x6f\x74i\x64";${"\x47LO\x42A\x4c\x53"}["\x67yq\x73x\x64\x68\x6d\x62e\x6f"]="s\x65\x61rc\x68Mod\x75\x6ce\x51ue\x72\x79";$vximneil="s\x65\x61\x72c\x68\x4dod\x75\x6c\x65\x51\x75e\x72\x79";${${"\x47\x4c\x4f\x42A\x4cS"}["t\x65ooa\x77\x6d"]}=getSearchTypeQuestionQuery(${${"G\x4cO\x42\x41\x4c\x53"}["t\x7ag\x65\x70\x7a\x73\x70\x69d"]},${${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x67\x72\x62\x6d\x63\x61qcr\x63"]});$hcxsvhighujz="\x6danua\x6c\x74ra\x6e\x73\x66\x65\x72";$khubwxkdgv="\x73e\x61\x72\x63\x68M\x6f\x64u\x6c\x65\x51\x75e\x72\x79";${"G\x4c\x4fB\x41\x4c\x53"}["\x78\x6bdo\x69xa\x68n\x70"]="\x73\x65\x61\x72\x63\x68\x4do\x64ule\x51\x75\x65\x72\x79";$uqsvdok="s\x65\x61\x72\x63\x68\x43o\x6cu\x6d\x6e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x62\x64\x61\x65n"]="\x73\x65\x61r\x63\x68\x4d\x6f\x64\x75\x6ce\x51\x75\x65ry";${${"GLO\x42\x41\x4cS"}["r\x69\x6b\x62\x62\x67\x6eid\x73"]}=${$khubwxkdgv}["sear\x63h\x4do\x64u\x6c\x65"];${$uqsvdok}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["y\x62d\x61\x65n"]}["sear\x63h\x43o\x6cumn"];${${"\x47LOBA\x4c\x53"}["\x75tnyio\x78v\x67w\x72\x74"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67y\x71\x73\x78\x64hm\x62\x65o"]}["copy_t\x6f"];${${"GL\x4f\x42A\x4c\x53"}["\x78\x62lz\x6c\x6b"]}=${${"GLO\x42\x41L\x53"}["\x78k\x64\x6f\x69x\x61\x68\x6e\x70"]}["n\x65x\x74_se\x71ue\x6e\x63e"];${${"G\x4cO\x42A\x4c\x53"}["\x78\x78\x61\x69\x6c\x71\x62d"]}=${$vximneil}["\x71\x75e_\x74e\x78t"];if(${$hcxsvhighujz}!=1){$ughvvuw="\x72\x6f\x77";${"\x47\x4cO\x42\x41\x4c\x53"}["\x77n\x77\x6fo\x73\x6bbf\x77\x63\x6d"]="\x62\x6fdy";${"G\x4c\x4f\x42\x41\x4c\x53"}["g\x66\x72\x67\x71y"]="\x67\x65\x74Nex\x74\x51ues\x74io\x6e\x4f\x70\x74\x69\x6fn\x51\x75\x65\x72\x79";${"\x47\x4c\x4f\x42A\x4c\x53"}["m\x6fxx\x6e\x7a\x6c\x72\x74\x6e"]="p\x72\x65\x62\x6ft\x69\x64";if(${${"\x47L\x4f\x42\x41\x4cS"}["\x75\x74\x6eyi\x6f\x78v\x67wr\x74"]}){$aemmqllkdcu="c\x6f\x70y\x5fto";$yzkgppkse="\x63\x6f\x70\x79_t\x6f";if(${$yzkgppkse}=="\x65\x6da\x69l"){$cooskpfu="\x62\x6fd\x79";if(filter_var(${$cooskpfu},FILTER_VALIDATE_EMAIL)){${"\x47L\x4f\x42\x41\x4c\x53"}["h\x76\x78\x6b\x73\x67\x69"]="m\x6f\x62\x69le\x6e\x6f";${"G\x4c\x4f\x42\x41L\x53"}["\x6cjn\x6b\x6c\x69\x79\x74gm"]="\x62\x6f\x64y";insertResponceValue(${${"\x47\x4c\x4fBA\x4c\x53"}["\x68\x76\x78\x6b\x73gi"]},${${"G\x4c\x4fB\x41\x4c\x53"}["lj\x6e\x6b\x6c\x69\x79\x74g\x6d"]},${${"G\x4c\x4f\x42A\x4c\x53"}["\x75\x74\x6eyiox\x76\x67\x77\x72t"]},${${"G\x4cOB\x41LS"}["\x72\x76d\x69\x66\x79\x6bq"]});}else{$hgmidxcs="\x6ee\x78tQu\x65s\x74\x69\x6f\x6e\x42\x6f\x64\x79";${$hgmidxcs}=vtranslate("\x50l\x65as\x65\x20en\x74e\x72\x20val\x69\x64 \x65\x6dail","\x43\x54\x57hatsAp\x70\x42us\x69\x6ee\x73\x73");sendMessage(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64\x6a\x61u\x6ej\x6a"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68o\x73mgh\x77\x79\x75h"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73\x69\x75\x70\x78g"]});exit;}}else if(${$aemmqllkdcu}=="nu\x6d\x62er"){$hsnvtzkjggp="b\x6f\x64\x79";if(is_numeric(${$hsnvtzkjggp})){${"GL\x4f\x42A\x4cS"}["\x6c\x64\x6fu\x63\x62\x6ds"]="\x63\x6fp\x79_\x74\x6f";insertResponceValue(${${"GLO\x42AL\x53"}["\x74\x64j\x61unj\x6a"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70\x70\x65\x78\x72\x67\x6ar\x63\x6b"]},${${"GL\x4f\x42\x41\x4c\x53"}["\x6c\x64\x6fuc\x62\x6d\x73"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x76\x64\x69\x66\x79kq"]});}else{$mlxydtct="\x6e\x65xtQ\x75e\x73\x74\x69\x6f\x6eB\x6f\x64\x79";$hkmjiii="w\x68\x61t\x73\x61\x70\x70\x53\x63\x61n\x4e\x6f";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x73m\x6d\x68\x66\x66e"]="\x6d\x6fb\x69l\x65\x6e\x6f";${$mlxydtct}=vtranslate("P\x6ce\x61\x73\x65 ent\x65r n\x75m\x65r\x69c o\x6e\x6cy","\x43\x54\x57h\x61t\x73AppBu\x73\x69\x6ee\x73s");sendMessage(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x73\x6d\x6dh\x66\x66e"]},${${"G\x4cO\x42\x41\x4cS"}["\x68o\x73\x6dg\x68w\x79\x75\x68"]},${$hkmjiii});exit;}}else if(${${"GL\x4f\x42AL\x53"}["\x75\x74\x6eyi\x6f\x78\x76\x67\x77\x72t"]}=="d\x61\x74e"){${"\x47L\x4fBALS"}["\x6a\x76\x6ax\x63\x6b\x61\x64"]="b\x6f\x64\x79";${${"\x47\x4c\x4fBA\x4cS"}["\x68y\x61\x74dh\x64\x78\x79"]}=validateDate(${${"\x47\x4cOBA\x4cS"}["\x6a\x76\x6a\x78c\x6b\x61\x64"]});if(${${"\x47LO\x42\x41\x4c\x53"}["h\x79at\x64hd\x78y"]}==1){$srdeclitft="m\x6fbi\x6ce\x6e\x6f";$ubgsiaepvnyj="\x62\x6f\x64\x79";$hhfwekdn="pr\x65\x62ot\x69\x64";insertResponceValue(${$srdeclitft},${$ubgsiaepvnyj},${${"\x47\x4c\x4fB\x41\x4cS"}["\x75t\x6ey\x69\x6f\x78\x76\x67\x77rt"]},${$hhfwekdn});}else{${"GL\x4f\x42\x41L\x53"}["\x62\x72e\x73\x6e\x67"]="\x6ee\x78t\x51\x75\x65\x73\x74\x69\x6fn\x42\x6f\x64y";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x72e\x73\x6e\x67"]}=vtranslate("Pl\x65\x61se e\x6e\x74\x65\x72 \x76\x61lid\x20d\x61t\x65","CTW\x68a\x74\x73\x41p\x70\x42\x75\x73in\x65\x73s");sendMessage(${${"\x47LOBA\x4cS"}["\x74dj\x61\x75n\x6a\x6a"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68os\x6dgh\x77y\x75\x68"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x69u\x70\x78\x67"]});exit;}}else{$fwicojx="body";${"\x47\x4c\x4f\x42AL\x53"}["\x70\x64\x75\x6c\x71o\x65\x6f\x73"]="\x6do\x62\x69\x6c\x65\x6e\x6f";${"GLO\x42\x41\x4cS"}["\x6ev\x71\x71\x66\x74\x73\x74\x6f\x72"]="\x70\x72\x65\x62\x6f\x74\x69d";${"GL\x4f\x42\x41\x4c\x53"}["\x62\x75\x68\x70\x67p\x76\x65\x65"]="c\x6fp\x79_\x74o";insertResponceValue(${${"\x47L\x4f\x42\x41\x4cS"}["\x70\x64\x75\x6c\x71\x6f\x65o\x73"]},${$fwicojx},${${"\x47L\x4f\x42A\x4c\x53"}["\x62\x75h\x70\x67pv\x65e"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["nv\x71\x71fts\x74\x6f\x72"]});}}${${"\x47\x4c\x4fB\x41\x4cS"}["\x6b\x77\x69\x62\x73i\x72"]}=$adb->pquery("S\x45L\x45\x43\x54\x20* \x46RO\x4d ctw\x68a\x74\x73\x61p\x70\x62ot\x5fop\x74_\x6da\x73t\x65r \n\x20   \x20  \x20\x20 \x20 \x20   I\x4eNE\x52\x20J\x4fI\x4e c\x74\x77h\x61ts\x61\x70pb\x6ft_\x71\x75\x65\x5f\x6f\x70t\x5fa\x73sig\x6e ON \x63\x74wh\x61\x74sa\x70pbot_\x71u\x65_o\x70t_\x61\x73si\x67\x6e\x2e\x6f\x70\x74_\x69d \x3d \x63\x74wh\x61t\x73app\x62o\x74\x5fo\x70\x74\x5f\x6da\x73ter\x2e\x6f\x70t\x5fi\x64\n         \x20\x20\x20 \x20\x20\x20INNER\x20J\x4f\x49\x4e\x20\x63t\x77\x68\x61\x74\x73\x61p\x70bot\x5fque\x5f\x6d\x61ste\x72 O\x4e\x20ct\x77ha\x74s\x61p\x70\x62\x6ft\x5fqu\x65\x5f\x6da\x73\x74e\x72\x2eq\x75e_i\x64 =\x20\x63t\x77hats\x61\x70p\x62\x6ft_q\x75e_\x6f\x70t\x5fas\x73ign.\x71\x75e\x5f\x69d\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20   \x20\x20 \x57\x48\x45R\x45\x20\x63\x74whats\x61\x70\x70bot_o\x70\x74_\x6das\x74\x65r\x2eopt_\x73eq\x20= ?\x20\x41\x4e\x44\x20ct\x77\x68at\x73a\x70p\x62\x6ft_\x6fpt\x5f\x6daste\x72\x2eb\x6f\x74i\x64\x20=\x20?\x20\x41N\x44 \x63tw\x68a\x74sap\x70b\x6ft\x5fq\x75e_m\x61\x73t\x65\x72.\x71\x75\x65\x5fse\x71uen\x63e = ?",array(${${"GLO\x42AL\x53"}["\x77n\x77oo\x73k\x62\x66\x77c\x6d"]},${${"GL\x4fBALS"}["m\x6fx\x78\x6e\x7a\x6c\x72\x74\x6e"]},${${"\x47\x4cO\x42\x41L\x53"}["\x74zg\x65p\x7a\x73pi\x64"]}));${${"G\x4cO\x42\x41L\x53"}["\x64\x6d\x6a\x70df\x6a\x74"]}=$adb->num_rows(${${"\x47\x4cOB\x41LS"}["g\x66\x72g\x71y"]});if(${$ughvvuw}){${"\x47L\x4f\x42A\x4cS"}["xi\x66\x71\x77\x71aqm"]="\x6eex\x74\x51ue\x49\x64";${"GL\x4f\x42A\x4c\x53"}["ov\x70\x76\x6d\x68"]="\x6d\x6fbi\x6ce\x6eo";${"GLO\x42\x41\x4cS"}["\x6dq\x79\x79\x64qt"]="get\x4e\x65x\x74\x51\x75estio\x6eOp\x74\x69o\x6eQ\x75\x65r\x79";$kdsebsxyjqq="\x70\x72\x65\x62\x6ft\x69d";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x69\x66q\x77\x71\x61q\x6d"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x71\x79\x79\x64\x71t"]},0,"nex\x74_qu\x65\x5f\x69\x64");$adb->pquery("\x44\x45L\x45TE F\x52OM w\x68\x61\x74\x73\x61p\x70\x62\x6ft_\x70\x72e_\x71u\x65\x20W\x48ER\x45 p\x72eq\x75e\x6do\x62\x69\x6cenu\x6d\x62e\x72\x20=\x20?",array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x76\x70\x76\x6d\x68"]}));$adb->pquery("\x49\x4eS\x45R\x54 IN\x54\x4f \x77h\x61\x74s\x61p\x70\x62ot_pre\x5fqu\x65 (\x70r\x65\x71\x75e, \x70re\x62\x6f\x74\x69\x64,\x20prequemob\x69\x6c\x65\x6e\x75m\x62er, manua\x6ct\x72an\x73f\x65r,\x20\x69\x64\x65\x61ld\x61t\x65\x74\x69\x6de)\x20\x56ALUES\x20(?,?,?,?,?)",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x66\x65h\x65\x64"]},${$kdsebsxyjqq},${${"G\x4c\x4f\x42AL\x53"}["t\x64ja\x75n\x6a\x6a"]},${${"GLO\x42\x41LS"}["ih\x74\x64\x6a\x74\x77\x6f\x64f\x6d"]},${${"\x47L\x4f\x42A\x4cS"}["\x66\x6dn\x6dhb"]}));${${"\x47L\x4f\x42\x41\x4c\x53"}["c\x62\x6ao\x6ch"]}=$adb->pquery("\x53EL\x45\x43T\x20* \x46\x52OM\x20c\x74\x77h\x61\x74s\x61p\x70b\x6f\x74\x5fqu\x65_\x6das\x74\x65\x72\x20\n\x20    \x20\x20  \x20\x20  \x20\x20 \x20   \x49N\x4e\x45R\x20J\x4f\x49\x4e ct\x77\x68\x61t\x73ap\x70\x62\x6ft\x5fq\x75e\x5f\x6fp\x74\x5f\x61s\x73ig\x6e \x4fN \x63t\x77hatsa\x70\x70b\x6f\x74_\x71u\x65_o\x70t\x5f\x61s\x73\x69\x67n.\x71u\x65\x5f\x69\x64\x20\x3d \x63\x74w\x68a\x74s\x61p\x70\x62o\x74\x5f\x71ue_\x6d\x61st\x65r.q\x75e\x5fid \n \x20  \x20\x20\x20\x20 \x20\x20 \x20 \x20  \x20\x20\x20INNE\x52\x20JOI\x4e ctw\x68\x61\x74sap\x70\x62ot_\x6f\x70\x74\x5fmas\x74er \x4fN ct\x77\x68\x61\x74sap\x70\x62\x6f\x74\x5fop\x74\x5f\x6d\x61\x73\x74er.o\x70t_\x69d\x20= \x63\x74wh\x61\x74\x73a\x70p\x62\x6f\x74\x5f\x71\x75e_\x6f\x70\x74\x5fas\x73\x69gn.opt_i\x64 \n  \x20    \x20 \x20\x20  \x20 \x20\x20 \x20\x20\x57HERE ctw\x68at\x73a\x70pbo\x74\x5fqu\x65\x5fm\x61ster.q\x75e_s\x65q\x75en\x63e =\x20?\x20A\x4e\x44\x20ctwha\x74\x73a\x70pb\x6f\x74_q\x75\x65_o\x70t\x5f\x61ssi\x67n.b\x6fti\x64 = ?",array(${${"\x47\x4cO\x42\x41\x4c\x53"}["sf\x65h\x65\x64"]},${${"G\x4cO\x42\x41L\x53"}["\x72\x76dif\x79k\x71"]}));${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x6f\x62\x78\x6bksl\x68\x66"]}=$adb->num_rows(${${"\x47\x4c\x4fB\x41\x4cS"}["\x63\x62\x6a\x6f\x6c\x68"]});if(${${"\x47L\x4f\x42\x41\x4cS"}["tob\x78\x6bks\x6chf"]}){$yceavtax="g\x65\x74N\x65\x78\x74Q\x75\x65\x73\x74\x69o\x6eQ\x75\x65\x72\x79";$wvinnfffny="\x6e\x65\x78\x74Q\x75e\x73\x74io\x6e\x42ut\x74\x6f\x6eB\x6f\x64\x79";$sllxpqg="\x6e\x65\x78\x74\x5f\x71\x75e\x5f\x69\x64";$pjrntstb="mess\x61\x67e\x74\x79p\x65";$aqvbuvzm="\x67et\x4ee\x78\x74Qu\x65\x73ti\x6fn\x51u\x65\x72y";${"\x47\x4c\x4fBA\x4c\x53"}["\x6ezwe\x71\x75\x6d\x62"]="\x69";${"\x47L\x4fB\x41\x4cS"}["\x62ow\x6f\x73\x76\x77c"]="me\x73\x73\x61g\x65\x74\x79\x70\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x62ym\x74\x65\x68r\x72\x64\x77\x70"]="n\x65xt\x51\x75\x65\x73\x74ion\x42o\x64\x79";${${"G\x4cO\x42\x41\x4c\x53"}["b\x79mt\x65hrrdw\x70"]}=$adb->query_result(${${"\x47\x4cO\x42\x41L\x53"}["c\x62jolh"]},0,"que\x5f\x74ext")."\n";$tbxcidonaq="m\x65\x73\x73a\x67\x65\x74\x79pe";$fsvhxhacwg="\x72\x6f\x77\x73";${$wvinnfffny}=$adb->query_result(${$aqvbuvzm},0,"\x71u\x65_\x74ext");${$sllxpqg}=$adb->query_result(${${"GLOB\x41L\x53"}["cbj\x6f\x6ch"]},0,"ne\x78\x74\x5fs\x65qu\x65n\x63\x65");${${"\x47L\x4f\x42AL\x53"}["\x68\x6b\x64\x66\x66\x61c\x6e"]}=$adb->query_result(${$yceavtax},0,"mes\x73agety\x70e");${${"\x47LOBA\x4c\x53"}["\x69\x71\x70\x6e\x71hq\x6d\x72e\x6a"]}=0;for(${${"\x47\x4c\x4f\x42AL\x53"}["\x6d\x73\x61\x68w\x61\x68b"]}=0;${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x7a\x77\x65q\x75mb"]}<${$fsvhxhacwg};${${"G\x4c\x4f\x42\x41LS"}["\x6d\x73\x61h\x77\x61\x68b"]}++){${"\x47L\x4fB\x41L\x53"}["c\x71\x62\x70\x6fg\x66\x69\x78"]="\x67\x65\x74\x4e\x65xtQ\x75e\x73\x74i\x6fn\x51\x75\x65\x72\x79";$ncdskmejn="o\x70\x74\x5f\x73\x65q";$ggbjgiqe="i";$rvqxdcdfoml="o\x70\x74\x5f\x74e\x78\x74";${"\x47LO\x42AL\x53"}["\x66\x63\x79\x71\x62\x6e\x6b\x75\x66n\x6cq"]="\x6e\x65\x78\x74Q\x75est\x69\x6f\x6eB\x6f\x64\x79";$ulvecpvqv="\x67\x65\x74\x4e\x65\x78t\x51\x75\x65sti\x6f\x6eQ\x75er\x79";${$rvqxdcdfoml}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x63q\x62\x70\x6f\x67\x66i\x78"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x73\x61\x68\x77\x61\x68b"]},"\x6fp\x74\x5ft\x65\x78t");${$ncdskmejn}=$adb->query_result(${$ulvecpvqv},${$ggbjgiqe},"\x6f\x70\x74\x5f\x73e\x71");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x72\x78\x7ab\x64wfo\x68\x6a"]}[${${"\x47\x4c\x4f\x42ALS"}["\x77\x74cto\x6awnd\x62\x79"]}]=${${"\x47L\x4fB\x41L\x53"}["\x73\x6b\x68w\x68o\x6b"]};${${"G\x4cO\x42\x41LS"}["\x66\x63y\x71b\x6e\x6b\x75\x66n\x6cq"]}.=${${"G\x4c\x4fBAL\x53"}["\x77t\x63\x74ojwn\x64b\x79"]}."\x20".${${"\x47L\x4f\x42AL\x53"}["s\x6b\x68\x77\x68\x6fk"]}."\n";}if(${${"\x47\x4c\x4f\x42ALS"}["hkdf\x66a\x63\x6e"]}=="R\x65g\x75\x6c\x61\x72 \x6d\x65ss\x61\x67\x65"){$neygymt="\x6e\x65\x78\x74Questi\x6fnB\x6f\x64y";$ojohupczb="w\x68\x61t\x73\x61p\x70S\x63\x61\x6e\x4eo";sendMessage(${${"\x47L\x4f\x42AL\x53"}["\x74d\x6a\x61\x75n\x6a\x6a"]},${$neygymt},${$ojohupczb});}else if(${$pjrntstb}=="\x57h\x61ts\x41\x70p \x42\x75t\x74\x6fn \x6d\x65s\x73age"){$nxmxprys="\x6e\x65\x78t\x51\x75e\x73\x74\x69\x6fn\x42\x6f\x64y";sendButtonMessage(${${"G\x4c\x4fB\x41LS"}["\x74\x64\x6aaunj\x6a"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x6c\x6e\x66\x6e\x63\x62"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x72\x78zb\x64\x77\x66o\x68\x6a"]},${$nxmxprys},${${"\x47\x4cOBALS"}["\x73\x69\x75p\x78g"]});}else if(${${"\x47\x4cOB\x41\x4cS"}["b\x6f\x77\x6fs\x76\x77c"]}=="Wha\x74\x73\x41\x70p\x20\x4cist me\x73s\x61g\x65"){$eqtwqzwyc="b\x75\x74to\x6e\x41\x72\x72a\x79";$ueljdlnmx="\x6e\x65xt\x51\x75esti\x6f\x6e\x42\x6fd\x79";${"\x47LO\x42AL\x53"}["r\x73\x68\x71e\x63k\x6dr\x70"]="\x6e\x65\x78t\x51\x75e\x73t\x69\x6f\x6e\x42\x75\x74\x74\x6fn\x42\x6f\x64\x79";sendButtonListMessage(${${"\x47LO\x42A\x4c\x53"}["\x74dj\x61\x75\x6ej\x6a"]},${${"\x47\x4c\x4f\x42A\x4cS"}["r\x73h\x71e\x63k\x6d\x72\x70"]},${$eqtwqzwyc},${$ueljdlnmx},${${"\x47LOBAL\x53"}["\x73\x69u\x70\x78g"]});}else if(${$tbxcidonaq}=="cha\x74wi\x74\x68oper\x61t\x6fr"){$qjfqorylizw="\x6d\x6f\x62i\x6c\x65\x6e\x6f";convertRegularMode(${$qjfqorylizw});}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x66evt\x69ee\x6c"]="w\x68a\x74\x73\x61p\x70Sc\x61\x6eN\x6f";sendMessage(${${"GL\x4f\x42\x41\x4c\x53"}["t\x64\x6a\x61\x75n\x6a\x6a"]},${${"G\x4cOB\x41\x4c\x53"}["\x68\x6fsmgh\x77\x79\x75\x68"]},${${"GL\x4f\x42AL\x53"}["\x69\x66\x65\x76\x74i\x65\x65l"]});}}else{$todzbcf="g\x65\x74N\x65\x78\x74\x51u\x65\x73\x74\x69on\x51\x75\x65\x72\x79";$kdtiagkkah="\x72\x65\x73\x70\x6f\x6e\x73ei\x6d\x67";$fqhbwengv="ne\x78t\x51ueId";$ndxqztp="g\x65t\x4e\x65\x78t\x51ue\x73\x74\x69\x6fnQ\x75e\x72\x79";${"\x47\x4c\x4fBA\x4cS"}["\x6b\x72\x68oiyf\x77"]="n\x65x\x74Q\x75\x65\x73\x74\x69\x6fn\x42od\x79";${${"\x47\x4cO\x42\x41\x4c\x53"}["c\x62j\x6f\x6c\x68"]}=$adb->pquery("SE\x4c\x45CT * F\x52\x4f\x4d c\x74\x77h\x61ts\x61ppbot_\x71u\x65_maste\x72\x20\x20\n\x20 \x20 \x20\x20 \x20 \x20 \x20    \x20\x20\x20 \x57HE\x52\x45\x20\x63t\x77ha\x74\x73a\x70p\x62o\x74_\x71\x75\x65_\x6d\x61\x73t\x65r\x2equ\x65\x5fse\x71u\x65\x6e\x63\x65 =\x20? \x41N\x44\x20ctw\x68a\x74\x73\x61p\x70bot\x5fqu\x65_m\x61\x73te\x72\x2eb\x6f\x74\x69d = ?",array(${$fqhbwengv},${${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x76d\x69\x66y\x6bq"]}));$xjngalng="\x72e\x73po\x6es\x65img";$vujfbtqs="\x67\x65\x74\x4e\x65xt\x51\x75\x65s\x74\x69o\x6e\x51\x75\x65\x72\x79";${${"G\x4cOB\x41L\x53"}["\x6b\x72\x68\x6f\x69\x79f\x77"]}=$adb->query_result(${$ndxqztp},0,"\x71\x75\x65_te\x78t");${$xjngalng}=$adb->query_result(${$vujfbtqs},0,"r\x65sponse\x69mg");${${"GLOB\x41\x4c\x53"}["\x78q\x6e\x6fu\x66\x76\x77\x75\x73"]}=$adb->query_result(${$todzbcf},0,"ne\x78\x74_s\x65\x71u\x65\x6e\x63\x65");${${"\x47LOBA\x4c\x53"}["\x68\x6bd\x66\x66ac\x6e"]}=$adb->query_result(${${"GLO\x42\x41L\x53"}["\x63\x62j\x6f\x6c\x68"]},0,"\x6d\x65\x73sa\x67\x65\x74\x79pe");if(${$kdtiagkkah}){$pniwwwmwvj="\x77\x68\x61\x74sap\x70S\x63\x61nN\x6f";${"\x47\x4c\x4f\x42A\x4c\x53"}["ca\x79gl\x78"]="r\x65\x73po\x6es\x65im\x67";sendMessageWithImage(${${"\x47LO\x42\x41\x4c\x53"}["\x74\x64\x6a\x61\x75n\x6a\x6a"]},${${"\x47\x4cO\x42A\x4cS"}["\x68\x6f\x73\x6dghw\x79\x75h"]},${${"G\x4c\x4f\x42A\x4c\x53"}["\x63\x61\x79\x67\x6c\x78"]},${$pniwwwmwvj});}else{$avmzytht="\x6d\x65\x73s\x61\x67ety\x70\x65";if(${$avmzytht}=="\x63hatwi\x74ho\x70\x65ra\x74\x6fr"){convertRegularMode(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74d\x6a\x61\x75\x6ej\x6a"]});}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dt\x66v\x6a\x75x"]="\x6ee\x78t\x51u\x65\x73\x74\x69\x6f\x6e\x42\x6fd\x79";sendMessage(${${"\x47\x4c\x4fB\x41\x4cS"}["t\x64\x6a\x61\x75\x6e\x6a\x6a"]},${${"\x47LO\x42\x41\x4c\x53"}["\x6d\x74\x66\x76ju\x78"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x69\x75\x70x\x67"]});}}}}else{$mcwnkl="\x6e\x65\x78t_\x73e\x71\x75e\x6e\x63e";if(${$mcwnkl}){${"\x47\x4c\x4f\x42ALS"}["y\x6f\x72szpm\x78\x62\x72"]="\x71\x75\x65_i\x64";$fgatdtuiy="\x6e\x65x\x74\x53\x65\x71\x75\x65n\x63\x65";${"G\x4c\x4f\x42AL\x53"}["j\x71\x75h\x62\x62l"]="nex\x74\x5fs\x65\x71\x75e\x6e\x63\x65";$lbiximr="\x6e\x65\x78\x74\x53\x65q\x75e\x6e\x63\x65\x31";$esjmkuld="\x74\x79\x70\x65";$dddepwdomju="t\x79\x70\x65";${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x69w\x6d\x76\x6bp"]="\x70\x72e\x62ot\x69\x64";$jhdyqkle="n\x65\x78\x74\x53\x65q\x75\x65n\x63e\x31\x32";$uixazyogxc="\x74\x79\x70\x65Q\x75eQu\x65r\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66wun\x6aw\x78\x63x\x62\x79"]="t\x79\x70eQ\x75eQuer\x79";$wspeubc="t\x79\x70\x65\x51\x75e\x51\x75\x65\x72\x79";$jyudcleoehvw="\x70\x72\x65\x62o\x74i\x64";${"G\x4c\x4fB\x41\x4cS"}["j\x77\x70\x63\x66y"]="t\x79\x70\x65Q\x75\x65s\x74\x69onQ\x75\x65\x72y";${${"G\x4c\x4fBA\x4c\x53"}["\x79lv\x62\x62\x75"]}=getSearchModuleQuery(${${"\x47L\x4f\x42\x41LS"}["j\x71u\x68\x62\x62\x6c"]},${$jyudcleoehvw});$rvawdlgw="\x74\x79\x70\x65Que\x73\x74\x69on\x51ue\x72y";${"G\x4c\x4f\x42\x41L\x53"}["j\x6c\x74\x73\x72k\x65\x76"]="\x74\x79\x70e\x51u\x65\x73\x74\x69\x6fn\x51u\x65\x72\x79";${${"GL\x4fB\x41\x4c\x53"}["d\x6b\x79g\x6ai\x7auq"]}=${${"\x47\x4cO\x42\x41LS"}["\x79\x6c\x76\x62\x62\x75"]}["t\x79\x70e"];${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70q\x70fx\x61\x74"]}=${$rvawdlgw}["\x71\x75e\x5fid"];${$lbiximr}=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x6cvbb\x75"]}["n\x65\x78t_sequenc\x65"];${$jhdyqkle}=${${"\x47\x4c\x4fBA\x4cS"}["j\x77\x70\x63\x66\x79"]}["next_\x73eq\x75\x65nce"];${"\x47L\x4f\x42\x41L\x53"}["\x67\x70u\x69\x76esk\x6e"]="\x6ee\x78\x74Se\x71u\x65\x6e\x63e\x31";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78x\x61il\x71\x62d"]}=${${"GL\x4f\x42\x41LS"}["\x6a\x6c\x74\x73\x72\x6b\x65\x76"]}["\x71\x75e_te\x78t"];${${"G\x4c\x4f\x42\x41\x4c\x53"}["f\x77\x75n\x6a\x77x\x63x\x62\x79"]}=getSearchTypeQuestionQuery(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67p\x75iv\x65\x73\x6b\x6e"]},${${"\x47\x4cOBA\x4c\x53"}["\x76i\x77\x6d\x76kp"]});${${"\x47\x4c\x4fB\x41L\x53"}["dk\x79\x67\x6aizu\x71"]}=${${"GLO\x42\x41\x4c\x53"}["\x75v\x73\x68v\x6f\x72\x62\x68\x77\x63\x63"]}["t\x79\x70e"];${${"\x47LO\x42\x41L\x53"}["\x79\x6fr\x73zpmx\x62r"]}=${$uixazyogxc}["\x71u\x65_\x69d"];${$fgatdtuiy}=${${"\x47LO\x42\x41\x4c\x53"}["\x75v\x73\x68v\x6fr\x62h\x77\x63c"]}["\x6e\x65\x78t_\x73e\x71u\x65\x6e\x63\x65"];${${"G\x4cOBALS"}["\x7a\x70\x62\x68i\x69\x78g\x63p\x71"]}=${$wspeubc}["n\x65\x78t_s\x65que\x6ec\x65"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78xa\x69\x6cq\x62d"]}=${${"\x47\x4cO\x42\x41\x4c\x53"}["uvsh\x76\x6fr\x62\x68\x77\x63\x63"]}["\x71ue_text"];if(${$esjmkuld}=="\x63o\x6e\x64\x69\x74ion-\x6eode"){${"GL\x4f\x42A\x4cS"}["\x69k\x74\x73qhh\x7ae\x63\x77"]="q\x75\x65\x5fi\x64";${"G\x4cO\x42\x41L\x53"}["\x6fm\x71\x62\x78k\x72"]="\x63\x6fndi\x74\x69\x6f\x6eR\x6fws";$bkkfyxgif="\x63o\x6e\x64\x69\x74i\x6fn\x51u\x65\x72\x79";${${"\x47\x4cO\x42\x41\x4c\x53"}["oz\x77j\x6e\x6f\x68\x63mnjp"]}=$adb->pquery("S\x45\x4cE\x43T\x20*\x20F\x52\x4f\x4d\x20c\x74\x77h\x61ts\x61\x70\x70\x62\x6f\x74\x5fcondi\x74i\x6f\x6e_as\x73i\x67n \x57HE\x52\x45 q\x75e_i\x64 \x3d ?",array(${${"\x47LOBA\x4c\x53"}["ik\x74\x73q\x68\x68\x7a\x65\x63\x77"]}));${${"\x47LOBAL\x53"}["o\x6d\x71\x62xk\x72"]}=$adb->num_rows(${$bkkfyxgif});if(${${"GL\x4fB\x41LS"}["\x6a\x69\x71\x6fgko\x71\x69\x6c"]}){$sbycrh="\x73e\x6c\x65\x63\x74\x51u\x65\x72\x79\x31";${"GL\x4f\x42\x41\x4cS"}["vmud\x77b\x6dh"]="\x6e\x65\x78tE\x6e\x64\x73e\x71\x75e\x6e\x63\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x75\x70\x75jl\x70\x74\x6ey\x61"]="\x63\x6f\x6e\x64\x69ti\x6fn\x51\x75e\x72y";$yyjibwc="\x73\x65\x6c\x65\x63\x74Q\x75\x65\x72\x79\x31";${"\x47\x4cOB\x41L\x53"}["\x6el\x78\x78g\x7afy\x6a"]="n\x65\x78tE\x6e\x64\x73\x65\x71\x75\x65\x6e\x63e";${"\x47\x4cO\x42\x41L\x53"}["\x76oo\x75\x6ey\x73y\x65k\x63\x68"]="\x76a\x72\x69\x61\x62l\x65v\x61\x6c\x75\x65";${"\x47L\x4f\x42ALS"}["\x76\x72\x74\x6bn\x6cj\x71\x61\x6eb"]="n\x65\x78\x74\x51\x75\x65\x73\x74\x69\x6fnB\x6f\x64\x79";${"\x47\x4cO\x42\x41L\x53"}["dj\x64\x75eh\x63k\x62"]="\x76\x61\x72\x69\x61\x62\x6ce\x76alu\x65";${"\x47\x4c\x4f\x42AL\x53"}["q\x78\x77\x68\x65l\x77\x69\x64\x64\x79"]="\x73\x65le\x63\x74\x51ue\x72y\x31";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x75rwgs\x70\x66"]="\x76a\x72i\x61\x62\x6c\x65\x76\x61\x6c\x75\x65";$trnolvhrj="\x76\x61\x72\x69\x61bl\x65v\x61\x6c\x75e";${"G\x4cO\x42\x41LS"}["\x76l\x65\x76\x79ve\x62f\x71\x62\x61"]="\x63\x6fn\x64i\x74\x69o\x6e\x51ue\x72y";${"\x47\x4c\x4fB\x41\x4cS"}["\x6apjr\x7a\x72\x73"]="\x62\x6f\x64y";${${"G\x4cOBA\x4cS"}["\x75\x78\x78\x6c\x6b\x79\x69"]}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x75\x70u\x6al\x70\x74\x6ey\x61"]},0,"\x63o\x6ed\x69ti\x6f\x6e\x73");${"\x47\x4cO\x42AL\x53"}["me\x76b\x62\x65\x69ej\x78w"]="\x72\x65s\x70\x6fns\x65\x69mg";${"G\x4c\x4fBA\x4cS"}["\x6d\x6ae\x6c\x7a\x70\x70"]="\x62\x6f\x64\x79";${"\x47L\x4f\x42A\x4c\x53"}["d\x76r\x73g\x6d\x6b\x6e\x6dmi"]="b\x6f\x64\x79";${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x72\x79\x76\x6d\x69\x6e\x6e\x79d\x7a"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6c\x65v\x79v\x65\x62\x66\x71\x62a"]},0,"v\x61\x72\x69abl\x65\x76\x61\x6c\x75e");switch(${${"\x47\x4c\x4f\x42\x41L\x53"}["ux\x78\x6c\x6b\x79i"]}){case"e\x71ua\x6c":if(${${"\x47\x4c\x4fB\x41\x4cS"}["p\x70exr\x67\x6a\x72\x63k"]}==${$trnolvhrj}){$difuawdqci="n\x65\x78\x74_qu\x65\x5f\x69d";${$difuawdqci}=$adb->query_result(${${"\x47LO\x42\x41L\x53"}["\x6fzw\x6an\x6fhc\x6d\x6e\x6ap"]},0,"\x6eex\x74\x5f\x71ue\x5fid\x31");}else{$vfhmev="\x63\x6f\x6ed\x69\x74\x69\x6f\x6e\x51u\x65\x72y";${"GLOB\x41\x4c\x53"}["\x73\x64\x75\x65s\x73uyo\x71\x66"]="\x6ee\x78\x74\x5fq\x75\x65\x5f\x69\x64";${${"G\x4cO\x42\x41\x4c\x53"}["\x73\x64u\x65\x73\x73\x75\x79\x6f\x71f"]}=$adb->query_result(${$vfhmev},0,"next_\x71\x75\x65_i\x64\x32");}break;case"\x6e\x6f\x74\x20equa\x6c":if(${${"\x47LOB\x41L\x53"}["dv\x72\x73\x67\x6d\x6b\x6em\x6d\x69"]}!=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76o\x6fu\x6ey\x73\x79ekc\x68"]}){$iqdsoyiwqj="c\x6f\x6e\x64i\x74\x69\x6fn\x51\x75\x65\x72\x79";${${"\x47\x4c\x4f\x42ALS"}["\x78\x71\x6e\x6fufv\x77\x75\x73"]}=$adb->query_result(${$iqdsoyiwqj},0,"\x6e\x65x\x74\x5f\x71u\x65_\x69\x64\x31");}else{${${"\x47L\x4f\x42\x41\x4c\x53"}["xq\x6e\x6f\x75\x66\x76\x77\x75\x73"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6fz\x77jnoh\x63\x6d\x6ejp"]},0,"\x6e\x65\x78\x74\x5f\x71\x75\x65\x5f\x69d2");}break;case"\x67ra\x74\x65\x72 \x6fr \x65q\x75\x61l":if(${${"\x47L\x4f\x42\x41\x4cS"}["\x70pe\x78r\x67j\x72c\x6b"]}>=${${"G\x4c\x4f\x42A\x4c\x53"}["\x6e\x72\x79v\x6d\x69nn\x79\x64\x7a"]}){$xelczd="\x63o\x6e\x64i\x74\x69\x6f\x6e\x51\x75\x65\x72\x79";${${"G\x4c\x4f\x42AL\x53"}["xq\x6e\x6f\x75\x66v\x77\x75\x73"]}=$adb->query_result(${$xelczd},0,"next\x5fq\x75\x65_\x69d1");}else{${"\x47\x4cOB\x41\x4c\x53"}["\x75\x72\x7a\x73jr\x66"]="\x6e\x65\x78\x74_q\x75\x65_\x69\x64";${${"\x47LOB\x41\x4c\x53"}["\x75rz\x73j\x72f"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41\x4cS"}["o\x7a\x77\x6an\x6fh\x63\x6d\x6e\x6a\x70"]},0,"\x6ee\x78\x74_qu\x65_\x69\x64\x32");}break;case"less\x20tha\x6e \x6f\x72\x20e\x71\x75a\x6c":if(${${"\x47L\x4f\x42\x41LS"}["\x6a\x70\x6a\x72\x7a\x72\x73"]}<=${${"\x47LO\x42A\x4c\x53"}["b\x75\x72wg\x73\x70\x66"]}){${${"\x47\x4cO\x42\x41L\x53"}["\x78\x71\x6e\x6f\x75f\x76\x77u\x73"]}=$adb->query_result(${${"\x47\x4cOBA\x4c\x53"}["o\x7a\x77\x6an\x6f\x68c\x6dn\x6a\x70"]},0,"n\x65\x78\x74_que_\x69\x64\x31");}else{${${"G\x4cO\x42A\x4cS"}["x\x71\x6e\x6f\x75\x66v\x77us"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41LS"}["\x6f\x7a\x77\x6an\x6f\x68\x63\x6dn\x6a\x70"]},0,"n\x65x\x74_\x71\x75e_\x69d2");}break;case"like":if(preg_match("/\x5cb".${${"\x47\x4c\x4f\x42\x41L\x53"}["d\x6a\x64\x75eh\x63\x6bb"]}."\x5c\x62/",${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x6a\x65\x6c\x7a\x70\x70"]})){${"\x47L\x4fBALS"}["\x66gb\x6b\x61\x62\x69ko"]="c\x6fn\x64\x69\x74\x69\x6f\x6eQ\x75\x65r\x79";${${"\x47LOBALS"}["x\x71\x6e\x6fuf\x76\x77u\x73"]}=$adb->query_result(${${"\x47\x4c\x4f\x42ALS"}["\x66gb\x6ba\x62i\x6bo"]},0,"n\x65xt_\x71u\x65_id\x31");}else{${"G\x4c\x4fBA\x4cS"}["\x75\x6bgo\x76\x63i\x70\x7a"]="c\x6f\x6ed\x69\x74ion\x51\x75\x65\x72\x79";${${"\x47\x4cO\x42\x41\x4cS"}["\x78\x71\x6eo\x75\x66vw\x75\x73"]}=$adb->query_result(${${"\x47\x4c\x4f\x42ALS"}["\x75\x6b\x67\x6f\x76\x63i\x70z"]},0,"ne\x78\x74_\x71\x75e_i\x64\x32");}break;case"not l\x69k\x65":if(preg_match("/\x5cb".${${"G\x4c\x4f\x42\x41\x4cS"}["n\x72\x79\x76\x6d\x69nny\x64\x7a"]}."\x5cb/",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x70\x65x\x72g\x6a\x72c\x6b"]})){${"G\x4c\x4fB\x41\x4cS"}["\x77\x64\x75\x75\x76\x67"]="c\x6f\x6e\x64\x69\x74i\x6f\x6e\x51u\x65\x72\x79";${${"GL\x4f\x42\x41\x4c\x53"}["\x78\x71\x6e\x6fuf\x76\x77us"]}=$adb->query_result(${${"\x47LO\x42A\x4cS"}["\x77\x64u\x75v\x67"]},0,"\x6e\x65\x78\x74\x5fq\x75\x65\x5f\x69\x64\x32");}else{${${"G\x4cO\x42\x41\x4cS"}["\x78q\x6e\x6fu\x66\x76w\x75\x73"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41L\x53"}["ozwj\x6e\x6f\x68c\x6d\x6e\x6a\x70"]},0,"n\x65xt_\x71ue\x5f\x69\x64\x31");}break;}${${"GL\x4f\x42\x41L\x53"}["\x71\x78\x77he\x6cwid\x64\x79"]}=$adb->pquery("SELECT * \x46\x52\x4f\x4d\x20c\x74wha\x74s\x61p\x70\x62\x6ft_\x71u\x65_master \x57H\x45\x52E\x20que\x5fs\x65\x71ue\x6e\x63\x65\x20=\x20? \x41\x4e\x44\x20bot\x69d\x20\x3d ?",array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x71\x6eoufvw\x75\x73"]},${${"\x47LO\x42\x41\x4c\x53"}["\x72\x76\x64\x69f\x79\x6b\x71"]}));${${"\x47L\x4f\x42A\x4c\x53"}["v\x72\x74\x6b\x6el\x6aq\x61\x6e\x62"]}=$adb->query_result(${$sbycrh},0,"\x71\x75e\x5ft\x65\x78t");${${"\x47\x4c\x4fB\x41\x4cS"}["v\x6du\x64\x77\x62\x6d\x68"]}=$adb->query_result(${$yyjibwc},0,"\x6eex\x74\x5fs\x65qu\x65\x6e\x63\x65");${${"\x47\x4cO\x42\x41\x4c\x53"}["me\x76\x62\x62\x65\x69ej\x78w"]}=$adb->query_result(${${"G\x4c\x4fB\x41L\x53"}["x\x77us\x79\x63n\x65\x62bw"]},0,"res\x70\x6fnse\x69m\x67");if(${${"\x47LO\x42\x41LS"}["x\x64\x76\x71w\x6c\x79"]}){$rfiwlbf="\x72\x65\x73\x70\x6fn\x73\x65\x69\x6d\x67";${"\x47\x4c\x4f\x42\x41L\x53"}["cd\x68fh\x6e"]="\x77h\x61t\x73a\x70p\x53\x63\x61\x6e\x4e\x6f";$ruexwa="m\x6f\x62\x69\x6c\x65\x6eo";${"G\x4c\x4f\x42\x41\x4c\x53"}["nhqz\x68\x65d\x73"]="\x6ee\x78t\x51\x75\x65s\x74i\x6f\x6e\x42o\x64y";sendMessageWithImage(${$ruexwa},${${"G\x4c\x4f\x42\x41L\x53"}["\x6eh\x71zh\x65ds"]},${$rfiwlbf},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63d\x68\x66\x68n"]});}else{${"\x47\x4c\x4f\x42AL\x53"}["i\x68\x6ac\x6f\x73\x74"]="\x6e\x65xtQ\x75\x65\x73\x74\x69\x6fnB\x6f\x64y";sendMessage(${${"\x47LO\x42A\x4c\x53"}["\x74\x64\x6a\x61un\x6a\x6a"]},${${"\x47LO\x42ALS"}["\x69\x68\x6a\x63\x6f\x73t"]},${${"GL\x4fB\x41\x4c\x53"}["s\x69u\x70xg"]});}if(${${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x6c\x78\x78gz\x66\x79\x6a"]}){${"\x47\x4c\x4fB\x41L\x53"}["\x70\x6e\x74\x77\x6fj"]="\x65\x6ed\x4e\x6f\x64\x51\x75e\x72\x79";$gpzvziy="\x6e\x65\x78tE\x6e\x64\x51u\x65s\x74\x69\x6fn\x42\x6fdy";${"\x47\x4c\x4f\x42ALS"}["q\x74\x6a\x64qq\x69\x76\x72\x68\x74"]="n\x65\x78\x74\x45n\x64\x73\x65\x71\x75en\x63e";${${"\x47L\x4f\x42AL\x53"}["p\x6e\x74\x77o\x6a"]}=$adb->pquery("\x53E\x4c\x45\x43T\x20* \x46RO\x4d ctwha\x74sa\x70\x70\x62ot\x5fq\x75e\x5fma\x73\x74\x65\x72 WH\x45RE\x20que\x5fse\x71\x75ence = ? \x41\x4eD bo\x74\x69\x64\x20=\x20?",array(${${"\x47L\x4f\x42AL\x53"}["qt\x6a\x64q\x71\x69vr\x68\x74"]},${${"\x47\x4c\x4f\x42AL\x53"}["r\x76\x64\x69f\x79\x6bq"]}));${$gpzvziy}=$adb->query_result(${${"\x47LOB\x41\x4c\x53"}["\x64vd\x61\x70uo\x71\x66\x6c"]},0,"q\x75\x65\x5f\x74\x65xt");if(${${"\x47\x4cO\x42A\x4c\x53"}["\x61\x77\x69t\x71\x6fjb"]}=="E\x6e\x64"){$adb->pquery("\x44\x45\x4c\x45\x54\x45 \x46\x52OM\x20wha\x74sap\x70\x62ot\x5f\x70r\x65_que W\x48E\x52\x45 \x70r\x65qu\x65\x6do\x62i\x6ce\x6eumb\x65\x72\x20\x3d\x20?",array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x64\x6a\x61u\x6e\x6a\x6a"]}));}}}}else if(${$dddepwdomju}=="\x63\x72m-\x61ctio\x6e-\x6e\x6fd\x65"){${"G\x4c\x4fB\x41L\x53"}["\x71\x6c\x66g\x69\x61\x75"]="\x74abi\x64";$fvrtjeo="\x61\x63\x74\x69\x6f\x6e\x44\x65\x74\x61\x69l";$mrnqkjuxiuo="\x71\x75\x65_\x69\x64";$xldimmrd="\x72e\x6cat\x65\x64\x5f\x74\x61\x62i\x64";$gcpsdxige="\x61\x63t\x69\x6fn";${${"G\x4c\x4fBALS"}["\x7a\x71\x73\x6e\x77u\x66d\x75"]}=getActionDetails(${$mrnqkjuxiuo});${${"\x47L\x4fBA\x4cS"}["v\x62\x64\x63\x6eig\x72"]}=${${"GL\x4f\x42AL\x53"}["\x7aq\x73\x6ew\x75f\x64u"]}["ac\x74ion"];${${"GLO\x42\x41L\x53"}["\x64\x67\x79\x69d\x62\x6cj"]}=${$fvrtjeo}["t\x61\x62\x69d"];$rihhkblx="\x61\x63t\x69\x6f\x6e\x44\x65t\x61\x69\x6c";${${"\x47\x4cO\x42\x41\x4cS"}["\x6a\x73\x6a\x79\x64o\x75u"]}=${$rihhkblx}["c\x72\x6d\x61\x63\x74i\x6f\x6e_\x69\x64"];${$xldimmrd}=${${"G\x4c\x4f\x42\x41\x4cS"}["z\x71sn\x77\x75\x66du"]}["\x72\x65l\x61\x74e\x64\x5f\x74\x61\x62i\x64"];if(${${"G\x4cO\x42\x41LS"}["q\x6cf\x67\x69\x61u"]}){${"G\x4c\x4f\x42\x41\x4c\x53"}["iee\x66\x73\x61h\x63\x73\x69\x78"]="\x74\x61\x62\x69d";$rhvdiydt="\x69n\x73\x65\x72\x74\x4dodul\x65\x4e\x61m\x65";${$rhvdiydt}=getInsertModuleName(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69eef\x73\x61\x68\x63s\x69\x78"]});}if(${${"G\x4c\x4fB\x41\x4cS"}["vb\x64\x63\x6e\x69g\x72"]}=="\x49ns\x65\x72t"){${"GL\x4f\x42ALS"}["dhon\x65\x77pa\x62"]="\x69";$owjcuycldw="relat\x65\x64\x46ie\x6cdQu\x65\x72\x79";${"\x47\x4cO\x42A\x4c\x53"}["\x72\x6b\x66w\x70\x65u\x67"]="\x70re\x62ot\x69\x64";$pegiypfyuel="\x72\x65\x6ca\x74\x65dR\x6f\x77s";$sstpjfaj="\x72\x65\x6c\x61t\x65\x64\x4d\x6f\x64u\x6ce\x4e\x61me";${"\x47\x4c\x4f\x42ALS"}["i\x6fg\x68\x65\x75"]="\x72e\x6ca\x74\x65d\x46\x69eld\x51\x75\x65\x72y";$vxotxtwbl="m";${"\x47\x4cO\x42\x41L\x53"}["ze\x68nn\x63\x68\x65\x76\x6dco"]="\x66\x6c\x6f\x77\x62ui\x6cd\x65rf\x69e\x6cd";$evmgokv="\x72\x65\x6c\x61t\x65\x64\x4d\x6f\x64\x75\x6c\x65\x4eame";${"\x47L\x4f\x42\x41\x4cS"}["\x71\x6ab\x74\x79\x74\x68"]="m\x61\x70\x70\x69ngR\x6fw\x73";${"\x47\x4cOBA\x4c\x53"}["\x72\x72\x70tv\x66\x74\x63wd"]="r\x65\x6ca\x74\x65dF\x69\x65\x6c\x64\x4e\x61\x6deQu\x65r\x79";${"G\x4c\x4fB\x41\x4c\x53"}["d\x75oq\x6f\x70\x6bw\x77\x65\x68\x65"]="\x67\x65\x74\x4d\x61ppi\x6eg\x46i\x65\x6c\x64\x51\x75\x65\x72\x79";$xiayusinfj="\x72\x65l\x61\x74e\x64Fi\x6ed\x51\x75\x65\x72\x79";${"GLO\x42\x41\x4c\x53"}["\x69\x6c\x6fqw\x66\x72\x6d"]="\x72e\x6c\x61t\x65\x64Fi\x65l\x64\x4e\x61me";${${"GL\x4f\x42A\x4c\x53"}["i\x6f\x67h\x65u"]}=$adb->pquery("\x53\x45\x4c\x45CT *\x20\x46R\x4fM \x63\x74wh\x61\x74s\x61\x70p\x62o\x74\x5f\x63\x72\x6da\x63ti\x6f\x6e\x5f\x72\x65la\x74e\x64\x66\x69\x65l\x64\x6d\x61\x70\x70\x69\x6e\x67\x20W\x48E\x52\x45\x20\x62\x6ft\x69\x64\x20\x3d\x20?",array(${${"G\x4cO\x42\x41L\x53"}["rk\x66\x77\x70\x65\x75g"]}));${${"GL\x4fBA\x4cS"}["n\x6d\x71\x77e\x63\x71"]}=$adb->num_rows(${$owjcuycldw});$bnioktfy="f\x69e\x6cd\x4da\x70\x70\x69n\x67\x51\x75\x65\x72y";${$xiayusinfj}="";$sdobvtwgwm="r\x65\x6c\x61\x74\x65\x64\x46\x69e\x6cd\x4e\x61\x6de\x51\x75e\x72\x79";$hvqqmbmjhv="\x6do\x64\x65\x6c\x44\x61\x74\x61";$lndihehyw="\x69\x6e\x73\x65\x72\x74\x4d\x6f\x64u\x6c\x65\x4eam\x65";${"GL\x4f\x42\x41\x4cS"}["\x6dg\x63\x67\x70\x79\x73"]="\x76\x74ige\x72fi\x65\x6cd";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6cm\x6a\x6dg\x78\x76\x6e\x77\x65\x6d\x6e"]="\x72\x65\x6c\x61te\x64\x4dod\x75\x6ce\x4e\x61\x6d\x65";for(${${"\x47LO\x42A\x4c\x53"}["\x63\x79\x79uuj\x61\x6d\x65z"]}=0;${${"\x47L\x4f\x42A\x4cS"}["c\x79y\x75u\x6a\x61\x6d\x65\x7a"]}<${$pegiypfyuel};${$vxotxtwbl}++){${"G\x4c\x4f\x42A\x4cS"}["\x68\x63\x74\x79k\x67\x68\x69"]="\x72e\x6ca\x74ed\x46i\x65\x6cdQu\x65r\x79";${"\x47L\x4f\x42A\x4c\x53"}["\x67g\x6c\x6e\x62\x71\x68\x68"]="\x72\x65lfl\x6f\x77\x62\x75i\x6c\x64\x65\x72\x66\x69\x65\x6c\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x6b\x6az\x76ry\x74\x63i\x69"]="\x72e\x6cat\x65\x64\x46\x69\x65\x6cd\x51u\x65\x72\x79";${${"\x47\x4cO\x42\x41\x4c\x53"}["jtfkyy"]}=$adb->query_result(${${"\x47\x4cOBAL\x53"}["w\x6b\x6az\x76\x72\x79\x74\x63\x69i"]},${${"G\x4cO\x42\x41\x4cS"}["\x63\x79\x79u\x75\x6a\x61m\x65\x7a"]},"\x72e\x6c\x66\x6cow\x62\x75\x69\x6c\x64\x65rf\x69eld");${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x75\x72xrh\x63"]}=$adb->query_result(${${"\x47\x4cO\x42\x41L\x53"}["\x68\x63t\x79\x6b\x67h\x69"]},${${"\x47\x4cO\x42A\x4c\x53"}["c\x79y\x75u\x6aa\x6d\x65z"]},"rel\x76ti\x67\x65\x72fi\x65l\x64");if(${${"\x47\x4c\x4f\x42AL\x53"}["\x67\x67l\x6e\x62q\x68\x68"]}){$dyoeieoqunp="r\x65l\x61\x74\x65\x64\x5f\x74\x61\x62\x69\x64";$qwwilfkzzv="r\x65\x6c\x66\x6c\x6f\x77\x62\x75\x69l\x64\x65\x72\x66\x69e\x6cd";${"GLO\x42AL\x53"}["\x6fuu\x75\x68\x69\x64"]="\x70\x72\x65\x62\x6f\x74id";$okgyywuq="g\x65\x74\x55\x69T\x79\x70\x65\x51\x75\x65r\x79";${${"\x47LOB\x41\x4c\x53"}["uno\x64\x6d\x66cuj\x72\x61\x6f"]}=$adb->pquery("\x53E\x4c\x45C\x54 * FR\x4fM\x20v\x74ig\x65r_\x77\x68\x61t\x73ap\x70\x62o\x74\x5f\x72\x65s\x70onc\x65val\x75\x65 W\x48\x45\x52E\x20v\x61ri\x61bl\x65nam\x65 \x3d ? \x41ND b\x6f\x74_\x69d\x20\x3d ?",array(${$qwwilfkzzv},${${"\x47\x4c\x4fBAL\x53"}["\x6f\x75\x75\x75\x68id"]}));$jhxmieogtb="r\x65la\x74e\x64\x66\x69\x65\x6c\x64\x56\x61\x6c\x75\x65Q\x75\x65\x72\x79";${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x72\x79\x76\x6di\x6e\x6ey\x64\x7a"]}=$adb->query_result(${$jhxmieogtb},0,"\x76a\x72iableval\x75\x65");${${"G\x4c\x4f\x42\x41\x4cS"}["\x63p\x74\x67j\x6a\x67\x78\x62"]}=$adb->pquery("\x53E\x4c\x45CT\x20* FRO\x4d\x20\x76ti\x67er_f\x69el\x64 \x57\x48E\x52E\x20\x63o\x6c\x75m\x6en\x61m\x65\x20= ? AND tab\x69d =\x20?",array(${${"GL\x4f\x42AL\x53"}["e\x75\x72\x78\x72\x68\x63"]},${$dyoeieoqunp}));${${"\x47\x4c\x4fB\x41L\x53"}["\x71\x62em\x65\x73\x66d\x72\x75x\x62"]}=$adb->query_result(${$okgyywuq},0,"\x75itype");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71be\x6d\x65\x73\x66\x64\x72\x75\x78\x62"]}=="1\x31"){${${"\x47L\x4f\x42A\x4c\x53"}["d\x70\x64\x66\x73x\x78v\x76h\x68\x70"]}.="  \x41\x4eD\x20".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x75\x72\x78\x72\x68\x63"]}."\x3d\"".${${"\x47LO\x42\x41L\x53"}["\x6e\x72\x79\x76m\x69n\x6e\x79\x64\x7a"]}."\x22";}}}${$sstpjfaj}=getInsertModuleName(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x6a\x75\x79r\x78\x6a\x66"]});if(${$evmgokv}){${"\x47\x4c\x4f\x42\x41LS"}["\x72\x6a\x6d\x64\x66hok\x6e\x71v"]="\x62\x61se\x54\x61b\x6ce";${"G\x4c\x4f\x42\x41\x4c\x53"}["p\x6f\x79\x6auq\x79\x73n"]="\x72el\x61t\x65\x64\x4d\x6f\x64\x75\x6ce\x4ea\x6d\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x64t\x77\x6cts\x74\x72r"]="m\x6f\x64\x75l\x65\x4d\x6f\x64e\x6c";$ktqfvhhw="\x62\x61\x73\x65\x54\x61\x62\x6ce\x69\x64";${${"\x47L\x4f\x42A\x4c\x53"}["dtw\x6ct\x73\x74\x72\x72"]}=CRMEntity::getInstance(${${"GLOB\x41\x4c\x53"}["po\x79\x6a\x75qy\x73n"]});${"\x47\x4cO\x42\x41\x4c\x53"}["\x6bwe\x75\x6d\x78v\x63\x68\x75"]="\x72\x65\x6ca\x74\x65\x64\x46\x69n\x64\x51\x75e\x72y";${"\x47L\x4fB\x41\x4cS"}["ouv\x77\x6c\x75dwz"]="\x62\x61s\x65\x54able";${${"\x47\x4c\x4f\x42\x41\x4cS"}["j\x67\x65\x75\x63nu\x70"]}=Vtiger_Module::getInstance(${${"GL\x4fBAL\x53"}["f\x64\x74ki\x67t\x75\x63\x68\x75"]});$gsnpgmmuk="\x62\x61\x73\x65Ta\x62\x6ce";${"\x47L\x4f\x42\x41L\x53"}["\x63k\x62\x71t\x70ng\x64\x6d"]="\x62a\x73\x65\x54a\x62\x6c\x65";${${"GL\x4f\x42\x41\x4c\x53"}["\x72jmd\x66\x68\x6fk\x6e\x71\x76"]}=$moduleInstance->basetable;${$ktqfvhhw}=$moduleInstance->basetableid;${${"GL\x4f\x42\x41L\x53"}["pb\x6dum\x64\x6f\x64\x64\x65"]}=$adb->pquery("\x53\x45LE\x43\x54 ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fuv\x77\x6c\x75\x64\x77\x7a"]}."\x2e*\x20F\x52\x4f\x4d\x20".${${"\x47\x4c\x4fBA\x4c\x53"}["c\x6b\x62q\x74\x70\x6e\x67\x64\x6d"]}."\x20\n \x20\x20\x20\x20\x20\x20 \x20\x20 \x20\x20 \x20  \x20\x20\x20 \x20\x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20\x20IN\x4e\x45R \x4a\x4fI\x4e v\x74i\x67\x65\x72\x5f\x63\x72\x6d\x65nt\x69\x74\x79 O\x4e\x20vt\x69ger_\x63\x72\x6denti\x74y.\x63\x72m\x69d\x20= ".${$gsnpgmmuk}.".".${${"G\x4c\x4f\x42\x41L\x53"}["n\x74\x6c\x6a\x65\x62i"]}."\x20W\x48E\x52E\x20v\x74\x69g\x65r\x5fc\x72\x6de\x6etit\x79.\x64e\x6ce\x74\x65d\x20\x3d \x30 ".${${"G\x4c\x4f\x42\x41\x4cS"}["\x6bw\x65\x75\x6d\x78\x76\x63\x68\x75"]},array());${${"GL\x4fBA\x4cS"}["\x68t\x67\x76mx\x76ni\x76\x71"]}=$adb->num_rows(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70bmum\x64\x6fd\x64\x65"]});if(${${"GL\x4f\x42\x41LS"}["ht\x67v\x6d\x78\x76\x6e\x69vq"]}){${"\x47L\x4f\x42A\x4c\x53"}["q\x62\x7a\x68\x6bl\x68j\x72"]="\x72\x65l\x61\x74edMod\x75\x6c\x65\x49d";$txhgepn="\x67\x65\x74Se\x61rc\x68\x52\x65\x6c\x61\x74\x65\x64Q\x75e\x72y";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x62\x7ahk\x6c\x68\x6ar"]}=$adb->query_result(${$txhgepn},0,${${"GLO\x42\x41LS"}["\x6etl\x6ae\x62\x69"]});}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x74\x76b\x64\x77"]="\x6d";$iiqkntuwb="\x72el\x61\x74\x65\x64Mo\x64\x75\x6c\x65Na\x6d\x65";$sgmpcbvzm="\x6d";${${"G\x4c\x4fB\x41\x4cS"}["e\x6a\x68\x77\x7ax\x66\x73it"]}=Vtiger_Record_Model::getCleanInstance(${$iiqkntuwb});${"\x47\x4cO\x42A\x4cS"}["\x62v\x74f\x66gc\x6a\x6e\x6d"]="m";for(${$sgmpcbvzm}=0;${${"\x47LOB\x41\x4c\x53"}["\x62\x76\x74\x66f\x67c\x6anm"]}<${${"\x47\x4cOBA\x4cS"}["\x6e\x6dq\x77e\x63\x71"]};${${"\x47LO\x42A\x4c\x53"}["y\x74vbd\x77"]}++){$beatcreb="\x72\x65\x6c\x61\x74ed\x46\x69\x65\x6cd\x51ue\x72\x79";${"\x47\x4cO\x42\x41L\x53"}["\x77vf\x6ad\x6d\x78\x77\x68q\x76"]="r\x65\x6c\x76ti\x67\x65\x72f\x69\x65\x6cd";${${"G\x4c\x4f\x42AL\x53"}["\x6a\x74\x66\x6b\x79\x79"]}=$adb->query_result(${${"GL\x4fB\x41\x4c\x53"}["l\x65\x6c\x78\x6b\x70\x70\x65\x64f\x74f"]},${${"\x47LOBA\x4c\x53"}["\x63\x79y\x75\x75\x6aa\x6d\x65\x7a"]},"relf\x6c\x6f\x77buil\x64er\x66\x69\x65ld");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x76\x66jd\x6d\x78\x77h\x71\x76"]}=$adb->query_result(${$beatcreb},${${"G\x4c\x4f\x42\x41\x4c\x53"}["c\x79y\x75uja\x6de\x7a"]},"\x72\x65lvt\x69gerfi\x65\x6c\x64");if(${${"\x47\x4cOBALS"}["\x6a\x74\x66\x6b\x79\x79"]}){$vqqlcicn="\x76\x61r\x69a\x62le\x76al\x75\x65";$yyawciw="\x76a\x72\x69\x61b\x6c\x65\x76\x61\x6c\x75\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x78v\x73u\x61r"]="\x72e\x6cate\x64\x66\x69\x65\x6c\x64\x56\x61l\x75eQu\x65\x72\x79";$ggffqitmpmup="rel\x76\x74\x69\x67\x65\x72f\x69\x65\x6c\x64";$zmsrvf="\x70r\x65\x62\x6f\x74\x69d";${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x75lj\x6a\x64"]="vari\x61b\x6c\x65\x76\x61l\x75\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x76\x73\x75\x61\x72"]}=$adb->pquery("\x53ELEC\x54\x20*\x20F\x52\x4fM v\x74\x69ge\x72\x5f\x77h\x61\x74\x73a\x70pbot_r\x65s\x70\x6f\x6e\x63e\x76\x61\x6cu\x65\x20W\x48E\x52E\x20\x76\x61r\x69\x61\x62\x6ce\x6ea\x6de\x20\x3d\x20? \x41\x4e\x44\x20\x62o\x74_\x69d = ?",array(${${"\x47\x4cO\x42\x41\x4c\x53"}["j\x74f\x6by\x79"]},${$zmsrvf}));${"\x47\x4cO\x42\x41\x4cS"}["\x67\x70\x61\x71\x64\x75\x70"]="\x72\x65la\x74\x65d\x66\x69\x65l\x64\x56\x61l\x75\x65Q\x75\x65r\x79";${$yyawciw}=$adb->query_result(${${"GL\x4fB\x41LS"}["\x67pa\x71\x64\x75\x70"]},0,"var\x69a\x62l\x65\x76\x61l\x75\x65");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x70df\x73x\x78v\x76hh\x70"]}.="\x20 \x41\x4eD ".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x75r\x78\x72\x68\x63"]}."=\x22".${$vqqlcicn}."\"";$relatedRecorModel->set(${$ggffqitmpmup},${${"G\x4cOB\x41\x4c\x53"}["tu\x6cj\x6a\x64"]});}}$relatedRecorModel->save();${${"\x47\x4cO\x42\x41LS"}["\x61r\x6cn\x6d\x73ui"]}=$relatedRecorModel->getId();}}${${"G\x4c\x4f\x42ALS"}["\x6f\x64s\x74h\x6bs\x73m\x66"]}=$adb->pquery("\x53\x45\x4c\x45CT\x20* \x46ROM\x20\x63\x74wha\x74\x73ap\x70b\x6ft_\x63\x72m\x61ct\x69on_f\x69el\x64mapp\x69\x6e\x67 WHE\x52\x45 \x63\x72\x6dact\x69\x6fn_i\x64 \x3d ? AN\x44 \x6da\x70\x74yp\x65\x20=\x20\x27\x72e\x71\x75est\x27",array(${${"\x47\x4cOBA\x4c\x53"}["j\x73\x6a\x79\x64\x6f\x75\x75"]}));${${"\x47LO\x42\x41\x4c\x53"}["\x71\x6a\x62\x74\x79\x74h"]}=$adb->num_rows(${${"G\x4cO\x42A\x4c\x53"}["\x64u\x6f\x71opk\x77\x77\x65\x68e"]});${${"\x47\x4c\x4fBAL\x53"}["\x68\x63i\x6a\x72\x61v\x77"]}=Vtiger_Record_Model::getCleanInstance(${$lndihehyw});$gslqchvhlp="\x6d\x61\x70\x70\x69\x6eg\x52\x6f\x77\x73";${$hvqqmbmjhv}=$insertRecordModel->getData();for(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x73ah\x77\x61\x68\x62"]}=0;${${"G\x4cOB\x41L\x53"}["m\x73\x61\x68\x77a\x68\x62"]}<${$gslqchvhlp};${${"G\x4c\x4f\x42\x41\x4cS"}["d\x68\x6f\x6ee\x77\x70\x61\x62"]}++){${"GLOB\x41L\x53"}["\x6f\x66\x65re\x75t\x61hpm"]="\x67e\x74\x4d\x61pp\x69\x6e\x67\x46\x69e\x6c\x64Que\x72\x79";${"G\x4c\x4f\x42\x41\x4cS"}["w\x68\x78\x67\x63\x68sy\x78"]="\x67\x65tM\x61p\x70i\x6e\x67Fi\x65l\x64\x51\x75\x65\x72\x79";${"\x47LO\x42AL\x53"}["\x68\x74\x73\x61omq\x73b\x7a"]="f\x6co\x77\x62u\x69\x6c\x64\x65\x72f\x69\x65\x6c\x64";$rhbtggn="\x69";$vlcdeqzngjj="f\x6c\x6fw\x62\x75\x69ld\x65\x72f\x69el\x64";$wlyavdost="v\x74\x69g\x65\x72field";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x74\x73a\x6f\x6dqs\x62\x7a"]}=$adb->query_result(${${"G\x4cO\x42\x41\x4c\x53"}["\x6ffe\x72\x65\x75\x74ah\x70\x6d"]},${$rhbtggn},"fl\x6fwb\x75ilder\x66\x69e\x6cd");$cvrruaaq="\x64\x65\x66\x61ultva\x6cue";$kxcwziule="\x67\x65\x74M\x61\x70\x70ing\x46i\x65\x6c\x64\x51\x75er\x79";${$wlyavdost}=$adb->query_result(${${"G\x4c\x4fBAL\x53"}["whx\x67c\x68\x73\x79\x78"]},${${"\x47LO\x42\x41LS"}["ms\x61hw\x61hb"]},"vtige\x72\x66i\x65\x6c\x64");$ocidepxunce="v\x61\x72iabl\x65v\x61\x6c\x75\x65";${$cvrruaaq}=$adb->query_result(${$kxcwziule},${${"GL\x4f\x42\x41L\x53"}["\x6d\x73\x61hw\x61h\x62"]},"default\x76alue");${${"GLO\x42\x41\x4c\x53"}["\x62\x70\x76\x6e\x7a\x62\x77\x62\x62\x72l\x69"]}=$adb->pquery("SELE\x43T *\x20\x46\x52\x4f\x4d\x20\x76\x74iger\x5f\x77h\x61\x74s\x61pp\x62\x6f\x74_re\x73pon\x63\x65\x76a\x6cu\x65\x20\x57\x48\x45RE\x20\x76\x61ri\x61b\x6c\x65\x6e\x61m\x65\x20=\x20?\x20\x41\x4e\x44\x20\x6do\x62il\x65\x77hat\x73a\x70p\x6e\x75mber\x20\x3d\x20?\x20A\x4e\x44 \x62o\x74\x5f\x69d =\x20?",array(${$vlcdeqzngjj},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x64\x6aa\x75n\x6a\x6a"]},${${"\x47L\x4fBA\x4c\x53"}["\x72\x76\x64\x69\x66\x79k\x71"]}));${$ocidepxunce}=$adb->query_result(${${"GL\x4fB\x41L\x53"}["\x62\x70v\x6e\x7a\x62\x77\x62b\x72\x6c\x69"]},0,"v\x61ria\x62l\x65\x76\x61lue");if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64g\x79\x69\x64b\x6c\x6a"]}){if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71w\x61\x6d\x64\x6aq\x6b\x71\x69"]}=="\x75\x6e\x64efin\x65d"||${${"G\x4cO\x42\x41\x4cS"}["\x71wam\x64j\x71\x6bq\x69"]}==""){${"G\x4c\x4fBA\x4c\x53"}["y\x78\x65t\x6a\x6c\x69"]="v\x61r\x69\x61\x62l\x65v\x61lue";${"G\x4c\x4f\x42A\x4cS"}["\x62\x6e\x64\x70gt\x69o\x79\x6f\x74"]="\x76t\x69\x67\x65\x72\x66i\x65\x6c\x64";$insertRecordModel->set(${${"G\x4c\x4fBA\x4cS"}["b\x6ed\x70g\x74i\x6fy\x6f\x74"]},${${"\x47L\x4fB\x41\x4cS"}["\x79\x78\x65t\x6a\x6c\x69"]});}else{${"\x47\x4cOB\x41\x4c\x53"}["\x6a\x76\x6b\x66x\x74\x73q\x72"]="\x64ef\x61\x75l\x74\x76al\x75e";$insertRecordModel->set(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6bzq\x78uj\x63\x6c\x67"]},${${"\x47L\x4fBA\x4c\x53"}["j\x76kf\x78t\x73q\x72"]});}}}${${"\x47LO\x42\x41\x4c\x53"}["rr\x70tvf\x74\x63wd"]}=$adb->pquery("\x53ELECT * FR\x4f\x4d v\x74i\x67\x65\x72_\x66i\x65l\x64\x6d\x6f\x64u\x6ce\x72e\x6c \n \x20\x20 \x20  \x20  \x20\x20\x20\x20 \x20\x20 \x20\x20  \x20\x20    \x20\x20\x20 \x49N\x4e\x45\x52 J\x4fI\x4e \x76t\x69\x67\x65r\x5ffi\x65ld \x4fN \x76t\x69g\x65\x72\x5ff\x69\x65\x6cd.\x66\x69el\x64\x69d\x20=\x20\x76ti\x67\x65\x72\x5f\x66i\x65ld\x6d\x6fdu\x6c\x65r\x65\x6c.fieldid\x20\n \x20\x20\x20\x20  \x20\x20 \x20\x20\x20\x20      \x20  \x20  \x20\x20 WHERE \x76tig\x65\x72\x5ffi\x65\x6c\x64mod\x75\x6ce\x72el\x2e\x6d\x6f\x64u\x6ce =\x20?\x20A\x4e\x44\x20v\x74\x69\x67e\x72_fi\x65\x6cd\x6d\x6f\x64uler\x65\x6c.\x72e\x6c\x6do\x64u\x6c\x65\x20= ?",array(${${"\x47LO\x42\x41L\x53"}["\x66\x62\x69b\x61\x6c"]},${${"G\x4cO\x42\x41\x4c\x53"}["\x6c\x6dj\x6dg\x78\x76\x6e\x77\x65\x6d\x6e"]}));${${"G\x4c\x4f\x42AL\x53"}["\x69\x6c\x6f\x71\x77\x66r\x6d"]}=$adb->query_result(${$sdobvtwgwm},0,"\x63o\x6cumn\x6e\x61me");if(${${"\x47\x4cOB\x41L\x53"}["\x75\x61\x66rc\x74\x73\x6c\x75y"]}){${"\x47\x4c\x4fB\x41\x4cS"}["vg\x69\x79\x62q\x6b"]="rela\x74ed\x46\x69\x65l\x64\x4eam\x65";$insertRecordModel->set(${${"\x47\x4c\x4fB\x41LS"}["\x76\x67\x69\x79bqk"]},${${"\x47L\x4fB\x41L\x53"}["\x61\x72\x6c\x6e\x6d\x73\x75\x69"]});}$insertRecordModel->save();${${"GL\x4fB\x41LS"}["\x76l\x70\x65\x68\x75s\x73ga"]}=$adb->pquery("SELE\x43\x54\x20* F\x52\x4f\x4d\x20\x63\x74wha\x74\x73\x61p\x70\x62\x6ft\x5f\x63\x72ma\x63tion_f\x69eldma\x70p\x69\x6eg\x20WH\x45R\x45\x20\x63rma\x63\x74ion\x5f\x69\x64\x20\x3d\x20?\x20A\x4eD \x6da\x70\x74y\x70e\x20\x3d\x20'res\x70o\x6es\x65'",array(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6as\x6a\x79\x64ouu"]}));${${"\x47\x4cO\x42AL\x53"}["\x6dgc\x67\x70\x79\x73"]}=$adb->query_result(${${"\x47\x4cO\x42\x41L\x53"}["vlpe\x68u\x73sg\x61"]},0,"vt\x69g\x65\x72\x66\x69\x65\x6cd");${${"G\x4c\x4fB\x41\x4cS"}["\x73vgi\x62\x6b\x6f\x68"]}=explode("@\x40",$adb->query_result(${$bnioktfy},0,"\x66\x6cowb\x75\x69l\x64\x65r\x66i\x65\x6c\x64"));${"\x47\x4c\x4f\x42ALS"}["ru\x69\x73\x78j\x6cq\x75\x78\x68"]="\x6e\x65x\x74S\x65q\x75en\x63\x65";if(${${"\x47\x4cO\x42\x41L\x53"}["z\x65\x68n\x6eche\x76mc\x6f"]}){$lnwixjwpkodn="\x76t\x69ge\x72\x66\x69e\x6c\x64\x56a\x6c\x75\x65";${$lnwixjwpkodn}=$insertRecordModel->get(${${"\x47LO\x42\x41L\x53"}["\x6bz\x71\x78\x75\x6ac\x6c\x67"]});$enmnfjcure="\x70\x72\x65\x62\x6f\x74\x69d";$adb->pquery("\x49\x4e\x53ERT \x49\x4eTO\x20\x76tig\x65r_\x77h\x61\x74\x73\x61p\x70bo\x74\x5fr\x65s\x70onceva\x6cue (\x6d\x6f\x62i\x6ce\x77ha\x74s\x61p\x70\x6e\x75m\x62\x65r, va\x72i\x61b\x6c\x65\x76a\x6cu\x65, v\x61ri\x61b\x6cen\x61\x6de,\x20\x62o\x74\x5f\x69\x64) V\x41LU\x45\x53 (\x27".${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x64j\x61\x75n\x6a\x6a"]}."\x27,\x20\x27".${${"\x47L\x4f\x42\x41L\x53"}["\x79\x65hllk\x65s"]}."\x27,\x20\x27".${${"\x47L\x4fB\x41\x4c\x53"}["\x73vgi\x62\x6boh"]}[1]."\x27, '".${$enmnfjcure}."')",array());}if(${${"G\x4c\x4fB\x41L\x53"}["\x72\x75\x69\x73\x78\x6a\x6c\x71\x75\x78h"]}){${"G\x4cOBA\x4c\x53"}["m\x62\x72\x69s\x70g\x70\x6e\x63\x65"]="\x71\x75e\x73t\x69\x6f\x6e\x44a\x74\x61";${${"G\x4c\x4fB\x41L\x53"}["n\x72t\x68q\x66\x6eq\x62\x6e\x78"]}=getSearchTypeQuestionQuery(${${"\x47L\x4f\x42\x41\x4c\x53"}["v\x69m\x6d\x75\x76\x78\x70gd\x70"]},${${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x76\x64\x69fy\x6b\x71"]});${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6el\x74rs\x62\x65\x74\x78\x6d\x78"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["mbr\x69s\x70g\x70\x6e\x63\x65"]}["v\x61r\x6d\x65\x73s\x61ge\x74\x79pe"];${"\x47\x4cOBAL\x53"}["k\x77s\x6b\x67n\x64er\x69"]="q\x75\x65st\x69o\x6e\x44\x61\x74\x61";${${"\x47\x4c\x4f\x42\x41LS"}["y\x64h\x70\x79\x6b\x78\x65l\x65\x7a"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x72t\x68\x71\x66n\x71\x62\x6ex"]}["\x63\x6fpy_from"];${"G\x4c\x4fB\x41\x4c\x53"}["\x6d\x6d\x61\x74\x72\x7ae\x78\x69"]="r\x65\x73\x70\x6fn\x73\x65\x69\x6d\x67";${${"\x47\x4cO\x42\x41\x4c\x53"}["v\x74ch\x69d\x63\x70"]}=${${"\x47\x4cO\x42AL\x53"}["n\x72\x74\x68\x71\x66\x6eq\x62\x6e\x78"]}["\x71\x75e_\x74\x65xt"];${${"G\x4cOBA\x4c\x53"}["\x6dma\x74rz\x65xi"]}=${${"G\x4cO\x42ALS"}["\x6bw\x73\x6b\x67\x6e\x64\x65ri"]}["r\x65s\x70o\x6e\x73\x65\x69mg"];${${"G\x4c\x4f\x42\x41\x4cS"}["\x6et\x63\x75\x6a\x75es"]}=${${"\x47L\x4f\x42AL\x53"}["\x6e\x72\x74\x68q\x66nqb\x6e\x78"]}["\x6ee\x78\x74\x5fs\x65q\x75en\x63\x65"];if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x6e\x6c\x74\x72\x73\x62\x65\x74\x78\x6d\x78"]}=="W\x68a\x74\x73A\x70p\x20Respo\x6es\x65"){if(${${"\x47LOBAL\x53"}["\x79\x64hp\x79\x6b\x78\x65\x6ce\x7a"]}){$bclgyq="\x66\x69e\x6c\x64\x56\x61\x6cu\x65\x51\x75\x65\x72y";${"GL\x4f\x42\x41\x4cS"}["j\x6d\x77pqx\x6c\x75p\x65\x75\x78"]="m\x6f\x62\x69\x6c\x65\x6eo";$tzqmjr="\x6e\x65x\x74\x51\x75\x65\x73\x74\x69\x6fn\x42\x6f\x64\x79";$xepsddl="c\x6f\x70y\x5f\x66\x72\x6f\x6d";$ndvqslf="que\x54e\x78\x74";${$bclgyq}=$adb->pquery("\x53ELECT *\x20\x46R\x4f\x4d\x20v\x74i\x67\x65\x72\x5fw\x68\x61\x74\x73\x61\x70\x70b\x6ft_\x72e\x73pon\x63e\x76a\x6c\x75e\x20W\x48\x45\x52\x45\x20v\x61\x72\x69ab\x6ce\x6e\x61\x6d\x65 \x3d\x20? A\x4e\x44 \x6do\x62\x69\x6cew\x68atsap\x70n\x75\x6d\x62er \x3d\x20?\x20\x41\x4e\x44\x20\x62o\x74\x5fi\x64\x20\x3d\x20?",array(${${"\x47L\x4fB\x41LS"}["y\x64h\x70\x79\x6b\x78\x65l\x65z"]},${${"\x47\x4c\x4fBAL\x53"}["\x6a\x6d\x77pqx\x6c\x75p\x65\x75\x78"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x76\x64\x69fy\x6b\x71"]}));${${"G\x4c\x4fBA\x4c\x53"}["n\x72\x79vm\x69\x6e\x6eyd\x7a"]}=$adb->query_result(${${"\x47LO\x42\x41L\x53"}["bpvn\x7a\x62w\x62br\x6c\x69"]},0,"\x76\x61\x72\x69a\x62\x6c\x65va\x6c\x75\x65");$evkkrdofrrtq="\x6e\x65\x78\x74_\x73e\x71\x75\x65nce\x49\x64";${$tzqmjr}=str_replace("\x40@".${$xepsddl},${${"\x47LO\x42A\x4c\x53"}["\x6e\x72y\x76\x6d\x69\x6e\x6e\x79\x64\x7a"]},${$ndvqslf});if(${$evkkrdofrrtq}){$yuxvinivc="e\x6e\x64Bo\x74Q\x75\x65\x72\x79";${"GL\x4f\x42\x41L\x53"}["vmq\x6cf\x66wt"]="pr\x65\x62\x6f\x74\x69\x64";${$yuxvinivc}=$adb->pquery("SE\x4cEC\x54\x20*\x20FRO\x4d \x63\x74wha\x74\x73\x61\x70\x70b\x6f\x74_\x71\x75e_master\x20WHE\x52E \x71u\x65\x5f\x73equen\x63\x65 \x3d ? \x41\x4eD b\x6f\x74\x69d =\x20?",array(${${"\x47\x4cO\x42\x41\x4c\x53"}["nt\x63u\x6au\x65\x73"]},${${"GL\x4fBA\x4c\x53"}["\x76\x6d\x71\x6c\x66f\x77t"]}));${${"\x47\x4cOBAL\x53"}["cub\x6a\x61lvn\x72\x7a"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x77\x6fx\x61\x79\x6fy\x67n\x70"]},0,"que_t\x65\x78\x74");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63\x75\x62ja\x6c\x76\x6er\x7a"]}=="\x45\x6ed"){$adb->pquery("\x44ELETE FR\x4f\x4d\x20\x77\x68\x61\x74\x73\x61pp\x62ot\x5f\x70re\x5fq\x75\x65 WH\x45R\x45\x20\x70\x72\x65\x71\x75\x65\x6dob\x69\x6c\x65\x6eu\x6db\x65r \x3d\x20?",array(${${"\x47L\x4fB\x41LS"}["t\x64j\x61u\x6e\x6a\x6a"]}));}}${"\x47L\x4f\x42A\x4c\x53"}["\x79v\x6br\x6dskmsfim"]="m\x6fbilen\x6f";if(${${"GL\x4fB\x41\x4cS"}["\x78\x64\x76\x71wly"]}){sendMessageWithImage(${${"\x47\x4c\x4f\x42\x41L\x53"}["t\x64\x6aa\x75\x6e\x6aj"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["ho\x73\x6dgh\x77yu\x68"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x64v\x71\x77\x6c\x79"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x69u\x70x\x67"]});}else{${"\x47LO\x42\x41L\x53"}["g\x69ybt\x74\x6c"]="\x6d\x6f\x62i\x6c\x65\x6e\x6f";sendMessage(${${"G\x4cO\x42\x41\x4c\x53"}["g\x69\x79\x62\x74\x74\x6c"]},${${"\x47LO\x42\x41\x4cS"}["\x68\x6f\x73\x6dgh\x77\x79\x75h"]},${${"\x47\x4cO\x42\x41L\x53"}["s\x69\x75\x70\x78\x67"]});}$adb->pquery("D\x45L\x45T\x45 \x46R\x4fM \x76t\x69ge\x72_\x77\x68ats\x61pp\x62\x6ft\x5f\x72\x65\x73\x70\x6f\x6ecevalu\x65 \x57HERE mobi\x6cew\x68\x61t\x73\x61\x70\x70n\x75\x6dbe\x72 \x3d\x20?",array(${${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x76krm\x73km\x73\x66\x69\x6d"]}));}}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x78\x6bkq\x64"]="\x71\x75e\x5fte\x78t";if(${${"\x47L\x4f\x42ALS"}["\x6cx\x6b\x6b\x71\x64"]}==""){$xygecdycs="\x73\x65\x61r\x63\x68Modu\x6ce\x51u\x65\x72\x79";$vhwvgcth="\x67\x65\x74N\x65\x78\x74\x51\x75\x65\x73\x74\x69o\x6e\x73\x51u\x65r\x79";${"GLOBA\x4c\x53"}["\x61\x69\x77hv\x6d\x74"]="ne\x78tSeq\x75\x65\x6ece";${"GL\x4f\x42AL\x53"}["\x74\x6cg\x6b\x69\x73kf"]="\x6e\x65\x78\x74Qu\x65st\x69\x6f\x6e\x42\x6f\x64\x79";$ytswmqtv="\x6f\x70t\x69o\x6e\x52\x6f\x77";${"\x47L\x4f\x42\x41\x4c\x53"}["\x74i\x6d\x66ug\x71\x64\x78\x62\x64q"]="\x73\x65\x61\x72c\x68Mo\x64ul\x65\x51ue\x72y";$pcbwvvmdmdv="\x67\x65t\x4ee\x78\x74\x51\x75\x65s\x74\x69\x6f\x6e\x73Q\x75er\x79";$xtwkmpfs="\x6eex\x74Se\x71\x75e\x6e\x63e";${$xygecdycs}=getSearchModuleQuery(${${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x69mm\x75\x76\x78\x70\x67\x64p"]},${${"\x47\x4cO\x42A\x4cS"}["\x72\x76dif\x79\x6b\x71"]});$hnxvdcqxw="o\x70\x74\x69\x6fn\x52\x6f\x77";${$xtwkmpfs}=${${"\x47\x4cO\x42\x41L\x53"}["\x74im\x66\x75\x67\x71d\x78\x62dq"]}["ne\x78t\x5f\x73equ\x65n\x63e"];$xnzmxwn="\x67e\x74\x4e\x65\x78\x74\x51u\x65s\x74\x69onsQue\x72\x79";${"\x47\x4cO\x42\x41L\x53"}["\x66\x77\x6d\x71r\x6e"]="\x63\x75\x72\x72e\x6etB\x6f\x74Tim\x65";$adb->pquery("D\x45\x4cETE FR\x4f\x4d w\x68a\x74\x73\x61\x70pbo\x74_pr\x65\x5f\x71\x75e WHE\x52\x45\x20\x70reque\x6dob\x69\x6c\x65\x6eu\x6dbe\x72\x20=\x20?",array(${${"GLO\x42A\x4cS"}["\x74\x64\x6aaun\x6aj"]}));$adb->pquery("IN\x53\x45R\x54 \x49\x4e\x54\x4f whatsa\x70\x70bot_p\x72\x65\x5f\x71ue\x20(pre\x71ue, \x70\x72\x65boti\x64,\x20pre\x71\x75emob\x69\x6c\x65num\x62\x65\x72,\x20\x6d\x61nual\x74ra\x6esfer,\x20\x69deal\x64\x61t\x65\x74i\x6d\x65) \x56AL\x55\x45\x53\x20(?,?,?,?,?)",array(${${"G\x4cO\x42\x41\x4c\x53"}["\x61i\x77\x68v\x6d\x74"]},${${"\x47LOB\x41\x4c\x53"}["\x72\x76dif\x79k\x71"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64ja\x75\x6ejj"]},${${"\x47\x4c\x4f\x42A\x4cS"}["\x69\x68tdjtw\x6f\x64\x66\x6d"]},${${"G\x4c\x4f\x42A\x4cS"}["fwmq\x72n"]}));${$pcbwvvmdmdv}=$adb->pquery("\x53\x45LE\x43\x54 *\x20\x46R\x4f\x4d\x20ct\x77h\x61t\x73a\x70pbo\x74\x5f\x71\x75\x65\x5f\x6d\x61\x73te\x72 \n\x20\x20  \x20\x20\x20\x20   \x20\x20  \x20      \x20  \x20 \x20\x20\x20   \x20 \x20 \x20 \x20  \x20\x20   \x20\x49NN\x45\x52 \x4aOI\x4e\x20\x63twh\x61t\x73ap\x70b\x6f\x74_que_opt_a\x73\x73\x69\x67n\x20O\x4e\x20ctwha\x74sa\x70\x70b\x6f\x74_qu\x65\x5f\x6fpt\x5fass\x69\x67n.\x71\x75e\x5fid\x20= c\x74\x77ha\x74\x73app\x62ot_\x71ue\x5f\x6d\x61s\x74e\x72\x2eq\x75\x65_id \n   \x20  \x20\x20   \x20     \x20  \x20 \x20   \x20\x20\x20 \x20  \x20 \x20 \x20\x20\x20   \x20   \x20I\x4eN\x45R JOI\x4e c\x74w\x68\x61tsa\x70pbot_\x6f\x70t_m\x61ster\x20\x4fN\x20\x63tw\x68\x61\x74\x73ap\x70\x62o\x74\x5fo\x70t_ma\x73te\x72.o\x70t\x5fid =\x20\x63t\x77h\x61ts\x61\x70\x70bot\x5fque_op\x74\x5f\x61s\x73\x69\x67n.op\x74\x5f\x69\x64\x20\n\x20  \x20\x20  \x20\x20\x20   \x20\x20 \x20\x20\x20\x20  \x20\x20  \x20 \x20 \x20\x20\x20\x20\x20\x20   \x20\x20 \x20\x20\x20\x20  \x57HER\x45 c\x74\x77h\x61t\x73\x61p\x70b\x6ft_\x71ue\x5f\x6d\x61\x73\x74er\x2e\x71u\x65_s\x65\x71\x75ence \x3d $nextSequence\x20\x41\x4e\x44\x20\x63tw\x68\x61ts\x61ppbo\x74_q\x75e_mast\x65\x72.botid\x20\x3d $prebotid");${${"\x47\x4c\x4f\x42\x41\x4cS"}["tlg\x6bi\x73\x6b\x66"]}=$adb->query_result(${$vhwvgcth},0,"q\x75e\x5f\x74\x65\x78t")."\n";${$ytswmqtv}=$adb->num_rows(${$xnzmxwn});if(${$hnxvdcqxw}){${"\x47LO\x42\x41L\x53"}["\x79\x6em\x66\x76\x73\x61h\x68\x62"]="\x67et\x4ee\x78\x74\x51u\x65\x73\x74\x69\x6fnsQ\x75\x65\x72\x79";${"G\x4cO\x42\x41L\x53"}["\x73\x72\x68\x71r\x6b\x69"]="\x6d\x65\x73\x73aget\x79pe";${"\x47LOB\x41\x4cS"}["\x6dg\x74\x63b\x71\x69"]="pre\x62\x6f\x74i\x64";${${"\x47\x4cO\x42\x41\x4cS"}["v\x69\x6dmuvxpg\x64\x70"]}=$adb->query_result(${${"\x47\x4cO\x42A\x4c\x53"}["o\x79\x6dq\x6cr\x6f\x6d"]},0,"\x6eex\x74\x5f\x73eq\x75en\x63e");${${"\x47L\x4fB\x41\x4cS"}["j\x6c\x6ef\x6e\x63\x62"]}=$adb->query_result(${${"\x47L\x4fBA\x4c\x53"}["\x6f\x79\x6d\x71l\x72\x6f\x6d"]},0,"que\x5ft\x65\x78\x74");$ocdoplnha="\x65\x6ed\x4e\x6fd\x51\x75\x65r\x79";${"\x47L\x4f\x42A\x4cS"}["\x66icn\x6b\x68eu\x61\x66\x6d"]="\x6e\x65\x78\x74\x53e\x71u\x65\x6ece";$rbhxuvdhp="\x6de\x73\x73\x61\x67et\x79\x70\x65";${${"\x47L\x4fB\x41\x4c\x53"}["h\x6bd\x66\x66a\x63\x6e"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79\x6e\x6d\x66v\x73a\x68hb"]},0,"\x6d\x65s\x73ag\x65ty\x70e");for(${${"\x47\x4cO\x42\x41\x4cS"}["\x6ds\x61\x68\x77\x61\x68\x62"]}=0;${${"GL\x4f\x42\x41\x4cS"}["\x6d\x73a\x68\x77\x61h\x62"]}<${${"GLO\x42\x41L\x53"}["\x6c\x69\x62\x73\x74\x67\x6e\x6bc\x73"]};${${"GL\x4f\x42\x41\x4c\x53"}["\x6d\x73\x61\x68\x77ah\x62"]}++){$cclmbmqkmrj="\x6f\x70\x74\x5f\x73e\x71";${"\x47\x4c\x4fBAL\x53"}["x\x6d\x78cv\x72b\x66p\x69"]="o\x70t\x5f\x74e\x78\x74";$uvnxmgt="opt\x5f\x74e\x78t";${"G\x4cOBALS"}["ldx\x66\x67j\x6dt\x6b\x71h\x6a"]="ge\x74\x4e\x65x\x74\x51\x75\x65\x73ti\x6f\x6esQ\x75\x65\x72\x79";${$uvnxmgt}=$adb->query_result(${${"\x47L\x4f\x42AL\x53"}["\x6f\x79\x6d\x71\x6c\x72\x6f\x6d"]},${${"G\x4cOB\x41L\x53"}["\x6dsa\x68w\x61\x68\x62"]},"\x6fpt\x5f\x74ext");${$cclmbmqkmrj}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41LS"}["l\x64\x78\x66g\x6a\x6dtk\x71h\x6a"]},${${"\x47\x4cO\x42A\x4cS"}["\x6d\x73\x61\x68w\x61hb"]},"o\x70t_s\x65q");${${"GLOB\x41\x4c\x53"}["\x72\x72\x78\x7ab\x64\x77f\x6f\x68j"]}[${${"\x47L\x4fB\x41\x4c\x53"}["\x77\x74\x63tojwn\x64\x62\x79"]}]=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x6d\x78\x63v\x72\x62f\x70\x69"]};${${"GLOBA\x4cS"}["\x68\x6f\x73m\x67\x68w\x79u\x68"]}.=${${"G\x4c\x4fB\x41\x4c\x53"}["\x77t\x63t\x6fj\x77\x6e\x64b\x79"]}." ".${${"\x47L\x4f\x42\x41\x4cS"}["\x73\x6b\x68w\x68\x6fk"]}."\n";}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x76d\x61\x70uoq\x66\x6c"]}=$adb->pquery("SE\x4c\x45\x43\x54 *\x20F\x52\x4f\x4d ctwha\x74s\x61ppb\x6f\x74_\x71\x75\x65\x5f\x6d\x61s\x74er\x20WH\x45\x52\x45 \x71\x75\x65_s\x65\x71u\x65\x6ec\x65 \x3d\x20? \x41N\x44 \x62otid =\x20?",array(${${"\x47\x4c\x4f\x42A\x4cS"}["f\x69cnk\x68e\x75\x61\x66\x6d"]},${${"\x47LOBA\x4c\x53"}["\x6d\x67\x74cb\x71\x69"]}));${${"GL\x4fB\x41\x4c\x53"}["u\x71\x67zxn\x74"]}=$adb->query_result(${$ocdoplnha},0,"que_text");$ltxrnxkchqy="\x6d\x65\x73\x73a\x67e\x74yp\x65";if(${${"\x47L\x4f\x42\x41\x4cS"}["\x75\x71\x67\x7a\x78\x6et"]}=="\x45nd"){$adb->pquery("DELETE\x20\x46R\x4fM\x20\x77\x68a\x74s\x61ppb\x6ft\x5f\x70r\x65\x5fq\x75e W\x48ERE\x20\x70req\x75emo\x62ile\x6eu\x6dber = ?",array(${${"\x47\x4c\x4fBA\x4c\x53"}["\x74\x64\x6a\x61\x75\x6e\x6a\x6a"]}));}if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["h\x6bd\x66fac\x6e"]}=="\x52e\x67u\x6c\x61r \x6d\x65ss\x61g\x65"){${"GL\x4f\x42\x41\x4cS"}["\x6ao\x6b\x73o\x77g\x79\x64\x77o"]="\x6d\x6f\x62i\x6ce\x6e\x6f";$imqfrbtog="\x77\x68\x61\x74s\x61p\x70\x53\x63\x61\x6e\x4eo";${"\x47\x4cO\x42\x41L\x53"}["\x67m\x77cj\x6ao\x75"]="n\x65\x78\x74Qu\x65st\x69\x6fnB\x6f\x64\x79";sendMessage(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6a\x6fk\x73o\x77\x67yd\x77o"]},${${"G\x4cO\x42\x41LS"}["g\x6dwcj\x6a\x6f\x75"]},${$imqfrbtog});}else if(${${"G\x4c\x4f\x42\x41\x4cS"}["\x73r\x68\x71r\x6b\x69"]}=="W\x68a\x74\x73\x41\x70p\x20\x42\x75tt\x6fn\x20messa\x67e"){$vnkoqjzyonks="wh\x61\x74\x73\x61\x70\x70\x53\x63a\x6eN\x6f";${"\x47L\x4fB\x41\x4c\x53"}["\x75b\x65sc\x68o"]="\x6e\x65x\x74Q\x75es\x74\x69o\x6e\x42o\x64\x79";sendButtonMessage(${${"\x47\x4cO\x42A\x4c\x53"}["\x74\x64\x6a\x61\x75\x6e\x6a\x6a"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["jl\x6e\x66\x6ecb"]},${${"\x47\x4cO\x42\x41L\x53"}["r\x72\x78\x7ab\x64w\x66ohj"]},${${"\x47\x4c\x4f\x42A\x4cS"}["\x75be\x73\x63\x68\x6f"]},${$vnkoqjzyonks});}else if(${$ltxrnxkchqy}=="Wha\x74s\x41pp\x20\x4ci\x73t\x20me\x73\x73a\x67e"){$kdnzhv="\x6d\x6f\x62\x69\x6c\x65\x6e\x6f";$ehxdteard="w\x68\x61t\x73a\x70\x70\x53canNo";$fxmracqy="bu\x74\x74o\x6e\x41\x72\x72\x61\x79";sendButtonListMessage(${$kdnzhv},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6alnf\x6e\x63b"]},${$fxmracqy},${${"\x47L\x4fB\x41\x4c\x53"}["ho\x73\x6dgh\x77y\x75\x68"]},${$ehxdteard});}else if(${$rbhxuvdhp}=="ch\x61\x74wi\x74hop\x65r\x61\x74\x6f\x72"){${"GLO\x42\x41\x4c\x53"}["\x6ce\x64\x73\x63\x69"]="m\x6fbi\x6c\x65no";convertRegularMode(${${"\x47LO\x42\x41LS"}["l\x65\x64\x73\x63\x69"]});}}else{${"GL\x4fBA\x4c\x53"}["wy\x77\x75\x69\x6e"]="\x67\x65tN\x65\x78t\x51\x75\x65s\x74\x69\x6fnQ\x75er\x79";${"\x47LO\x42\x41\x4c\x53"}["\x69\x77\x6e\x69\x6b\x65\x62\x78\x6d\x71"]="ne\x78\x74Q\x75\x65s\x74io\x6e\x42\x6f\x64\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x73\x77oy\x61\x78r\x6f\x66"]="\x6e\x65x\x74\x53\x65\x71\x75\x65n\x63\x65";$wnhsaenv="\x6ee\x78t\x51ue\x73t\x69\x6f\x6eB\x6fd\x79";$vpntyzn="p\x72\x65b\x6f\x74i\x64";${"\x47LO\x42\x41\x4c\x53"}["\x6c\x78n\x75o\x6a"]="ne\x78\x74\x53\x65\x71\x75en\x63\x65";$ygkrqfzvf="\x65\x6ed\x4eo\x64Q\x75\x65\x72y";${"G\x4cOB\x41\x4c\x53"}["d\x76\x76\x66\x6d\x64iz\x6b\x78p"]="nex\x74S\x65\x71u\x65\x6e\x63\x65";${${"\x47\x4c\x4f\x42\x41LS"}["wy\x77\x75\x69\x6e"]}=$adb->pquery("S\x45L\x45\x43T * FROM \x63t\x77\x68\x61ts\x61ppb\x6f\x74\x5f\x71\x75\x65\x5f\x6d\x61\x73\x74e\x72\x20\n \x20  \x20   \x20 \x20\x20\x20   \x20\x20 \x20 \x20\x20 \x20   \x20     \x20\x20\x20 \x20 \x20\x20   \x20  W\x48E\x52E\x20q\x75e\x5f\x73e\x71u\x65n\x63e\x20=\x20?\x20A\x4eD bo\x74i\x64\x20\x3d\x20?",array(${${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x78\x6euoj"]},${${"\x47\x4c\x4f\x42A\x4cS"}["r\x76di\x66y\x6b\x71"]}));$rvxtoqifl="n\x65\x78\x74\x45\x6e\x64Q\x75\x65sti\x6f\x6e\x42\x6f\x64\x79\x31";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x77ni\x6b\x65\x62\x78\x6d\x71"]}=$adb->query_result(${${"G\x4cOB\x41\x4cS"}["\x63\x62\x6a\x6f\x6c\x68"]},0,"qu\x65_t\x65\x78\x74");${${"G\x4c\x4f\x42\x41L\x53"}["\x70sw\x6f\x79\x61x\x72o\x66"]}=$adb->query_result(${${"GL\x4fBALS"}["\x63\x62\x6ao\x6c\x68"]},0,"\x6e\x65\x78\x74\x5f\x73e\x71\x75e\x6e\x63\x65");${${"GL\x4f\x42A\x4cS"}["dvda\x70\x75o\x71\x66l"]}=$adb->pquery("SEL\x45CT\x20* F\x52\x4fM c\x74\x77\x68\x61\x74s\x61\x70p\x62\x6ft_\x71ue\x5fm\x61ste\x72\x20WH\x45\x52E que\x5f\x73e\x71u\x65\x6e\x63e\x20=\x20? \x41N\x44\x20\x62\x6f\x74i\x64 =\x20?",array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x76vf\x6d\x64\x69\x7a\x6bx\x70"]},${$vpntyzn}));${$rvxtoqifl}=$adb->query_result(${$ygkrqfzvf},0,"\x71\x75\x65_\x74\x65x\x74");if(${${"\x47LO\x42A\x4cS"}["\x75\x71\x67z\x78\x6et"]}=="End"){$adb->pquery("\x44E\x4cE\x54\x45 FR\x4f\x4d w\x68at\x73\x61\x70pbo\x74\x5f\x70re_q\x75e\x20WH\x45RE\x20p\x72equem\x6f\x62\x69lenu\x6dber\x20\x3d ?",array(${${"\x47\x4c\x4fBALS"}["\x74\x64j\x61u\x6e\x6aj"]}));}if(${$wnhsaenv}!="\x45\x6e\x64"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["jj\x6e\x64ww\x77nd\x6c"]="\x6do\x62\x69leno";$hmedjrmszb="\x77\x68\x61\x74\x73\x61\x70\x70\x53\x63\x61n\x4e\x6f";$irsgrtrulgm="n\x65\x78\x74\x51u\x65\x73t\x69on\x42\x6fd\x79";sendMessage(${${"GL\x4fB\x41\x4c\x53"}["j\x6a\x6e\x64\x77\x77\x77\x6ed\x6c"]},${$irsgrtrulgm},${$hmedjrmszb});}}}}}}else if(${$gcpsdxige}=="S\x65a\x72c\x68"){$mwmtvoqwl="re\x71\x75\x65\x73tRo\x77\x73";${${"G\x4c\x4fB\x41\x4cS"}["ods\x74\x68\x6b\x73\x73\x6df"]}=$adb->pquery("\x53\x45\x4cE\x43T * \x46R\x4fM ctwh\x61ts\x61\x70\x70\x62\x6f\x74_\x63\x72\x6da\x63\x74\x69o\x6e\x5f\x66\x69\x65\x6cd\x6d\x61\x70\x70\x69\x6e\x67\x20\x57\x48E\x52\x45\x20\x63r\x6dactio\x6e_\x69d\x20= ?\x20AND\x20ma\x70typ\x65\x20\x3d \x27\x72equ\x65\x73t\x27",array(${${"G\x4cOBA\x4c\x53"}["\x6as\x6a\x79\x64\x6f\x75\x75"]}));${"\x47L\x4f\x42\x41\x4c\x53"}["r\x67\x68s\x74\x75\x79\x6f\x76\x72\x69"]="r\x65qu\x65s\x74\x52ows";${$mwmtvoqwl}=$adb->num_rows(${${"\x47L\x4fB\x41\x4cS"}["\x6f\x64\x73\x74\x68k\x73\x73m\x66"]});if(${${"\x47\x4cO\x42\x41\x4cS"}["rgh\x73t\x75\x79ovr\x69"]}){${"\x47\x4cOBA\x4c\x53"}["j\x72\x75\x6f\x72x\x69\x78\x78\x76t"]="\x74\x61b\x6c\x65\x6ea\x6d\x65";${"\x47L\x4fB\x41\x4cS"}["\x75\x72\x73\x73\x79\x68w\x71\x61\x65\x6d"]="t\x61b\x69d";$wcwcpwsfn="\x6d\x6f\x64\x75le\x49n\x73\x74\x61\x6e\x63\x65";$yilbbbcebf="v\x74i\x67erf\x69\x65\x6c\x64";$ribibhqfa="\x71\x75e\x5f\x74e\x78t";$trptpdlppb="\x67\x65\x74\x4da\x70\x70\x69ng\x46\x69\x65\x6c\x64\x51u\x65r\x79";$llykdkc="\x71\x75\x65\x73\x74\x69\x6f\x6e\x44a\x74\x61";${"G\x4c\x4f\x42\x41LS"}["\x66\x65f\x63\x65fq\x79\x77\x6d\x65"]="ta\x62\x6c\x65\x6e\x61m\x65";${"G\x4cOB\x41\x4cS"}["\x6ajn\x77ld\x79p\x65c\x69\x62"]="get\x53\x65\x61rc\x68\x54a\x62le\x51\x75\x65\x72y";${"\x47LO\x42\x41\x4cS"}["\x77\x73\x64\x6d\x72\x69\x74\x66\x73\x62"]="\x67\x65t\x53e\x61\x72\x63hQ\x75\x65r\x79";${$yilbbbcebf}=$adb->query_result(${$trptpdlppb},0,"\x76t\x69ge\x72\x66i\x65ld");${${"\x47LO\x42A\x4c\x53"}["\x62\x63d\x6b\x78\x62\x63\x71sb\x61"]}=$adb->pquery("SE\x4c\x45C\x54 * \x46\x52OM\x20v\x74\x69\x67er_\x66i\x65ld \x57HER\x45 ta\x62\x69d\x20=\x20? \x41\x4e\x44 fie\x6c\x64\x6e\x61m\x65 = ?",array(${${"\x47\x4cO\x42\x41\x4c\x53"}["u\x72s\x73yhw\x71\x61\x65\x6d"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6bz\x71x\x75jcl\x67"]}));${"\x47\x4cO\x42\x41\x4cS"}["\x68\x6ef\x76\x6a\x75\x66\x7a\x63n\x78"]="\x74\x61\x62\x6ce\x6eam\x65";${${"\x47L\x4f\x42\x41\x4cS"}["fe\x66\x63e\x66\x71\x79\x77\x6d\x65"]}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4cS"}["\x6aj\x6ew\x6cd\x79\x70\x65c\x69\x62"]},0,"\x74a\x62\x6cen\x61\x6de");${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x75\x65q\x74\x6c\x6dc\x6e"]="q\x75\x65s\x74io\x6e\x44\x61\x74\x61";$jorycqpmnigm="\x69n\x73\x65\x72\x74M\x6f\x64\x75\x6ceN\x61\x6d\x65";${"\x47LO\x42\x41L\x53"}["\x68\x76\x71\x69swtp\x76\x65\x62"]="\x6e\x65\x78\x74\x53\x65\x71ue\x6e\x63\x65";$gkrgmkhu="\x6e\x65\x78\x74\x5f\x73\x65q\x75\x65nc\x65";${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x6c\x6ct\x72cq\x69\x70\x72\x66\x71"]}=CRMEntity::getInstance(${${"GL\x4f\x42A\x4c\x53"}["\x66\x62\x69\x62\x61\x6c"]});$syouxis="v\x74\x69\x67\x65\x72f\x69\x65\x6c\x64";${$wcwcpwsfn}=Vtiger_Module::getInstance(${$jorycqpmnigm});${${"G\x4c\x4fB\x41\x4cS"}["\x6dm\x6dcn\x6c\x75erj"]}=$moduleInstance->basetable;${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x77\x79j\x70t\x66\x65g\x6d"]="\x72\x65\x73\x70o\x6e\x73\x65\x69\x6d\x67";$frakysrf="c\x75\x72\x72e\x6et\x42\x6f\x74T\x69\x6d\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x74\x6c\x6a\x65b\x69"]}=$moduleInstance->basetableid;${${"\x47L\x4f\x42\x41L\x53"}["\x6b\x63\x74\x73\x71\x6af\x70u\x79\x64\x61"]}=$adb->pquery("\x53E\x4c\x45C\x54 ".${${"\x47\x4cOB\x41L\x53"}["\x70\x6eu\x72te\x6cn\x6d\x76"]}.".* \x46RO\x4d ".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ar\x75\x6f\x72xi\x78x\x76t"]}."\x20\n\x20\x20   \x20    \x20\x20 \x20     \x20\x20\x20 \x20  \x20   \x20   \x20\x20  \x20\x20\x49\x4eN\x45\x52 \x4a\x4fIN\x20vt\x69g\x65\x72\x5f\x63r\x6d\x65\x6et\x69\x74y ON\x20\x76t\x69\x67er_cr\x6d\x65nt\x69ty.c\x72\x6did = ".${${"G\x4cOB\x41L\x53"}["h\x6e\x66\x76\x6auf\x7a\x63\x6e\x78"]}."\x2e".${${"G\x4c\x4fB\x41\x4cS"}["n\x74l\x6ae\x62i"]}."\x20W\x48E\x52\x45\x20".${$syouxis}."\x20=\x20?",array(${${"G\x4cO\x42A\x4cS"}["\x70pex\x72\x67\x6a\x72ck"]}));${${"\x47LOBA\x4cS"}["\x69\x7av\x62y\x65\x68"]}=$adb->num_rows(${${"\x47\x4c\x4fB\x41L\x53"}["w\x73\x64\x6d\x72itf\x73\x62"]});$hpqicdwzhu="\x63o\x70\x79\x5ffrom";if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69zvbye\x68"]}){${"GL\x4f\x42AL\x53"}["v\x62ev\x73v\x74\x76p"]="\x66i\x65l\x64\x56\x61\x6c\x75\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x62\x63l\x6db\x76\x6dg"]="m\x6fbile\x6e\x6f";$llsqkxesvq="\x67\x65t\x52\x65\x73p\x6f\x6e\x63\x65\x46\x69el\x64\x51\x75\x65\x72\x79";$euuwzox="\x66i\x65ld\x56\x61\x6c\x75e";${${"\x47\x4c\x4fB\x41\x4c\x53"}["bh\x77\x62\x79\x66\x63"]}=$adb->pquery("\x53\x45L\x45\x43\x54\x20* \x46\x52\x4fM\x20ct\x77h\x61t\x73a\x70pbo\x74\x5f\x63\x72\x6dacti\x6f\x6e\x5f\x66ield\x6dappin\x67\x20\x57\x48ER\x45 \x63\x72\x6da\x63\x74i\x6fn\x5f\x69d\x20= ?\x20A\x4eD m\x61\x70\x74\x79\x70e\x20=\x20\x27\x72\x65s\x70\x6f\x6es\x65\x27",array(${${"\x47\x4c\x4f\x42ALS"}["\x6a\x73\x6a\x79\x64\x6fu\x75"]}));${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x6d\x68\x67\x65\x78j\x74\x68\x6d\x77"]="\x76\x74i\x67\x65\x72\x52\x65\x73p\x6f\x6e\x63eF\x69\x65\x6c\x64";${"\x47\x4cO\x42\x41\x4cS"}["n\x75\x63\x6e\x65b\x66\x6c"]="f\x69\x65\x6c\x64Co\x6c\x75\x6d\x6e\x4ea\x6d\x65";${${"\x47\x4cO\x42\x41LS"}["\x67\x68\x62l\x78g\x65\x7a"]}=$adb->query_result(${$llsqkxesvq},0,"\x76tig\x65rfie\x6cd");${"GLO\x42\x41\x4cS"}["\x69q\x61ju\x65"]="\x71\x75\x65\x72\x79";$uccovoox="\x76t\x69g\x65\x72\x52es\x70on\x63e\x46\x69\x65l\x64";${${"\x47L\x4fB\x41\x4c\x53"}["i\x71aju\x65"]}=$adb->pquery("\x53E\x4cEC\x54 * FRO\x4d\x20\x76t\x69ger\x5f\x66\x69\x65l\x64 WH\x45\x52\x45\x20t\x61b\x69d\x20\x3d ?\x20\x41N\x44 f\x69\x65\x6c\x64\x6eam\x65 =\x20?",array(${${"\x47\x4c\x4f\x42A\x4c\x53"}["d\x67yi\x64b\x6cj"]},${${"\x47\x4c\x4fBA\x4c\x53"}["v\x6d\x68g\x65x\x6a\x74\x68\x6d\x77"]}));${${"\x47L\x4fB\x41\x4cS"}["\x6e\x75\x63n\x65\x62\x66\x6c"]}=$adb->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x70\x73\x73a\x72\x77\x73\x72\x64\x6f"]},0,"\x63\x6f\x6cu\x6dn\x6e\x61\x6de");${${"\x47\x4c\x4f\x42AL\x53"}["vb\x65\x76\x73\x76\x74\x76\x70"]}=$adb->query_result(${${"\x47\x4c\x4f\x42ALS"}["\x6bctsqj\x66p\x75\x79\x64a"]},0,${${"\x47\x4c\x4fB\x41LS"}["\x6bw\x64\x70\x70q\x6a\x68\x69\x75"]});$luxcim="\x70\x72\x65b\x6ft\x69\x64";insertResponceValue(${${"\x47LO\x42\x41\x4c\x53"}["\x66\x62\x63l\x6db\x76\x6dg"]},${$euuwzox},${$uccovoox},${$luxcim});}${${"GL\x4f\x42\x41\x4cS"}["\x6e\x72\x74\x68\x71f\x6e\x71bn\x78"]}=getSearchTypeQuestionQuery(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x76q\x69\x73\x77\x74\x70\x76\x65\x62"]},${${"\x47\x4cOB\x41\x4cS"}["\x72\x76\x64if\x79kq"]});${$ribibhqfa}=${$llykdkc}["\x71\x75\x65\x5ftext"];$tpymmlnds="pr\x65b\x6f\x74\x69d";${$hpqicdwzhu}=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x72thq\x66\x6e\x71\x62\x6e\x78"]}["c\x6f\x70y\x5ffr\x6f\x6d"];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x62\x6c\x7a\x6ck"]}=${${"G\x4cO\x42A\x4c\x53"}["nr\x74\x68\x71\x66\x6e\x71\x62nx"]}["ne\x78\x74_\x73\x65\x71\x75e\x6ece"];${${"\x47LO\x42AL\x53"}["hw\x79\x6a\x70t\x66\x65\x67m"]}=${${"\x47\x4cOB\x41LS"}["\x66ueq\x74\x6c\x6d\x63\x6e"]}["resp\x6fns\x65i\x6d\x67"];$adb->pquery("DE\x4c\x45T\x45 \x46\x52\x4f\x4d wh\x61\x74\x73appbot_\x70re_\x71\x75\x65\x20WHE\x52E\x20p\x72equem\x6f\x62\x69l\x65\x6e\x75mb\x65r = ?",array(${${"\x47\x4c\x4fB\x41L\x53"}["t\x64j\x61\x75\x6ej\x6a"]}));$adb->pquery("\x49\x4eS\x45\x52T \x49N\x54O \x77hats\x61ppbot_p\x72e\x5fq\x75\x65\x20(\x70re\x71\x75e, pre\x62\x6f\x74id, p\x72e\x71u\x65m\x6fbi\x6c\x65nu\x6dber, ma\x6eua\x6c\x74ran\x73fe\x72, \x69\x64eald\x61\x74\x65t\x69me)\x20\x56ALUES\x20(?,?,?,?,?)",array(${$gkrgmkhu},${$tpymmlnds},${${"\x47LOB\x41\x4c\x53"}["\x74d\x6aa\x75\x6e\x6a\x6a"]},${${"\x47L\x4f\x42AL\x53"}["\x69\x68td\x6a\x74wo\x64fm"]},${$frakysrf}));if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x64h\x70\x79k\x78\x65\x6c\x65\x7a"]}){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x68\x75vo\x6fskv\x70c"]="v\x74i\x67\x65\x72\x52\x65\x73p\x6f\x6e\x63\x65\x46ie\x6c\x64";${"\x47\x4cO\x42A\x4c\x53"}["\x75x\x71e\x6b\x67rk"]="\x66i\x65\x6c\x64\x56\x61\x6c\x75\x65\x51\x75\x65\x72\x79";${"G\x4c\x4f\x42\x41\x4cS"}["\x69u\x69\x6f\x66n\x63\x6c"]="n\x65xtQ\x75\x65\x73t\x69o\x6e\x42ody";${"\x47\x4c\x4fBA\x4c\x53"}["\x6bcq\x6c\x78\x69\x62s\x69\x6a\x67\x7a"]="r\x65\x73p\x6f\x6eseimg";$xirmqmm="\x63op\x79\x5f\x66r\x6fm";$fsapccdwr="\x76ar\x69ab\x6c\x65\x76\x61lue";$iyhmsljw="pr\x65b\x6ft\x69\x64";${${"\x47L\x4f\x42\x41\x4c\x53"}["b\x70v\x6e\x7a\x62wb\x62\x72\x6c\x69"]}=$adb->pquery("\x53\x45LEC\x54 *\x20FROM vt\x69g\x65r_wh\x61tsappbo\x74\x5fresp\x6f\x6e\x63e\x76\x61lue\x20\x57\x48\x45R\x45\x20\x76\x61ri\x61\x62le\x6eam\x65 \x3d\x20?\x20\x41ND m\x6f\x62i\x6ce\x77h\x61ts\x61\x70pnu\x6db\x65\x72\x20\x3d ?\x20\x41\x4eD b\x6ft\x5f\x69\x64 =\x20?",array(${${"\x47\x4c\x4fBA\x4cS"}["j\x68\x75\x76\x6f\x6f\x73\x6b\x76\x70c"]},${${"G\x4c\x4fBAL\x53"}["td\x6a\x61\x75\x6e\x6a\x6a"]},${$iyhmsljw}));${${"G\x4cOB\x41\x4c\x53"}["\x6e\x72\x79\x76\x6d\x69n\x6ey\x64\x7a"]}=$adb->query_result(${${"GLO\x42AL\x53"}["\x75\x78q\x65k\x67\x72\x6b"]},0,"\x76ar\x69\x61\x62\x6ceva\x6cu\x65");${${"G\x4cO\x42\x41LS"}["\x69\x75i\x6f\x66\x6e\x63l"]}=str_replace("\x40\x40".${$xirmqmm},${$fsapccdwr},${${"\x47\x4cO\x42\x41L\x53"}["xx\x61\x69lqbd"]});if(${${"GLO\x42A\x4c\x53"}["\x6bcq\x6c\x78ibsij\x67\x7a"]}){$udscblgxwgwt="\x77\x68\x61tsapp\x53\x63\x61\x6eN\x6f";sendMessageWithImage(${${"\x47\x4cOB\x41\x4c\x53"}["t\x64ja\x75\x6ej\x6a"]},${${"\x47\x4cO\x42\x41L\x53"}["\x68\x6f\x73mg\x68\x77\x79u\x68"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["x\x64\x76\x71\x77l\x79"]},${$udscblgxwgwt});}else{$eqtcazouqynu="\x6do\x62i\x6c\x65\x6e\x6f";$fwfblhowiwi="ne\x78\x74\x51\x75\x65\x73ti\x6fn\x42\x6f\x64y";$vmyhbmnh="w\x68a\x74s\x61\x70\x70\x53ca\x6e\x4eo";sendMessage(${$eqtcazouqynu},${$fwfblhowiwi},${$vmyhbmnh});}}}}}else{${"\x47\x4cO\x42\x41\x4cS"}["b\x6b\x74\x63h\x66h\x64\x63\x74\x6d\x77"]="\x6e\x65\x78\x74\x53\x65qu\x65\x6e\x63\x65\x31";${"G\x4c\x4f\x42\x41\x4cS"}["\x69\x69j\x6e\x62u\x6e\x6d\x67he"]="op\x74\x69o\x6eRo\x77";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x72cqb\x72\x6b\x6fk"]="n\x65x\x74Quest\x69\x6f\x6eB\x6f\x64\x79";${"G\x4cOBA\x4c\x53"}["\x6fz\x66\x6d\x64\x70\x6a"]="mo\x62\x69\x6c\x65\x6e\x6f";${${"\x47\x4c\x4f\x42A\x4cS"}["\x75c\x74yq\x63yu\x67\x65w\x6f"]}=${${"\x47\x4cO\x42AL\x53"}["\x79\x6c\x76bbu"]}["q\x75e\x5fid"];${"\x47\x4c\x4f\x42\x41LS"}["\x68\x72\x6c\x66x\x79\x68"]="\x67e\x74Nex\x74Q\x75\x65stio\x6es\x51u\x65\x72\x79";if(${${"\x47LO\x42AL\x53"}["\x75\x63\x74yqc\x79\x75\x67\x65wo"]}){${"G\x4c\x4f\x42\x41LS"}["\x6br\x6frxk\x64\x6d\x62f"]="m\x65\x73s\x61ge\x74\x79pe";$ccysogovbre="\x6de\x73s\x61\x67e\x54\x79\x70eq\x75e\x72y";$deoxbksbqgkg="\x6de\x73s\x61\x67et\x79\x70e";${$ccysogovbre}=$adb->pquery("S\x45\x4c\x45\x43\x54 * F\x52O\x4d\x20\x63\x74\x77\x68atsa\x70p\x62ot\x5fque_\x6da\x73ter\x20\x57H\x45\x52\x45\x20\x71\x75e\x5fid =\x20?",array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x63ty\x71cyu\x67\x65\x77\x6f"]}));${$deoxbksbqgkg}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4cS"}["\x77\x77\x76ks\x70\x72\x72\x6cr\x75\x68"]},0,"mess\x61\x67\x65\x74\x79p\x65");if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x72\x6f\x72\x78\x6b\x64\x6dbf"]}=="\x52\x65gu\x6c\x61r \x6d\x65ss\x61g\x65"){$skjvsxdxqbb="\x62od\x79";${${"G\x4c\x4fBA\x4cS"}["\x67\x64u\x6d\x63h\x6a\x75n\x65\x68"]}=" A\x4e\x44 o\x70t_s\x65\x71\x20= ".${$skjvsxdxqbb};}else{${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6eat\x69c\x74b\x6a\x64"]="s\x69\x6e\x75\x6d\x65ric\x51ue\x72\x79";${${"\x47LO\x42\x41\x4c\x53"}["n\x61t\x69\x63\x74\x62j\x64"]}="";}}$adb->pquery("\x44\x45\x4c\x45\x54E F\x52\x4fM\x20w\x68atsapp\x62\x6f\x74\x5fp\x72\x65\x5f\x71\x75e \x57\x48E\x52E \x70r\x65que\x6d\x6fbi\x6cenumbe\x72\x20\x3d ?",array(${${"G\x4cOBA\x4c\x53"}["o\x7a\x66m\x64\x70j"]}));$adb->pquery("INSE\x52T\x20IN\x54\x4f\x20wh\x61t\x73app\x62\x6f\x74_p\x72\x65\x5f\x71u\x65 (p\x72\x65qu\x65, \x70re\x62\x6f\x74\x69\x64, \x70\x72\x65\x71\x75\x65\x6d\x6fb\x69len\x75m\x62e\x72, \x6dan\x75\x61ltr\x61nsfer,\x20\x69\x64\x65\x61\x6cd\x61teti\x6de) VALU\x45S (?,?,?,?,?)",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x6b\x74c\x68\x66hd\x63\x74\x6dw"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x76\x64\x69\x66\x79\x6b\x71"]},${${"\x47\x4cOBA\x4c\x53"}["tdj\x61\x75\x6e\x6aj"]},${${"\x47\x4c\x4f\x42A\x4cS"}["\x69\x68td\x6a\x74\x77o\x64fm"]},${${"\x47L\x4fBAL\x53"}["\x66\x6dn\x6d\x68\x62"]}));${${"GL\x4f\x42\x41\x4c\x53"}["oy\x6dqlro\x6d"]}=$adb->pquery("\x53E\x4c\x45C\x54\x20* \x46\x52OM\x20\x63twh\x61t\x73\x61\x70\x70b\x6f\x74\x5f\x71\x75\x65\x5fmas\x74\x65\x72 \n  \x20\x20\x20       \x20\x20 \x20    \x20     \x20 \x20\x20  \x49\x4eN\x45R \x4a\x4f\x49N \x63tw\x68\x61\x74s\x61p\x70b\x6ft\x5fq\x75e\x5f\x6fp\x74\x5f\x61\x73s\x69\x67\x6e O\x4e \x63\x74\x77\x68ats\x61p\x70b\x6f\x74\x5f\x71u\x65\x5f\x6fpt_\x61\x73si\x67\x6e\x2e\x71\x75\x65\x5fi\x64\x20=\x20c\x74\x77\x68\x61tsa\x70\x70b\x6ft\x5fq\x75\x65\x5fma\x73te\x72\x2e\x71\x75e_id\x20\n \x20 \x20\x20\x20\x20  \x20\x20\x20\x20\x20 \x20\x20      \x20 \x20\x20 \x20   I\x4e\x4e\x45R\x20J\x4fIN \x63tw\x68a\x74\x73\x61p\x70\x62\x6ft\x5fo\x70t\x5f\x6d\x61\x73ter \x4f\x4e \x63twha\x74\x73ap\x70\x62\x6ft_\x6fpt_\x6da\x73t\x65r.opt_id\x20=\x20c\x74\x77h\x61\x74s\x61pp\x62o\x74\x5f\x71\x75\x65\x5f\x6fp\x74\x5fa\x73s\x69g\x6e\x2eopt_\x69\x64 \n \x20 \x20 \x20\x20\x20\x20\x20\x20  \x20  \x20\x20\x20     \x20 \x20 \x20 \x20 \x57\x48ERE c\x74\x77hatsap\x70\x62\x6f\x74_que\x5f\x6d\x61st\x65\x72\x2e\x71\x75e\x5fs\x65q\x75\x65n\x63e \x3d\x20$nextSequence1 AN\x44 \x63t\x77\x68at\x73\x61p\x70b\x6f\x74\x5f\x71\x75e_ma\x73ter.bo\x74\x69d = $prebotid");${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7acwd\x6c\x78z\x67\x78\x67\x79"]="\x6fp\x74io\x6e\x52\x6f\x77";${${"\x47\x4c\x4f\x42\x41LS"}["l\x72\x63q\x62r\x6b\x6fk"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68r\x6cf\x78y\x68"]},0,"q\x75\x65\x5f\x74ex\x74")."\n";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69ij\x6ebu\x6e\x6d\x67\x68e"]}=$adb->num_rows(${${"\x47\x4cO\x42\x41L\x53"}["o\x79\x6dq\x6c\x72\x6f\x6d"]});if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["zc\x77\x64l\x78\x7ag\x78gy"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x6f\x61\x79\x78\x79\x73\x62x"]="\x6e\x65\x78\x74\x51\x75\x65\x73\x74\x69\x6f\x6eB\x75\x74t\x6f\x6eB\x6fd\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71v\x79\x6ckvq\x6df\x65"]="\x6e\x65\x78\x74\x53\x65\x71uenc\x65";${"G\x4cO\x42A\x4cS"}["m\x65c\x72u\x63\x77\x6a\x65\x62\x75"]="\x6d\x65s\x73\x61\x67\x65type";$mugydiihp="\x6de\x73sa\x67\x65t\x79p\x65";$vetwofbip="\x67\x65\x74\x4e\x65x\x74\x51u\x65\x73\x74i\x6f\x6e\x73\x51\x75\x65r\x79";${"GLOB\x41L\x53"}["\x64\x77\x6f\x6a\x74eu\x70d\x74"]="\x69";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71vy\x6ckvq\x6df\x65"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41L\x53"}["\x6f\x79m\x71\x6c\x72om"]},0,"ne\x78\x74_\x73\x65que\x6e\x63e");${${"\x47\x4c\x4fB\x41LS"}["\x6bo\x61\x79\x78\x79\x73bx"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4cS"}["\x6f\x79\x6d\x71\x6c\x72\x6f\x6d"]},0,"\x71\x75e\x5f\x74ext");$grmvyoqtu="i";${$mugydiihp}=$adb->query_result(${$vetwofbip},0,"m\x65\x73s\x61\x67ety\x70\x65");for(${$grmvyoqtu}=0;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x77\x6f\x6a\x74\x65\x75\x70\x64\x74"]}<${${"\x47\x4c\x4fBAL\x53"}["\x6cib\x73\x74g\x6ek\x63\x73"]};${${"\x47\x4c\x4fB\x41\x4cS"}["\x6d\x73ah\x77a\x68\x62"]}++){$boouwxrdsl="\x67\x65tN\x65x\x74\x51\x75\x65\x73\x74\x69\x6fn\x73\x51\x75\x65\x72\x79";$pspjmaskyrk="\x6f\x70\x74\x5f\x73\x65\x71";${${"GLO\x42ALS"}["\x73k\x68\x77\x68\x6f\x6b"]}=$adb->query_result(${$boouwxrdsl},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ds\x61\x68\x77\x61\x68\x62"]},"\x6f\x70t\x5f\x74\x65\x78t");${"\x47\x4c\x4fB\x41L\x53"}["b\x77c\x70\x66e\x61\x73"]="\x6f\x70\x74_seq";${$pspjmaskyrk}=$adb->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x79m\x71\x6c\x72\x6f\x6d"]},${${"\x47\x4c\x4fB\x41LS"}["\x6d\x73\x61\x68\x77a\x68\x62"]},"\x6f\x70t\x5fseq");$mkcryhxjgp="ne\x78\x74\x51\x75e\x73\x74\x69\x6f\x6e\x42\x6f\x64\x79";${${"G\x4cO\x42A\x4c\x53"}["\x72\x72\x78zbd\x77f\x6f\x68\x6a"]}[${${"G\x4c\x4fB\x41\x4c\x53"}["\x77\x74\x63\x74\x6f\x6a\x77nd\x62y"]}]=${${"\x47L\x4fB\x41L\x53"}["\x73k\x68\x77h\x6fk"]};${$mkcryhxjgp}.=${${"\x47\x4cO\x42\x41\x4cS"}["b\x77cp\x66\x65\x61s"]}." ".${${"\x47L\x4f\x42\x41LS"}["s\x6bhw\x68\x6f\x6b"]}."\n";}if(${${"GL\x4fBA\x4c\x53"}["\x68\x6b\x64f\x66\x61c\x6e"]}=="\x52\x65gul\x61r m\x65ssage"){$cfgdqdehmn="\x77\x68\x61\x74\x73a\x70pS\x63anN\x6f";sendMessage(${${"\x47\x4cO\x42\x41\x4cS"}["t\x64\x6aa\x75\x6ej\x6a"]},${${"\x47\x4cOB\x41LS"}["\x68osm\x67\x68w\x79\x75\x68"]},${$cfgdqdehmn});}else if(${${"GL\x4f\x42\x41LS"}["me\x63\x72\x75cwj\x65\x62\x75"]}=="\x57h\x61\x74sAp\x70\x20Button\x20\x6d\x65s\x73age"){$lutcitmmftv="\x62ut\x74\x6fnAr\x72\x61\x79";$wjmhbqv="\x6e\x65\x78\x74Q\x75\x65\x73\x74\x69\x6f\x6e\x42\x75t\x74\x6f\x6e\x42o\x64y";sendButtonMessage(${${"G\x4c\x4fBA\x4c\x53"}["t\x64\x6a\x61\x75\x6ejj"]},${$wjmhbqv},${$lutcitmmftv},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6fs\x6d\x67h\x77\x79\x75\x68"]},${${"G\x4c\x4fB\x41\x4cS"}["\x73\x69up\x78g"]});}else if(${${"G\x4cO\x42\x41\x4c\x53"}["\x68\x6bdffacn"]}=="WhatsA\x70\x70\x20Li\x73t\x20messag\x65"){$clhjev="b\x75t\x74\x6f\x6eA\x72\x72a\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x66\x6f\x62\x6b\x76"]="\x6e\x65\x78\x74Que\x73\x74i\x6fn\x42o\x64\x79";${"\x47\x4c\x4fBALS"}["\x66j\x71\x70\x68b\x65kh"]="mo\x62\x69l\x65\x6eo";$mhogziqf="\x77\x68a\x74\x73\x61p\x70\x53ca\x6eN\x6f";sendButtonListMessage(${${"\x47\x4c\x4f\x42ALS"}["\x66\x6aq\x70\x68\x62\x65\x6b\x68"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x6alnf\x6ec\x62"]},${$clhjev},${${"\x47\x4cOB\x41L\x53"}["r\x66\x6f\x62\x6bv"]},${$mhogziqf});}else if(${${"G\x4c\x4f\x42\x41L\x53"}["hkd\x66f\x61cn"]}=="c\x68a\x74\x77\x69\x74hop\x65\x72\x61tor"){convertRegularMode(${${"GLO\x42\x41\x4c\x53"}["t\x64\x6a\x61\x75nj\x6a"]});}}else{$snloijbvvp="ne\x78tS\x65\x71\x75\x65nce\x31";${"\x47\x4c\x4f\x42A\x4cS"}["\x6bzg\x64cbonl\x77"]="\x6ex\x74Q\x75\x65\x73\x74\x69o\x6eR\x6f\x77\x73";$khejqgbedrk="\x67et\x4e\x65x\x74Q\x75\x65\x73\x74io\x6e\x51u\x65\x72\x79\x31";${$khejqgbedrk}=$adb->pquery("S\x45\x4cECT\x20* F\x52OM ct\x77h\x61ts\x61\x70pbot\x5f\x71ue_ma\x73\x74er\x20\n  \x20 \x20  \x20\x20\x20 \x20\x20   \x20 \x20 \x20  \x20\x20\x20\x20\x20\x57\x48ER\x45 \x71\x75\x65\x5fs\x65q\x75e\x6ece\x20\x3d ?\x20\x41ND\x20\x62otid \x3d\x20?".${${"G\x4cO\x42\x41\x4c\x53"}["gd\x75\x6dch\x6a\x75\x6e\x65\x68"]},array(${$snloijbvvp},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x76d\x69\x66\x79\x6b\x71"]}));${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x7a\x67\x64\x63\x62\x6f\x6e\x6c\x77"]}=$adb->num_rows(${${"G\x4c\x4fBA\x4cS"}["\x62\x6ex\x63qiyk\x62t\x66"]});if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["bk\x64x\x79b\x63i"]}){$vrxbfyukcv="\x6d\x61\x6e\x75\x61lt\x72\x61\x6es\x66\x65\x72s";${${"\x47LOB\x41\x4cS"}["\x68\x6f\x73\x6d\x67h\x77\x79uh"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4cS"}["\x62\x6e\x78\x63\x71\x69y\x6b\x62\x74\x66"]},0,"\x71\x75\x65_\x74ex\x74");$ivwxckjs="m\x6f\x62\x69l\x65no";${"G\x4cO\x42\x41\x4cS"}["n\x66\x65r\x69\x71\x64z"]="\x6ee\x78t\x5fq\x75\x65\x5f\x69\x64";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x64\x76q\x77\x6c\x79"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["bn\x78\x63qiyk\x62t\x66"]},0,"\x72e\x73\x70\x6f\x6e\x73e\x69mg");${${"G\x4c\x4f\x42\x41\x4cS"}["n\x66\x65\x72\x69\x71\x64\x7a"]}=$adb->query_result(${${"GL\x4f\x42\x41L\x53"}["b\x6excq\x69\x79k\x62t\x66"]},0,"nex\x74\x5f\x73e\x71\x75e\x6ece");$nspottpi="\x63\x75\x72\x72\x65n\x74\x42\x6ft\x54\x69\x6d\x65";$adb->pquery("DEL\x45\x54E \x46R\x4fM \x77h\x61\x74s\x61p\x70bot\x5f\x70\x72e_\x71u\x65\x20\x57\x48\x45R\x45\x20\x70\x72\x65q\x75\x65m\x6f\x62\x69\x6cenu\x6d\x62\x65\x72\x20= ?",array(${$ivwxckjs}));$adb->pquery("\x49NS\x45R\x54\x20\x49NT\x4f w\x68a\x74\x73ap\x70b\x6ft\x5f\x70\x72\x65\x5f\x71\x75\x65 (pr\x65qu\x65,\x20p\x72\x65\x62\x6f\x74\x69\x64,\x20pr\x65q\x75\x65mo\x62\x69\x6c\x65n\x75\x6dbe\x72,\x20m\x61\x6eu\x61lt\x72a\x6e\x73\x66\x65r, i\x64ea\x6cda\x74e\x74\x69m\x65) \x56\x41\x4c\x55ES (?,?,?,?,?)",array(${${"\x47\x4c\x4fBALS"}["\x79\x61f\x79\x69\x6b\x63z\x6d\x6a\x75\x6a"]},${${"\x47\x4c\x4fB\x41\x4cS"}["\x72\x76di\x66\x79k\x71"]},${${"G\x4cO\x42\x41\x4c\x53"}["t\x64\x6a\x61\x75\x6e\x6aj"]},${$vrxbfyukcv},${$nspottpi}));if(${${"\x47LO\x42\x41L\x53"}["\x78\x64\x76q\x77\x6c\x79"]}){${"\x47L\x4f\x42A\x4c\x53"}["\x6d\x63f\x64\x6cv\x69"]="\x72\x65\x73\x70\x6f\x6e\x73\x65\x69mg";sendMessageWithImage(${${"\x47\x4c\x4f\x42\x41L\x53"}["td\x6aa\x75\x6e\x6a\x6a"]},${${"\x47L\x4f\x42AL\x53"}["\x68\x6f\x73m\x67\x68\x77\x79\x75h"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6dcf\x64l\x76i"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x73i\x75\x70\x78g"]});}else{$pprgvbul="\x6d\x6f\x62\x69l\x65\x6eo";sendMessage(${$pprgvbul},${${"\x47\x4cO\x42\x41L\x53"}["\x68o\x73\x6d\x67hw\x79\x75\x68"]},${${"\x47LO\x42A\x4c\x53"}["\x73iu\x70\x78\x67"]});}}else{$uwaqfun="mo\x62\x69\x6cen\x6f";${"\x47L\x4fB\x41\x4c\x53"}["yr\x76\x66a\x77\x65"]="\x6eex\x74\x51\x75e\x73\x74\x69on\x42o\x64\x79";${${"\x47\x4c\x4f\x42A\x4c\x53"}["y\x72\x76\x66\x61\x77\x65"]}=vtranslate("P\x6c\x65as\x65 \x65nte\x72\x20v\x61l\x69d i\x6eput","\x43T\x57\x68\x61\x74\x73App");sendMessage(${$uwaqfun},${${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x6f\x73m\x67\x68\x77y\x75h"]},${${"GL\x4f\x42\x41\x4cS"}["si\x75p\x78\x67"]});exit;}}}}}}}}function defaultMessage($body,$mobileno,$manualtransfer,$whatsappScanNo){${"GL\x4fBAL\x53"}["p\x74\x68\x6c\x72h"]="\x6d\x61\x6e\x75\x61\x6ctran\x73\x66\x65r";global$adb;${"G\x4cO\x42A\x4c\x53"}["\x65\x76\x6a\x69loa\x70p\x67\x74"]="\x70reQ\x75e\x73\x74io\x6e\x44\x65\x74\x61\x69l\x73";${"\x47LOB\x41LS"}["\x71\x74\x65\x63\x6bw\x6aj\x62tu"]="m\x6f\x62\x69\x6c\x65n\x6f";${"\x47\x4c\x4fBA\x4c\x53"}["d\x76\x6f\x6a\x77us\x7ao"]="\x66\x69rs\x74b\x6f\x74i\x64";${"G\x4c\x4fB\x41LS"}["\x74\x6f\x63\x70\x77\x65\x6b\x73m"]="\x70\x72\x65\x51\x75\x65\x73\x74\x69\x6f\x6e\x44\x65\x74\x61\x69l\x73";$dubgmpsweg="\x66\x69r\x73\x74\x51\x75\x65Id";$nyogqjiuoiy="fir\x73\x74\x51\x75eQ\x75er\x79";${${"\x47\x4c\x4f\x42\x41LS"}["\x66\x6d\x6e\x6d\x68\x62"]}=date("\x59-\x6d-\x64\x20\x48:\x69:\x73");${${"\x47\x4c\x4fB\x41L\x53"}["\x74\x6f\x63pwe\x6bs\x6d"]}=getPreQuestionDetails(${${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x74\x65\x63k\x77\x6a\x6a\x62\x74\x75"]});${"G\x4c\x4f\x42\x41\x4cS"}["\x62vkw\x63\x6b\x6e\x7ag"]="\x61\x63\x74iv\x65B\x6ft\x51\x75\x65r\x79";${${"\x47L\x4fB\x41\x4c\x53"}["\x70\x74\x68lr\x68"]}=${${"G\x4c\x4fB\x41\x4c\x53"}["\x65\x76j\x69l\x6fa\x70\x70\x67t"]}["\x6da\x6e\x75a\x6ctr\x61ns\x66er"];${${"G\x4c\x4fB\x41LS"}["\x70i\x75u\x6cn\x78w\x65\x67\x6d\x6d"]}=$adb->pquery("\x53ELEC\x54\x20* \x46\x52O\x4d \x76t\x69\x67\x65r_ct\x77h\x61t\x73appb\x75\x73i\x6eessco\x6ef\x69gura\x74io\x6e");${"\x47\x4c\x4fB\x41\x4c\x53"}["rj\x73\x63\x68\x7ajpi"]="\x6d\x6f\x62il\x65\x6e\x6f";$swllfnipe="\x6dan\x75a\x6ctr\x61\x6e\x73\x66er";$ulejjd="r\x6f\x77\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75b\x6f\x70aw\x6c"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x69\x75\x75\x6cnxwe\x67\x6d\x6d"]},0,"c\x75s\x74\x6fmfiel\x64\x34");$hvfcuzntxxj="\x72\x6f\x77s";if(${${"\x47LO\x42A\x4c\x53"}["\x75\x62\x6fp\x61\x77\x6c"]}=="mu\x6ct\x69\x70l\x65\x57ha\x74\x73\x61\x70\x70"){${"\x47LO\x42\x41\x4c\x53"}["d\x64\x6b\x6bk\x6e\x73"]="w\x68at\x73\x61p\x70\x53\x63\x61\x6eN\x6f";${${"\x47L\x4f\x42\x41\x4c\x53"}["me\x66\x6a\x76\x73\x72kq\x6a"]}=$adb->pquery("S\x45LE\x43T *\x20F\x52\x4fM \x76\x74ige\x72\x5fct\x77\x68atsapp\x62u\x73ines\x73u\x73ers\x20W\x48\x45\x52E\x20\x77\x68at\x73a\x70pn\x6f\x20= ?",array(${${"\x47L\x4fB\x41L\x53"}["\x64\x64\x6b\x6bk\x6e\x73"]}));${${"G\x4c\x4f\x42\x41L\x53"}["\x7a\x6cm\x67\x66m\x73\x65in"]}=$adb->query_result(${${"G\x4c\x4f\x42A\x4cS"}["\x6def\x6av\x73\x72\x6b\x71\x6a"]},0,"\x63\x75\x73\x74o\x6dfi\x65ld\x35");}else{$crmvfrkhh="\x67\x65\x74\x55s\x65\x72I\x64\x51ue\x72\x79";${"G\x4c\x4fBAL\x53"}["\x61u\x76\x64\x66my\x79"]="\x75\x73\x65\x72\x69d";${$crmvfrkhh}=$adb->pquery("\x53\x45LE\x43T * \x46R\x4f\x4d\x20\x76t\x69g\x65r_\x63\x74wh\x61\x74\x73a\x70pb\x75\x73\x69\x6e\x65\x73\x73confi\x67\x75\x72\x61t\x69\x6f\x6e\x20\x57H\x45R\x45 \x77\x68at\x73ap\x70n\x6f =\x20?",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x69\x75p\x78\x67"]}));${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fekl\x6c\x6d\x6c\x79\x75h\x74"]="\x67\x65\x74Us\x65\x72\x49\x64\x51\x75\x65r\x79";${${"\x47L\x4fB\x41\x4cS"}["\x61\x75\x76d\x66m\x79y"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6f\x65k\x6cl\x6d\x6c\x79\x75\x68\x74"]},0,"\x63\x75s\x74\x6f\x6dfield5");}${${"G\x4c\x4f\x42\x41L\x53"}["\x69\x65\x76\x6b\x73\x70\x68"]}=$adb->pquery("\x53E\x4cECT\x20*\x20\x46\x52OM\x20ct\x77hats\x61\x70p_bots \x57\x48\x45\x52\x45\x20\x64\x65\x6cete\x64\x20\x3d 1 \x41\x4eD ass\x69\x67n\x75\x73er\x69d \x3d ?",array(${${"\x47\x4cOB\x41LS"}["\x7a\x6c\x6d\x67\x66\x6d\x73\x65\x69\x6e"]}));$mhpmckftap="f\x69\x72\x73t\x62\x6ft\x69\x64";${${"\x47L\x4fBA\x4c\x53"}["\x64\x76\x6fj\x77\x75\x73zo"]}=$adb->query_result(${${"\x47L\x4fBAL\x53"}["\x62\x76\x6b\x77ck\x6e\x7a\x67"]},0,"b\x6ftid");${"\x47\x4cOBA\x4cS"}["t\x6f\x6c\x69\x76\x78\x66w\x6a"]="\x63u\x72r\x65\x6e\x74\x42\x6ft\x54i\x6d\x65";${$nyogqjiuoiy}=$adb->pquery("\x53\x45LEC\x54 * \x46R\x4fM \x63t\x77h\x61\x74s\x61\x70\x70\x62ot_q\x75\x65\x5f\x6dast\x65\x72 \x57HER\x45 \x62o\x74i\x64\x20=\x20?\x20\x4fRDER BY \x63t\x77\x68a\x74\x73ap\x70\x62ot\x5f\x71ue_\x6dast\x65r\x2e\x71\x75\x65_\x69d \x41\x53C \x4cI\x4dI\x54 0,1",array(${$mhpmckftap}));${$dubgmpsweg}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x75vd\x71\x6c\x71nrm\x62"]},0,"n\x65x\x74\x5fs\x65\x71\x75e\x6ec\x65");${${"\x47\x4cO\x42\x41L\x53"}["\x63\x62j\x6f\x6ch"]}=$adb->pquery("S\x45\x4c\x45C\x54\x20* F\x52O\x4d \x63\x74w\x68a\x74s\x61p\x70b\x6f\x74_\x71ue_\x6d\x61\x73\x74e\x72\x20\n       \x20\x20\x20\x20 \x49\x4e\x4e\x45\x52 \x4aO\x49\x4e \x63twhat\x73a\x70\x70b\x6ft_\x71\x75\x65_o\x70\x74\x5f\x61\x73sign \x4f\x4e ctwh\x61tsapp\x62ot\x5fq\x75e\x5fopt_\x61\x73si\x67\x6e\x2e\x71\x75e\x5fid\x20\x3d c\x74\x77hats\x61pp\x62o\x74\x5f\x71\x75e_ma\x73\x74e\x72\x2e\x71u\x65_\x69d\x20\n  \x20\x20  \x20\x20 \x20\x20\x20I\x4e\x4eE\x52\x20\x4aO\x49\x4e\x20c\x74wh\x61t\x73ap\x70\x62ot\x5f\x6fpt\x5fm\x61st\x65r\x20\x4fN\x20\x63twha\x74\x73\x61pp\x62o\x74\x5fo\x70\x74_\x6das\x74er.\x6fpt\x5f\x69\x64\x20=\x20\x63\x74\x77\x68atsa\x70\x70\x62o\x74\x5f\x71\x75e_o\x70t\x5fa\x73\x73\x69gn.o\x70t_\x69\x64\x20\n  \x20\x20\x20\x20\x20\x20  \x20 WHE\x52\x45 c\x74\x77\x68\x61\x74\x73\x61\x70\x70\x62o\x74\x5fq\x75\x65_\x6d\x61\x73\x74\x65\x72.\x71\x75e_sequ\x65n\x63\x65\x20=\x20$firstQueId\x20AN\x44\x20\x63t\x77ha\x74\x73ap\x70\x62o\x74_\x71u\x65_m\x61\x73te\x72.bo\x74\x69d = $firstbotid");${$hvfcuzntxxj}=$adb->num_rows(${${"\x47\x4c\x4fB\x41\x4cS"}["c\x62\x6a\x6f\x6ch"]});$adb->pquery("\x44\x45\x4c\x45\x54E FROM \x77\x68\x61\x74\x73\x61p\x70\x62o\x74_\x70re\x5fqu\x65 \x57H\x45\x52\x45 \x70\x72\x65qu\x65\x6dob\x69l\x65n\x75\x6d\x62er\x20=\x20?",array(${${"GL\x4f\x42\x41\x4c\x53"}["\x72\x6a\x73c\x68\x7aj\x70\x69"]}));$adb->pquery("IN\x53E\x52T\x20\x49N\x54O \x77hats\x61\x70p\x62\x6ft_\x70\x72e\x5fq\x75e (pr\x65que, p\x72\x65b\x6f\x74i\x64, pre\x71u\x65mo\x62i\x6ce\x6e\x75\x6db\x65r, ma\x6eu\x61\x6c\x74\x72\x61\x6es\x66e\x72, \x69dea\x6c\x64ate\x74\x69m\x65)\x20\x56\x41\x4cUES\x20(?,?,?,?,?)",array(${${"\x47\x4c\x4fBA\x4cS"}["\x6a\x73\x6fc\x63\x72hx"]},${${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x6a\x64\x70\x72\x75\x63"]},${${"\x47\x4c\x4fB\x41L\x53"}["t\x64j\x61\x75\x6e\x6a\x6a"]},${$swllfnipe},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74o\x6c\x69\x76xf\x77j"]}));if(${$ulejjd}){$oxyedcqofdra="\x67e\x74N\x65x\x74\x51u\x65\x73\x74ionQ\x75e\x72\x79";${"\x47L\x4f\x42A\x4c\x53"}["\x61\x66\x6dyk\x74\x6bem"]="\x6ee\x78\x74Q\x75e\x73ti\x6f\x6eB\x75\x74t\x6f\x6e\x42\x6f\x64y";$rdrxwxvenq="\x71\x75\x65\x5f\x73eq\x75\x65\x6e\x63\x65";${"GL\x4f\x42\x41\x4c\x53"}["\x6fl\x74\x7apw\x63"]="m\x65\x73s\x61g\x65ty\x70e";$gntmtfeikly="\x67\x65\x74N\x65\x78t\x51\x75\x65\x73t\x69\x6fn\x51\x75\x65\x72\x79";${"\x47\x4c\x4fBA\x4c\x53"}["\x76\x79\x6b\x72\x70\x69e\x71\x75\x72"]="g\x65\x74N\x65\x78\x74Q\x75e\x73ti\x6f\x6e\x51u\x65\x72y";${${"G\x4c\x4f\x42AL\x53"}["\x68o\x73\x6d\x67\x68w\x79u\x68"]}=$adb->query_result(${${"\x47LOB\x41L\x53"}["v\x79k\x72\x70\x69\x65\x71ur"]},0,"que\x5ftext")."\n";${${"\x47\x4cOB\x41L\x53"}["\x61\x66\x6d\x79\x6b\x74\x6be\x6d"]}=$adb->query_result(${$gntmtfeikly},0,"q\x75e_text");$ndnlnemc="m\x65\x73\x73\x61\x67etyp\x65";$nivnsnxo="\x6d\x65s\x73\x61\x67e\x74\x79\x70e";${"\x47LO\x42\x41\x4c\x53"}["\x71\x6d\x70m\x6cr\x63\x71\x68\x63\x6ef"]="i";${"\x47\x4cOB\x41LS"}["\x71b\x6a\x65\x6e\x68\x78g\x77"]="\x72\x6f\x77\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x71\x6cx\x65\x75m\x79\x77"]="\x6d\x65\x73\x73\x61g\x65\x74y\x70e";${$rdrxwxvenq}=$adb->query_result(${$oxyedcqofdra},0,"q\x75\x65\x5f\x73\x65qu\x65\x6ece");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68k\x64f\x66\x61\x63n"]}=$adb->query_result(${${"\x47LO\x42\x41\x4c\x53"}["\x63bj\x6f\x6ch"]},0,"m\x65\x73\x73\x61gety\x70\x65");${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72r\x78\x7a\x62d\x77f\x6fh\x6a"]}=array();for(${${"\x47L\x4f\x42\x41\x4c\x53"}["m\x73\x61h\x77\x61h\x62"]}=0;${${"\x47LO\x42AL\x53"}["q\x6d\x70\x6dl\x72\x63\x71\x68\x63nf"]}<${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x62\x6a\x65n\x68\x78gw"]};${${"G\x4cO\x42\x41\x4cS"}["\x6d\x73a\x68\x77a\x68b"]}++){${"\x47\x4c\x4f\x42\x41L\x53"}["p\x6bl\x6c\x62jt\x62ea"]="\x6f\x70\x74\x5f\x74\x65\x78t";${"\x47LOB\x41\x4c\x53"}["\x70\x62\x6c\x64\x67\x73\x65\x6ey\x76u\x6d"]="op\x74\x5ft\x65x\x74";${"\x47LO\x42\x41\x4c\x53"}["\x6dq\x74\x74w\x75di\x71\x64"]="\x69";${"G\x4c\x4f\x42AL\x53"}["\x6dbb\x69m\x77\x72\x66\x79nc"]="o\x70\x74\x5f\x74e\x78\x74";$jemoryz="\x69";$joptnyt="o\x70\x74\x5f\x73\x65\x71";${${"\x47L\x4fBAL\x53"}["pk\x6clb\x6a\x74\x62\x65\x61"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63\x62j\x6f\x6ch"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x71\x74\x74\x77\x75d\x69\x71d"]},"o\x70t\x5ftex\x74");${${"\x47\x4c\x4fB\x41\x4cS"}["\x77tc\x74\x6f\x6aw\x6e\x64by"]}=$adb->query_result(${${"G\x4cOBAL\x53"}["\x63\x62j\x6f\x6ch"]},${$jemoryz},"opt_\x73eq");${"\x47\x4c\x4fBALS"}["e\x62\x75jb\x68\x71\x66\x6a\x76l"]="\x62\x75\x74\x74\x6f\x6e\x41\x72r\x61y";${${"\x47L\x4f\x42A\x4cS"}["eb\x75jb\x68\x71f\x6av\x6c"]}[${$joptnyt}]=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70b\x6c\x64\x67\x73en\x79vu\x6d"]};${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x6f\x73\x6d\x67h\x77\x79\x75\x68"]}.=${${"\x47\x4cO\x42\x41L\x53"}["\x77\x74c\x74\x6f\x6aw\x6ed\x62\x79"]}." ".${${"\x47L\x4f\x42AL\x53"}["m\x62\x62\x69\x6d\x77rfy\x6e\x63"]}."\n";}if(${$nivnsnxo}=="\x52\x65g\x75\x6c\x61\x72\x20m\x65ss\x61\x67\x65"){$mjrokprmrvv="\x6eex\x74Q\x75\x65s\x74io\x6e\x42\x6fd\x79";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x71p\x6a\x7av\x72\x79c\x74h"]="wh\x61\x74sa\x70pSca\x6eNo";sendMessage(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74dj\x61\x75\x6e\x6a\x6a"]},${$mjrokprmrvv},${${"GL\x4f\x42ALS"}["\x78q\x70\x6a\x7a\x76\x72\x79cth"]});}else if(${$ndnlnemc}=="W\x68at\x73\x41\x70\x70\x20\x42\x75\x74\x74on\x20m\x65\x73\x73\x61\x67e"){$gqdshvafnie="\x6d\x6fbilen\x6f";${"\x47L\x4f\x42A\x4c\x53"}["\x75k\x6d\x6a\x74\x74"]="\x77\x68\x61\x74s\x61p\x70\x53can\x4e\x6f";$tkbsgjbsn="\x6e\x65\x78t\x51u\x65\x73t\x69\x6f\x6e\x42\x75\x74\x74\x6f\x6eB\x6f\x64y";sendButtonMessage(${$gqdshvafnie},${$tkbsgjbsn},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x72x\x7a\x62\x64\x77\x66o\x68j"]},${${"GL\x4fB\x41\x4c\x53"}["\x68\x6f\x73m\x67\x68wy\x75\x68"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x6b\x6d\x6a\x74\x74"]});}else if(${${"GLO\x42A\x4cS"}["a\x71l\x78\x65\x75m\x79w"]}=="\x57ha\x74sApp\x20\x4c\x69st\x20\x6dess\x61ge"){${"\x47\x4c\x4fB\x41\x4cS"}["x\x70y\x62\x64\x71j"]="bu\x74\x74on\x41\x72\x72a\x79";${"GL\x4f\x42A\x4cS"}["\x62g\x79\x6d\x6b\x6e\x71"]="\x6e\x65\x78t\x51\x75\x65\x73\x74i\x6f\x6e\x42\x75t\x74o\x6e\x42\x6f\x64\x79";sendButtonListMessage(${${"\x47LOB\x41LS"}["\x74\x64ja\x75n\x6aj"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x67\x79\x6dk\x6e\x71"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x70\x79bd\x71\x6a"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6f\x73mg\x68\x77y\x75\x68"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x69\x75\x70xg"]});}else if(${${"\x47\x4c\x4fB\x41\x4cS"}["\x6f\x6ct\x7a\x70\x77c"]}=="\x63h\x61t\x77\x69\x74hop\x65r\x61\x74or"){$ijdrkewfbheq="\x6d\x6f\x62\x69l\x65n\x6f";convertRegularMode(${$ijdrkewfbheq});}else{$pvkrkotu="ne\x78\x74\x51u\x65s\x74\x69\x6fn\x42\x6fd\x79";${"\x47\x4cO\x42\x41\x4c\x53"}["i\x65yng\x75\x6a\x71\x73\x6c\x77\x77"]="\x77ha\x74s\x61p\x70\x53\x63\x61\x6e\x4eo";${"\x47\x4cOB\x41\x4c\x53"}["\x76\x78j\x69\x66\x72"]="m\x6f\x62i\x6ce\x6e\x6f";sendMessage(${${"\x47\x4cO\x42A\x4c\x53"}["\x76xj\x69\x66\x72"]},${$pvkrkotu},${${"G\x4c\x4f\x42\x41L\x53"}["\x69\x65y\x6eg\x75j\x71s\x6cww"]});}}else{${"\x47L\x4fB\x41L\x53"}["j\x62\x76\x67ys\x79\x62\x6e\x62"]="ge\x74\x4eex\x74Qu\x65\x73\x74i\x6fn\x51\x75\x65\x72\x79";$bthhduykdh="\x6do\x62i\x6c\x65\x6e\x6f";${"G\x4cOB\x41\x4c\x53"}["xuv\x62\x75\x76\x68\x74\x69\x63"]="\x6ee\x78\x74\x51u\x65\x73\x74\x69\x6f\x6eBo\x64\x79";${${"\x47LOB\x41\x4c\x53"}["j\x62\x76gy\x73\x79\x62\x6e\x62"]}=$adb->pquery("\x53ELE\x43\x54 *\x20FR\x4f\x4d\x20\x63\x74w\x68a\x74\x73a\x70\x70bo\x74\x5f\x71ue\x5f\x6das\x74e\x72\x20\n \x20\x20\x20\x20   \x20\x20\x20\x20\x57\x48\x45RE ct\x77hatsa\x70pbo\x74\x5fque\x5fm\x61\x73\x74er\x2equ\x65_\x73eq\x75en\x63e\x20= $firstQueId\x20A\x4eD\x20ctw\x68a\x74sapp\x62ot_qu\x65_\x6d\x61\x73\x74\x65r\x2ebo\x74id\x20\x3d\x20$firstbotid");${${"\x47L\x4f\x42\x41L\x53"}["\x78\x75v\x62\x75\x76hti\x63"]}=$adb->query_result(${${"\x47L\x4f\x42\x41L\x53"}["cbj\x6fl\x68"]},0,"\x71u\x65\x5ft\x65x\x74");sendMessage(${$bthhduykdh},${${"\x47L\x4f\x42\x41\x4c\x53"}["ho\x73\x6d\x67\x68w\x79\x75\x68"]});}}function sendButtonListMessage($mobileno,$nextQuestionButtonBody,$buttonArray,$nextQuestionBody,$whatsappScanNo){$uguhdhjfxke="\x63\x75rre\x6eUs\x65r\x49\x44";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x77\x75r\x77\x6d\x67\x70\x6a\x69\x71\x72"]="\x6do\x62\x69le\x6eo";${"GLO\x42ALS"}["\x71j\x67z\x75m\x62arz\x69"]="\x70\x72e\x51u\x65\x73ti\x6f\x6e\x44\x65\x74\x61\x69\x6c\x73";global$current_user,$adb;$xvtuyrtojr="\x63on\x66\x69\x67\x44a\x74\x61";${$uguhdhjfxke}=$current_user->id;${${"\x47LO\x42\x41\x4c\x53"}["\x71jg\x7aum\x62a\x72zi"]}=getPreQuestionDetails(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x77\x75r\x77m\x67pjiqr"]});${"G\x4cO\x42\x41\x4cS"}["wkx\x63ma\x6cb\x65\x78\x6e"]="\x6e\x65x\x74Qu\x65stion\x42o\x64\x79";${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x64rsr\x6c\x64\x73"]="\x75\x73e\x72i\x64";${${"\x47\x4c\x4fBAL\x53"}["r\x69\x6b\x63\x76\x6d\x6a\x7a"]}=${${"\x47\x4cO\x42A\x4c\x53"}["rj\x6a\x64\x77\x77\x6f\x6e"]}["pr\x65\x62otid"];${${"GL\x4f\x42A\x4cS"}["\x70i\x75\x75l\x6e\x78\x77\x65\x67\x6d\x6d"]}=$adb->pquery("S\x45\x4c\x45\x43\x54 * FROM vti\x67e\x72_c\x74\x77\x68a\x74\x73a\x70\x70bu\x73\x69\x6e\x65s\x73\x63o\x6e\x66\x69gu\x72a\x74\x69on");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x62\x6f\x70\x61wl"]}=$adb->query_result(${${"GL\x4f\x42\x41LS"}["\x70iuul\x6e\x78\x77e\x67m\x6d"]},0,"cu\x73\x74\x6fm\x66ie\x6c\x64\x34");${"\x47\x4cO\x42\x41\x4cS"}["\x75\x64\x75\x64l\x65egp"]="\x63o\x6e\x66\x75g\x75\x72at\x69o\x6e\x51\x75e\x72y";$rgnbgdqzmdut="\x77hat\x73\x61\x70\x70\x4e\x75\x6d\x62er";if(${${"G\x4c\x4f\x42\x41\x4cS"}["ub\x6fp\x61\x77l"]}=="m\x75ltipl\x65Wh\x61\x74\x73a\x70\x70"){$rwvuqeklc="w\x68\x61tsap\x70\x53\x63a\x6e\x4e\x6f";${${"\x47LO\x42A\x4cS"}["\x6de\x66jvsr\x6bqj"]}=$adb->pquery("\x53\x45\x4cEC\x54 * FROM vti\x67e\x72\x5f\x63\x74\x77\x68\x61\x74s\x61\x70pb\x75\x73i\x6ee\x73\x73\x75\x73e\x72\x73 \x57H\x45R\x45\x20wh\x61\x74\x73\x61\x70p\x6e\x6f\x20\x3d ?",array(${$rwvuqeklc}));${${"\x47\x4c\x4f\x42ALS"}["\x7a\x6c\x6d\x67\x66\x6d\x73e\x69\x6e"]}=$adb->query_result(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6d\x65\x66\x6avs\x72\x6b\x71\x6a"]},0,"\x63\x75stomf\x69e\x6c\x645");}else{$gdpwldx="\x67\x65t\x55s\x65r\x49\x64Q\x75e\x72y";$atodbrwgxj="\x77\x68\x61t\x73\x61\x70\x70\x53\x63\x61\x6e\x4e\x6f";${$gdpwldx}=$adb->pquery("\x53ELECT *\x20FR\x4f\x4d v\x74ige\x72_ct\x77\x68\x61\x74sa\x70\x70\x62u\x73i\x6eess\x63\x6fnfi\x67u\x72\x61\x74\x69o\x6e W\x48\x45RE \x77\x68a\x74s\x61ppn\x6f = ?",array(${$atodbrwgxj}));${${"\x47L\x4f\x42\x41LS"}["\x7al\x6d\x67\x66\x6d\x73\x65\x69\x6e"]}=$adb->query_result(${${"G\x4cO\x42AL\x53"}["\x6d\x65\x66\x6a\x76\x73rk\x71j"]},0,"cus\x74\x6fm\x66\x69\x65\x6c\x645");}${${"\x47L\x4fBALS"}["xy\x6e\x6f\x67\x73\x76y"]}=$adb->pquery("SE\x4c\x45\x43T * \x46RO\x4d \x76\x74ig\x65r_\x63tw\x68at\x73a\x70\x70bu\x73\x69\x6e\x65\x73\x73\x63o\x6e\x66\x69\x67ur\x61ti\x6f\x6e");${${"G\x4c\x4f\x42ALS"}["\x72h\x6cs\x78\x6d\x77\x6e\x65f"]}=$adb->num_rows(${${"G\x4cO\x42\x41L\x53"}["\x75d\x75d\x6c\x65\x65\x67p"]});if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x68l\x73xmwn\x65\x66"]}){${${"\x47\x4c\x4fB\x41\x4c\x53"}["u\x72z\x68\x6c\x68\x79c\x64m\x6b"]}=$adb->query_result(${${"G\x4c\x4fB\x41L\x53"}["\x78\x79\x6eo\x67\x73v\x79"]},0,"\x61p\x69_u\x72\x6c");}${${"\x47LO\x42AL\x53"}["\x69ev\x6b\x73ph"]}=$adb->pquery("SE\x4c\x45CT * \x46ROM\x20\x63\x74w\x68a\x74\x73\x61\x70\x70\x5f\x62\x6f\x74\x73\x20W\x48\x45RE\x20\x64\x65\x6c\x65t\x65d = 1 A\x4e\x44 as\x73i\x67\x6e\x75\x73\x65\x72id\x20\x3d ?",array(${${"GL\x4fB\x41\x4c\x53"}["\x78dr\x73r\x6c\x64\x73"]}));${${"\x47LO\x42ALS"}["\x6c\x71\x64\x67v\x65w"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["i\x65\x76k\x73\x70h"]},0,"\x73\x63\x61nwhatsa\x70\x70\x5f\x6e\x75m\x62\x65r");${${"\x47\x4cO\x42A\x4c\x53"}["l\x77\x70dp\x76"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${$rgnbgdqzmdut});${${"G\x4c\x4fB\x41\x4c\x53"}["yj\x6b\x76\x74\x71in\x61"]}=${${"\x47L\x4f\x42\x41L\x53"}["lw\x70\x64\x70v"]}["\x61\x70\x69\x5f\x75\x72l"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x65\x6f\x79\x74\x62c\x6c\x6f\x71\x63"]}=${$xvtuyrtojr}["\x61\x75\x74\x68\x5f\x74\x6fk\x65n"];if(${${"G\x4c\x4f\x42A\x4cS"}["\x77\x6b\x78\x63m\x61\x6c\x62\x65\x78\x6e"]}!=""){${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x67ojh\x70l\x74\x72g\x6d"]="u\x72\x6c";${"G\x4cO\x42A\x4c\x53"}["\x77\x68xs\x79\x68\x68\x6d\x75\x72\x72\x67"]="k\x65\x79";${"\x47L\x4f\x42A\x4c\x53"}["\x76\x75o\x72\x75\x6cv"]="u\x72l";${"\x47\x4c\x4f\x42AL\x53"}["\x66\x77\x64\x78\x71\x71d\x73\x62"]="s\x65\x6e\x64B\x75\x74to\x6e\x4cis\x74\x56a\x6cu\x65";$ebwanvdrqw="\x61p\x69U\x72l";${"\x47L\x4f\x42\x41\x4cS"}["h\x6b\x63\x69j\x71\x72\x70"]="\x70\x6fs\x74\x66\x69e\x6cds";${${"G\x4cO\x42A\x4c\x53"}["\x76\x75\x6fr\x75\x6c\x76"]}=${$ebwanvdrqw}."/s\x65\x6edb\x75t\x74on";${"G\x4c\x4fB\x41L\x53"}["\x71st\x65\x6c\x7ah\x69"]="a\x75\x74\x68_\x74\x6f\x6b\x65\x6e";${${"GL\x4f\x42A\x4c\x53"}["hibi\x73\x64\x65"]}["\x74\x69\x74\x6ce"]="";foreach(${${"\x47\x4c\x4fBA\x4cS"}["r\x72\x78z\x62\x64\x77\x66\x6f\x68j"]} as${${"GL\x4f\x42AL\x53"}["\x77\x68\x78\x73\x79\x68\x68\x6du\x72\x72\x67"]}=>${${"GL\x4fB\x41L\x53"}["\x70\x72\x62\x6f\x79\x73\x67b\x6awz"]}){$lbtevdncv="\x73\x65n\x64But\x74\x6f\x6eLi\x73\x74V\x61lu\x65";$pkvziinte="k\x65\x79";${"\x47LO\x42\x41\x4c\x53"}["\x68\x6a\x69\x63\x79s\x70\x65l\x72\x6a\x6b"]="v\x61l\x75\x65";${$lbtevdncv}["\x72o\x77\x73"][]=array("title"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["hj\x69\x63\x79\x73\x70\x65\x6crjk"]},"\x72\x6fw\x49d"=>${$pkvziinte});}${${"\x47LO\x42\x41\x4cS"}["ok\x6c\x78\x72h\x79\x63\x74"]}=array("n\x75\x6d\x62\x65r"=>${${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x64\x6a\x61\x75n\x6a\x6a"]},"\x6de\x73sa\x67e"=>array("text"=>html_entity_decode(htmlspecialchars_decode(${${"GL\x4f\x42\x41LS"}["jl\x6efncb"]},ENT_QUOTES)),"\x66ooter"=>"","\x74\x69t\x6ce"=>"","but\x74\x6f\x6e\x54e\x78t"=>"\x52\x65qu\x69red, \x74ex\x74 \x6f\x6e\x20t\x68\x65 \x62u\x74\x74on\x20to\x20\x76\x69\x65w \x74\x68\x65 \x6ci\x73t","sec\x74io\x6es"=>array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x77dx\x71\x71d\x73\x62"]})));${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6ams\x62urx"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x67\x6fjhp\x6c\x74\x72\x67m"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["hk\x63\x69\x6a\x71r\x70"]},${${"GLO\x42\x41\x4c\x53"}["q\x73t\x65l\x7ahi"]});${${"\x47\x4c\x4f\x42\x41L\x53"}["m\x61\x76rco"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"\x47\x4cO\x42AL\x53"}["\x74\x64\x6a\x61\x75\x6ej\x6a"]});if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["jm\x73bu\x72\x78"]}){${${"G\x4c\x4f\x42\x41L\x53"}["x\x71\x77\x71\x6e\x63v\x67o\x71\x63"]}=$current_user->first_name."\x20".$current_user->last_name;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x6e\x69\x6a\x6ack\x6co"]="\x72\x65\x6ca\x74\x65\x64\x54\x6f\x44\x61ta";${${"\x47L\x4f\x42A\x4c\x53"}["i\x72\x6dj\x79\x6euwl\x7ab\x70"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"G\x4c\x4fB\x41\x4c\x53"}["\x74d\x6aau\x6e\x6a\x6a"]},-9));${"\x47\x4cO\x42\x41\x4cS"}["rd\x74\x6d\x79\x6e\x72\x6f\x61y\x6dj"]="\x72e\x63\x6f\x72dM\x6f\x64\x65lRe\x73ponde\x72";$mttwbnkd="\x72\x65\x6c\x61ted\x54\x6f";$djdkgsqy="ge\x74n\x75\x6d\x62\x65\x72I\x6d\x70\x6f\x72\x74\x61nt";${$mttwbnkd}=${${"GL\x4f\x42\x41\x4c\x53"}["\x6f\x6ei\x6aj\x63\x6b\x6c\x6f"]}["\x72\x65\x6ca\x74\x65\x64To"];$xclprnmeh="\x6do\x62\x69\x6c\x65n\x6f";$lrcuunkp="\x76\x61\x6c";$cpkgsdjseu="\x63\x75\x72\x72\x65nt\x75\x73\x65\x72\x6e\x61me";${${"G\x4c\x4f\x42A\x4c\x53"}["\x70o\x78c\x74\x6cyb\x74"]}=${${"G\x4c\x4fBA\x4cS"}["i\x72\x6d\x6ay\x6eu\x77\x6c\x7ab\x70"]}["\x64i\x73\x70\x6ca\x79\x6e\x61\x6de"];${${"GL\x4fBA\x4c\x53"}["\x6d\x63\x75\x77\x7a\x6b\x73\x76c\x74\x6b"]}=date("Y-m-\x64 \x48:\x69:\x73");${${"\x47L\x4fBA\x4c\x53"}["r\x64\x74m\x79nr\x6f\x61ymj"]}=Vtiger_Record_Model::getCleanInstance("CT\x57ha\x74\x73\x41\x70\x70\x42\x75si\x6e\x65s\x73");$recordModelResponder->set("w\x68\x61\x74\x73\x61\x70\x70\x5fse\x6ed\x65\x72name",${$cpkgsdjseu});$recordModelResponder->set("msgid",${$lrcuunkp}["key"]["\x69\x64"]);$recordModelResponder->set("\x77\x68\x61tsapp\x5f\x77it\x68\x63c\x6fde",${$xclprnmeh});$recordModelResponder->set("\x6d\x65\x73s\x61ge_ty\x70\x65","Send");$recordModelResponder->set("mes\x73\x61g\x65_\x62o\x64\x79",${${"\x47\x4cO\x42A\x4cS"}["hos\x6d\x67h\x77y\x75\x68"]});if(${${"\x47L\x4fB\x41L\x53"}["\x70\x6f\x78ctl\x79bt"]}){$atiwqoipzf="\x64\x69\x73\x70l\x61\x79\x6e\x61m\x65";$recordModelResponder->set("\x77\x68atsap\x70\x5fd\x69spl\x61\x79n\x61m\x65",${$atiwqoipzf});}$recordModelResponder->set("\x77\x68a\x74s\x61\x70\x70_con\x74\x61ct\x69d",${${"G\x4c\x4f\x42AL\x53"}["\x78\x71lf\x7a\x69\x73\x66\x6e\x77\x76"]});$recordModelResponder->set("w\x68\x61\x74sa\x70p_unre\x61\x64\x72\x65\x61\x64","\x55n\x72ea\x64");$nkeuldajrri="\x64a\x74e\x5fv\x61\x72";$recordModelResponder->set("w\x68ats\x61\x70p\x5ffr\x6f\x6d\x6eo",${${"\x47\x4cOB\x41LS"}["lqd\x67\x76\x65\x77"]});$recordModelResponder->set("\x79\x6fu\x72_\x6e\x75mbe\x72",${${"\x47\x4cO\x42\x41\x4c\x53"}["lqd\x67\x76e\x77"]});$recordModelResponder->set("w\x68\x61t\x73app\x5fi\x6d\x70o\x72\x74\x61\x6e\x74",${$djdkgsqy});$recordModelResponder->set("w\x68a\x74sapp\x5fbot\x69d",${${"G\x4c\x4f\x42\x41\x4cS"}["\x72i\x6bc\x76\x6d\x6a\x7a"]});$recordModelResponder->set("wha\x74\x73a\x70p\x5fdatetim\x65",$adb->formatDate(${$nkeuldajrri},true));$recordModelResponder->save();}}}function sendButtonMessage($mobileno,$nextQuestionButtonBody,$buttonArray,$nextQuestionBody,$whatsappScanNo){$dqrdghtm="n\x75\x6d_\x72\x6f\x77\x73";global$current_user,$adb;${"\x47\x4cO\x42\x41L\x53"}["\x6d\x67\x75t\x74fx\x64\x65\x62\x6f"]="\x70\x72e\x51\x75\x65\x73t\x69\x6fnD\x65\x74a\x69\x6c\x73";${"\x47\x4c\x4f\x42AL\x53"}["\x72e\x64\x73\x6ad\x63"]="\x77\x68a\x74sa\x70\x70\x4eu\x6d\x62er";$edjgetrjt="\x63o\x6e\x66\x69g\x44at\x61";${"\x47LOB\x41\x4c\x53"}["nbq\x65\x74\x78\x63u"]="co\x6e\x66u\x67u\x72\x61\x74i\x6f\x6e\x51u\x65\x72y";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x6ct\x78\x78\x6f\x72\x70"]}=$current_user->id;${${"\x47LOB\x41\x4c\x53"}["\x72\x6a\x6a\x64\x77w\x6f\x6e"]}=getPreQuestionDetails(${${"G\x4c\x4fB\x41\x4c\x53"}["\x74d\x6a\x61\x75\x6e\x6a\x6a"]});${"G\x4c\x4fBA\x4c\x53"}["ii\x63\x64\x65\x6dv\x75ju\x78"]="g\x65\x74\x55s\x65\x72G\x72o\x75s";${"\x47\x4cO\x42\x41L\x53"}["\x71\x75\x63\x70r\x74g\x6d\x69\x6a"]="n\x75m_\x72o\x77\x73";${${"\x47\x4cOBALS"}["r\x69\x6b\x63\x76\x6dj\x7a"]}=${${"\x47\x4c\x4fBALS"}["mgu\x74t\x66\x78d\x65\x62\x6f"]}["\x70re\x62\x6f\x74\x69\x64"];${${"\x47\x4cOB\x41L\x53"}["\x69\x69\x63\x64emv\x75\x6a\x75\x78"]}=$adb->pquery("SEL\x45CT\x20*\x20\x46\x52O\x4d\x20\x76t\x69ge\x72\x5fctw\x68a\x74\x73\x61\x70\x70\x62\x75\x73i\x6ee\x73scon\x66igu\x72\x61\x74\x69on");${${"\x47\x4cO\x42\x41\x4cS"}["\x75b\x6fp\x61\x77\x6c"]}=$adb->query_result(${${"G\x4cO\x42\x41L\x53"}["p\x69u\x75l\x6ex\x77\x65\x67m\x6d"]},0,"c\x75\x73tom\x66\x69e\x6c\x64\x34");if(${${"\x47L\x4f\x42\x41L\x53"}["\x75bop\x61\x77\x6c"]}=="m\x75l\x74i\x70\x6ceWh\x61\x74sap\x70"){$wdoxdeuct="getU\x73\x65r\x49d\x51u\x65\x72\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x73\x6f\x6b\x66\x6bt"]="w\x68\x61t\x73a\x70\x70\x42\x75\x73\x69\x6e\x65s\x73\x4e\x6f";${"GLOB\x41\x4c\x53"}["\x69\x69e\x76\x74m\x67"]="w\x68\x61\x74\x73\x61\x70p\x53\x63\x61\x6eN\x6f";${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x6f\x6d\x74fl\x78z\x75s"]="us\x65r\x69d";${${"G\x4c\x4f\x42ALS"}["\x6d\x65\x66j\x76\x73\x72\x6bq\x6a"]}=$adb->pquery("SEL\x45CT\x20*\x20FR\x4f\x4d\x20v\x74ig\x65\x72_c\x74w\x68\x61t\x73app\x62\x75\x73in\x65ssuse\x72s\x20\x57\x48\x45\x52\x45\x20w\x68ats\x61\x70p\x6eo\x20=\x20?",array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x69\x65vt\x6d\x67"]}));${${"G\x4c\x4f\x42\x41\x4cS"}["lo\x6d\x74\x66\x6c\x78\x7aus"]}=$adb->query_result(${${"G\x4c\x4f\x42A\x4c\x53"}["m\x65\x66\x6av\x73rkqj"]},0,"c\x75\x73\x74\x6f\x6d\x66i\x65\x6cd5");${${"\x47\x4cO\x42AL\x53"}["\x6b\x73ok\x66\x6b\x74"]}=$adb->query_result(${$wdoxdeuct},0,"wha\x74s\x61\x70p\x5f\x62u\x73\x69n\x65s\x73nu\x6db\x65r");}else{$iqdqdbq="g\x65\x74Us\x65rI\x64Q\x75\x65\x72\x79";${${"\x47\x4c\x4fB\x41L\x53"}["\x6d\x65\x66\x6a\x76s\x72\x6b\x71\x6a"]}=$adb->pquery("S\x45\x4c\x45\x43\x54\x20* \x46\x52O\x4d \x76\x74ige\x72_\x63t\x77h\x61ts\x61ppbu\x73ines\x73co\x6e\x66ig\x75r\x61\x74io\x6e \x57\x48\x45R\x45 \x77ha\x74\x73\x61ppno\x20\x3d ?",array(${${"\x47\x4cO\x42\x41L\x53"}["\x73iup\x78\x67"]}));${${"\x47\x4c\x4f\x42ALS"}["\x7a\x6cm\x67\x66\x6d\x73\x65i\x6e"]}=$adb->query_result(${$iqdqdbq},0,"\x63\x75\x73to\x6d\x66\x69\x65l\x64\x35");${${"\x47L\x4f\x42\x41L\x53"}["\x68\x76\x61f\x72u\x79\x71\x6dn"]}="";}${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x78\x6d\x6e\x64\x66ovy"]="\x77\x68\x61t\x73\x61\x70pN\x75\x6db\x65\x72";${"\x47\x4cO\x42\x41L\x53"}["\x67\x78\x6f\x6a\x62nc\x6ckr"]="\x61c\x74\x69v\x65BotQ\x75\x65\x72y";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66p\x69\x64\x75\x6a"]="next\x51\x75es\x74\x69\x6f\x6e\x42\x6fd\x79";${${"\x47\x4cO\x42\x41\x4c\x53"}["n\x62qe\x74\x78\x63\x75"]}=$adb->pquery("SELEC\x54 * \x46\x52OM vtige\x72\x5f\x63\x74\x77\x68\x61ts\x61\x70p\x62\x75s\x69\x6e\x65\x73sc\x6f\x6e\x66ig\x75ra\x74\x69o\x6e");${$dqrdghtm}=$adb->num_rows(${${"\x47\x4cO\x42\x41L\x53"}["\x78\x79nog\x73\x76\x79"]});if(${${"\x47\x4cOBAL\x53"}["\x71u\x63\x70\x72t\x67\x6d\x69j"]}){${"G\x4cO\x42A\x4c\x53"}["\x6fao\x66i\x72"]="a\x70i_\x75\x72l";${${"\x47\x4cO\x42ALS"}["oaof\x69r"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41\x4c\x53"}["x\x79no\x67\x73\x76y"]},0,"\x61\x70i\x5fu\x72l");}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69e\x76\x6b\x73\x70h"]}=$adb->pquery("\x53\x45L\x45C\x54\x20* \x46\x52\x4f\x4d ct\x77h\x61t\x73\x61pp_\x62o\x74s W\x48ER\x45 \x64\x65\x6ceted \x3d\x20\x31 A\x4eD a\x73s\x69g\x6eu\x73erid \x3d\x20?",array(${${"\x47\x4c\x4fBAL\x53"}["z\x6c\x6dgf\x6dse\x69\x6e"]}));${${"\x47LOB\x41L\x53"}["r\x65\x64\x73\x6a\x64c"]}=$adb->query_result(${${"\x47\x4cO\x42\x41L\x53"}["\x67\x78\x6f\x6a\x62\x6eclk\x72"]},0,"\x73\x63anw\x68\x61\x74\x73app\x5f\x6e\x75\x6db\x65\x72");${${"G\x4c\x4fB\x41\x4c\x53"}["lwpd\x70\x76"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${${"G\x4c\x4fB\x41L\x53"}["\x6a\x78mn\x64\x66o\x76y"]});${${"G\x4c\x4f\x42A\x4c\x53"}["\x79j\x6bv\x74\x71\x69\x6ea"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["l\x77\x70d\x70v"]}["a\x70i_\x75\x72\x6c"];${${"\x47L\x4f\x42\x41\x4c\x53"}["p\x65\x6f\x79t\x62\x63lo\x71c"]}=${$edjgetrjt}["\x61u\x74h\x5ftoken"];if(${${"\x47\x4cO\x42\x41\x4cS"}["\x66\x70i\x64\x75\x6a"]}!=""){${"G\x4c\x4f\x42AL\x53"}["o\x74\x6d\x64eo\x68r\x79\x62"]="u\x72l";${"\x47LOBA\x4cS"}["\x69\x73\x64p\x6e\x6ehzxf\x65\x61"]="\x75\x72\x6c";${${"GL\x4f\x42A\x4c\x53"}["tt\x6a\x6et\x6c\x6e"]}=array();${"\x47LOB\x41\x4c\x53"}["\x79\x67\x6a\x6c\x79x\x64\x70\x61g"]="\x6d\x6fb\x69l\x65n\x6f";$ndhouqg="\x73\x65\x6edB\x75tt\x6f\x6e\x56\x61\x6c\x75\x65";$wbijycg="\x77h\x61\x74\x73\x61\x70\x70B\x75\x73\x69\x6e\x65s\x73\x4e\x6f";${"\x47L\x4f\x42\x41LS"}["\x6e\x79f\x6f\x67\x72d\x65"]="a\x75\x74\x68_t\x6f\x6be\x6e";foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rrx\x7a\x62d\x77fo\x68\x6a"]} as${${"GLO\x42\x41LS"}["l\x78\x67\x72\x74\x6e\x78\x62"]}=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x72\x62o\x79s\x67\x62\x6aw\x7a"]}){${"\x47LOB\x41\x4c\x53"}["b\x6f\x76\x69\x77\x67\x6d\x69"]="\x6be\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["tt\x6a\x6et\x6c\x6e"]}[]=array("\x74\x79\x70\x65"=>"\x72e\x70\x6cy","r\x65\x70l\x79"=>array("\x69\x64"=>${${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x6fv\x69\x77g\x6d\x69"]},"ti\x74\x6ce"=>html_entity_decode(htmlspecialchars_decode(${${"G\x4c\x4fB\x41\x4c\x53"}["pr\x62\x6f\x79s\x67b\x6a\x77z"]},ENT_QUOTES))));}${"\x47\x4c\x4fB\x41LS"}["g\x63e\x68w\x76m\x74"]="\x67\x65t\x6eu\x6d\x62e\x72\x49m\x70\x6f\x72\x74\x61\x6e\x74";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x74\x6d\x64e\x6fh\x72\x79\x62"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x6ak\x76\x74\x71i\x6e\x61"]}.${$wbijycg}."/\x6d\x65\x73\x73\x61\x67\x65s";${${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x6b\x6c\x78r\x68\x79\x63t"]}=array("me\x73s\x61\x67in\x67\x5fp\x72\x6f\x64\x75ct"=>"whatsa\x70\x70","\x72\x65c\x69\x70\x69e\x6et_t\x79\x70e"=>"i\x6edividu\x61\x6c","\x74\x6f"=>${${"\x47L\x4fB\x41\x4c\x53"}["y\x67\x6a\x6c\x79\x78\x64pa\x67"]},"t\x79\x70e"=>"\x69\x6e\x74\x65\x72\x61\x63\x74iv\x65","in\x74e\x72\x61\x63\x74\x69ve"=>array("\x74\x79p\x65"=>"\x62\x75\x74t\x6fn","b\x6f\x64y"=>array("\x74\x65\x78t"=>htmlspecialchars_decode(${${"\x47\x4c\x4fBA\x4c\x53"}["\x68o\x73\x6d\x67\x68\x77y\x75\x68"]},ENT_QUOTES)),"\x61\x63\x74\x69\x6f\x6e"=>array("b\x75\x74\x74\x6f\x6es"=>${$ndhouqg})),);${"GL\x4f\x42\x41\x4c\x53"}["m\x77\x6bmk\x69\x7a\x6e\x67"]="\x6d\x6fbi\x6c\x65\x6e\x6f";$zepwgutlqtv="\x70os\x74\x66\x69\x65l\x64s";${${"\x47L\x4fBALS"}["jmsbu\x72\x78"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"G\x4c\x4fBALS"}["\x69sdp\x6e\x6e\x68\x7axf\x65a"]},${$zepwgutlqtv},${${"\x47L\x4fB\x41L\x53"}["\x6e\x79f\x6f\x67\x72\x64\x65"]});${${"\x47\x4c\x4f\x42\x41LS"}["\x67ce\x68w\x76\x6d\x74"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"G\x4cO\x42ALS"}["\x6d\x77\x6bmki\x7ang"]});if(${${"\x47\x4c\x4fBALS"}["\x6am\x73bu\x72\x78"]}){$ijtkjxwonwc="\x63u\x72\x72\x65nt\x75\x73\x65r\x6ea\x6d\x65";${"\x47\x4cO\x42AL\x53"}["\x6d\x62b\x74t\x63\x6dz\x63\x65\x6e"]="\x63\x75\x72\x72ent\x42o\x74\x49d";$foocjwovn="\x72el\x61\x74\x65\x64\x54\x6f\x44a\x74a";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x6f\x76\x6a\x6c\x6b\x6f\x75\x68"]="get\x6e\x75m\x62\x65\x72\x49\x6d\x70\x6f\x72ta\x6e\x74";${"\x47L\x4f\x42\x41\x4cS"}["y\x6c\x65\x77\x79wi\x6fu"]="\x72\x65\x6cat\x65\x64\x54\x6f";${"\x47LOB\x41L\x53"}["\x79\x6d\x72\x64\x74\x69t"]="\x72\x65\x63\x6f\x72\x64\x4do\x64e\x6c\x52\x65\x73p\x6f\x6e\x64\x65\x72";$xyhorrmm="\x76al";$rithliltm="\x64i\x73\x70lay\x6e\x61\x6d\x65";$kbryqon="\x77\x68\x61\x74s\x61\x70pN\x75m\x62\x65\x72";${$ijtkjxwonwc}=$current_user->first_name."\x20".$current_user->last_name;${${"\x47L\x4fB\x41L\x53"}["i\x72\x6d\x6a\x79\x6euwlz\x62\x70"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"G\x4c\x4f\x42\x41L\x53"}["\x74\x64jau\x6e\x6a\x6a"]},-9));${${"\x47\x4c\x4fB\x41L\x53"}["\x79l\x65\x77\x79wi\x6f\x75"]}=${$foocjwovn}["rela\x74edT\x6f"];${$rithliltm}=${${"\x47\x4c\x4f\x42ALS"}["\x69\x72\x6d\x6a\x79nu\x77\x6cz\x62\x70"]}["d\x69\x73pl\x61\x79name"];${${"GLO\x42\x41L\x53"}["\x6dc\x75\x77\x7a\x6bsv\x63\x74k"]}=date("Y-m-\x64\x20\x48:i:s");${${"\x47\x4cO\x42AL\x53"}["\x79\x6d\x72d\x74it"]}=Vtiger_Record_Model::getCleanInstance("C\x54\x57h\x61tsAp\x70B\x75sines\x73");$recordModelResponder->set("wh\x61ts\x61pp_s\x65\x6ede\x72\x6e\x61m\x65",${${"\x47\x4c\x4fB\x41L\x53"}["\x78\x71w\x71n\x63\x76\x67\x6f\x71c"]});$recordModelResponder->set("\x6d\x73\x67\x69\x64",${$xyhorrmm}["k\x65\x79"]["id"]);$recordModelResponder->set("\x77\x68\x61t\x73a\x70p_w\x69t\x68cc\x6f\x64e",${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x64j\x61u\x6e\x6a\x6a"]});$recordModelResponder->set("mess\x61\x67\x65_ty\x70\x65","Se\x6ed");$recordModelResponder->set("\x6des\x73a\x67\x65\x5f\x62\x6f\x64\x79",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x6fsm\x67\x68\x77y\x75\x68"]});if(${${"G\x4c\x4fB\x41L\x53"}["\x70\x6fx\x63\x74\x6c\x79\x62\x74"]}){${"G\x4cO\x42\x41L\x53"}["n\x74\x77b\x69u\x63"]="\x64\x69s\x70la\x79n\x61\x6d\x65";$recordModelResponder->set("\x77hat\x73ap\x70\x5f\x64\x69s\x70lay\x6ea\x6d\x65",${${"\x47\x4cOBA\x4cS"}["\x6e\x74wb\x69uc"]});}$recordModelResponder->set("\x77\x68a\x74sa\x70p_\x63o\x6e\x74ac\x74i\x64",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x71lfz\x69\x73\x66\x6e\x77\x76"]});$recordModelResponder->set("wh\x61tsapp\x5f\x75nre\x61d\x72\x65a\x64","U\x6e\x72\x65\x61d");$recordModelResponder->set("\x77ha\x74\x73a\x70\x70_\x66\x72\x6fmn\x6f",${$kbryqon});$recordModelResponder->set("y\x6f\x75\x72_\x6eum\x62er",${${"\x47\x4cO\x42\x41\x4cS"}["l\x71d\x67v\x65w"]});$recordModelResponder->set("w\x68\x61ts\x61pp_\x69mpo\x72\x74a\x6e\x74",${${"G\x4c\x4fB\x41\x4cS"}["oo\x76\x6a\x6c\x6b\x6f\x75h"]});$recordModelResponder->set("\x77h\x61\x74\x73app_\x62oti\x64",${${"G\x4cOBA\x4c\x53"}["\x6d\x62b\x74t\x63\x6d\x7acen"]});$recordModelResponder->set("\x77\x68\x61t\x73a\x70\x70\x5fd\x61t\x65t\x69\x6d\x65",$adb->formatDate(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6d\x63\x75\x77\x7a\x6b\x73\x76c\x74\x6b"]},true));$recordModelResponder->save();}}}function sendMessage($mobileno,$nextQuestionBody,$whatsappScanNo){global$current_user,$adb;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67l\x74\x78x\x6f\x72p"]}=$current_user->id;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["zuwuj\x65\x6e\x69"]="\x63\x6f\x6e\x66\x75\x67\x75\x72\x61t\x69\x6f\x6eQ\x75\x65\x72y";$rmwhgqyauxm="\x77\x68a\x74sap\x70\x4eum\x62\x65\x72";$pmrxtjso="\x6e\x75\x6d_\x72\x6f\x77\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["r\x6aj\x64\x77w\x6f\x6e"]}=getPreQuestionDetails(${${"G\x4c\x4fBA\x4c\x53"}["\x74dj\x61\x75\x6e\x6a\x6a"]});${${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x69kcv\x6d\x6a\x7a"]}=${${"\x47\x4cO\x42\x41\x4cS"}["\x72\x6a\x6ad\x77w\x6f\x6e"]}["pre\x62\x6f\x74i\x64"];${${"\x47\x4cO\x42\x41LS"}["pi\x75\x75l\x6e\x78w\x65\x67\x6dm"]}=$adb->pquery("S\x45LE\x43T\x20*\x20F\x52\x4f\x4d\x20\x76\x74\x69g\x65r_\x63t\x77\x68at\x73\x61\x70\x70\x62\x75\x73i\x6e\x65ss\x63\x6f\x6e\x66\x69\x67u\x72a\x74ion");${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x70\x6eutbsl\x76\x77\x68"]="c\x6f\x6efu\x67u\x72at\x69\x6f\x6e\x51u\x65r\x79";${${"\x47LOB\x41\x4cS"}["\x75b\x6fpa\x77\x6c"]}=$adb->query_result(${${"GL\x4fBA\x4c\x53"}["pi\x75u\x6c\x6e\x78\x77\x65\x67\x6d\x6d"]},0,"\x63\x75\x73\x74omf\x69eld\x34");${"\x47L\x4f\x42\x41\x4cS"}["\x71\x77v\x66x\x71\x67"]="w\x68a\x74\x73\x61p\x70\x42\x75s\x69\x6e\x65ssNo";$rvbflyvlues="\x6e\x75\x6d\x5f\x72\x6fws";if(${${"GLO\x42\x41\x4cS"}["u\x62\x6fp\x61\x77\x6c"]}=="\x6d\x75lt\x69p\x6ce\x57\x68\x61\x74\x73app"){$ghibywkwbsr="\x67\x65\x74\x55\x73\x65r\x49dQue\x72\x79";${$ghibywkwbsr}=$adb->pquery("\x53\x45\x4cE\x43\x54\x20* \x46R\x4fM vt\x69ger\x5fctw\x68\x61tsa\x70\x70bu\x73i\x6e\x65\x73\x73us\x65r\x73 \x57\x48\x45\x52E w\x68\x61t\x73ap\x70\x6eo\x20\x3d\x20?",array(${${"G\x4c\x4fB\x41\x4c\x53"}["siu\x70\x78\x67"]}));${${"\x47\x4cO\x42\x41L\x53"}["\x7a\x6cm\x67\x66m\x73\x65in"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["mefj\x76\x73rk\x71j"]},0,"c\x75st\x6fmfield5");}else{${"\x47LOB\x41\x4c\x53"}["\x6fs\x72\x6ci\x69\x78\x77"]="\x75\x73e\x72\x69d";${"G\x4cO\x42\x41LS"}["f\x63gl\x6f\x74\x70\x73"]="g\x65\x74U\x73\x65\x72\x49\x64\x51\x75\x65\x72\x79";${${"G\x4cO\x42\x41\x4c\x53"}["f\x63\x67\x6c\x6f\x74\x70s"]}=$adb->pquery("\x53EL\x45\x43T\x20*\x20FRO\x4d\x20\x76\x74i\x67e\x72\x5fc\x74w\x68a\x74s\x61pp\x62u\x73in\x65s\x73\x63onf\x69\x67\x75\x72at\x69on\x20WHE\x52\x45\x20\x77\x68at\x73\x61\x70\x70no = ?",array(${${"\x47\x4cOB\x41\x4c\x53"}["\x73iu\x70\x78\x67"]}));${${"\x47L\x4f\x42\x41\x4cS"}["\x6f\x73rl\x69\x69\x78w"]}=$adb->query_result(${${"\x47\x4c\x4fBA\x4c\x53"}["m\x65\x66j\x76\x73\x72\x6b\x71\x6a"]},0,"cust\x6fm\x66i\x65l\x64\x35");}$ggevlig="\x61\x63\x74i\x76\x65B\x6f\x74\x51\x75\x65\x72\x79";${${"\x47\x4c\x4f\x42A\x4cS"}["\x63\x70\x6e\x75t\x62s\x6c\x76w\x68"]}=$adb->pquery("SEL\x45C\x54 *\x20\x46\x52O\x4d\x20\x76\x74i\x67er_\x63twh\x61tsappb\x75s\x69\x6e\x65\x73\x73\x63\x6fnf\x69gu\x72\x61t\x69\x6f\x6e");${$rvbflyvlues}=$adb->num_rows(${${"\x47L\x4f\x42\x41L\x53"}["\x7a\x75\x77\x75je\x6ei"]});${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x69\x66\x65\x70\x6a"]="\x63\x6fn\x66\x69\x67Dat\x61";${"\x47L\x4f\x42A\x4c\x53"}["sg\x6a\x78\x75\x65wh\x71"]="c\x6f\x6e\x66\x69\x67\x44a\x74\x61";if(${$pmrxtjso}){${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75rz\x68\x6c\x68\x79\x63\x64m\x6b"]}=$adb->query_result(${${"\x47\x4cOB\x41L\x53"}["xyn\x6f\x67sv\x79"]},0,"a\x70i_ur\x6c");}${${"G\x4cOB\x41\x4c\x53"}["\x69\x65\x76\x6bs\x70h"]}=$adb->pquery("S\x45LEC\x54\x20*\x20FROM\x20ct\x77\x68ats\x61pp_bo\x74\x73 W\x48\x45RE \x64\x65l\x65ted = 1\x20\x41\x4eD \x61\x73\x73i\x67nuse\x72\x69d\x20= ?",array(${${"\x47\x4cO\x42\x41\x4cS"}["zlm\x67\x66\x6d\x73\x65\x69\x6e"]}));${"\x47\x4cOB\x41\x4cS"}["\x79\x63\x77\x72l\x6bz\x67"]="\x61p\x69\x55\x72\x6c";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x71\x64\x67v\x65\x77"]}=$adb->query_result(${$ggevlig},0,"s\x63\x61n\x77\x68atsa\x70p_\x6e\x75m\x62\x65r");${"\x47\x4c\x4fB\x41\x4c\x53"}["qm\x73\x71\x6cl\x66\x70i\x70g"]="n\x65x\x74Q\x75\x65\x73t\x69o\x6e\x42od\x79";${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x69fe\x70\x6a"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${$rmwhgqyauxm});${${"\x47L\x4fB\x41\x4cS"}["yc\x77\x72\x6c\x6bz\x67"]}=${${"\x47\x4cO\x42\x41\x4cS"}["\x6c\x77p\x64\x70v"]}["\x61\x70i_\x75\x72l"];${${"\x47LO\x42ALS"}["\x70\x65\x6f\x79\x74\x62cloq\x63"]}=${${"\x47\x4c\x4fBALS"}["\x73\x67\x6a\x78u\x65w\x68q"]}["\x61\x75\x74\x68\x5fto\x6be\x6e"];${${"\x47\x4cOBAL\x53"}["q\x77\x76\x66\x78\x71\x67"]}=${${"G\x4c\x4f\x42AL\x53"}["\x6c\x77\x70d\x70\x76"]}["whatsa\x70\x70\x5fbus\x69\x6e\x65\x73\x73\x6e\x75mber"];if(${${"GLO\x42A\x4c\x53"}["\x71\x6dsq\x6c\x6c\x66\x70i\x70\x67"]}!=""){${"GLO\x42\x41L\x53"}["\x76\x64\x78\x74\x6bj\x6a\x6a\x66\x6b"]="ur\x6c";${"GL\x4fB\x41\x4c\x53"}["w\x71v\x73\x76\x73"]="\x70o\x73tf\x69el\x64s";${"\x47\x4cOB\x41\x4c\x53"}["bf\x76u\x6c\x78\x6c\x64ox"]="\x77h\x61\x74s\x61\x70\x70Bus\x69\x6e\x65\x73s\x4eo";${"GL\x4f\x42A\x4cS"}["\x75\x74o\x6buq\x6dm\x64"]="\x6e\x65\x78t\x51ue\x73\x74io\x6e\x42\x6f\x64\x79";${"\x47LO\x42\x41\x4c\x53"}["\x6dt\x64\x72k\x68"]="\x61piU\x72\x6c";${${"G\x4c\x4f\x42A\x4cS"}["\x76\x64\x78\x74k\x6ajjf\x6b"]}=${${"\x47L\x4fBAL\x53"}["\x6d\x74\x64\x72\x6b\x68"]}.${${"\x47\x4c\x4fBAL\x53"}["b\x66vul\x78\x6c\x64\x6fx"]}."/me\x73s\x61\x67\x65s";$fqqtgtdl="\x76a\x6c";${${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x6b\x6c\x78r\x68\x79c\x74"]}=array("messa\x67in\x67_\x70ro\x64uct"=>"\x77\x68a\x74sa\x70\x70","\x72\x65c\x69p\x69en\x74_type"=>"indiv\x69du\x61\x6c","\x74\x6f"=>${${"\x47\x4cO\x42\x41\x4cS"}["\x74\x64j\x61un\x6a\x6a"]},"\x74yp\x65"=>"\x74ex\x74","\x74ex\x74"=>array("\x70\x72e\x76\x69\x65w_url"=>false,"\x62\x6f\x64y"=>htmlspecialchars_decode(${${"G\x4cO\x42\x41L\x53"}["u\x74\x6f\x6b\x75q\x6d\x6dd"]},ENT_QUOTES)),);$ilbrbn="\x61uth_\x74\x6f\x6be\x6e";${$fqqtgtdl}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"G\x4c\x4f\x42\x41L\x53"}["\x6ay\x79xki\x68\x6e\x63\x6d\x75"]},${${"G\x4cO\x42\x41L\x53"}["\x77\x71v\x73\x76\x73"]},${$ilbrbn});$jeqktiufv="\x67\x65t\x6e\x75\x6db\x65\x72I\x6d\x70or\x74\x61\x6e\x74";${$jeqktiufv}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"\x47LOBAL\x53"}["t\x64\x6a\x61\x75\x6ej\x6a"]});if(${${"\x47\x4cOB\x41L\x53"}["j\x6dsb\x75\x72\x78"]}){$nnqalmnkf="\x63\x75\x72r\x65\x6etu\x73\x65r\x6e\x61\x6d\x65";$mwxveyzfowlx="\x72e\x6c\x61\x74e\x64T\x6f\x44\x61t\x61";${"\x47\x4c\x4fBAL\x53"}["\x6fw\x77\x6b\x76\x76\x65\x6b"]="dat\x65\x5f\x76ar";${"\x47LOB\x41L\x53"}["\x72i\x77\x69\x74\x61v\x6e\x71"]="\x77h\x61\x74\x73\x61p\x70\x4eum\x62e\x72";${$nnqalmnkf}=$current_user->first_name."\x20".$current_user->last_name;$jlvefgnielus="\x72e\x6ca\x74\x65\x64T\x6f\x44\x61\x74a";${$mwxveyzfowlx}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x64j\x61\x75\x6ejj"]},-9));${"G\x4c\x4fBA\x4cS"}["\x61\x6a\x67\x77\x67\x62"]="\x72\x65c\x6fr\x64\x4do\x64\x65\x6c\x52\x65\x73\x70\x6f\x6e\x64e\x72";${${"GL\x4f\x42\x41L\x53"}["\x78q\x6c\x66\x7a\x69s\x66\x6e\x77\x76"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x69r\x6dj\x79\x6e\x75\x77\x6c\x7ab\x70"]}["r\x65l\x61\x74\x65dT\x6f"];$feqvyzp="c\x75\x72\x72\x65nt\x75\x73\x65\x72\x6e\x61\x6d\x65";$okbwcitgqs="mo\x62\x69\x6c\x65\x6e\x6f";$eeliboup="\x76\x61\x6c";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x6fx\x63tl\x79\x62\x74"]}=${$jlvefgnielus}["\x64i\x73\x70\x6cayn\x61\x6d\x65"];${${"\x47\x4cOB\x41\x4c\x53"}["owwk\x76\x76\x65k"]}=date("Y-m-\x64 H:i:\x73");${"\x47\x4cOB\x41\x4c\x53"}["\x67\x62x\x73\x6b\x63\x63"]="w\x68\x61\x74\x73\x61p\x70\x4eu\x6d\x62\x65r";${${"G\x4c\x4fB\x41\x4c\x53"}["\x61\x6a\x67w\x67\x62"]}=Vtiger_Record_Model::getCleanInstance("\x43TW\x68\x61ts\x41\x70\x70\x42us\x69\x6e\x65\x73s");$recordModelResponder->set("w\x68at\x73a\x70\x70_s\x65\x6ederna\x6de",${$feqvyzp});$recordModelResponder->set("\x6d\x73g\x69d",${$eeliboup}["\x6dess\x61g\x65\x73"][0]["\x69\x64"]);$recordModelResponder->set("wh\x61\x74s\x61p\x70_w\x69t\x68c\x63\x6fde",${$okbwcitgqs});$recordModelResponder->set("\x6d\x65s\x73\x61\x67\x65_\x74\x79\x70\x65","\x53\x65\x6ed");$recordModelResponder->set("m\x65s\x73\x61\x67e\x5fbo\x64y",${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6fsmg\x68\x77y\x75\x68"]});if(${${"G\x4c\x4f\x42\x41L\x53"}["\x70\x6f\x78\x63t\x6c\x79\x62\x74"]}){$recordModelResponder->set("w\x68\x61t\x73\x61\x70p\x5f\x64\x69\x73\x70\x6cayn\x61me",${${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x6fxc\x74l\x79\x62\x74"]});}$recordModelResponder->set("\x77h\x61\x74\x73\x61\x70p_\x63o\x6etac\x74i\x64",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x71\x6c\x66\x7aisf\x6ew\x76"]});$recordModelResponder->set("\x77h\x61tsa\x70\x70_\x75n\x72e\x61d\x72\x65a\x64","\x55\x6e\x72e\x61\x64");$dotoyw="d\x61\x74\x65\x5f\x76\x61r";$recordModelResponder->set("\x77\x68a\x74sapp_fr\x6f\x6d\x6eo",${${"\x47\x4c\x4f\x42A\x4c\x53"}["gb\x78\x73\x6b\x63c"]});$recordModelResponder->set("\x79\x6fur_\x6e\x75m\x62\x65\x72",${${"\x47\x4c\x4fBA\x4c\x53"}["\x72i\x77\x69t\x61vn\x71"]});$recordModelResponder->set("wh\x61ts\x61pp\x5f\x69\x6dpo\x72\x74\x61nt",${${"G\x4c\x4fBALS"}["\x6d\x61\x76\x72\x63o"]});$recordModelResponder->set("\x77\x68\x61\x74s\x61p\x70\x5fb\x6ft\x69d",${${"\x47\x4cO\x42\x41L\x53"}["rikc\x76m\x6a\x7a"]});$recordModelResponder->set("w\x68a\x74\x73a\x70p_dat\x65\x74im\x65",$adb->formatDate(${$dotoyw},true));$recordModelResponder->save();}}}function sendMessageWithImage($mobileno,$nextQuestionBody,$responseimg,$whatsappScanNo){$imjmcaczddln="n\x65\x77F\x69\x6ce\x6e\x61\x6de";${"G\x4c\x4fB\x41LS"}["\x64\x62\x73\x6cf\x6d\x63\x77\x74"]="\x6d\x6fb\x69\x6c\x65n\x6f";${"GL\x4fB\x41L\x53"}["\x6ct\x68w\x6as\x72\x62\x69"]="\x66i\x6c\x65\x6e\x61\x6deE\x78\x70\x6code";$zxwebfu="w\x68a\x74s\x61\x70p\x4eu\x6d\x62\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x63cko\x6d\x77\x6a"]="p\x72e\x51\x75\x65st\x69o\x6eDeta\x69\x6c\x73";$vivomxnlirf="\x66\x69\x6c\x65\x6e\x61meE\x78p\x6c\x6f\x64\x65";$ycnvjyt="co\x6e\x66\x75\x67u\x72\x61\x74\x69\x6fnQ\x75\x65\x72\x79";$fjloqawuoxi="fil\x65na\x6d\x65\x45\x78\x70\x6c\x6f\x64\x65";$lebctxzrj="\x66\x69\x6c\x65\x6e\x61m\x65E\x78plo\x64\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x74t\x67\x6fv\x6d\x64\x73f"]="c\x75\x72r\x65\x6etBot\x49\x64";$ecvmrkhp="\x66i\x6c\x65\x6eameExp\x6cod\x65";$pnwpmllbl="\x70\x72\x65Q\x75\x65\x73\x74\x69\x6f\x6e\x44\x65\x74a\x69\x6cs";${"\x47\x4c\x4fBA\x4cS"}["\x79\x76\x62\x76\x6c\x73\x70\x70\x76\x6a\x65s"]="\x6e\x65\x77\x49\x6d\x61g\x65F\x69\x6ce\x4eam\x65";global$current_user,$adb,$site_URL,$root_directory;$lpzamtqifqv="\x6ee\x77\x46\x69l\x65na\x6d\x65";${"\x47LO\x42\x41L\x53"}["\x6e\x6b\x65\x78\x6bfb"]="\x61\x63t\x69\x76eB\x6f\x74Q\x75e\x72y";${${"\x47LOB\x41L\x53"}["\x67l\x74\x78xo\x72p"]}=$current_user->id;${$pnwpmllbl}=getPreQuestionDetails(${${"\x47L\x4f\x42ALS"}["\x64\x62s\x6c\x66mc\x77\x74"]});${${"GL\x4f\x42\x41\x4cS"}["f\x74tgov\x6d\x64\x73\x66"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ecc\x6b\x6f\x6d\x77\x6a"]}["\x70\x72\x65b\x6f\x74i\x64"];${"\x47\x4c\x4fB\x41L\x53"}["\x65\x75qb\x63\x71\x72\x6f\x6bz\x67\x6e"]="\x63\x6f\x6e\x66\x69\x67\x44at\x61";$nmgylrpf="\x6e\x65\x77\x46\x69\x6c\x65\x6e\x61\x6d\x65";${${"\x47\x4c\x4fB\x41\x4cS"}["\x70iuuln\x78\x77\x65\x67\x6d\x6d"]}=$adb->pquery("S\x45\x4cEC\x54 *\x20\x46\x52\x4fM\x20vtig\x65\x72_\x63tw\x68a\x74s\x61p\x70\x62\x75\x73\x69nessc\x6f\x6ef\x69\x67ur\x61\x74\x69o\x6e");${${"\x47L\x4f\x42\x41\x4c\x53"}["u\x62\x6fp\x61w\x6c"]}=$adb->query_result(${${"GL\x4f\x42\x41L\x53"}["\x70\x69\x75\x75\x6c\x6e\x78\x77\x65\x67\x6dm"]},0,"custo\x6d\x66\x69el\x64\x34");if(${${"\x47\x4c\x4fB\x41L\x53"}["\x75b\x6f\x70a\x77\x6c"]}=="multipl\x65Wha\x74sa\x70\x70"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6es\x70f\x67\x68\x78\x7a\x67\x65\x6f\x73"]="\x67\x65t\x55s\x65\x72\x49\x64\x51\x75ery";$bbkugapl="\x67e\x74\x55\x73\x65r\x49\x64\x51\x75ery";${${"\x47L\x4fBALS"}["\x6e\x73pf\x67\x68\x78zgeo\x73"]}=$adb->pquery("\x53\x45LECT * F\x52\x4f\x4d \x76t\x69\x67\x65r\x5f\x63t\x77\x68a\x74\x73\x61\x70\x70bu\x73i\x6e\x65\x73s\x75sers\x20WH\x45R\x45\x20\x77h\x61\x74\x73appno \x3d\x20?",array(${${"\x47\x4c\x4fBALS"}["\x73\x69u\x70x\x67"]}));${${"\x47L\x4f\x42ALS"}["\x7al\x6d\x67\x66m\x73\x65\x69n"]}=$adb->query_result(${$bbkugapl},0,"\x63us\x74o\x6d\x66\x69\x65\x6c\x645");}else{$iibefgd="\x77h\x61t\x73\x61\x70\x70\x53\x63a\x6e\x4e\x6f";$yixnvtbiwgoh="\x67\x65t\x55se\x72\x49\x64Q\x75\x65r\x79";$nmmuztdechy="\x75\x73\x65r\x69\x64";${$yixnvtbiwgoh}=$adb->pquery("\x53\x45\x4cE\x43T\x20* \x46RO\x4d\x20vtige\x72\x5f\x63\x74wh\x61\x74sap\x70\x62\x75\x73ines\x73\x63o\x6e\x66\x69\x67\x75r\x61t\x69o\x6e \x57HERE\x20wh\x61t\x73\x61pp\x6e\x6f = ?",array(${$iibefgd}));${$nmmuztdechy}=$adb->query_result(${${"\x47\x4cO\x42\x41LS"}["me\x66\x6av\x73\x72kqj"]},0,"\x63u\x73t\x6fm\x66ie\x6cd\x35");}$syoenjwwk="\x6e\x65\x77\x46il\x65\x6e\x61\x6d\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65r\x70\x61\x6a\x68b"]="\x66i\x6cen\x61m\x65E\x78\x70l\x6fde";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x72\x66\x63n\x7a\x70\x70"]="\x6e\x65\x77\x46i\x6c\x65\x6e\x61m\x65";$vyiusvfts="\x61\x63\x74iv\x65B\x6f\x74\x51\x75e\x72y";${$ycnvjyt}=$adb->pquery("SELECT\x20* \x46R\x4fM\x20v\x74i\x67er\x5f\x63t\x77ha\x74s\x61ppbu\x73ines\x73\x63\x6fnfi\x67\x75ra\x74\x69on");${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72h\x6cs\x78\x6d\x77\x6eef"]}=$adb->num_rows(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["xy\x6e\x6f\x67s\x76\x79"]});if(${${"GL\x4f\x42A\x4c\x53"}["\x72\x68\x6c\x73\x78\x6d\x77\x6e\x65\x66"]}){${"GL\x4f\x42\x41\x4c\x53"}["p\x70\x6a\x68\x6f\x77\x71x\x78v\x62d"]="\x61\x70i\x5f\x75rl";${"\x47LO\x42A\x4c\x53"}["\x65\x74co\x6f\x72\x72"]="\x63\x6f\x6ef\x75\x67\x75r\x61t\x69onQuer\x79";${${"\x47\x4c\x4f\x42A\x4c\x53"}["p\x70jho\x77q\x78\x78vb\x64"]}=$adb->query_result(${${"GL\x4f\x42\x41LS"}["\x65\x74\x63\x6fo\x72\x72"]},0,"\x61\x70i_ur\x6c");}${"\x47\x4cOBA\x4cS"}["\x71\x65\x63\x77z\x72y\x64"]="\x72\x65\x73\x70\x6f\x6e\x73\x65im\x67";$fyfboknogi="n\x65\x77Filen\x61m\x65";${${"GL\x4f\x42A\x4c\x53"}["\x6e\x6be\x78k\x66\x62"]}=$adb->pquery("\x53EL\x45\x43T\x20*\x20\x46R\x4fM \x63twh\x61t\x73a\x70p_bot\x73 \x57H\x45RE \x64\x65l\x65ted\x20=\x201 \x41ND ass\x69\x67\x6e\x75\x73\x65ri\x64 = ?",array(${${"\x47L\x4f\x42\x41\x4c\x53"}["z\x6cmg\x66m\x73\x65\x69\x6e"]}));${$zxwebfu}=$adb->query_result(${$vyiusvfts},0,"sc\x61n\x77h\x61\x74\x73a\x70p\x5fn\x75m\x62\x65r");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6cw\x70d\x70\x76"]}=CTWhatsAppBusiness_Record_Model::getWhatsAppDetailWithMobileNo(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x71\x64\x67\x76ew"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79j\x6b\x76\x74\x71i\x6ea"]}=${${"\x47\x4cO\x42A\x4c\x53"}["e\x75\x71bc\x71\x72\x6fk\x7a\x67\x6e"]}["a\x70\x69\x5f\x75\x72\x6c"];${${"\x47\x4cOB\x41\x4c\x53"}["\x70e\x6fyt\x62cl\x6f\x71\x63"]}=${${"\x47\x4c\x4fB\x41\x4cS"}["\x6c\x77\x70\x64pv"]}["\x61\x75\x74h\x5f\x74oken"];${${"\x47\x4c\x4fB\x41\x4cS"}["hvaf\x72\x75\x79\x71mn"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x77pd\x70v"]}["\x77h\x61\x74\x73app\x5f\x62u\x73ine\x73snu\x6dbe\x72"];${${"\x47LO\x42A\x4c\x53"}["\x65rpaj\x68\x62"]}=explode("/",${${"\x47L\x4fBA\x4cS"}["\x71\x65c\x77z\x72\x79\x64"]});${${"\x47\x4cO\x42\x41LS"}["nt\x79\x6f\x73x\x76\x6f\x72"]}=urlencode(${$fjloqawuoxi}[6]);${$lpzamtqifqv}=str_replace("+","%\x32\x30",${$syoenjwwk});${${"\x47L\x4f\x42\x41L\x53"}["\x6e\x74\x79\x6f\x73x\x76\x6fr"]}=str_replace("\x5f","\x255\x46",${${"\x47L\x4f\x42\x41LS"}["\x6ety\x6fs\x78\x76\x6fr"]});${"GLO\x42\x41\x4c\x53"}["\x6c\x61l\x78\x6c\x6a\x68\x74w\x6a"]="f\x69l\x65\x6e\x61\x6d\x65\x45x\x70l\x6f\x64\x65";${$fyfboknogi}=str_replace("\x2e","\x25\x32\x45",${$nmgylrpf});${${"\x47\x4c\x4fB\x41LS"}["\x66\x72\x66\x63\x6e\x7a\x70\x70"]}=str_replace("-","\x25\x32\x44",${${"GL\x4f\x42\x41\x4c\x53"}["\x6et\x79o\x73xv\x6f\x72"]});$skfqpaja="n\x65x\x74Q\x75est\x69\x6f\x6e\x42o\x64\x79";${${"\x47\x4c\x4fB\x41\x4c\x53"}["y\x76\x62\x76\x6c\x73\x70\x70\x76je\x73"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["la\x6c\x78\x6cjh\x74\x77j"]}[0]."/".${${"G\x4c\x4f\x42A\x4cS"}["\x6a\x65p\x73\x78\x6a\x70\x71\x7aj\x6a"]}[1]."/".${${"\x47\x4cO\x42A\x4c\x53"}["\x6c\x74\x68\x77js\x72\x62\x69"]}[2]."/".${$lebctxzrj}[3]."/".${$vivomxnlirf}[4]."/".${$ecvmrkhp}[5]."/".${$imjmcaczddln};chmod(${${"\x47\x4c\x4fB\x41LS"}["\x75\x70\x6fz\x62\x6dl\x6b"]}."/".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x78d\x76qw\x6cy"]},0777);if(${$skfqpaja}!=""){${"\x47\x4cO\x42\x41L\x53"}["\x67\x6b\x6bzzlm\x6a\x62\x65"]="s\x65n\x64\x4des\x73\x61\x67et\x79\x70\x65";$wipiorg="u\x72\x6c";${"GL\x4f\x42A\x4c\x53"}["\x70bl\x6a\x6dpv\x6b\x6d\x6c\x71"]="pos\x74\x66\x69e\x6c\x64\x73";${"G\x4c\x4fB\x41\x4c\x53"}["\x66cme\x6fi\x76\x74\x70e"]="\x73e\x6e\x64\x4des\x73\x61\x67\x65\x74\x79\x70e";${"\x47\x4c\x4fBA\x4cS"}["\x66\x6dn\x6at\x6d\x71\x68\x6f\x6c"]="a\x75\x74\x68\x5f\x74o\x6be\x6e";$rpfvxa="\x72e\x73po\x6e\x73\x65\x69\x6dg";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x76\x71\x6fo\x67y"]="\x77h\x61\x74\x73a\x70\x70Busine\x73\x73No";$peznjhf="\x70\x6fst\x66\x69el\x64s";${${"\x47\x4c\x4fB\x41LS"}["\x67kk\x7a\x7a\x6c\x6d\x6a\x62e"]}="i\x6da\x67\x65";${$wipiorg}=${${"GL\x4fBA\x4c\x53"}["\x79jk\x76\x74\x71\x69\x6e\x61"]}.${${"G\x4c\x4f\x42\x41\x4cS"}["k\x76\x71\x6fo\x67\x79"]}."/me\x73\x73\x61ges";${${"GL\x4f\x42\x41\x4cS"}["\x70\x62\x6c\x6am\x70vk\x6dl\x71"]}=array("m\x65s\x73a\x67\x69ng_prod\x75\x63t"=>"\x77hatsapp","\x72ec\x69\x70ien\x74_ty\x70e"=>"indi\x76\x69d\x75\x61l","\x74o"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x64j\x61un\x6a\x6a"]},"\x74\x79pe"=>${${"\x47L\x4f\x42\x41L\x53"}["gfj\x6e\x6b\x79a"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x66\x63\x6d\x65\x6f\x69v\x74\x70\x65"]}=>array("l\x69n\x6b"=>${${"GLO\x42\x41\x4c\x53"}["xt\x6bmpmm"]}."/".${$rpfvxa},"\x63\x61p\x74\x69\x6fn"=>htmlspecialchars_decode(${${"\x47L\x4fB\x41L\x53"}["h\x6f\x73\x6d\x67\x68wyuh"]},ENT_QUOTES)),);${${"\x47L\x4fB\x41\x4c\x53"}["\x6a\x6ds\x62\x75rx"]}=CTWhatsAppBusiness_WhatsappChat_View::callCURL(${${"\x47\x4c\x4f\x42\x41L\x53"}["jy\x79\x78\x6bi\x68\x6ecm\x75"]},${$peznjhf},${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x6dnj\x74m\x71\x68\x6f\x6c"]});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x66\x64\x6f\x6a\x68\x63\x72"]="v\x61\x6c";${${"\x47L\x4f\x42A\x4cS"}["\x6d\x61\x76\x72\x63\x6f"]}=CTWhatsAppBusiness_Record_Model::getWhatsappNumberImportant(${${"\x47\x4c\x4f\x42\x41LS"}["t\x64j\x61u\x6e\x6a\x6a"]});if(${${"G\x4c\x4f\x42ALS"}["\x73\x66\x64\x6f\x6a\x68\x63\x72"]}){${"\x47L\x4fBA\x4c\x53"}["o\x65l\x6c\x6et\x78\x77"]="\x76\x61l";$uyunstscwso="\x63ur\x72\x65\x6etus\x65\x72n\x61me";${"GLO\x42\x41\x4c\x53"}["\x6e\x78\x72\x70\x66\x76m\x6f\x6f\x63r"]="di\x73\x70l\x61\x79\x6e\x61\x6d\x65";$pbrgdjc="\x77h\x61t\x73\x61p\x70\x4e\x75\x6db\x65r";$yhkiximtq="\x64isp\x6c\x61\x79name";${$uyunstscwso}=$current_user->first_name." ".$current_user->last_name;$moudbuwvww="\x72\x65late\x64\x54\x6f";${"\x47L\x4f\x42AL\x53"}["hi\x64rqi\x6d\x64\x76"]="r\x65l\x61t\x65\x64\x54\x6f\x44\x61\x74\x61";${"G\x4c\x4f\x42AL\x53"}["\x72\x6b\x79\x78x\x72\x6d"]="r\x65co\x72\x64M\x6f\x64e\x6cR\x65\x73\x70\x6f\x6e\x64e\x72";$xrjprtz="\x64\x61\x74e\x5f\x76\x61r";$tktwmhcm="nex\x74\x51\x75\x65\x73\x74\x69\x6fn\x42\x6f\x64\x79";$prdhldgrjsb="\x72\x65l\x61\x74ed\x54o\x44\x61\x74\x61";${${"\x47LOBA\x4cS"}["\x69\x72\x6d\x6a\x79n\x75w\x6cz\x62p"]}=CTWhatsAppBusiness_Record_Model::getRelatedToId(substr(${${"\x47L\x4fB\x41\x4c\x53"}["td\x6aa\x75\x6e\x6aj"]},-9));${$moudbuwvww}=${$prdhldgrjsb}["r\x65\x6c\x61\x74e\x64To"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x78\x72\x70\x66\x76\x6doo\x63r"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68i\x64\x72\x71i\x6d\x64\x76"]}["d\x69\x73pla\x79n\x61\x6de"];${"G\x4c\x4f\x42\x41\x4cS"}["\x68\x61l\x64\x66\x6b\x70d"]="\x63\x75r\x72\x65\x6e\x74\x42\x6f\x74\x49\x64";${$xrjprtz}=date("\x59-\x6d-\x64 H:\x69:\x73");${${"\x47\x4cO\x42\x41L\x53"}["r\x6byx\x78r\x6d"]}=Vtiger_Record_Model::getCleanInstance("CTWh\x61\x74s\x41ppB\x75s\x69\x6eess");$recordModelResponder->set("\x77h\x61\x74sapp_se\x6ed\x65\x72n\x61\x6de",${${"\x47\x4c\x4fB\x41LS"}["\x78\x71\x77q\x6e\x63vg\x6fq\x63"]});$recordModelResponder->set("msgid",${${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x65\x6cl\x6e\x74xw"]}["\x6b\x65y"]["i\x64"]);$recordModelResponder->set("\x77ha\x74sa\x70p\x5fw\x69\x74\x68\x63c\x6fd\x65",${${"\x47\x4c\x4f\x42A\x4cS"}["\x74\x64j\x61\x75njj"]});$recordModelResponder->set("m\x65\x73\x73ag\x65_type","Sen\x64");${"\x47\x4c\x4f\x42\x41LS"}["\x6d\x6bqn\x67u\x68t"]="ge\x74\x6e\x75\x6d\x62\x65\x72\x49\x6dpo\x72t\x61n\x74";$recordModelResponder->set("\x6dessag\x65\x5f\x62\x6fdy",${$tktwmhcm});if(${$yhkiximtq}){${"\x47L\x4fB\x41L\x53"}["dkg\x68\x6f\x6b\x62\x71\x72s\x72"]="\x64i\x73\x70la\x79\x6e\x61m\x65";$recordModelResponder->set("\x77hat\x73app_di\x73play\x6e\x61m\x65",${${"\x47\x4c\x4fB\x41LS"}["\x64k\x67h\x6fkbq\x72\x73r"]});}$recordModelResponder->set("\x77\x68\x61ts\x61p\x70\x5f\x63o\x6et\x61ct\x69d",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78ql\x66\x7a\x69\x73\x66\x6e\x77\x76"]});$recordModelResponder->set("w\x68\x61\x74s\x61\x70\x70_u\x6e\x72e\x61d\x72\x65\x61\x64","U\x6e\x72\x65ad");$recordModelResponder->set("w\x68\x61t\x73\x61pp\x5ffromn\x6f",${${"\x47\x4cO\x42\x41\x4c\x53"}["l\x71\x64\x67v\x65w"]});$recordModelResponder->set("\x79ou\x72_\x6eu\x6d\x62er",${$pbrgdjc});$recordModelResponder->set("\x77\x68a\x74sa\x70p_\x69\x6dp\x6frt\x61\x6et",${${"G\x4c\x4f\x42\x41L\x53"}["mk\x71nguh\x74"]});$recordModelResponder->set("\x77h\x61\x74s\x61\x70\x70_botid",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x61\x6cd\x66\x6bp\x64"]});$recordModelResponder->set("w\x68\x61tsa\x70\x70\x5fd\x61tet\x69\x6de",$adb->formatDate(${${"\x47L\x4f\x42A\x4c\x53"}["m\x63u\x77z\x6bs\x76\x63t\x6b"]},true));$recordModelResponder->save();}}}function convertRegularMode($customerMobileNo){global$adb;$adb->pquery("\x55PD\x41TE \x77\x68ats\x61\x70\x70b\x6ft\x5fpre_\x71\x75e\x20SET m\x61nualtrans\x66\x65r\x20=\x20'1\x27\x20W\x48\x45R\x45\x20\x70r\x65qu\x65\x6do\x62\x69l\x65number \x3d ?",array(${${"\x47L\x4f\x42A\x4cS"}["\x65\x65\x71jk\x68\x76\x66f\x75\x6d\x67"]}));}
?>

Function Calls

None

Variables

None

Stats

MD5 48273c7dc88198561b7a84d0c8ca101f
Eval Count 0
Decode Time 813 ms