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 ${"GL\x4f\x42\x41\x4cS"}["\x6c\x74\x62rv\x65"]="\x77h\x61\x74\x73\x61\x70\x70\x66\x6..

Decoded Output download

<?php ${"GLOBALS"}["ltbrve"]="whatsappfieldValue";${"GLOBALS"}["rrbtdnyth"]="replaceValue";${"GLOBALS"}["vwcbapkk"]="whatsappfield_value";${"GLOBALS"}["ndrtwfcwha"]="unreadgroupmessage";${"GLOBALS"}["xknotzhnbat"]="botname";${"GLOBALS"}["itfhijkc"]="botid";${"GLOBALS"}["vxlkgtdl"]="connectedWhatsAppNumber";${"GLOBALS"}["lxkyllr"]="enddate";${"GLOBALS"}["nygtewzbw"]="insertHistoryQuery";${"GLOBALS"}["njfjfzwxlv"]="explodejid";${"GLOBALS"}["llxysqjmm"]="jid";${"GLOBALS"}["rkyqupxnah"]="configData";${"GLOBALS"}["ltqfhtwll"]="start_date";${"GLOBALS"}["yfwewhfux"]="history_status";${"GLOBALS"}["aoaxpljq"]="firsttimehistory";${"GLOBALS"}["ecgkyh"]="end_date";${"GLOBALS"}["jqwjxpdto"]="history_fromme";${"GLOBALS"}["qdqfdvhm"]="cursor";${"GLOBALS"}["qkcymzij"]="remoteJid";${"GLOBALS"}["jpdbcsx"]="phoneQuery";${"GLOBALS"}["ofsuvdrdkg"]="remotjid";${"GLOBALS"}["jquromkkcfnk"]="historyFromme";${"GLOBALS"}["jxrlphcvmo"]="cursorRows";${"GLOBALS"}["nuwelph"]="whatsappHistory";${"GLOBALS"}["vvruvjek"]="getCursor";${"GLOBALS"}["qqpiyugbfo"]="whatsappDetails";${"GLOBALS"}["gzvpkthhbeqo"]="moduleRecordSearch";${"GLOBALS"}["unovdnzyksyx"]="whatsappDateTime";${"GLOBALS"}["wggeux"]="apiURL";${"GLOBALS"}["bcmlkckl"]="todayDate";${"GLOBALS"}["gprpgplo"]="showunknownmsg";${"GLOBALS"}["bdeutkpsdhgd"]="whatsappUserManagemnt";${"GLOBALS"}["jndpkko"]="userScanUsersData";${"GLOBALS"}["ibpfhbckcf"]="messageid";${"GLOBALS"}["qykxbqcu"]="userScanWhatsAppData";${"GLOBALS"}["jlqritil"]="autoResponderText";${"GLOBALS"}["qxomcemab"]="fieldname";${"GLOBALS"}["ypifsmqxx"]="fieldLabelValue";${"GLOBALS"}["zfvzssgzwbzy"]="sourceModuleName";${"GLOBALS"}["pjftjjjwnt"]="moduleRecordId";${"GLOBALS"}["iigiids"]="theme_view";${"GLOBALS"}["yqbuwvuqib"]="massDeleteQuery";${"GLOBALS"}["rcimue"]="updateStatusQuery";${"GLOBALS"}["dtsjnyskeg"]="totalUnReadMassMessagesURL";${"GLOBALS"}["awsykt"]="totalSentMessageURL";${"GLOBALS"}["qdctkip"]="totalfinishBotChat";${"GLOBALS"}["cstbmslhys"]="totalUnReadMassMessages";${"GLOBALS"}["jwdmsocmlfs"]="totalMessage";${"GLOBALS"}["bkpcwc"]="totalSentMessage";${"GLOBALS"}["qdpknqanf"]="botMessage";${"GLOBALS"}["wpectsu"]="totalBotMessages";${"GLOBALS"}["tqmtgxw"]="totalSendBotMessages";${"GLOBALS"}["wztbvryv"]="totalFinishedChat";${"GLOBALS"}["jbyvghnyz"]="totalReceivedMessageURL";${"GLOBALS"}["bqdfvqvrlhd"]="received";${"GLOBALS"}["wpntnvox"]="totalactiveBotChat";${"GLOBALS"}["wydxxhqwnvet"]="totalReceivedBotMessage";${"GLOBALS"}["awnmugqpbtx"]="totalPendingChat";${"GLOBALS"}["ymfyvtvm"]="totalReceivedMessage";${"GLOBALS"}["uhryzbugnxr"]="totalReadMassMessagesURL";${"GLOBALS"}["lpvacnd"]="totalReadMassMessages";${"GLOBALS"}["bdtcoijsf"]="dateFilter";${"GLOBALS"}["bcwlbvdkfsd"]="totalMassMessagesURL";${"GLOBALS"}["bsqlvjlvof"]="youPhoneFilter";${"GLOBALS"}["gehqgqi"]="endtdate";${"GLOBALS"}["dniznoox"]="startdate";${"GLOBALS"}["ctfaieis"]="arrayData";${"GLOBALS"}["qdknhkfe"]="yAxisData2";${"GLOBALS"}["cydwbrx"]="read";${"GLOBALS"}["lmoelwiywu"]="messageReadUpRead";${"GLOBALS"}["cnhpqrjmw"]="sendBotMessage";${"GLOBALS"}["nikdipiptwtc"]="finishBotChat";${"GLOBALS"}["phxxyul"]="activeFinishRows";${"GLOBALS"}["cxoqjty"]="activeFinishQuery";${"GLOBALS"}["qnypxyovar"]="conditionDate";${"GLOBALS"}["coxcvjtux"]="whatsAppBotQuery";${"GLOBALS"}["jugudpk"]="whatsAppBot";${"GLOBALS"}["bwtnumpf"]="message_type";${"GLOBALS"}["qqqlmbuo"]="reportChart";${"GLOBALS"}["zelkzbr"]="whatsappMessageQuery";${"GLOBALS"}["jmneokodjyc"]="customeMassQuery";${"GLOBALS"}["yakaudfvd"]="customeQuery";${"GLOBALS"}["pygeyoehdeq"]="period";${"GLOBALS"}["knfpde"]="activeBotChat";${"GLOBALS"}["wdnmfdlvktj"]="receivedBotMessage";${"GLOBALS"}["trutkehif"]="pendingChat";${"GLOBALS"}["bttkguziejw"]="finishedChat";${"GLOBALS"}["zixuybv"]="unreadMassMessages";${"GLOBALS"}["dmwkduwp"]="readMassMessages";${"GLOBALS"}["pgsicxdfe"]="totalMassMessages";${"GLOBALS"}["jycdivy"]="send";${"GLOBALS"}["qylxuhvex"]="yAxisData3";${"GLOBALS"}["rmchfhted"]="inNumbersChatbotQuery";${"GLOBALS"}["xfrbhiiailu"]="inNumbersBroadcastQuery";${"GLOBALS"}["krujfdpfp"]="inNumbersQuery";${"GLOBALS"}["ubpwzxcbaxr"]="multipleWhatsappNumber";${"GLOBALS"}["vtbojyqy"]="scanUsers";${"GLOBALS"}["dzviwhp"]="totalMessages";${"GLOBALS"}["rejggj"]="type";${"GLOBALS"}["hmxyqtrmyb"]="templatesId";${"GLOBALS"}["jxdmmcwloynm"]="totalQueue";${"GLOBALS"}["rcnugvven"]="sendMessageStatus";${"GLOBALS"}["hctuiybnxw"]="currentdatetime";${"GLOBALS"}["jmsizyzyy"]="expexteddatetime";${"GLOBALS"}["whpwghdqpal"]="total";${"GLOBALS"}["skniqwvw"]="massmsgdatetime";${"GLOBALS"}["eiydgls"]="totalSend";${"GLOBALS"}["mmctog"]="querytotalsendmsg";${"GLOBALS"}["hwmwccn"]="totalmsg";${"GLOBALS"}["vqqbljgf"]="querytotalmsg";${"GLOBALS"}["ipwykrvdacl"]="deleteCheckQuery";${"GLOBALS"}["ppgnjpcotd"]="getReadQuery";${"GLOBALS"}["zdyocw"]="scheduleSendmsgID";${"GLOBALS"}["qjiefckbp"]="queryScheduleSendmsg";${"GLOBALS"}["vpltqjcaqk"]="whatsappRecordid";${"GLOBALS"}["hknarfr"]="lastMessageDate";${"GLOBALS"}["czbgrtrh"]="sendMessageDate";${"GLOBALS"}["vbzicrgyites"]="connectWPNumberQuery";${"GLOBALS"}["wdchoqmcjdht"]="connctWPNumber";${"GLOBALS"}["jxskqagbg"]="connectuserid";${"GLOBALS"}["bmmpudlm"]="massMessageid";${"GLOBALS"}["iyomnphu"]="expcompdate";${"GLOBALS"}["gcuwjcducg"]="status";${"GLOBALS"}["hweouxpu"]="sendqueueMessages";${"GLOBALS"}["qwpjyjlj"]="periodData";${"GLOBALS"}["jwkllweikydz"]="selectPeriodData";${"GLOBALS"}["lqattc"]="progress";${"GLOBALS"}["fvkhhlpbde"]="progressMessages";${"GLOBALS"}["trfqrgyisz"]="lastMessageDataTime";${"GLOBALS"}["wpopwwppu"]="getFieldsLabel";${"GLOBALS"}["tgwtdhpwqw"]="message";${"GLOBALS"}["tjergt"]="whatsappfolderpath";${"GLOBALS"}["bystrveg"]="resultData";${"GLOBALS"}["jswirsdiqqkb"]="relatedTo";${"GLOBALS"}["vwdqjzhzxua"]="leadQuery";${"GLOBALS"}["lslewi"]="more";${"GLOBALS"}["xoekkzxvr"]="templatesArray";${"GLOBALS"}["hfrekey"]="whatsappTemplateRows";${"GLOBALS"}["hqoppbleqnc"]="listQuery";${"GLOBALS"}["knzhfrpzwex"]="queryGenerator";${"GLOBALS"}["nlyskcjpy"]="viewid";${"GLOBALS"}["aywsqnc"]="wpTemplateViewQuery";${"GLOBALS"}["juqhhhe"]="updateLogQuery";${"GLOBALS"}["djcpincd"]="whatsappid";${"GLOBALS"}["wqhpspkwny"]="updateQuery";${"GLOBALS"}["makvpkw"]="task";${"GLOBALS"}["fbllmnuf"]="groupMember";${"GLOBALS"}["ajicne"]="getUnreadGroupsquery";${"GLOBALS"}["fxtixlk"]="getGroupMember";${"GLOBALS"}["ozoeqjaq"]="getUnreadGroupsMessagesCount";${"GLOBALS"}["ciuduqwwa"]="allGroupsData";${"GLOBALS"}["tsbehcmyk"]="whatsappGroupQuery";${"GLOBALS"}["mkaqotteynt"]="scanMessage";${"GLOBALS"}["klegrryylk"]="qrCodeDetail";${"GLOBALS"}["epblvoec"]="fieldsString";${"GLOBALS"}["nqlglleze"]="fields";${"GLOBALS"}["vwfbiwyewbcn"]="qrcodeurl";${"GLOBALS"}["lltloujtozk"]="whatsappBotQuery";${"GLOBALS"}["cpvbfrahlr"]="getLicenseDetail";${"GLOBALS"}["xcnevnlh"]="configurationUserData";${"GLOBALS"}["jppnkx"]="apiUrl";${"GLOBALS"}["dunqrah"]="insertQuery";${"GLOBALS"}["odsfrieb"]="contryCode";${"GLOBALS"}["oomwgsemtdr"]="numrows";${"GLOBALS"}["tfhwby"]="templateData";${"GLOBALS"}["dhvcubrnb"]="fileType";${"GLOBALS"}["czknncmkdydq"]="fileName";${"GLOBALS"}["kowbdipk"]="msg_body";${"GLOBALS"}["lbndrj"]="cronDate_Time";${"GLOBALS"}["jewchnric"]="laterDateTime";${"GLOBALS"}["wdrkxmgimwni"]="schedulesendmsgid";${"GLOBALS"}["jsibwubdjsfc"]="selectBatch";${"GLOBALS"}["gtsrwuxz"]="getMassBatchConfiguration";${"GLOBALS"}["qsguenkdfo"]="connectUseridquery";${"GLOBALS"}["wvudvbeixhbp"]="scanUserId";${"GLOBALS"}["iyevekhyt"]="excludedIds";${"GLOBALS"}["wuvbgaqzdl"]="cvid";${"GLOBALS"}["xmiwmxmttt"]="customViewModel";${"GLOBALS"}["xruoxvtdhi"]="selected_ids";${"GLOBALS"}["hzodxqr"]="whatsappModuleFieldsData";${"GLOBALS"}["hgfgtlm"]="whatsappUserID";${"GLOBALS"}["fukklnhu"]="templatesid";${"GLOBALS"}["qcrbqnyhjgn"]="getMassMessageDetail";${"GLOBALS"}["rslgumfchmk"]="batch";${"GLOBALS"}["wsswbpsh"]="crondatetime";${"GLOBALS"}["chqzveyq"]="timeinterval";${"GLOBALS"}["yqrqbuvlnxpr"]="whatsappStatusArray";${"GLOBALS"}["byqgvzsy"]="whatsappNo";${"GLOBALS"}["eqdprl"]="getWhatsappStatusQuery";${"GLOBALS"}["uhvqvb"]="whatsappbot";${"GLOBALS"}["mbcjhtpuo"]="whatsappuseid";${"GLOBALS"}["swhiksk"]="updatequery";${"GLOBALS"}["bmwepsjbk"]="configurationQuery";${"GLOBALS"}["oxnkdks"]="authTokenKey";${"GLOBALS"}["fnwtthjtgv"]="licensefield2";${"GLOBALS"}["vdmdhojvv"]="domain";${"GLOBALS"}["foxxvkl"]="licenseDetail";${"GLOBALS"}["cmxbdkianfu"]="licensefield1";${"GLOBALS"}["gxzvfugrobec"]="expiryDate";${"GLOBALS"}["qkmdptlbfp"]="fieldValue";${"GLOBALS"}["rccgmhxta"]="active";${"GLOBALS"}["eqdkmzs"]="source_module";${"GLOBALS"}["oiljcgmbyyz"]="resultResponse";${"GLOBALS"}["srgkppuccpjc"]="curl";${"GLOBALS"}["uenwmwmzfc"]="currentDate";${"GLOBALS"}["dexvvaf"]="iconActive";${"GLOBALS"}["ggjeeaqumb"]="unreadmsg";${"GLOBALS"}["nysnwqbusdg"]="recordid";${"GLOBALS"}["hmmjivnfnggf"]="getUreadMsgQuery";${"GLOBALS"}["wmxfsw"]="allowModuleData";${"GLOBALS"}["iitxzdiwii"]="val";${"GLOBALS"}["qwzqcopi"]="currentusername";${"GLOBALS"}["ltmcanxyv"]="whatsAppModuleId";${"GLOBALS"}["pyhfwwl"]="whatsapplog";${"GLOBALS"}["cytutuxdnstg"]="whatsAppActiveInActive";${"GLOBALS"}["ybmlnnvyryfm"]="newBodyfileURL";${"GLOBALS"}["tvydefthfc"]="whatsapplogid";${"GLOBALS"}["ubjdnrlroc"]="whatsAppLogId";${"GLOBALS"}["egrhehgodt"]="postfieldWhatsAppnumber";${"GLOBALS"}["nbmwfkcjjde"]="requestParam";${"GLOBALS"}["ueoukoasx"]="replymessageText";${"GLOBALS"}["sxqoshys"]="getnumberImportant";${"GLOBALS"}["fnudbchsq"]="whatsapplogRows";${"GLOBALS"}["wjbhjabv"]="whatsappLogQuery";${"GLOBALS"}["aqreqqjf"]="oneDayMessages";${"GLOBALS"}["youvhyc"]="licenseKey";${"GLOBALS"}["ckmlwaejvvwg"]="displayname";${"GLOBALS"}["rxkugcsvm"]="numberactive";${"GLOBALS"}["zwwqcfej"]="sql4";${"GLOBALS"}["pdgtxqwa"]="current_id";${"GLOBALS"}["semxnf"]="sql3";${"GLOBALS"}["nyskjkp"]="sql2";${"GLOBALS"}["xvbuvdeffqm"]="params2";${"GLOBALS"}["lkcfyjvmic"]="filename";${"GLOBALS"}["irdowtzrxb"]="date_var";${"GLOBALS"}["xstifocvdmbl"]="params1";${"GLOBALS"}["uxcbkuntvt"]="documentid";${"GLOBALS"}["xqnkhyonpev"]="filemove";${"GLOBALS"}["wmxipcvr"]="target_file";${"GLOBALS"}["zaeiomtiwfp"]="filepath";${"GLOBALS"}["dbeqzqnpuxu"]="url";${"GLOBALS"}["pioaes"]="postfields";${"GLOBALS"}["ccygcr"]="site_URL";${"GLOBALS"}["ezjwsjtbkduq"]="newfileURL";${"GLOBALS"}["yrfqtud"]="newFilename";${"GLOBALS"}["kieybekgnhfs"]="attachmentPath";${"GLOBALS"}["iirzvgt"]="newfile";${"GLOBALS"}["qbmcbnuelcu"]="filetype";${"GLOBALS"}["ofzugqsmow"]="getAttachmentQuery";${"GLOBALS"}["ufukouvmz"]="templateMsg";${"GLOBALS"}["pazkvngx"]="bodydata";${"GLOBALS"}["omzgfyljuj"]="wptemplateImage";${"GLOBALS"}["rpgnnph"]="templatesID";${"GLOBALS"}["limjwqoec"]="isTemplates";${"GLOBALS"}["hzthelccjs"]="getWhatsappTemplateQuery";${"GLOBALS"}["ttsfxhctpwy"]="month";${"GLOBALS"}["sconbmpjh"]="root_directory";${"GLOBALS"}["sxircmpzvi"]="whatsappFolderPath";${"GLOBALS"}["ornyswzi"]="week";${"GLOBALS"}["ulrcipks"]="day";${"GLOBALS"}["ebihdwb"]="year";${"GLOBALS"}["njntigf"]="configureUserid";${"GLOBALS"}["xpgvpkjnl"]="auth_token";${"GLOBALS"}["ceicdk"]="api_url";${"GLOBALS"}["ahpypvo"]="whatsaAppRow";${"GLOBALS"}["wligkznrmaq"]="whatsappNumber";${"GLOBALS"}["nkpcegje"]="getConfigurationDatasQuery";${"GLOBALS"}["ottddezkjf"]="whatsaAppRows";${"GLOBALS"}["rqgiga"]="getConfigurationDataQuery";${"GLOBALS"}["rxrorla"]="fileURL";${"GLOBALS"}["egxpwtszuqk"]="base64imagedata";${"GLOBALS"}["wbfuymcbe"]="moduleRecordid";${"GLOBALS"}["dbmngiq"]="msgbody";${"GLOBALS"}["ybeffxuekyyf"]="mobileno";${"GLOBALS"}["nudnnntq"]="wptemplateid";${"GLOBALS"}["dygdgjhqvma"]="replyMessageId";${"GLOBALS"}["habffbhqyzi"]="niddle";${"GLOBALS"}["ophdru"]="Number";${"GLOBALS"}["bntvmhoivueb"]="whatsappAllNumbers";${"GLOBALS"}["njotxmibdte"]="allNumber";${"GLOBALS"}["dissknbyh"]="allUserId";${"GLOBALS"}["maqgwow"]="getnumbesrQuery";${"GLOBALS"}["mjxlmfuq"]="getnumbesrquery";${"GLOBALS"}["yvblugqcmv"]="mainUserRows";${"GLOBALS"}["vdajojpt"]="mainUserQeury";${"GLOBALS"}["yyvmhfs"]="row1";${"GLOBALS"}["jtfqtfddsuot"]="query1";${"GLOBALS"}["mdivdlk"]="k";${"GLOBALS"}["jswhwie"]="groupRows";${"GLOBALS"}["ruiaeyd"]="whatsappstatus";${"GLOBALS"}["nfcxjul"]="whatsappno";${"GLOBALS"}["wknbcezcqoi"]="userid";${"GLOBALS"}["yvnjfrbown"]="getnumberquery";${"GLOBALS"}["upbnbfcilcen"]="multiple_userid";${"GLOBALS"}["ueqwfzvnuo"]="whatsappNumbers";${"GLOBALS"}["kgswbnbqngjh"]="commentModuleEnable";${"GLOBALS"}["kglvalv"]="sourceModuleTabid";${"GLOBALS"}["xdvixhuzq"]="enableCommentQuery";${"GLOBALS"}["zblrfkvlf"]="commentTabid";${"GLOBALS"}["woxepnt"]="modCommentQuery";${"GLOBALS"}["ernfooxlf"]="whatsappMessages";${"GLOBALS"}["jrhgdjsfyh"]="whatsappQuery";${"GLOBALS"}["jlwjdonyb"]="unreadArray";${"GLOBALS"}["rqkjbwdmej"]="individulMessage";${"GLOBALS"}["hmywxuikqnp"]="style";${"GLOBALS"}["vgorlrcqlcn"]="senderName";${"GLOBALS"}["ntefpowlwlxy"]="ctwhatsappId";${"GLOBALS"}["yxfngospdgjo"]="queryResult";${"GLOBALS"}["swwwsmwllfl"]="lastMessageID";${"GLOBALS"}["lguqhfgl"]="record";${"GLOBALS"}["ecqswuvoh"]="getRelatedFieldNameQuery";${"GLOBALS"}["dxruennoklv"]="relatedFieldName";${"GLOBALS"}["eilakudir"]="getModuleNameQuery";${"GLOBALS"}["dlvcwro"]="relatedModuleTabid";${"GLOBALS"}["phxnjokirbgf"]="j";${"GLOBALS"}["xpenyvdf"]="getRelatedModuleQuery";${"GLOBALS"}["ginyqzgfutus"]="relatedModulesRows";${"GLOBALS"}["znkigmmpe"]="moreCommentLink";${"GLOBALS"}["mkfihsyxqro"]="smownerid";${"GLOBALS"}["xaasgvmqkx"]="createdtime";${"GLOBALS"}["ystbvgwvkw"]="commentcontent";${"GLOBALS"}["wxinveqjee"]="commentHTML";${"GLOBALS"}["drwawatfueb"]="comments";${"GLOBALS"}["fabntfltgx"]="pagingModel";${"GLOBALS"}["shjnkyvvhvn"]="menuicon";${"GLOBALS"}["rsffbraf"]="whatsappMessage";${"GLOBALS"}["jmpqdwdl"]="relatedtotask";${"GLOBALS"}["zcsujikz"]="fileExts";${"GLOBALS"}["jowwehloacbq"]="taskstyle";${"GLOBALS"}["oktfnsufkg"]="menuwidth";${"GLOBALS"}["ibvvxzbglna"]="messageSenderame";${"GLOBALS"}["ebplpxiswt"]="whatsappScanNo";${"GLOBALS"}["wrqqsfvnwln"]="expolodeFilename";${"GLOBALS"}["muffuwjjg"]="lenth";${"GLOBALS"}["mlcsddbvug"]="whatsapp_chatid";${"GLOBALS"}["lxhvyujkcu"]="groupMembersHTML";${"GLOBALS"}["sdftwzui"]="whatsapp_contactid";${"GLOBALS"}["ufxonankppu"]="manualtransfer";${"GLOBALS"}["ewtpbdgsvtq"]="customfield1";${"GLOBALS"}["glwnqbgbgs"]="ModCommentsEnable";${"GLOBALS"}["kosiotfsr"]="recentComments";${"GLOBALS"}["zxcgunapu"]="createTaskMessage";${"GLOBALS"}["xhkwhhw"]="notReplyWhatsapp";${"GLOBALS"}["bzdjfp"]="totalReceived";${"GLOBALS"}["uujohzcem"]="messageReadUnRead";${"GLOBALS"}["mokfecsyxwd"]="quotemessage";${"GLOBALS"}["loziibgsmg"]="ctWhatsappId";${"GLOBALS"}["fhpypcfsupc"]="replyMessageHTML";${"GLOBALS"}["gkbrmbdekp"]="messageType";${"GLOBALS"}["sjpcvrpwotj"]="createdTime";${"GLOBALS"}["xlugafkwwgw"]="whatsAppFileName";${"GLOBALS"}["elxrbclqcmf"]="copyMessage";${"GLOBALS"}["bhpqyuygq"]="excelExts";${"GLOBALS"}["lbauoyndx"]="urlExt";${"GLOBALS"}["lynmouvw"]="messageBody";${"GLOBALS"}["wyqmlwk"]="documentBody";${"GLOBALS"}["rzynmifhui"]="msgid";${"GLOBALS"}["kxhtbqhe"]="getNumberDetails";${"GLOBALS"}["fyjobvle"]="getNumberUsername";${"GLOBALS"}["qourxve"]="your_number";${"GLOBALS"}["zdjsennq"]="isGroup";${"GLOBALS"}["jnxfqqlekp"]="wordlExts";${"GLOBALS"}["sglklk"]="mp3Exts";${"GLOBALS"}["jnypnxbsroxp"]="pdfExts";${"GLOBALS"}["lpgsntbmqe"]="imgExts";${"GLOBALS"}["binxbdid"]="customQuery";${"GLOBALS"}["xeepvldsw"]="userID";${"GLOBALS"}["ftzlmwaro"]="preQuestionDetail";${"GLOBALS"}["yhvmtvduqb"]="roboticmodeQuery";${"GLOBALS"}["gbiqjgm"]="moduleIsEnable";${"GLOBALS"}["isnhqvhnsab"]="moduleRecrodData";${"GLOBALS"}["wlqfpdxcyal"]="activeBot";${"GLOBALS"}["ruffshepnl"]="getBotMobile";${"GLOBALS"}["vjslflqvuhu"]="moduleURL";${"GLOBALS"}["xhtihoijbqj"]="relatedModuleHTML";${"GLOBALS"}["teodzle"]="relatedModule";${"GLOBALS"}["kpvucjbcne"]="key";${"GLOBALS"}["wewoptm"]="relatedModules";${"GLOBALS"}["ozkqultlznnb"]="keyFieldsHTML";${"GLOBALS"}["jurbitsgzg"]="getgroup";${"GLOBALS"}["xtmphilnsg"]="grouprows";${"GLOBALS"}["kiyfdey"]="getusername";${"GLOBALS"}["mmvenbkljei"]="fieldvalue";${"GLOBALS"}["vbvktqwlla"]="fieldlabel";${"GLOBALS"}["zpeusfkwe"]="commentModule";${"GLOBALS"}["kepycsfylh"]="keyFields";${"GLOBALS"}["rzfncopxxx"]="messageImportant";${"GLOBALS"}["flhpypxvnfn"]="getWhatsappMessages";${"GLOBALS"}["girhvs"]="totalSent";${"GLOBALS"}["lwrsnxv"]="whatsappMessageHTML";${"GLOBALS"}["jlrfghi"]="whatsappModule";${"GLOBALS"}["ikgxdif"]="phoneFieldData";${"GLOBALS"}["wnskhdyyjgl"]="phone";${"GLOBALS"}["weccyvxqlu"]="moduleRecordData";${"GLOBALS"}["fnfsjpuh"]="imagePath";${"GLOBALS"}["hmyikcjb"]="imageId";${"GLOBALS"}["uouwueon"]="imageName";${"GLOBALS"}["rvxtcpfrkxxc"]="imageOriginalName";${"GLOBALS"}["jxiorsabein"]="sql";${"GLOBALS"}["leslehffof"]="imageDetails";${"GLOBALS"}["hixzeocl"]="whatsappData";${"GLOBALS"}["myqchopdcyk"]="dateTime";${"GLOBALS"}["nniepebkst"]="body";${"GLOBALS"}["ruxcxxib"]="totalDays";${"GLOBALS"}["jpkximzmw"]="allMessageQuery";${"GLOBALS"}["ymbxqpd"]="unreadCount";${"GLOBALS"}["nvqealshokvk"]="phonenumber";${"GLOBALS"}["osvkvgrclyb"]="permissionRecord";${"GLOBALS"}["emwkqyhays"]="actionName";${"GLOBALS"}["hkriod"]="avgMessageDay";${"GLOBALS"}["brzsrmtczv"]="messageData";${"GLOBALS"}["idbtuvkdlk"]="imagetag";${"GLOBALS"}["jfoumwmsddwz"]="unreadMessageCount";${"GLOBALS"}["wzqbscvjj"]="newMessagearray";${"GLOBALS"}["gsidquksjb"]="important";${"GLOBALS"}["mtkpqepkr"]="responsecustomerNumber";${"GLOBALS"}["tkualpsyt"]="responseRows";${"GLOBALS"}["ycdsipzm"]="responseQuery";${"GLOBALS"}["phaoobc"]="allnumber";${"GLOBALS"}["fkxxvl"]="inNumber";${"GLOBALS"}["djrfncfnyvu"]="whatsAppAllNumber";${"GLOBALS"}["rnobyrow"]="temporaryQuery";${"GLOBALS"}["xjsxhq"]="customUnreadQuery";${"GLOBALS"}["dfmabbjt"]="searchInnerQuery";${"GLOBALS"}["ggkurvrg"]="deleted";${"GLOBALS"}["angfxwt"]="response";${"GLOBALS"}["uwqncrqp"]="index";${"GLOBALS"}["stlvek"]="html";${"GLOBALS"}["nbcxfxp"]="bydefaulOpenChat";${"GLOBALS"}["fymimqw"]="count";${"GLOBALS"}["hcvguwari"]="serach";${"GLOBALS"}["fmysjse"]="whatsaappModuleData";${"GLOBALS"}["yeulyopwayi"]="groupWhatsappNumber";${"GLOBALS"}["pjpjnfd"]="start";${"GLOBALS"}["hpqhye"]="end";${"GLOBALS"}["zilmlfqz"]="moduleMessages";${"GLOBALS"}["xqiqrxoi"]="importantMessages";${"GLOBALS"}["jbkglfqkknae"]="whatsappmodule";${"GLOBALS"}["ccrllusxuoyo"]="moduleName";${"GLOBALS"}["owwkxj"]="unknownRows";${"GLOBALS"}["fmybgxrt"]="allUnknownquery";${"GLOBALS"}["lvaruwdfs"]="allUnknownRows";${"GLOBALS"}["eidzhji"]="row";${"GLOBALS"}["asevlfvwzy"]="allUnreadMessageCount";${"GLOBALS"}["ysiwjuruzd"]="result";${"GLOBALS"}["lrfyjpc"]="numOfRows";${"GLOBALS"}["lrsqopeothl"]="relatedRecordId";${"GLOBALS"}["uqvjsei"]="delete";${"GLOBALS"}["oyuprils"]="unreadQuery";${"GLOBALS"}["irzpecsgxg"]="mainTable";${"GLOBALS"}["gkqlbqw"]="baseTable";${"GLOBALS"}["ovttyyo"]="query";${"GLOBALS"}["qhbtionuk"]="tablename";${"GLOBALS"}["rarxevhnmyv"]="tablenameid";${"GLOBALS"}["ymqtxfe"]="phoneTableQuery";${"GLOBALS"}["kkolxiatej"]="getRecordPermissionQuery";${"GLOBALS"}["odyckrxkk"]="permission";${"GLOBALS"}["wihfdtjxrf"]="tabid";${"GLOBALS"}["bdkjpmy"]="modulename";${"GLOBALS"}["twpjdidl"]="searchQuery";${"GLOBALS"}["smfcwf"]="searchValue";${"GLOBALS"}["fxodtoudrl"]="baseTableid";${"GLOBALS"}["mqpimjbfrmb"]="moduleInstance";${"GLOBALS"}["bfnhuqje"]="moduleModel";${"GLOBALS"}["nrzvoykiord"]="getAllowModule";${"GLOBALS"}["wtgpqei"]="moduleQuery";${"GLOBALS"}["iuswogif"]="currentUserModel";${"GLOBALS"}["ikhjdprmt"]="data";${"GLOBALS"}["pofxyiwoe"]="module";${"GLOBALS"}["xdlzlhdqocwp"]="rows";${"GLOBALS"}["sjkcsassiyo"]="whatsaappModule";${"GLOBALS"}["jjkirve"]="whatsappModuleQuery";${"GLOBALS"}["cfjxdtn"]="queryGroupExist";${"GLOBALS"}["hxezvqnwm"]="groupid";${"GLOBALS"}["xkfegcbvayw"]="currentUserID";${"GLOBALS"}["jlnzlgscx"]="numRowsUsers";${"GLOBALS"}["rbcfymmw"]="queryUserExist";${"GLOBALS"}["vsohmeyt"]="scanWhatsappNumber";${"GLOBALS"}["tmeercqyqsrd"]="iconactive";${"GLOBALS"}["mxpsxpnysg"]="inappNotification";${"GLOBALS"}["yivuvfugj"]="currentdate";${"GLOBALS"}["kxekotiq"]="num_rows";${"GLOBALS"}["eiimhhxd"]="whatsappModuleData";${"GLOBALS"}["nkjyfevoj"]="massMessageAccess";${"GLOBALS"}["vgdjkkcjvdiq"]="massMessageAccessUsers";${"GLOBALS"}["wzlfmmdxyvg"]="whatsappUserBeep";${"GLOBALS"}["emahbrt"]="licenseExpire";${"GLOBALS"}["sntiipyhjd"]="phoneField";${"GLOBALS"}["ggqkvrosffb"]="moduleIconActive";${"GLOBALS"}["nobkhohp"]="allwModules";${"GLOBALS"}["defgvuw"]="moduleMassMessage";${"GLOBALS"}["vnrmxdnehtkh"]="sourceModule";${"GLOBALS"}["xtssstwjo"]="action";${"GLOBALS"}["wsltnmekmh"]="date";${"GLOBALS"}["trwktlv"]="getexpiredate";${"GLOBALS"}["fwofebmrywi"]="expirydate";${"GLOBALS"}["jyokrfxq"]="picStyle2";${"GLOBALS"}["lytlro"]="imageTag";${"GLOBALS"}["ieqfnwig"]="labelExplode";${"GLOBALS"}["sykaowyh"]="profileImage";${"GLOBALS"}["kpaifztojnc"]="setype";${"GLOBALS"}["tjjxla"]="recordModel";${"GLOBALS"}["qwoktwwcbt"]="recordId";${"GLOBALS"}["jvlxpqyxtb"]="deleteRecord";${"GLOBALS"}["cceauxik"]="lastDateTime";${"GLOBALS"}["irxbzrgowka"]="lastBody";${"GLOBALS"}["rolyevqlvn"]="messagename";${"GLOBALS"}["numbkbbhqc"]="individulMessageID";${"GLOBALS"}["ybykeflqsm"]="class";${"GLOBALS"}["xklalyy"]="label";${"GLOBALS"}["lipugdow"]="messageReadUnread";${"GLOBALS"}["fxrxfzru"]="notificationHTML";${"GLOBALS"}["uyychmnn"]="unreadmsgQuery";${"GLOBALS"}["mstjnbdsz"]="unreadCountRow";${"GLOBALS"}["wxmulmjvld"]="unreadCountCounts";${"GLOBALS"}["pragmjfeo"]="inNumberQuery";${"GLOBALS"}["gnecbqmjw"]="inLogNumberQuery";${"GLOBALS"}["gzuswbb"]="divStyle";${"GLOBALS"}["tswsiqc"]="picStyle1";${"GLOBALS"}["pducllxobyxt"]="themeView";${"GLOBALS"}["seejbw"]="allUserNumber";${"GLOBALS"}["bievehorehl"]="whatsappStatus";${"GLOBALS"}["mwokxmtnvu"]="apiurl";${"GLOBALS"}["egwuxnjjpv"]="currenUserID";${"GLOBALS"}["iimykgn"]="configurationData";${"GLOBALS"}["pixhudyf"]="existGroup";${"GLOBALS"}["yxksumx"]="value";${"GLOBALS"}["faobnrhqdgot"]="queryGetGroupId";${"GLOBALS"}["vlkbkayeow"]="numRows";${"GLOBALS"}["cwvmeccvnxhx"]="usersGroups";${"GLOBALS"}["aovfhdlfyuge"]="allUsers";${"GLOBALS"}["varbufd"]="i";${"GLOBALS"}["uhrbpdbvjsx"]="getUserGroups";${"GLOBALS"}["lmhnvpwatkt"]="getUserGrous";${"GLOBALS"}["hsdbxd"]="isAdmin";class CTWhatsApp_Record_Model extends Vtiger_Record_Model{public function getWhatsappIcon($sourceModule){${"GLOBALS"}["kprtpgkk"]="currentdate";${"GLOBALS"}["dmqhinymmg"]="currenUserID";$qszowprjo="inNumberQuery";${"GLOBALS"}["qjwmzhuanlmv"]="roleID";${"GLOBALS"}["pruivhkbz"]="currenUserID";global$adb,$current_user;${"GLOBALS"}["gxwvhqyr"]="getUserGrous";$yclsmpuwvf="iconactive";${"GLOBALS"}["qqfelgqcbur"]="configurationData";${${"GLOBALS"}["pruivhkbz"]}=$current_user->id;${"GLOBALS"}["cqtslnlnur"]="unreadmsgCountsQuery";${"GLOBALS"}["marstski"]="i";${"GLOBALS"}["vlfied"]="multipleWahtsapp";${${"GLOBALS"}["hsdbxd"]}=$current_user->is_admin;${"GLOBALS"}["xjdbbjp"]="inLogNumberQuery";$qhabettbjwdp="userid";${"GLOBALS"}["mfpeisy"]="usersGroups";${${"GLOBALS"}["qjwmzhuanlmv"]}=$current_user->roleid;${"GLOBALS"}["skyqasguvek"]="allwModules";${"GLOBALS"}["oxlviphenyro"]="i";$ovockrb="inappNotification";$iilbsjlj="userid";${${"GLOBALS"}["lmhnvpwatkt"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration");$abkfkisfbq="unreadmsgCountsQuery";${"GLOBALS"}["nqhosvmz"]="scanWhatsappNumber";${"GLOBALS"}["rqwqxir"]="currenUserID";${${"GLOBALS"}["vlfied"]}=$adb->query_result(${${"GLOBALS"}["gxwvhqyr"]},0,"customfield4");${"GLOBALS"}["uxfoqbrvbc"]="allwModules";${"GLOBALS"}["ursttdngh"]="multipleWahtsapp";${"GLOBALS"}["ugdtvsxsfyhl"]="getexpiredate";if(${${"GLOBALS"}["ursttdngh"]}=="multipleWhatsapp"){$ppcabgoltvj="allUsers";${"GLOBALS"}["qyjzlr"]="userrows";${"GLOBALS"}["cdhenmubf"]="userrows";${${"GLOBALS"}["uhrbpdbvjsx"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers INNER JOIN vtiger_ctwhatsapp_user_groups ON vtiger_ctwhatsapp_user_groups.userid = vtiger_ctwhatsappusers.customfield5 WHERE vtiger_ctwhatsapp_user_groups.active = 1");${${"GLOBALS"}["cdhenmubf"]}=$adb->num_rows(${${"GLOBALS"}["uhrbpdbvjsx"]});${"GLOBALS"}["olpmarefvs"]="usersGroups";${$ppcabgoltvj}="";for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["qyjzlr"]};${${"GLOBALS"}["varbufd"]}++){$jjdxfrcu="allUsers";${"GLOBALS"}["fdgyhuwepf"]="allUsers";${$jjdxfrcu}.=$adb->query_result(${${"GLOBALS"}["uhrbpdbvjsx"]},${${"GLOBALS"}["varbufd"]},"userid").",";${${"GLOBALS"}["fdgyhuwepf"]}.=$adb->query_result(${${"GLOBALS"}["uhrbpdbvjsx"]},${${"GLOBALS"}["varbufd"]},"multiple_userid").",";}${${"GLOBALS"}["olpmarefvs"]}=explode(",",${${"GLOBALS"}["aovfhdlfyuge"]});}else{${"GLOBALS"}["stohxyz"]="getUserGrous";${${"GLOBALS"}["cwvmeccvnxhx"]}=explode(",",$adb->query_result(${${"GLOBALS"}["stohxyz"]},0,"users_groups"));}${"GLOBALS"}["tkbcpnmpppe"]="currenUserID";$wqrxojbr="configurationData";${$iilbsjlj}=in_array(${${"GLOBALS"}["dmqhinymmg"]},${${"GLOBALS"}["mfpeisy"]});$uqtyqlbjbtgz="scanWhatsappNumber";$vniftsmmqd="apiurl";$rftgmsx="licenseKey";if(${$qhabettbjwdp}){$rqkoqbq="num_rows";${$rqkoqbq}=1;}else{$guqkpouucjg="queryGetGroupId";${"GLOBALS"}["pukvafuelst"]="queryGetGroupId";$qhpexy="key";$tuydkvixtyr="groupid";${"GLOBALS"}["uuxxglj"]="currenUserID";${"GLOBALS"}["qvmtxd"]="i";${$guqkpouucjg}=$adb->pquery("SELECT * FROM vtiger_users2group WHERE userid = ?",array(${${"GLOBALS"}["uuxxglj"]}));${${"GLOBALS"}["vlkbkayeow"]}=$adb->num_rows(${${"GLOBALS"}["pukvafuelst"]});for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["qvmtxd"]}<${${"GLOBALS"}["vlkbkayeow"]};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["fbdmrnsvxlrh"]="groupid";${${"GLOBALS"}["fbdmrnsvxlrh"]}[]=$adb->query_result(${${"GLOBALS"}["faobnrhqdgot"]},${${"GLOBALS"}["varbufd"]},"groupid");}foreach(${$tuydkvixtyr} as${$qhpexy}=>${${"GLOBALS"}["yxksumx"]}){${"GLOBALS"}["kpcbnqd"]="existGroup";$pguchguncgu="value";${${"GLOBALS"}["kpcbnqd"]}=in_array(${$pguchguncgu},${${"GLOBALS"}["cwvmeccvnxhx"]});if(${${"GLOBALS"}["pixhudyf"]}){$mvlvchfol="num_rows";${$mvlvchfol}=1;break;}else{${"GLOBALS"}["rcvrklc"]="num_rows";${${"GLOBALS"}["rcvrklc"]}=0;}}}$sqywciysul="configurationData";${${"GLOBALS"}["iimykgn"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["egwuxnjjpv"]});$vyxbnndinjz="currentdate";${$vniftsmmqd}=str_replace("/api/","",${${"GLOBALS"}["qqfelgqcbur"]}["api_url"]);${"GLOBALS"}["pfqmew"]="configurationData";$tyrlowv="apiUrl";${$tyrlowv}=${${"GLOBALS"}["mwokxmtnvu"]}."/".${${"GLOBALS"}["iimykgn"]}["authtoken"];${$yclsmpuwvf}=${${"GLOBALS"}["iimykgn"]}["iconactive"];${$ovockrb}=${$wqrxojbr}["inapp_notification"];$silteorvthht="i";${$uqtyqlbjbtgz}=${${"GLOBALS"}["pfqmew"]}["whatsappno"];${"GLOBALS"}["ykcfjjgnyxl"]="unreadmsgQuery";${${"GLOBALS"}["bievehorehl"]}=${$sqywciysul}["whatsappstatus"];${"GLOBALS"}["pbxjsrft"]="unreadCountCounts";${${"GLOBALS"}["seejbw"]}=CTWhatsApp_Record_Model::getAllUserWhatsappNumber(${${"GLOBALS"}["egwuxnjjpv"]});if(is_null(${${"GLOBALS"}["nqhosvmz"]})){$ydkjjnlvxko="scanWhatsappNumber";${$ydkjjnlvxko}="-";}${${"GLOBALS"}["pducllxobyxt"]}=CTWhatsApp_Record_Model::getWhatsappTheme();if(${${"GLOBALS"}["pducllxobyxt"]}=="RTL"){${"GLOBALS"}["qxuxerfi"]="picStyle2";${${"GLOBALS"}["tswsiqc"]}="margin: 0px 0px 0px 10px;float: right;";${"GLOBALS"}["mldkqpqkq"]="timeStyle";${${"GLOBALS"}["qxuxerfi"]}="margin: 0px 0px 0px 10px;float: right;";${${"GLOBALS"}["gzuswbb"]}="style='direction: rtl;text-align: right;'";${${"GLOBALS"}["mldkqpqkq"]}="float: left;direction: ltr;";}else{${"GLOBALS"}["ehhiqsvcrf"]="picStyle2";${${"GLOBALS"}["tswsiqc"]}="margin: 0px 19px 0px 0px;float: left;";${${"GLOBALS"}["ehhiqsvcrf"]}="margin: 0px 19px 0px 0px;float: left;";${${"GLOBALS"}["gzuswbb"]}="";$ffjlckdfnh="timeStyle";${$ffjlckdfnh}="float: right;";}${$qszowprjo}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["egwuxnjjpv"]});$zlbxekjr="allwModules";${${"GLOBALS"}["gnecbqmjw"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"GLOBALS"}["rqwqxir"]});${${"GLOBALS"}["cqtslnlnur"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
          WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread' AND vtiger_ctwhatsapp.message_type = 'Recieved' AND vtiger_ctwhatsapp.whatsapp_withccode != 'Groups' ".${${"GLOBALS"}["pragmjfeo"]});${${"GLOBALS"}["wxmulmjvld"]}=$adb->num_rows(${$abkfkisfbq});if(${${"GLOBALS"}["pbxjsrft"]}==""){${${"GLOBALS"}["wxmulmjvld"]}=0;}${${"GLOBALS"}["ykcfjjgnyxl"]}=$adb->pquery("SELECT vtiger_whatsapplog.whatsapplog_contactid, vtiger_whatsapplog.whatsapplog_unreadread, vtiger_whatsapplog.whatsapplog_withccode, vtiger_whatsapplog.messagelog_body, vtiger_whatsapplog.whatsapplog_datetime, vtiger_whatsapplog.whatsapplog_sendername FROM vtiger_whatsapplog
        INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
        INNER JOIN (SELECT ct2.whatsapplog_withccode , MAX(ct2.whatsapplogid) AS maxid FROM vtiger_whatsapplog ct2 GROUP BY ct2.whatsapplog_msgid) ct3 ON (vtiger_whatsapplog.whatsapplogid = ct3.maxid) WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["xjdbbjp"]}."  ORDER BY vtiger_whatsapplog.whatsapplog_datetime DESC LIMIT 0, 5");${${"GLOBALS"}["mstjnbdsz"]}=$adb->num_rows(${${"GLOBALS"}["uyychmnn"]});${${"GLOBALS"}["fxrxfzru"]}="";for(${${"GLOBALS"}["marstski"]}=0;${$silteorvthht}<${${"GLOBALS"}["mstjnbdsz"]};${${"GLOBALS"}["oxlviphenyro"]}++){${"GLOBALS"}["fodncgfbra"]="recordId";$ljmfhfjqdwj="i";${"GLOBALS"}["ydntnj"]="recordId";$rfgsbqqqeyqb="unreadmsgQuery";${${"GLOBALS"}["fodncgfbra"]}=$adb->query_result(${${"GLOBALS"}["uyychmnn"]},${$ljmfhfjqdwj},"whatsapplog_contactid");${${"GLOBALS"}["lipugdow"]}=$adb->query_result(${$rfgsbqqqeyqb},${${"GLOBALS"}["varbufd"]},"whatsapplog_unreadread");if(${${"GLOBALS"}["ydntnj"]}==""){$nxnydrgfm="unreadmsgQuery";$ubfklgcjsq="notificationHTML";${"GLOBALS"}["yqhsolhrl"]="i";$eynprosc="messagename";${"GLOBALS"}["dxzngyl"]="class";$fmsispceut="individulMessageID";${"GLOBALS"}["mgqfptx"]="imageIcon";${"GLOBALS"}["gbvewjtgysc"]="label";${"GLOBALS"}["jgrsygw"]="lastBody";${${"GLOBALS"}["xklalyy"]}=$adb->query_result(${${"GLOBALS"}["uyychmnn"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_withccode");${${"GLOBALS"}["jgrsygw"]}=$adb->query_result(${$nxnydrgfm},${${"GLOBALS"}["varbufd"]},"messagelog_body");$xrvpbsvdiqw="lastDateTime";${"GLOBALS"}["wgvyhzvyrts"]="timeStyle";${$xrvpbsvdiqw}=$adb->query_result(${${"GLOBALS"}["uyychmnn"]},${${"GLOBALS"}["yqhsolhrl"]},"whatsapplog_datetime");if(${${"GLOBALS"}["gbvewjtgysc"]}!="Groups"){${"GLOBALS"}["ggjykjvqh"]="individulMessageID";$tvewuugdzvvq="unreadmsgQuery";${"GLOBALS"}["pbdyptvzttp"]="imageIcon";${${"GLOBALS"}["ggjykjvqh"]}="id=\"whatsapp\"";${${"GLOBALS"}["ybykeflqsm"]}="";${"GLOBALS"}["wliwcdyohjf"]="messagename";${${"GLOBALS"}["pbdyptvzttp"]}="layouts/v7/modules/CTWhatsApp/image/AvtarIcon.png";${${"GLOBALS"}["wliwcdyohjf"]}=$adb->query_result(${$tvewuugdzvvq},${${"GLOBALS"}["varbufd"]},"whatsapplog_withccode");}else{$rslxjynrr="imageIcon";$icioociovuql="i";$fmksgceehxur="unreadmsgQuery";${${"GLOBALS"}["numbkbbhqc"]}="";${${"GLOBALS"}["ybykeflqsm"]}="receivednewmessages";${$rslxjynrr}="layouts/v7/modules/CTWhatsApp/image/groups.png";${${"GLOBALS"}["rolyevqlvn"]}=$adb->query_result(${$fmksgceehxur},${$icioociovuql},"whatsapplog_sendername");}${$ubfklgcjsq}.="<li class="whatsapp_new_messages ".${${"GLOBALS"}["dxzngyl"]}."" ".${$fmsispceut}." data-recordid="".${${"GLOBALS"}["xklalyy"]}."" style=\"width: 100%;display: inline-block;float: left;border-bottom: 1px solid rgb(44 59 73 / 15%);\">
                <a href="#\" style="padding: 10px 10px !important;color: #333 !important;display: inline-block;float: left;width: 100%;\">
                <div class="pic\" style="display: inline-block;padding-right: 10px;width: 50px;height: 50px;border-radius: 50%;box-shadow: 0 0 5px rgb(68 80 100 / 0.25);max-width: 36px;max-height : 36px;margin : 0;".${${"GLOBALS"}["tswsiqc"]}."">
                <img src=\"".${${"GLOBALS"}["mgqfptx"]}."\" style=\"width: 40px;max-width: 36px;max-height : 36px;margin : 0;border-radius: 50%;background: #4ebb46;\"/>
                </div>
                <div ".${${"GLOBALS"}["gzuswbb"]}.">
                <span class=\""><b style="font-size: 14px; !important;font-size: 14px;overflow: hidden;text-overflow: ellipsis;display: inline-block;position: relative;top: 6px;width: 230px;\">".${$eynprosc}."</b></span>
                <p style=\"max-width: 300px;font-size: 12px;max-width: 200px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">";if(${${"GLOBALS"}["lipugdow"]}=="Unread"){${"GLOBALS"}["fujssysxcg"]="notificationHTML";${${"GLOBALS"}["fujssysxcg"]}.="<b>".${${"GLOBALS"}["irxbzrgowka"]}."</b>";}else{${${"GLOBALS"}["fxrxfzru"]}.=${${"GLOBALS"}["irxbzrgowka"]};}${${"GLOBALS"}["fxrxfzru"]}.="</p>
                <span class="\" style="font-size: 12px;line-height: 16px;font-weight: 400;display: block;".${${"GLOBALS"}["wgvyhzvyrts"]}."\">".Vtiger_Util_Helper::formatDateDiffInStrings(${${"GLOBALS"}["cceauxik"]})."</span>
                </div>
                </a>
                </li>";}else{$qyvniixeq="setype";$dxbniwf="recordId";${"GLOBALS"}["ijenandkux"]="setype";${$qyvniixeq}=VtigerCRMObject::getSEType(${$dxbniwf});${${"GLOBALS"}["jvlxpqyxtb"]}=CTWhatsApp_Record_Model::recordDelete(${${"GLOBALS"}["qwoktwwcbt"]});if(Users_Privileges_Model::isPermitted(${${"GLOBALS"}["ijenandkux"]},"EditView",${${"GLOBALS"}["qwoktwwcbt"]})){$xyjuxujp="deleteRecord";if(${$xyjuxujp}==0){${"GLOBALS"}["prwasqjkmp"]="profileImage";${"GLOBALS"}["jsrwyspfik"]="notificationHTML";${"GLOBALS"}["pvyiwccchcln"]="i";$yiqsefyyxyo="lastDateTime";${"GLOBALS"}["ejhppbtrqu"]="unreadmsgQuery";$yyhmyrjp="divStyle";$dymibmxrsfh="imageTag";${"GLOBALS"}["qrcwqwx"]="recordId";$izsadmu="unreadmsgQuery";$lngpnt="setype";$dqdmgsj="lastDateTime";if(${${"GLOBALS"}["qwoktwwcbt"]}){$idhgkitlzql="recordId";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${$idhgkitlzql},${${"GLOBALS"}["kpaifztojnc"]});${${"GLOBALS"}["xklalyy"]}=$recordModel->get("label");}${"GLOBALS"}["jlbhxmmv"]="imageTag";${${"GLOBALS"}["prwasqjkmp"]}=CTWhatsApp_Record_Model::getImageDetails(${${"GLOBALS"}["qrcwqwx"]},${$lngpnt});$jbkvhmqnvjo="lastBody";${"GLOBALS"}["qynwvlwfijk"]="messageReadUnread";${$dymibmxrsfh}=1;if(${${"GLOBALS"}["sykaowyh"]}==""){${"GLOBALS"}["pjujfqfejqej"]="labelExplode";${"GLOBALS"}["yercefw"]="labelExplode";${${"GLOBALS"}["pjujfqfejqej"]}=explode(" ",${${"GLOBALS"}["xklalyy"]});${${"GLOBALS"}["sykaowyh"]}=mb_substr(${${"GLOBALS"}["ieqfnwig"]}[0],0,1,"UTF-8").mb_substr(${${"GLOBALS"}["yercefw"]}[1],0,1,"UTF-8");${${"GLOBALS"}["lytlro"]}=0;}${$jbkvhmqnvjo}=$adb->query_result(${${"GLOBALS"}["ejhppbtrqu"]},${${"GLOBALS"}["varbufd"]},"messagelog_body");${$yiqsefyyxyo}=$adb->query_result(${$izsadmu},${${"GLOBALS"}["pvyiwccchcln"]},"whatsapplog_datetime");${${"GLOBALS"}["fxrxfzru"]}.="<li class="whatsapp_new_messages\" id="whatsapp" data-recordid=\"".${${"GLOBALS"}["qwoktwwcbt"]}."\" data-setype="".${${"GLOBALS"}["kpaifztojnc"]}."\" style=\"width: 100%;display: inline-block;float: left;border-bottom: 1px solid rgb(44 59 73 / 15%);">
                        <a href="#" style="padding: 10px 10px !important;color: #333 !important;display: inline-block;float: left;width: 100%;">
                        <div class=\"pic" style="display: inline-block;float: left; width: 36px;height: 36px;border-radius: 50%;box-shadow: 0 0 5px rgb(68 80 100 / 0.25); ".${${"GLOBALS"}["jyokrfxq"]}." text-align: center; color: #4ebb46;">";if(${${"GLOBALS"}["jlbhxmmv"]}==1){${${"GLOBALS"}["fxrxfzru"]}.="<img src="".${${"GLOBALS"}["sykaowyh"]}."\" style=\" width: 100%;margin: 0;height: 100%;border-radius: 50%;"/>";}else{${"GLOBALS"}["bkocefe"]="profileImage";${${"GLOBALS"}["fxrxfzru"]}.="<span class=\"imagename" id="imagename\" style="font-size: 15px;line-height: 36px;\"><b>".${${"GLOBALS"}["bkocefe"]}."</b></span>";}${"GLOBALS"}["clzlpug"]="timeStyle";${${"GLOBALS"}["jsrwyspfik"]}.="</div>
                        <div  ".${$yyhmyrjp}.">
                        <span class=""><b style="font-size: 14px; !important;font-size: 14px;overflow: hidden;text-overflow: ellipsis;display: inline-block;position: relative;top: 6px;width: 230px;">".${${"GLOBALS"}["xklalyy"]}."</b></span>
                        <p style=\"max-width: 300px;font-size: 12px;max-width: 200px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">";if(${${"GLOBALS"}["qynwvlwfijk"]}=="Unread"){${"GLOBALS"}["powwofyl"]="lastBody";${${"GLOBALS"}["fxrxfzru"]}.="<b>".${${"GLOBALS"}["powwofyl"]}."</b>";}else{${${"GLOBALS"}["fxrxfzru"]}.=${${"GLOBALS"}["irxbzrgowka"]};}${${"GLOBALS"}["fxrxfzru"]}.="</p>
                        </p>
                        <span class="\" style="font-size: 12px;line-height: 16px;font-weight: 400;display: block;".${${"GLOBALS"}["clzlpug"]}."\">".Vtiger_Util_Helper::formatDateDiffInStrings(${$dqdmgsj})."</span>
                        </div>
                        </a>
                        </li>";}}}}$wymxhnhb="date";${"GLOBALS"}["youmluujl"]="licenseKey";${$vyxbnndinjz}=date("Y-m-d");${${"GLOBALS"}["ugdtvsxsfyhl"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_license_setting");${${"GLOBALS"}["fwofebmrywi"]}=$adb->query_result(${${"GLOBALS"}["trwktlv"]},0,"expirydate");${${"GLOBALS"}["youmluujl"]}=$adb->query_result(${${"GLOBALS"}["trwktlv"]},0,"license_key");${${"GLOBALS"}["wsltnmekmh"]}=Settings_CTWhatsApp_ConfigurationDetail_View::encrypt_decrypt(${${"GLOBALS"}["fwofebmrywi"]},${${"GLOBALS"}["xtssstwjo"]}="d");${$zlbxekjr}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"GLOBALS"}["vnrmxdnehtkh"]});${${"GLOBALS"}["defgvuw"]}=${${"GLOBALS"}["nobkhohp"]}["rows"];${${"GLOBALS"}["ggqkvrosffb"]}=${${"GLOBALS"}["uxfoqbrvbc"]}["moduleIconActive"];${${"GLOBALS"}["sntiipyhjd"]}=${${"GLOBALS"}["skyqasguvek"]}["phoneField"];if(strtotime(${$wymxhnhb})<strtotime(${${"GLOBALS"}["kprtpgkk"]})){$jezfhscugbn="licenseExpire";${$jezfhscugbn}="yes";}else{${${"GLOBALS"}["emahbrt"]}="no";}${${"GLOBALS"}["wzlfmmdxyvg"]}=CTWhatsApp_Record_Model::whatsappUserBeepSettingQuery(${${"GLOBALS"}["tkbcpnmpppe"]});${${"GLOBALS"}["vgdjkkcjvdiq"]}=Settings_CTWhatsApp_Record_Model::getMassMessageAccessUsers();${${"GLOBALS"}["nkjyfevoj"]}=in_array(${${"GLOBALS"}["egwuxnjjpv"]},${${"GLOBALS"}["vgdjkkcjvdiq"]});if(${$rftgmsx}!=""){${"GLOBALS"}["fhkuhyyxqhq"]="moduleMassMessage";${"GLOBALS"}["nijjbhyxj"]="moduleIconActive";${"GLOBALS"}["gyspgy"]="apiUrl";${"GLOBALS"}["dehmoly"]="isAdmin";${"GLOBALS"}["jtnqrat"]="date";$gjtosyxhgyx="whatsappStatus";${${"GLOBALS"}["eiimhhxd"]}=array("moduleMassMessage"=>${${"GLOBALS"}["fhkuhyyxqhq"]},"apiUrl"=>${${"GLOBALS"}["gyspgy"]},"whatsappicon"=>${${"GLOBALS"}["kxekotiq"]},"unread_count"=>${${"GLOBALS"}["wxmulmjvld"]},"currentdate"=>strtotime(${${"GLOBALS"}["yivuvfugj"]}),"licensedate"=>strtotime(${${"GLOBALS"}["jtnqrat"]}),"whatsappStatus"=>${$gjtosyxhgyx},"moduleIconActive"=>${${"GLOBALS"}["nijjbhyxj"]},"phoneField"=>${${"GLOBALS"}["sntiipyhjd"]},"inappNotification"=>${${"GLOBALS"}["mxpsxpnysg"]},"notificationHTML"=>${${"GLOBALS"}["fxrxfzru"]},"isAdmin"=>${${"GLOBALS"}["dehmoly"]},"themeView"=>${${"GLOBALS"}["pducllxobyxt"]},"iconactive"=>${${"GLOBALS"}["tmeercqyqsrd"]},"licenseExpire"=>${${"GLOBALS"}["emahbrt"]},"scanWhatsappNumber"=>${${"GLOBALS"}["vsohmeyt"]},"whatsappUserBeep"=>${${"GLOBALS"}["wzlfmmdxyvg"]},"massMessageAccess"=>${${"GLOBALS"}["nkjyfevoj"]});}return${${"GLOBALS"}["eiimhhxd"]};}function getScanQRCodeURL(){$ocedmujkdcx="isAdmin";$fhmhbg="numRowsUsers";global$adb,$current_user;$wmswtfsxmsp="currentUserID";$fbiazidvcmfk="currentUserID";${$wmswtfsxmsp}=$current_user->id;${"GLOBALS"}["plwvgbix"]="scanQRCode";${$ocedmujkdcx}=$current_user->is_admin;${${"GLOBALS"}["rbcfymmw"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield3 LIKE '%".${$fbiazidvcmfk}."%'",array());${$fhmhbg}=$adb->num_rows(${${"GLOBALS"}["rbcfymmw"]});if(${${"GLOBALS"}["jlnzlgscx"]}==0){$haknmepnsj="queryGroupExist";${${"GLOBALS"}["faobnrhqdgot"]}=$adb->pquery("SELECT * FROM vtiger_group2role INNER JOIN vtiger_user2role ON vtiger_user2role.roleid = vtiger_group2role.roleid WHERE vtiger_user2role.userid = ?",array(${${"GLOBALS"}["xkfegcbvayw"]}));${${"GLOBALS"}["hxezvqnwm"]}=$adb->query_result(${${"GLOBALS"}["faobnrhqdgot"]},0,"groupid");if(${${"GLOBALS"}["hxezvqnwm"]}!=""){$enzspff="groupid";${${"GLOBALS"}["cfjxdtn"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield3 LIKE '%".${$enzspff}."%'",array());}${${"GLOBALS"}["jlnzlgscx"]}=$adb->num_rows(${$haknmepnsj});}if(${${"GLOBALS"}["hsdbxd"]}=="on"){${"GLOBALS"}["xjwlrozw"]="scanQRCode";${${"GLOBALS"}["xjwlrozw"]}="index.php?module=CTWhatsApp&parent=Settings&view=ConfigurationDetail";}else{${"GLOBALS"}["gbectxj"]="scanQRCode";${${"GLOBALS"}["gbectxj"]}="index.php?module=CTWhatsApp&view=DashBoard&mode=moduleDashBoard&showqrcode=1";}return${${"GLOBALS"}["plwvgbix"]};}function getWhatsappAllowModules(){$stpgyjoxsm="rows";$exntosgan="whatsappModuleQuery";global$adb;${"GLOBALS"}["rqnttdessg"]="i";${${"GLOBALS"}["jjkirve"]}=$adb->pquery("SELECT * FROM vtiger_ctwharsappallow_whatsappmodule WHERE active = 1");${$stpgyjoxsm}=$adb->num_rows(${$exntosgan});${${"GLOBALS"}["sjkcsassiyo"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["rqnttdessg"]}++){${"GLOBALS"}["cfghpqoluozv"]="whatsappModuleQuery";${"GLOBALS"}["dkkvyfrllny"]="data";${"GLOBALS"}["swabbm"]="module";$saubmtogvr="i";${${"GLOBALS"}["pofxyiwoe"]}=$adb->query_result(${${"GLOBALS"}["cfghpqoluozv"]},${$saubmtogvr},"module");${${"GLOBALS"}["dkkvyfrllny"]}=CTWhatsApp_Record_Model::checkPermissionModule(${${"GLOBALS"}["swabbm"]});if(${${"GLOBALS"}["ikhjdprmt"]}==1){$rpyjuhtbp="moduleIsEnable";$zkkgddzcm="sourceModuleModuleModel";${"GLOBALS"}["rtoklsoi"]="module";${$rpyjuhtbp}=CTWhatsApp_Record_Model::getmoduleIsEnable(${${"GLOBALS"}["rtoklsoi"]});${${"GLOBALS"}["iuswogif"]}=Users_Privileges_Model::getCurrentUserPrivilegesModel();${"GLOBALS"}["dvpdglndmki"]="module";${$zkkgddzcm}=Vtiger_Module_Model::getInstance(${${"GLOBALS"}["dvpdglndmki"]});if($currentUserModel->hasModuleActionPermission($sourceModuleModuleModel->getId(),"CreateView")){${"GLOBALS"}["qehrpxcwge"]="moduleIsEnable";if(${${"GLOBALS"}["qehrpxcwge"]}==0){${"GLOBALS"}["frdwxjoq"]="whatsaappModuleData";$ajjcmebd="row";$edmejxn="whatsaappModule";${"GLOBALS"}["eftmeufjhv"]="whatsaappModuleData";${${"GLOBALS"}["eftmeufjhv"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"GLOBALS"}["pofxyiwoe"]});$ddthrsmiobzt="module";${${"GLOBALS"}["sntiipyhjd"]}=${${"GLOBALS"}["frdwxjoq"]}["phoneField"];${$edmejxn}[]=array("module"=>${$ddthrsmiobzt},"rows"=>${$ajjcmebd},"phoneField"=>${${"GLOBALS"}["sntiipyhjd"]});}}}}return${${"GLOBALS"}["sjkcsassiyo"]};}function getmoduleIsEnable($moduleName){${"GLOBALS"}["klnphlhxbc"]="moduleQuery";${"GLOBALS"}["holhkynlmzd"]="presence";global$adb;$lvsjxce="moduleName";${${"GLOBALS"}["klnphlhxbc"]}=$adb->pquery("SELECT * FROM vtiger_tab WHERE name = ?",array(${$lvsjxce}));return${${"GLOBALS"}["holhkynlmzd"]}=$adb->query_result(${${"GLOBALS"}["wtgpqei"]},0,"presence");}function getWhatsappAllowModuleFields($sourceModule){global$adb;${"GLOBALS"}["pmhfmnmoc"]="getAllowModule";$ynuvmqvi="moduleIconActive";${${"GLOBALS"}["nrzvoykiord"]}=$adb->pquery("SELECT * FROM vtiger_ctwharsappallow_whatsappmodule WHERE module = ?",array(${${"GLOBALS"}["vnrmxdnehtkh"]}));${"GLOBALS"}["nlwhftg"]="allwModules";${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["nrzvoykiord"]});$ktorotos="rows";${$ynuvmqvi}=$adb->query_result(${${"GLOBALS"}["pmhfmnmoc"]},0,"active");${${"GLOBALS"}["sntiipyhjd"]}=$adb->query_result(${${"GLOBALS"}["nrzvoykiord"]},0,"phone_field");${${"GLOBALS"}["nlwhftg"]}=array("moduleIconActive"=>${${"GLOBALS"}["ggqkvrosffb"]},"phoneField"=>${${"GLOBALS"}["sntiipyhjd"]},"rows"=>${$ktorotos});return${${"GLOBALS"}["nobkhohp"]};}function moduleQuery($modulename,$phoneField,$searchValue){$bbxdiwlxo="modulename";$rqwpctvnv="modulename";${"GLOBALS"}["fezcfoqrgopu"]="assignQuery";$ikqicglmo="currenUserID";$ushmkkpxxud="inNumberQuery";$doawsxgv="tabid";${"GLOBALS"}["kfunyiyuphtb"]="phoneField";global$adb,$current_user;$ysjcqybwkm="currenUserID";${$ikqicglmo}=$current_user->id;${${"GLOBALS"}["bfnhuqje"]}=CRMEntity::getInstance(${$rqwpctvnv});${${"GLOBALS"}["mqpimjbfrmb"]}=Vtiger_Module::getInstance(${$bbxdiwlxo});${"GLOBALS"}["qxxpuyuheymq"]="phoneTableQuery";$yokmmkpgxq="isAdmin";${"GLOBALS"}["ooxgtgyuckob"]="baseTable";${${"GLOBALS"}["ooxgtgyuckob"]}=$moduleInstance->basetable;$krqceicvqfo="phoneField";${"GLOBALS"}["brnbppugk"]="tablename";${${"GLOBALS"}["fxodtoudrl"]}=$moduleInstance->basetableid;${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${$ysjcqybwkm});${"GLOBALS"}["kganbtlmrsi"]="baseTable";if(${${"GLOBALS"}["smfcwf"]}){$fveghsswmfy="searchValue";$dqeliyw="phoneField";${${"GLOBALS"}["twpjdidl"]}=" AND (vtiger_crmentity.label LIKE '%".${${"GLOBALS"}["smfcwf"]}."%' OR childTable.".${$dqeliyw}." LIKE '%".${$fveghsswmfy}."%')";}else{${"GLOBALS"}["ejdvgkuyqvr"]="searchQuery";${${"GLOBALS"}["ejdvgkuyqvr"]}="";}${${"GLOBALS"}["hsdbxd"]}=$current_user->is_admin;${$doawsxgv}=getTabid(${${"GLOBALS"}["bdkjpmy"]});if(${$yokmmkpgxq}!="on"){if(${${"GLOBALS"}["wihfdtjxrf"]}){${"GLOBALS"}["nuoobdgf"]="getRecordPermissionQuery";${${"GLOBALS"}["nuoobdgf"]}=$adb->pquery("SELECT * FROM vtiger_def_org_share WHERE tabid = ?",array(${${"GLOBALS"}["wihfdtjxrf"]}));${${"GLOBALS"}["odyckrxkk"]}=$adb->query_result(${${"GLOBALS"}["kkolxiatej"]},0,"permission");if(${${"GLOBALS"}["odyckrxkk"]}=="3"){$urpeyihsv="assignQuery";${$urpeyihsv}=" AND vtiger_crmentity.smownerid = '$currenUserID'";}}}${${"GLOBALS"}["ymqtxfe"]}=$adb->pquery("SELECT * FROM vtiger_field WHERE fieldname = ? AND tabid = ?",array(${$krqceicvqfo},${${"GLOBALS"}["wihfdtjxrf"]}));${${"GLOBALS"}["brnbppugk"]}=$adb->query_result(${${"GLOBALS"}["qxxpuyuheymq"]},0,"tablename");${${"GLOBALS"}["rarxevhnmyv"]}=$moduleModel->tab_name_index[${${"GLOBALS"}["qhbtionuk"]}];${${"GLOBALS"}["ovttyyo"]}="SELECT * FROM vtiger_whatsapplog ";${${"GLOBALS"}["ovttyyo"]}.=" LEFT JOIN ".${${"GLOBALS"}["kganbtlmrsi"]}." ON ".${${"GLOBALS"}["gkqlbqw"]}.".".${${"GLOBALS"}["fxodtoudrl"]}." = vtiger_whatsapplog.whatsapplog_contactid ";${${"GLOBALS"}["ovttyyo"]}.=" LEFT JOIN ".${${"GLOBALS"}["qhbtionuk"]}." childTable ON childTable.".${${"GLOBALS"}["rarxevhnmyv"]}." = ".${${"GLOBALS"}["gkqlbqw"]}.".".${${"GLOBALS"}["fxodtoudrl"]}."
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
                WHERE vtiger_crmentity.deleted = 0 ".${$ushmkkpxxud}." AND childTable.".${${"GLOBALS"}["kfunyiyuphtb"]}." != ''".${${"GLOBALS"}["twpjdidl"]}.${${"GLOBALS"}["fezcfoqrgopu"]}." GROUP BY childTable.".${${"GLOBALS"}["sntiipyhjd"]};return${${"GLOBALS"}["ovttyyo"]};}function moduleQueryCount($modulename,$phoneField,$searchValue){global$adb,$current_user;${${"GLOBALS"}["egwuxnjjpv"]}=$current_user->id;$bnszbhrjin="baseTable";${"GLOBALS"}["uegygry"]="baseTableid";$mqvtypbkxeq="modulename";${"GLOBALS"}["ijdkceuyzay"]="baseTable";${${"GLOBALS"}["bfnhuqje"]}=CRMEntity::getInstance(${$mqvtypbkxeq});${${"GLOBALS"}["mqpimjbfrmb"]}=Vtiger_Module::getInstance(${${"GLOBALS"}["bdkjpmy"]});${$bnszbhrjin}=$moduleInstance->basetable;${${"GLOBALS"}["fxodtoudrl"]}=$moduleInstance->basetableid;if(${${"GLOBALS"}["smfcwf"]}){${${"GLOBALS"}["twpjdidl"]}=" AND vtiger_crmentity.label LIKE '%".${${"GLOBALS"}["smfcwf"]}."%'";}else{${${"GLOBALS"}["twpjdidl"]}="";}${"GLOBALS"}["hxiixwh"]="query";${${"GLOBALS"}["irzpecsgxg"]}=0;${"GLOBALS"}["qtrsmjhvzg"]="query";${${"GLOBALS"}["qtrsmjhvzg"]}="SELECT count(*) as rows1 FROM ".${${"GLOBALS"}["gkqlbqw"]}." 
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = ".${${"GLOBALS"}["ijdkceuyzay"]}.".".${${"GLOBALS"}["uegygry"]}." 
            WHERE vtiger_crmentity.deleted = 0";return${${"GLOBALS"}["hxiixwh"]};}public function unreadQuery(){${"GLOBALS"}["nfemxwazp"]="query";${"GLOBALS"}["tdkyfkrbguj"]="userID";${"GLOBALS"}["tvgdvtpjhdb"]="inNumberQuery";global$adb,$current_user;${${"GLOBALS"}["tdkyfkrbguj"]}=$current_user->id;${${"GLOBALS"}["tvgdvtpjhdb"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});${${"GLOBALS"}["ovttyyo"]}="SELECT * FROM vtiger_ctwhatsapp 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
          WHERE vtiger_crmentity.deleted = 0";return${${"GLOBALS"}["nfemxwazp"]};}public function unreadQueryCount(){$nsvrhqrvygrh="inNumberQuery";$vbquuvneop="query";global$adb,$current_user;${"GLOBALS"}["tbneaqgsh"]="userID";${"GLOBALS"}["wlyqpwgtnqr"]="inNumberQuery";${${"GLOBALS"}["tbneaqgsh"]}=$current_user->id;$xfoaqwflrhf="query";${$nsvrhqrvygrh}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});${$vbquuvneop}="SELECT count(*) FROM vtiger_ctwhatsapp 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
          WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["wlyqpwgtnqr"]};return${$xfoaqwflrhf};}public function getUnreadMessagesCount(){${"GLOBALS"}["gniqcdnuoee"]="rows";global$adb;${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQuery();${"GLOBALS"}["rjsektucm"]="query";${${"GLOBALS"}["rjsektucm"]}=$adb->pquery(${${"GLOBALS"}["oyuprils"]}." AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread' AND vtiger_ctwhatsapp.message_type = 'Recieved' AND vtiger_ctwhatsapp.whatsapp_withccode != 'Groups'");${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});return${${"GLOBALS"}["gniqcdnuoee"]};}public function getImportantMessagesCounts(){${"GLOBALS"}["bakqgqold"]="i";global$adb,$current_user;${"GLOBALS"}["vrwiqvl"]="currentUserID";${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQuery();${"GLOBALS"}["ebdjobxksnj"]="rows";${${"GLOBALS"}["vrwiqvl"]}=$current_user->id;${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});$qbnfxrdpm="i";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
          WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_important = 1 ".${${"GLOBALS"}["pragmjfeo"]}." GROUP BY vtiger_whatsapplog.whatsapplog_contactid, vtiger_whatsapplog.whatsapplog_withccode",array());${${"GLOBALS"}["ebdjobxksnj"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${"GLOBALS"}["kgllmh"]="i";${${"GLOBALS"}["uqvjsei"]}=0;$gygflnpfv="delete";for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["bakqgqold"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${$qbnfxrdpm}++){${"GLOBALS"}["pwrfborpqb"]="relatedRecordId";$ezuplma="query";$dbdwnq="i";$huotdnnnxd="relatedRecordId";${${"GLOBALS"}["pwrfborpqb"]}=$adb->query_result(${$ezuplma},${$dbdwnq},"whatsapplog_contactid");if(${$huotdnnnxd}!=""){${"GLOBALS"}["iityjxetj"]="deleteRecord";${${"GLOBALS"}["iityjxetj"]}=CTWhatsApp_Record_Model::recordDelete(${${"GLOBALS"}["lrsqopeothl"]});if(${${"GLOBALS"}["jvlxpqyxtb"]}==1){${"GLOBALS"}["aayjillt"]="delete";${${"GLOBALS"}["uqvjsei"]}=${${"GLOBALS"}["aayjillt"]}+1;}}}${${"GLOBALS"}["vlkbkayeow"]}=0;for(${${"GLOBALS"}["kgllmh"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["tmtgyrdu"]="relatedRecordId";${${"GLOBALS"}["tmtgyrdu"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_contactid");${${"GLOBALS"}["kpaifztojnc"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["lrsqopeothl"]});if(Users_Privileges_Model::isPermitted(${${"GLOBALS"}["kpaifztojnc"]},"EditView",${${"GLOBALS"}["lrsqopeothl"]})){$kdxyfpbgeq="numRows";${$kdxyfpbgeq}=${${"GLOBALS"}["vlkbkayeow"]}+1;}}${${"GLOBALS"}["lrfyjpc"]}=${${"GLOBALS"}["vlkbkayeow"]}-${$gygflnpfv};return${${"GLOBALS"}["lrfyjpc"]};}public function getNewMessagesCounts(){${"GLOBALS"}["sqkmqwjjhod"]="allNewMessageCountquery";${"GLOBALS"}["vhplxjlegx"]="allRows";${"GLOBALS"}["mlmuoohsenm"]="query";${"GLOBALS"}["nrtrukccy"]="unreadQuery";global$adb,$current_user;$qqhyvhlbo="inNumberQuery";${${"GLOBALS"}["xkfegcbvayw"]}=$current_user->id;${${"GLOBALS"}["nrtrukccy"]}=CTWhatsApp_Record_Model::unreadQueryCount();${$qqhyvhlbo}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});$txuqwxoq="inNumberQuery";${"GLOBALS"}["cdguqrrh"]="result";${${"GLOBALS"}["mlmuoohsenm"]}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
          WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_withccode != '' AND vtiger_whatsapplog.whatsapplog_unreadread = 'Unread'  AND vtiger_whatsapplog.messagelog_type = 'Recieved' AND vtiger_whatsapplog.whatsapplog_withccode != 'Groups' ".${${"GLOBALS"}["pragmjfeo"]}." GROUP BY vtiger_whatsapplog.whatsapplog_contactid, vtiger_whatsapplog.whatsapplog_withccode ORDER BY vtiger_crmentity.createdtime",array());${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});$pcpskxohorc="allNewMessageCountquery";${"GLOBALS"}["phpbmphqssg"]="allRows";${$pcpskxohorc}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
          WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_withccode != '' AND vtiger_whatsapplog.whatsapplog_unreadread = 'Unread'  AND vtiger_whatsapplog.messagelog_type = 'Recieved' AND vtiger_whatsapplog.whatsapplog_withccode != 'Groups' ".${$txuqwxoq}."",array());${${"GLOBALS"}["phpbmphqssg"]}=$adb->num_rows(${${"GLOBALS"}["sqkmqwjjhod"]});${${"GLOBALS"}["cdguqrrh"]}=array("rows"=>${${"GLOBALS"}["xdlzlhdqocwp"]},"allRows"=>${${"GLOBALS"}["vhplxjlegx"]});return${${"GLOBALS"}["ysiwjuruzd"]};}public function getAllMessagesCounts(){${"GLOBALS"}["xwqoiyuyfas"]="userID";$ywnrksgmev="unreadQuery";global$adb,$current_user;${"GLOBALS"}["bicgke"]="allUnreadCount";${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQuery();$ngxvdnwfujc="rows";$hiqdjrc="allQuery";${${"GLOBALS"}["xwqoiyuyfas"]}=$current_user->id;$emohvxdoqer="allUnreadCount";${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});$pndtdrpmporg="allQuery";${"GLOBALS"}["lblemekdzklh"]="delete";$gfsflitqgtcg="inNumberQuery";${$hiqdjrc}="SELECT * FROM vtiger_whatsapplog 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
          WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_withccode != '' ".${${"GLOBALS"}["pragmjfeo"]}." AND vtiger_whatsapplog.whatsapplog_withccode != 'Groups' GROUP BY vtiger_whatsapplog.whatsapplog_contactid, vtiger_whatsapplog.whatsapplog_withccode";${${"GLOBALS"}["oyuprils"]}="SELECT * FROM vtiger_whatsapplog 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
          WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_withccode != '' AND vtiger_whatsapplog.messagelog_type = 'Recieved' AND vtiger_whatsapplog.whatsapplog_unreadread = 'Unread' ".${$gfsflitqgtcg}." AND vtiger_whatsapplog.whatsapplog_withccode != 'Groups' GROUP BY vtiger_whatsapplog.whatsapplog_contactid, vtiger_whatsapplog.whatsapplog_withccode";${${"GLOBALS"}["asevlfvwzy"]}=$adb->pquery(${$pndtdrpmporg});$gfnxhgctz="allUnreadMessageCount";${"GLOBALS"}["ctajgdeqf"]="row";${"GLOBALS"}["yupwbbioocl"]="rows";${${"GLOBALS"}["eidzhji"]}=$adb->num_rows(${$gfnxhgctz});$chnczqaunoix="allRows";$gsvrfy="row";${${"GLOBALS"}["lblemekdzklh"]}=0;for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["ctajgdeqf"]};${${"GLOBALS"}["varbufd"]}++){$pqdueytofrrx="relatedRecordId";${"GLOBALS"}["kxhelroia"]="relatedRecordId";${${"GLOBALS"}["kxhelroia"]}=$adb->query_result(${${"GLOBALS"}["asevlfvwzy"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_contactid");if(${$pqdueytofrrx}!=""){${"GLOBALS"}["nuyqtcs"]="deleteRecord";${${"GLOBALS"}["nuyqtcs"]}=CTWhatsApp_Record_Model::recordDelete(${${"GLOBALS"}["lrsqopeothl"]});${"GLOBALS"}["dwfkfuam"]="deleteRecord";if(${${"GLOBALS"}["dwfkfuam"]}==1){${"GLOBALS"}["udtpquihu"]="delete";${${"GLOBALS"}["uqvjsei"]}=${${"GLOBALS"}["udtpquihu"]}+1;}}}${$ngxvdnwfujc}=${$gsvrfy}-${${"GLOBALS"}["uqvjsei"]};$uqyompjjbn="allRows";${${"GLOBALS"}["bicgke"]}=$adb->pquery(${$ywnrksgmev});${$uqyompjjbn}=$adb->num_rows(${$emohvxdoqer});${${"GLOBALS"}["ysiwjuruzd"]}=array("rows"=>${$chnczqaunoix},"allRows"=>${${"GLOBALS"}["yupwbbioocl"]});return${${"GLOBALS"}["ysiwjuruzd"]};}public function getUnknownMessagesCounts(){${"GLOBALS"}["rrtqppd"]="allUnknownquery";$wqotnuxnkcu="inNumberQuery";${"GLOBALS"}["sxiwvcd"]="currentUserID";$kbsaucwgov="result";global$adb,$current_user;$ucvsjtd="result";$wecdzajhvqg="currentUserID";${$wecdzajhvqg}=$current_user->id;$xmrdfq="inNumberQuery";${$wqotnuxnkcu}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"GLOBALS"}["sxiwvcd"]});${"GLOBALS"}["widmqjks"]="unknownRows";${"GLOBALS"}["gcymsscmskt"]="allUnknownRows";${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQueryCount();$kbquskqt="unknownRows";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
          WHERE vtiger_crmentity.deleted = 0  AND vtiger_whatsapplog.whatsapplog_contactid = '' AND vtiger_whatsapplog.whatsapplog_unreadread = 'Unread' AND vtiger_whatsapplog.whatsapplog_withccode != 'Groups' AND vtiger_whatsapplog.messagelog_type = 'Recieved' ".${$xmrdfq}." GROUP BY vtiger_whatsapplog.whatsapplog_withccode",array());${$kbquskqt}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});if(${${"GLOBALS"}["widmqjks"]}==""){${"GLOBALS"}["ueenuiiig"]="unknownRows";${${"GLOBALS"}["ueenuiiig"]}=0;}${${"GLOBALS"}["rrtqppd"]}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
          INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
          WHERE vtiger_crmentity.deleted = 0  AND vtiger_whatsapplog.whatsapplog_contactid = '' AND vtiger_whatsapplog.whatsapplog_unreadread = 'Unread' AND vtiger_whatsapplog.whatsapplog_withccode != 'Groups' ".${${"GLOBALS"}["pragmjfeo"]}." GROUP BY vtiger_whatsapplog.whatsapplog_withccode",array());${${"GLOBALS"}["lvaruwdfs"]}=$adb->num_rows(${${"GLOBALS"}["fmybgxrt"]});if(${${"GLOBALS"}["gcymsscmskt"]}==""){${"GLOBALS"}["xbytkqok"]="allUnknownRows";${${"GLOBALS"}["xbytkqok"]}=0;}${$kbsaucwgov}=array("unknownRows"=>${${"GLOBALS"}["owwkxj"]},"allUnknownRows"=>${${"GLOBALS"}["lvaruwdfs"]});return${$ucvsjtd};}public function getModuleRecrods($request){${${"GLOBALS"}["ccrllusxuoyo"]}=$request->getModule();$rvpxyphtavl="searchValue";${"GLOBALS"}["ibjhrgcv"]="start";${${"GLOBALS"}["jbkglfqkknae"]}=$request->get("whatsappmodule");$emykjcwikur="end";${$rvpxyphtavl}=$request->get("searchValue");${"GLOBALS"}["vejrolgtbkl"]="groupWhatsappNumber";${"GLOBALS"}["ueuvkrk"]="responseCustomer";${${"GLOBALS"}["ibjhrgcv"]}=$request->get("start");${"GLOBALS"}["jyuyspe"]="html";${"GLOBALS"}["npjhmnpxlw"]="index";${$emykjcwikur}=$request->get("end");${${"GLOBALS"}["vejrolgtbkl"]}=$request->get("groupWhatsappNumber");${${"GLOBALS"}["ueuvkrk"]}=$request->get("responseCustomer");${${"GLOBALS"}["jyuyspe"]}="";${"GLOBALS"}["tepwvmhh"]="html";if(${${"GLOBALS"}["jbkglfqkknae"]}=="Important"){${"GLOBALS"}["gzmxmvyud"]="importantMessages";${"GLOBALS"}["uopgirl"]="whatsappmodule";${"GLOBALS"}["vvqpfwh"]="moduleMessages";$nquikfhk="responseCustomer";$jrakuy="end";${"GLOBALS"}["ukevoioa"]="start";${${"GLOBALS"}["gzmxmvyud"]}="yes";${${"GLOBALS"}["vvqpfwh"]}=CTWhatsApp_Record_Model::getNewMessagesData(${${"GLOBALS"}["xqiqrxoi"]},${${"GLOBALS"}["ukevoioa"]},${$jrakuy},${${"GLOBALS"}["smfcwf"]},${${"GLOBALS"}["uopgirl"]},${$nquikfhk});}else if(${${"GLOBALS"}["jbkglfqkknae"]}=="NewMessages"){$rhfqgeofgrgv="importantMessages";${"GLOBALS"}["sjwtcpdhy"]="searchValue";${"GLOBALS"}["umrorsh"]="start";${$rhfqgeofgrgv}="no";$xysxexkhtz="responseCustomer";$viwttkouni="importantMessages";$iuhpscqcoup="end";${${"GLOBALS"}["zilmlfqz"]}=CTWhatsApp_Record_Model::getNewMessagesData(${$viwttkouni},${${"GLOBALS"}["umrorsh"]},${$iuhpscqcoup},${${"GLOBALS"}["sjwtcpdhy"]},${${"GLOBALS"}["jbkglfqkknae"]},${$xysxexkhtz});}else if(${${"GLOBALS"}["jbkglfqkknae"]}=="Unknown"){${"GLOBALS"}["bbkyxcjtxgs"]="start";${${"GLOBALS"}["zilmlfqz"]}=CTWhatsApp_Record_Model::getUnknownMessagesData(${${"GLOBALS"}["bbkyxcjtxgs"]},${${"GLOBALS"}["hpqhye"]},${${"GLOBALS"}["smfcwf"]});}else if(${${"GLOBALS"}["jbkglfqkknae"]}=="AllMessages"){$odbwwphb="end";$ubimlzzkfj="importantMessages";${"GLOBALS"}["himgpbzgcs"]="responseCustomer";${$ubimlzzkfj}="no";${"GLOBALS"}["yiehmnyid"]="importantMessages";$zpwjxebh="whatsappmodule";${${"GLOBALS"}["zilmlfqz"]}=CTWhatsApp_Record_Model::getNewMessagesData(${${"GLOBALS"}["yiehmnyid"]},${${"GLOBALS"}["pjpjnfd"]},${$odbwwphb},${${"GLOBALS"}["smfcwf"]},${$zpwjxebh},${${"GLOBALS"}["himgpbzgcs"]});}else if(${${"GLOBALS"}["jbkglfqkknae"]}=="Groups"){${${"GLOBALS"}["zilmlfqz"]}=CTWhatsApp_Record_Model::getWhatsappGroup(${${"GLOBALS"}["yeulyopwayi"]});}else{${"GLOBALS"}["sdpsgzsy"]="moduleMessages";${"GLOBALS"}["ekycolq"]="start";$sdukbq="whatsappmodule";$unghwljf="moduleQuery";${"GLOBALS"}["uoaxnrnimwi"]="serach";${${"GLOBALS"}["sdpsgzsy"]}=CTWhatsApp_Record_Model::getModuleMessagesData(${${"GLOBALS"}["jbkglfqkknae"]},${${"GLOBALS"}["ekycolq"]},${${"GLOBALS"}["hpqhye"]},${${"GLOBALS"}["smfcwf"]});${"GLOBALS"}["pechkmcnv"]="whatsappmodule";${"GLOBALS"}["spiehvicn"]="row";global$adb;$xfoegtswhto="phoneField";${${"GLOBALS"}["fmysjse"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${$sdukbq});$jturplfyex="row";${"GLOBALS"}["qfrxmykmkldg"]="moduleQuery";${${"GLOBALS"}["sntiipyhjd"]}=${${"GLOBALS"}["fmysjse"]}["phoneField"];${${"GLOBALS"}["uoaxnrnimwi"]}="";${${"GLOBALS"}["qfrxmykmkldg"]}=CTWhatsApp_Record_Model::moduleQueryCount(${${"GLOBALS"}["pechkmcnv"]},${$xfoegtswhto},${${"GLOBALS"}["hcvguwari"]});${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${$unghwljf});${$jturplfyex}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"rows1");${${"GLOBALS"}["spiehvicn"]}=count(${${"GLOBALS"}["zilmlfqz"]});}$hetvikpjgxn="key";${${"GLOBALS"}["npjhmnpxlw"]}=0;foreach(${${"GLOBALS"}["zilmlfqz"]} as${$hetvikpjgxn}=>${${"GLOBALS"}["yxksumx"]}){$pbyoproifm="index";${"GLOBALS"}["cezyfcijjiha"]="whatsappmodule";if(${${"GLOBALS"}["yxksumx"]}["unreadMessageCount"]==0){${"GLOBALS"}["pbgjtgze"]="read";${${"GLOBALS"}["pbgjtgze"]}="";${${"GLOBALS"}["fymimqw"]}="";}else{$pojbynui="read";${$pojbynui}="unRead";${${"GLOBALS"}["fymimqw"]}="<span class="counterMsg" style="top: 0px !important;">".${${"GLOBALS"}["yxksumx"]}["unreadMessageCount"]."</span>";}$iebcfqo="index";if(${$pbyoproifm}==0){${${"GLOBALS"}["nbcxfxp"]}="bydefaulOpenChat";}else{$zonvimd="bydefaulOpenChat";${$zonvimd}="";}if(${${"GLOBALS"}["cezyfcijjiha"]}=="Groups"){${"GLOBALS"}["jogztkrsv"]="value";${"GLOBALS"}["yvhgycv"]="value";${"GLOBALS"}["igolcfiq"]="html";$pplzqvziflqo="value";$euytxyjwv="bydefaulOpenChat";${"GLOBALS"}["pptihjnx"]="value";${"GLOBALS"}["emqoaoamx"]="value";${${"GLOBALS"}["igolcfiq"]}.="<div class=\"profile showChatMessages ".${$euytxyjwv}."\" data-recordid=\"".${${"GLOBALS"}["pptihjnx"]}["recordId"]."\" data-label="".${${"GLOBALS"}["yvhgycv"]}["label"]."\" data-groupid=\"".${$pplzqvziflqo}["groupid"]."\" data-groupMember="".${${"GLOBALS"}["jogztkrsv"]}["groupMember"]."" data-sendmessageingroup=\"".${${"GLOBALS"}["yxksumx"]}["isReadOnly"]."" style=\"cursor: pointer;\">";$iauoxvcx="count";if(${${"GLOBALS"}["yxksumx"]}["imagetag"]==1){$igjhsupq="value";${${"GLOBALS"}["stlvek"]}.="<div class=\"pic\"><img src="".${$igjhsupq}["profileImage"]."\" style=\"width: 100%;\"/></div>";}else{${"GLOBALS"}["sefxfhausrk"]="html";${${"GLOBALS"}["sefxfhausrk"]}.="<div class=\"pic\"><span class=\"imagename\" id=\"imagename\" style=\"margin: 7px;font-size: 28px;margin: 2px;color: teal;\"><b>".${${"GLOBALS"}["yxksumx"]}["profileImage"]."</b></span></div>";}${${"GLOBALS"}["stlvek"]}.="<div class="pText\">
                        <span>".${${"GLOBALS"}["emqoaoamx"]}["label"]."</span>".${$iauoxvcx}."
                      </div>
                    </div>";}else{${"GLOBALS"}["bchfwgvto"]="bydefaulOpenChat";$ysyntppnbib="value";${"GLOBALS"}["qouthucrij"]="html";${${"GLOBALS"}["qouthucrij"]}.="<div class="profile showChatMessages ".${${"GLOBALS"}["bchfwgvto"]}."\" data-recordid="".${$ysyntppnbib}["recordId"]."" style="cursor: pointer;\">";$ssypggxzk="html";if(${${"GLOBALS"}["yxksumx"]}["imagetag"]==1){${"GLOBALS"}["rnljhljyxpj"]="html";${${"GLOBALS"}["rnljhljyxpj"]}.="<div class=\"pic"><img src=\"".${${"GLOBALS"}["yxksumx"]}["profileImage"]."\" style=\"width: 100%;\"/></div>";}else{$tbhrbjfqos="value";$xcnhjkdj="html";${$xcnhjkdj}.="<div class=\"pic"><span class="imagename\" id=\"imagename" style=\"margin: 7px;font-size: 28px;margin: 2px;color: teal;"><b>".${$tbhrbjfqos}["profileImage"]."</b></span></div>";}${$ssypggxzk}.="<div class="pText">
                        <span>".${${"GLOBALS"}["yxksumx"]}["label"]."</span>".${${"GLOBALS"}["fymimqw"]}."<p>".${${"GLOBALS"}["yxksumx"]}["lastBody"]."</p>
                      </div>
                      <div class="dateTime\">".${${"GLOBALS"}["yxksumx"]}["lastDateTime"]."</div>
                    </div>";}${$iebcfqo}=${${"GLOBALS"}["uwqncrqp"]}+1;}${${"GLOBALS"}["tepwvmhh"]}.="</div>
        </div>";if(empty(${${"GLOBALS"}["zilmlfqz"]})){${${"GLOBALS"}["angfxwt"]}=new Vtiger_Response();$response->setResult(array("allMessageshtml"=>"","rows"=>0));$response->emit();}else{${"GLOBALS"}["fbxopcuu"]="html";$lwyvulzp="row";$dgccopjfg="response";${$dgccopjfg}=new Vtiger_Response();$response->setResult(array("allMessageshtml"=>${${"GLOBALS"}["fbxopcuu"]},"rows"=>${$lwyvulzp}));$response->emit();}}public function recordDelete($recordId){global$adb;${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_crmentity WHERE crmid = ?",array(${${"GLOBALS"}["qwoktwwcbt"]}));${${"GLOBALS"}["ggkurvrg"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"deleted");return${${"GLOBALS"}["ggkurvrg"]};}public function getNewMessagesData($importantMessages,$start,$end,$searchValue,$whatsappmodule,$responseCustomer){$gwasddal="searchValue";$wgvfby="key";$nuxnqnfjmb="configurationData";${"GLOBALS"}["bbydkvg"]="rows";${"GLOBALS"}["qhnrej"]="rows";$swdmxejve="allnumber";${"GLOBALS"}["bmucwvlkf"]="whatsappmodule";${"GLOBALS"}["yoweogvrkg"]="allnumber";${"GLOBALS"}["mpprdxf"]="responseCustomer";$bkrohoo="importantMessages";global$adb,$current_user;${${"GLOBALS"}["xkfegcbvayw"]}=$current_user->id;if(${$bkrohoo}=="yes"){$drgkjlhxh="important";${$drgkjlhxh}=" AND vc.whatsapplog_important = 1 ";}if(${$gwasddal}){if(is_numeric(${${"GLOBALS"}["smfcwf"]})){$yydesan="searchValue";${${"GLOBALS"}["twpjdidl"]}=" AND vc.whatsapplog_withccode LIKE '%".${$yydesan}."%'";}else{${${"GLOBALS"}["twpjdidl"]}=" AND cw.label like '%".${${"GLOBALS"}["smfcwf"]}."%'";${${"GLOBALS"}["dfmabbjt"]}=" INNER JOIN vtiger_crmentity cw on cw.crmid = vc.whatsapplog_contactid ";}}$fxazhppv="query";if(${${"GLOBALS"}["bmucwvlkf"]}=="NewMessages"){${${"GLOBALS"}["xjsxhq"]}=" AND vc.whatsapplog_unreadread = 'Unread' AND vc.messagelog_type = 'Recieved'";}else{${${"GLOBALS"}["rnobyrow"]}="INNER JOIN ct_whatsapp_temp_table_timeline ON vc.whatsapplogid = ct_whatsapp_temp_table_timeline.whatsapplogid ";}${$nuxnqnfjmb}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["xkfegcbvayw"]});${${"GLOBALS"}["vsohmeyt"]}=${${"GLOBALS"}["iimykgn"]}["whatsappno"];${${"GLOBALS"}["djrfncfnyvu"]}=CTWhatsApp_Record_Model::getAllConnectedWhatsappNumber(${${"GLOBALS"}["xkfegcbvayw"]});$vqxickvjvg="inNumber_Query";${${"GLOBALS"}["fkxxvl"]}="";foreach(${${"GLOBALS"}["djrfncfnyvu"]} as${$wgvfby}=>${${"GLOBALS"}["yxksumx"]}){${${"GLOBALS"}["fkxxvl"]}.="'".${${"GLOBALS"}["yxksumx"]}["whatsappno"]."',";}${${"GLOBALS"}["phaoobc"]}=rtrim(${${"GLOBALS"}["fkxxvl"]},",");${${"GLOBALS"}["pragmjfeo"]}=" AND vc.whatsapplog_your_number IN (".${${"GLOBALS"}["yoweogvrkg"]}.") ";${$vqxickvjvg}=" AND vc_inner.whatsapplog_your_number IN (".${$swdmxejve}.") ";if(${${"GLOBALS"}["mpprdxf"]}==1){$wplcshmhjtn="query";$yjmloizoqxt="i";${"GLOBALS"}["ecjwuqepgi"]="responsecustomerNumber";${"GLOBALS"}["vhsgzqli"]="responseQuery";${${"GLOBALS"}["ycdsipzm"]}=$adb->pquery("SELECT * FROM whatsappbot_pre_que");${"GLOBALS"}["mxvrmq"]="responsecustomerNumber";${"GLOBALS"}["njaadwvtl"]="i";${"GLOBALS"}["qxfnxe"]="responseRows";${${"GLOBALS"}["tkualpsyt"]}=$adb->num_rows(${${"GLOBALS"}["vhsgzqli"]});$iuxmvgsjkhyg="searchInnerQuery";${${"GLOBALS"}["mxvrmq"]}="";$wsioutbn="important";for(${${"GLOBALS"}["varbufd"]}=0;${$yjmloizoqxt}<${${"GLOBALS"}["qxfnxe"]};${${"GLOBALS"}["njaadwvtl"]}++){$vucwszpbymd="responseQuery";${${"GLOBALS"}["mtkpqepkr"]}.=""".$adb->query_result(${$vucwszpbymd},${${"GLOBALS"}["varbufd"]},"prequemobilenumber")."\",";}${$wplcshmhjtn}=$adb->pquery("SELECT vc.whatsapplog_withccode, vc.messagelog_body, vc.whatsapplogid, vc.whatsapplog_datetime, vc.whatsapplog_contactid
                FROM vtiger_whatsapplog vc INNER JOIN vtiger_crmentity cr ON cr.crmid = vc.whatsapplogid
                ".${$iuxmvgsjkhyg}."
                AND vc.whatsapplog_withccode != ''   
                ".${${"GLOBALS"}["pragmjfeo"]}."
                ".${$wsioutbn}."
                ".${${"GLOBALS"}["twpjdidl"]}."
                ".${${"GLOBALS"}["xjsxhq"]}."
                AND vc.whatsapplog_withccode != 'Groups' 
                AND cr.deleted = 0 
                AND whatsapplog_withccode IN (".rtrim(${${"GLOBALS"}["ecjwuqepgi"]},",").")
                ORDER BY vc.whatsapplog_datetime DESC LIMIT 0,".${${"GLOBALS"}["pjpjnfd"]});}else{$pauluvrcgnaj="searchQuery";${"GLOBALS"}["vbrrjcpox"]="customUnreadQuery";${"GLOBALS"}["ymwamtivb"]="query";$lxrzrqqo="inNumberQuery";${"GLOBALS"}["ttyxansd"]="start";${${"GLOBALS"}["ymwamtivb"]}=$adb->pquery("SELECT vc.whatsapplog_withccode, vc.messagelog_body, vc.whatsapplogid, vc.whatsapplog_datetime, vc.whatsapplog_contactid
                FROM vtiger_whatsapplog vc INNER JOIN vtiger_crmentity cr ON cr.crmid = vc.whatsapplogid
                ".${${"GLOBALS"}["dfmabbjt"]}."
                AND vc.whatsapplog_withccode != ''   
                ".${$lxrzrqqo}."
                ".${${"GLOBALS"}["gsidquksjb"]}."
                ".${$pauluvrcgnaj}."
                ".${${"GLOBALS"}["vbrrjcpox"]}."
                AND vc.whatsapplog_withccode != 'Groups' 
                AND cr.deleted = 0 
                ORDER BY vc.whatsapplog_datetime DESC LIMIT 0,".${${"GLOBALS"}["ttyxansd"]});}${${"GLOBALS"}["qhnrej"]}=$adb->num_rows(${$fxazhppv});${${"GLOBALS"}["wzqbscvjj"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["bbydkvg"]};${${"GLOBALS"}["varbufd"]}++){$rjtmpbgzqy="recordId";${"GLOBALS"}["iekwvzxuu"]="recordId";${${"GLOBALS"}["jfoumwmsddwz"]}="";${$rjtmpbgzqy}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_contactid");if(${${"GLOBALS"}["iekwvzxuu"]}==""){${"GLOBALS"}["fdfdqdpw"]="label";$optkkfpm="profileImage";$pyovjepdqtto="i";${"GLOBALS"}["nkibxcql"]="recordId";${"GLOBALS"}["prpxgtln"]="recordId";${"GLOBALS"}["fofjicemyf"]="label";${"GLOBALS"}["tyonwqpiv"]="i";$yxeahbdhyl="i";${${"GLOBALS"}["xklalyy"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$yxeahbdhyl},"whatsapplog_withccode");${"GLOBALS"}["kwvhnugtwun"]="lastDateTime";${"GLOBALS"}["zvjeoyppsqd"]="avgMessageDay";$hzduhcikl="query";$pxzffnpvtw="unreadMessageCount";$ozldpeq="lastBody";$ckldltddbon="query";${$ozldpeq}=$adb->query_result(${$hzduhcikl},${$pyovjepdqtto},"messagelog_body");${${"GLOBALS"}["kwvhnugtwun"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${$ckldltddbon},${${"GLOBALS"}["tyonwqpiv"]},"whatsapplog_datetime"));${${"GLOBALS"}["prpxgtln"]}=${${"GLOBALS"}["xklalyy"]};${$optkkfpm}="layouts/v7/modules/CTWhatsApp/image/AvtarIcon.png";${"GLOBALS"}["bjldsvcu"]="messageData";${${"GLOBALS"}["idbtuvkdlk"]}=1;${${"GLOBALS"}["brzsrmtczv"]}=CTWhatsApp_Record_Model::getWhatsappUnReadNewMessageCounts(${${"GLOBALS"}["xklalyy"]});${${"GLOBALS"}["jfoumwmsddwz"]}=${${"GLOBALS"}["brzsrmtczv"]}["unreadCount"];${${"GLOBALS"}["zvjeoyppsqd"]}=${${"GLOBALS"}["bjldsvcu"]}["avgMessageDay"];${${"GLOBALS"}["wzqbscvjj"]}[${${"GLOBALS"}["fdfdqdpw"]}]=array("recordId"=>${${"GLOBALS"}["nkibxcql"]},"label"=>${${"GLOBALS"}["fofjicemyf"]},"profileImage"=>${${"GLOBALS"}["sykaowyh"]},"imagetag"=>${${"GLOBALS"}["idbtuvkdlk"]},"unreadMessageCount"=>${$pxzffnpvtw},"avgMessageDay"=>${${"GLOBALS"}["hkriod"]},"lastBody"=>${${"GLOBALS"}["irxbzrgowka"]},"lastDateTime"=>${${"GLOBALS"}["cceauxik"]});}else{$nwdrzvpauxf="actionName";$ddrisuu="setype";$rwachi="recordId";${$ddrisuu}=VtigerCRMObject::getSEType(${${"GLOBALS"}["qwoktwwcbt"]});${$nwdrzvpauxf}="DetailView";if(!Users_Privileges_Model::isPermitted(${${"GLOBALS"}["kpaifztojnc"]},${${"GLOBALS"}["emwkqyhays"]},${$rwachi})){${${"GLOBALS"}["osvkvgrclyb"]}="0";}else{${${"GLOBALS"}["osvkvgrclyb"]}="1";}if(${${"GLOBALS"}["osvkvgrclyb"]}==1){$yhigxsrdj="moduleIsEnable";${"GLOBALS"}["weucvjuy"]="moduleIsEnable";${"GLOBALS"}["sqkmmxwvls"]="setype";${$yhigxsrdj}=CTWhatsApp_Record_Model::getmoduleIsEnable(${${"GLOBALS"}["sqkmmxwvls"]});if(${${"GLOBALS"}["weucvjuy"]}==0){${${"GLOBALS"}["jvlxpqyxtb"]}=CTWhatsApp_Record_Model::recordDelete(${${"GLOBALS"}["qwoktwwcbt"]});${"GLOBALS"}["uammbbgdf"]="deleteRecord";if(${${"GLOBALS"}["uammbbgdf"]}==0){${"GLOBALS"}["qtkexomxc"]="recordId";${"GLOBALS"}["ktpftyujl"]="query";${"GLOBALS"}["pugfetm"]="unreadMessageCount";${"GLOBALS"}["hmqgufyfxri"]="recordId";if(${${"GLOBALS"}["qtkexomxc"]}){${"GLOBALS"}["spcrari"]="recordId";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["spcrari"]},${${"GLOBALS"}["kpaifztojnc"]});${${"GLOBALS"}["xklalyy"]}=$recordModel->get("label");}$ylxrkx="messageData";$nowspyw="label";${"GLOBALS"}["woctlahxjia"]="unreadMessageCount";${"GLOBALS"}["bvulfl"]="setype";${"GLOBALS"}["cngbccehf"]="lastBody";${${"GLOBALS"}["sykaowyh"]}=CTWhatsApp_Record_Model::getImageDetails(${${"GLOBALS"}["qwoktwwcbt"]},${${"GLOBALS"}["bvulfl"]});$grnfll="label";${"GLOBALS"}["qbygpydfcjf"]="i";${${"GLOBALS"}["idbtuvkdlk"]}=1;${"GLOBALS"}["cewnddnq"]="avgMessageDay";if(${${"GLOBALS"}["sykaowyh"]}==""){$mvetjsevwhvc="profileImage";${"GLOBALS"}["xuxoqmlehw"]="label";${"GLOBALS"}["bmqjjsrgev"]="labelExplode";${"GLOBALS"}["sndtvgo"]="imagetag";${${"GLOBALS"}["bmqjjsrgev"]}=explode(" ",${${"GLOBALS"}["xuxoqmlehw"]});${$mvetjsevwhvc}=mb_substr(${${"GLOBALS"}["ieqfnwig"]}[0],0,1,"UTF-8").mb_substr(${${"GLOBALS"}["ieqfnwig"]}[1],0,1,"UTF-8");${${"GLOBALS"}["sndtvgo"]}=0;}${$ylxrkx}=CTWhatsApp_Record_Model::getWhatsappUnReadMessageCounts(${${"GLOBALS"}["hmqgufyfxri"]});${${"GLOBALS"}["pugfetm"]}=${${"GLOBALS"}["brzsrmtczv"]}["unreadCount"];${${"GLOBALS"}["cewnddnq"]}=${${"GLOBALS"}["brzsrmtczv"]}["avgMessageDay"];${${"GLOBALS"}["irxbzrgowka"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"messagelog_body");${${"GLOBALS"}["cceauxik"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"GLOBALS"}["ktpftyujl"]},${${"GLOBALS"}["qbygpydfcjf"]},"whatsapplog_datetime"));${${"GLOBALS"}["wzqbscvjj"]}[${$grnfll}]=array("recordId"=>${${"GLOBALS"}["qwoktwwcbt"]},"label"=>${$nowspyw},"profileImage"=>${${"GLOBALS"}["sykaowyh"]},"imagetag"=>${${"GLOBALS"}["idbtuvkdlk"]},"unreadMessageCount"=>${${"GLOBALS"}["woctlahxjia"]},"avgMessageDay"=>${${"GLOBALS"}["hkriod"]},"lastBody"=>${${"GLOBALS"}["cngbccehf"]},"lastDateTime"=>${${"GLOBALS"}["cceauxik"]});}}}}}return${${"GLOBALS"}["wzqbscvjj"]};}public function getWhatsappUnReadNewMessageCounts($phonenumber){global$adb;$laudce="result";${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQuery();${"GLOBALS"}["wcbrbohjx"]="rows";$nsuloomefz="allMessageQuery";$rpvhbmjcqk="totalDays";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["oyuprils"]}." AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread' AND vtiger_ctwhatsapp.whatsapp_withccode = ? AND vtiger_ctwhatsapp.message_type = 'Recieved'",array(${${"GLOBALS"}["nvqealshokvk"]}));${${"GLOBALS"}["ymbxqpd"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${${"GLOBALS"}["jpkximzmw"]}=$adb->pquery(${${"GLOBALS"}["oyuprils"]}." AND vtiger_ctwhatsapp.whatsapp_withccode = ?",array(${${"GLOBALS"}["nvqealshokvk"]}));${${"GLOBALS"}["wcbrbohjx"]}=$adb->num_rows(${$nsuloomefz});${${"GLOBALS"}["ruxcxxib"]}=30;${${"GLOBALS"}["hkriod"]}=${${"GLOBALS"}["xdlzlhdqocwp"]}/${$rpvhbmjcqk};${"GLOBALS"}["tmroea"]="unreadCount";${$laudce}=array("unreadCount"=>${${"GLOBALS"}["tmroea"]},"avgMessageDay"=>number_format(${${"GLOBALS"}["hkriod"]},2));return${${"GLOBALS"}["ysiwjuruzd"]};}public function getLastWhatsappNewMessageData($phonenumber){${"GLOBALS"}["gfwovbnvim"]="dateTime";global$adb,$current_user;${"GLOBALS"}["strpbftgqrj"]="currentUserID";${${"GLOBALS"}["strpbftgqrj"]}=$current_user->id;${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});$rxvovrkj="inNumberQuery";$bdnxpzea="whatsappData";${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQuery();${"GLOBALS"}["grqfyezkpg"]="unreadQuery";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["grqfyezkpg"]}." AND vtiger_ctwhatsapp.whatsapp_withccode = ? ".${$rxvovrkj}." ORDER BY vtiger_ctwhatsapp.whatsapp_datetime DESC LIMIT 0,1",array(${${"GLOBALS"}["nvqealshokvk"]}));${"GLOBALS"}["snidmsvjb"]="query";${${"GLOBALS"}["nniepebkst"]}=$adb->query_result(${${"GLOBALS"}["snidmsvjb"]},0,"message_body");if($adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"whatsapp_datetime")){${"GLOBALS"}["trlehbkcthbs"]="query";${${"GLOBALS"}["myqchopdcyk"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"GLOBALS"}["trlehbkcthbs"]},0,"whatsapp_datetime"));}else{${"GLOBALS"}["xuhtjukjtio"]="dateTime";${${"GLOBALS"}["xuhtjukjtio"]}=="";}${$bdnxpzea}=array("body"=>${${"GLOBALS"}["nniepebkst"]},"dateTime"=>${${"GLOBALS"}["gfwovbnvim"]});return${${"GLOBALS"}["hixzeocl"]};}public function getImageDetails($recordId,$setype){${"GLOBALS"}["qiqmgc"]="recordId";$tlsgshrgjhec="db";global$root_directory;${$tlsgshrgjhec}=PearDatabase::getInstance();${${"GLOBALS"}["leslehffof"]}=array();if(${${"GLOBALS"}["qiqmgc"]}){${"GLOBALS"}["wdwrnsg"]="recordId";${${"GLOBALS"}["jxiorsabein"]}="SELECT vtiger_attachments.*, vtiger_crmentity.setype FROM vtiger_attachments
                INNER JOIN vtiger_seattachmentsrel ON vtiger_seattachmentsrel.attachmentsid = vtiger_attachments.attachmentsid
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_attachments.attachmentsid
                WHERE vtiger_seattachmentsrel.crmid = ?";${"GLOBALS"}["rnirtzule"]="imageName";$afxyedx="result";${"GLOBALS"}["nijiajyz"]="imageId";${"GLOBALS"}["xkjinditul"]="imagePath";$vrtllqogo="sql";${${"GLOBALS"}["ysiwjuruzd"]}=$db->pquery(${$vrtllqogo},array(${${"GLOBALS"}["wdwrnsg"]}));${${"GLOBALS"}["nijiajyz"]}=$db->query_result(${$afxyedx},0,"attachmentsid");$rqwennhkr="result";${${"GLOBALS"}["xkjinditul"]}=$db->query_result(${${"GLOBALS"}["ysiwjuruzd"]},0,"path");${${"GLOBALS"}["rnirtzule"]}=$db->query_result(${$rqwennhkr},0,"name");${"GLOBALS"}["uhaisldcd"]="imageName";${${"GLOBALS"}["rvxtcpfrkxxc"]}=urlencode(decode_html(${${"GLOBALS"}["uhaisldcd"]}));if(!empty(${${"GLOBALS"}["uouwueon"]})){${"GLOBALS"}["ohnpfoeo"]="imagePath";${"GLOBALS"}["lpfukimctq"]="imageId";${"GLOBALS"}["ivnuou"]="imageOriginalName";${"GLOBALS"}["gbunggdn"]="imagePath";$fqykjojmy="imageName";$pekhddg="imageId";${"GLOBALS"}["dsqigqzv"]="imagePath";$wngiquhdrzht="imageName";${${"GLOBALS"}["leslehffof"]}[]=array("id"=>${$pekhddg},"orgname"=>${${"GLOBALS"}["ivnuou"]},"path"=>${${"GLOBALS"}["dsqigqzv"]}.${${"GLOBALS"}["hmyikcjb"]},"name"=>${$wngiquhdrzht});${${"GLOBALS"}["gbunggdn"]}=${${"GLOBALS"}["ohnpfoeo"]}.${${"GLOBALS"}["lpfukimctq"]}."_".${$fqykjojmy};}}return${${"GLOBALS"}["fnfsjpuh"]};}public function getWhatsappUnReadMessageCounts($recordId){${"GLOBALS"}["rwueleelwb"]="query";$upfplcsetoq="recordId";$ctdkyj="unreadQuery";${"GLOBALS"}["sqxkjgiuuiqn"]="unreadQuery";global$adb;$rdmmpbx="rows";${${"GLOBALS"}["sqxkjgiuuiqn"]}=CTWhatsApp_Record_Model::unreadQuery();$qwwwrbjgvfnx="allMessageQuery";${${"GLOBALS"}["rwueleelwb"]}=$adb->pquery(${$ctdkyj}." AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread' AND vtiger_ctwhatsapp.whatsapp_contactid = ? AND vtiger_ctwhatsapp.message_type = 'Recieved'",array(${$upfplcsetoq}));$efwjii="avgMessageDay";${${"GLOBALS"}["ymbxqpd"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${"GLOBALS"}["ongbhboue"]="totalDays";${$qwwwrbjgvfnx}=$adb->pquery(${${"GLOBALS"}["oyuprils"]}." AND vtiger_ctwhatsapp.whatsapp_contactid = ?",array(${${"GLOBALS"}["qwoktwwcbt"]}));${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["jpkximzmw"]});${"GLOBALS"}["tqmtvux"]="result";${${"GLOBALS"}["ongbhboue"]}=30;${$efwjii}=${$rdmmpbx}/${${"GLOBALS"}["ruxcxxib"]};${${"GLOBALS"}["tqmtvux"]}=array("unreadCount"=>${${"GLOBALS"}["ymbxqpd"]},"avgMessageDay"=>number_format(${${"GLOBALS"}["hkriod"]},2));return${${"GLOBALS"}["ysiwjuruzd"]};}public function getLastWhatsappMessageData($recordId){$unhavm="currentUserID";global$adb,$current_user;${"GLOBALS"}["ujnvgywlu"]="dateTime";${"GLOBALS"}["phcgmjdt"]="inNumberQuery";${$unhavm}=$current_user->id;${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQuery();${${"GLOBALS"}["phcgmjdt"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});$kpygtwlfhyjh="body";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["oyuprils"]}." AND vtiger_ctwhatsapp.whatsapp_contactid = ? ".${${"GLOBALS"}["pragmjfeo"]}." ORDER BY vtiger_ctwhatsapp.whatsapp_datetime DESC LIMIT 0,1",array(${${"GLOBALS"}["qwoktwwcbt"]}));${${"GLOBALS"}["nniepebkst"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"message_body");${"GLOBALS"}["alqjtgwrxi"]="whatsappData";if($adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"whatsapp_datetime")){${"GLOBALS"}["ogvvebpdr"]="query";${${"GLOBALS"}["myqchopdcyk"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"GLOBALS"}["ogvvebpdr"]},0,"whatsapp_datetime"));}else{${${"GLOBALS"}["myqchopdcyk"]}=="";}${${"GLOBALS"}["alqjtgwrxi"]}=array("body"=>${$kpygtwlfhyjh},"dateTime"=>${${"GLOBALS"}["ujnvgywlu"]});return${${"GLOBALS"}["hixzeocl"]};}public function getUnknownMessagesData($start,$end,$searchValue){${"GLOBALS"}["uyvgkrylw"]="inNumberQuery";global$adb,$current_user;$fnxyauqisw="start";$djdxsjzoire="customQuery";${${"GLOBALS"}["xkfegcbvayw"]}=$current_user->id;${${"GLOBALS"}["oyuprils"]}=CTWhatsApp_Record_Model::unreadQuery();${"GLOBALS"}["owopphsi"]="query";${${"GLOBALS"}["uyvgkrylw"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"GLOBALS"}["xkfegcbvayw"]});$xaocuvuloqk="searchQuery";$rqchsfqjcm="searchValue";if(${$rqchsfqjcm}){$xsunyfa="searchQuery";${$xsunyfa}=" AND vtiger_whatsapplog.whatsapplog_withccode LIKE '%".${${"GLOBALS"}["smfcwf"]}."%'";}${${"GLOBALS"}["owopphsi"]}=$adb->pquery("SELECT vtiger_whatsapplog.whatsapplog_withccode, vtiger_whatsapplog.messagelog_body, vtiger_whatsapplog.whatsapplog_datetime FROM vtiger_whatsapplog 
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
            WHERE vtiger_crmentity.deleted = 0 AND (vtiger_whatsapplog.whatsapplog_withccode != 'Groups' AND vtiger_whatsapplog.whatsapplog_withccode != '') AND vtiger_whatsapplog.whatsapplog_contactid = '' ".${${"GLOBALS"}["pragmjfeo"]}.${$djdxsjzoire}.${$xaocuvuloqk}." GROUP BY vtiger_whatsapplog.whatsapplog_withccode ORDER BY vtiger_crmentity.createdtime DESC LIMIT 0, ".${$fnxyauqisw},array());${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${${"GLOBALS"}["wzqbscvjj"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["gobtvswiz"]="unreadMessageCount";${"GLOBALS"}["wnmclktwsth"]="unreadMessageCount";${"GLOBALS"}["cxqbhlx"]="query";$dqrnevd="label";${"GLOBALS"}["rbutxjxcbc"]="label";${"GLOBALS"}["xmupijb"]="messageData";${"GLOBALS"}["irwwrfnbctcq"]="imagetag";$edmymqzgnftx="profileImage";$smrcrjxfqx="profileImage";${$dqrnevd}=$adb->query_result(${${"GLOBALS"}["cxqbhlx"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_withccode");${${"GLOBALS"}["qwoktwwcbt"]}=${${"GLOBALS"}["xklalyy"]};${$smrcrjxfqx}="layouts/v7/modules/CTWhatsApp/image/AvtarIcon.png";${"GLOBALS"}["gigeymhiq"]="query";$luhrylehse="avgMessageDay";${"GLOBALS"}["itnqcoqduw"]="query";${${"GLOBALS"}["irwwrfnbctcq"]}=1;${${"GLOBALS"}["xmupijb"]}=CTWhatsApp_Record_Model::getWhatsappUnReadNewMessageCounts(${${"GLOBALS"}["xklalyy"]});${${"GLOBALS"}["gobtvswiz"]}=${${"GLOBALS"}["brzsrmtczv"]}["unreadCount"];${$luhrylehse}=${${"GLOBALS"}["brzsrmtczv"]}["avgMessageDay"];${${"GLOBALS"}["irxbzrgowka"]}=$adb->query_result(${${"GLOBALS"}["itnqcoqduw"]},${${"GLOBALS"}["varbufd"]},"messagelog_body");$vtyrklkxlim="i";$glxnfaiq="lastBody";$ytgksec="avgMessageDay";${"GLOBALS"}["nuqqoymx"]="recordId";${${"GLOBALS"}["cceauxik"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"GLOBALS"}["gigeymhiq"]},${$vtyrklkxlim},"whatsapplog_datetime"));${${"GLOBALS"}["wzqbscvjj"]}[${${"GLOBALS"}["rbutxjxcbc"]}]=array("recordId"=>${${"GLOBALS"}["nuqqoymx"]},"label"=>${${"GLOBALS"}["xklalyy"]},"profileImage"=>${$edmymqzgnftx},"imagetag"=>${${"GLOBALS"}["idbtuvkdlk"]},"unreadMessageCount"=>${${"GLOBALS"}["wnmclktwsth"]},"avgMessageDay"=>${$ytgksec},"lastBody"=>${$glxnfaiq},"lastDateTime"=>${${"GLOBALS"}["cceauxik"]});}return${${"GLOBALS"}["wzqbscvjj"]};}public function getModuleMessagesData($whatsappmodule,$start,$end,$searchValue){${"GLOBALS"}["wnnnxlc"]="whatsappmodule";${"GLOBALS"}["uxshvqwpdd"]="i";${"GLOBALS"}["kvodyjpj"]="whatsaappModuleData";$gcoxoshe="moduleQuery";$tsvund="phoneField";global$adb;${${"GLOBALS"}["kvodyjpj"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"GLOBALS"}["jbkglfqkknae"]});${${"GLOBALS"}["sntiipyhjd"]}=${${"GLOBALS"}["fmysjse"]}["phoneField"];${$gcoxoshe}=CTWhatsApp_Record_Model::moduleQuery(${${"GLOBALS"}["wnnnxlc"]},${$tsvund},${${"GLOBALS"}["smfcwf"]});if(${${"GLOBALS"}["smfcwf"]}){${"GLOBALS"}["imvcyehnbkwv"]="moduleQuery";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["imvcyehnbkwv"]});}else{${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["wtgpqei"]}." ORDER BY vtiger_whatsapplog.whatsapplog_datetime DESC LIMIT 0, ".${${"GLOBALS"}["pjpjnfd"]});}${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${"GLOBALS"}["mrirfqib"]="moduleRecordData";$ymatsdscuh="moduleRecordData";${${"GLOBALS"}["mrirfqib"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["uxshvqwpdd"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["ivpjdfp"]="i";$ffgtqhzry="i";${"GLOBALS"}["dktllsdz"]="setype";${"GLOBALS"}["ntdykqbjaj"]="label";${"GLOBALS"}["cwhcvjkexx"]="label";$gnnwngqqfk="lastBody";${${"GLOBALS"}["qwoktwwcbt"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["ivpjdfp"]},"whatsapplog_contactid");$qmthtpz="recordId";$hvxkhmxiqved="setype";${"GLOBALS"}["blmiklz"]="unreadMessageCount";${"GLOBALS"}["jwxoley"]="query";$oenkoecdaxf="profileImage";${"GLOBALS"}["wmcdeldm"]="profileImage";${${"GLOBALS"}["cwhcvjkexx"]}=$adb->query_result(${${"GLOBALS"}["jwxoley"]},${$ffgtqhzry},"whatsapplog_displayname");${$hvxkhmxiqved}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"setype");$znmwgygp="lastDateTime";${"GLOBALS"}["lmzsneqxpxm"]="recordId";${${"GLOBALS"}["wmcdeldm"]}=CTWhatsApp_Record_Model::getImageDetails(${${"GLOBALS"}["lmzsneqxpxm"]},${${"GLOBALS"}["dktllsdz"]});${${"GLOBALS"}["idbtuvkdlk"]}=1;${"GLOBALS"}["kphsrfr"]="lastBody";if(${${"GLOBALS"}["sykaowyh"]}==""){${"GLOBALS"}["xdwymivup"]="label";$dohfchxyq="labelExplode";${${"GLOBALS"}["ieqfnwig"]}=explode(" ",${${"GLOBALS"}["xdwymivup"]});${${"GLOBALS"}["sykaowyh"]}=mb_substr(${${"GLOBALS"}["ieqfnwig"]}[0],0,1,"UTF-8").mb_substr(${$dohfchxyq}[1],0,1,"UTF-8");${${"GLOBALS"}["idbtuvkdlk"]}=0;}$wcswrgvlevo="query";${${"GLOBALS"}["brzsrmtczv"]}=CTWhatsApp_Record_Model::getWhatsappUnReadMessageCounts(${$qmthtpz});${${"GLOBALS"}["jfoumwmsddwz"]}=${${"GLOBALS"}["brzsrmtczv"]}["unreadCount"];$geovratfrq="query";${${"GLOBALS"}["hkriod"]}=${${"GLOBALS"}["brzsrmtczv"]}["avgMessageDay"];${${"GLOBALS"}["kphsrfr"]}=$adb->query_result(${$wcswrgvlevo},${${"GLOBALS"}["varbufd"]},"messagelog_body");${$znmwgygp}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${$geovratfrq},${${"GLOBALS"}["varbufd"]},"whatsapplog_datetime"));${${"GLOBALS"}["weccyvxqlu"]}[]=array("recordId"=>${${"GLOBALS"}["qwoktwwcbt"]},"label"=>${${"GLOBALS"}["ntdykqbjaj"]},"profileImage"=>${$oenkoecdaxf},"imagetag"=>${${"GLOBALS"}["idbtuvkdlk"]},"unreadMessageCount"=>${${"GLOBALS"}["blmiklz"]},"avgMessageDay"=>${${"GLOBALS"}["hkriod"]},"lastBody"=>${$gnnwngqqfk},"lastDateTime"=>${${"GLOBALS"}["cceauxik"]});}return${$ymatsdscuh};}public function getImportantMessageDetail($phone){global$adb;${"GLOBALS"}["qxkkljff"]="query";${"GLOBALS"}["nrfsemp"]="query";${${"GLOBALS"}["qxkkljff"]}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
            WHERE vtiger_whatsapplog.whatsapplog_withccode = ? AND vtiger_crmentity.deleted = 0",array(${${"GLOBALS"}["wnskhdyyjgl"]}));${${"GLOBALS"}["gsidquksjb"]}=$adb->query_result(${${"GLOBALS"}["nrfsemp"]},0,"whatsapplog_important");return${${"GLOBALS"}["gsidquksjb"]};}public function getModuleRecordData($recordId,$setype,$whatsappModule,$groupid,$groupWhatsappNumber){$gxrqqz="recordId";$qilctkmy="imagetag";${"GLOBALS"}["qriafwhwhe"]="actionName";global$adb;${"GLOBALS"}["jumtwdtlhk"]="profileImage";$rveqsmok="profileImage";${"GLOBALS"}["zfipkaw"]="ModCommentsEnable";${"GLOBALS"}["dcuhufyan"]="label";$ukbxsrqtbx="setype";$epoivurrfw="recordId";${"GLOBALS"}["sxpldsn"]="setype";$agmftbb="setype";$lpuhbln="recentComments";${"GLOBALS"}["yzhxukhnu"]="permissionRecord";${"GLOBALS"}["qknuif"]="totalSent";${"GLOBALS"}["hzwymwwlk"]="getWhatsappMessages";${"GLOBALS"}["goxcbnqwy"]="setype";$wimwomzhdpvw="totalReceived";$hjbfvsbunlu="recordId";${"GLOBALS"}["nqlufvwxq"]="groupWhatsappNumber";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${$gxrqqz},${${"GLOBALS"}["goxcbnqwy"]});${"GLOBALS"}["kjgsxndfowh"]="themeView";${${"GLOBALS"}["dcuhufyan"]}=$recordModel->get("label");$ryobij="rows";${${"GLOBALS"}["ikgxdif"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${$ukbxsrqtbx});${"GLOBALS"}["klbjzktsqd"]="manualtransfer";$fxpjjcufdpuv="getBotMobile";$yqwpkvyi="getWhatsappMessages";${${"GLOBALS"}["sntiipyhjd"]}=${${"GLOBALS"}["ikgxdif"]}["phoneField"];$ohdhjss="tabid";${"GLOBALS"}["mlcbscybh"]="relatedModuleHTML";$pjtrfiwfvmit="setype";$sozissqfo="query";$helvfcqi="value";${${"GLOBALS"}["wnskhdyyjgl"]}=$recordModel->get(${${"GLOBALS"}["sntiipyhjd"]});${$rveqsmok}=CTWhatsApp_Record_Model::getImageDetails(${${"GLOBALS"}["qwoktwwcbt"]},${$pjtrfiwfvmit});${$qilctkmy}=1;${"GLOBALS"}["uvlbtdnem"]="totalReceived";${"GLOBALS"}["kwifbefj"]="getWhatsappMessages";if(${${"GLOBALS"}["jumtwdtlhk"]}==""){$cdusvmhgsi="labelExplode";${"GLOBALS"}["frjbox"]="profileImage";${${"GLOBALS"}["ieqfnwig"]}=explode(" ",${${"GLOBALS"}["xklalyy"]});${${"GLOBALS"}["frjbox"]}=mb_substr(${${"GLOBALS"}["ieqfnwig"]}[0],0,1,"UTF-8").mb_substr(${$cdusvmhgsi}[1],0,1,"UTF-8");${${"GLOBALS"}["idbtuvkdlk"]}=0;}${${"GLOBALS"}["kwifbefj"]}=CTWhatsApp_Record_Model::getWhatsappMessages(${$hjbfvsbunlu},${${"GLOBALS"}["kpaifztojnc"]},${${"GLOBALS"}["jlrfghi"]},${${"GLOBALS"}["hxezvqnwm"]},${${"GLOBALS"}["nqlufvwxq"]});${${"GLOBALS"}["lwrsnxv"]}=${${"GLOBALS"}["hzwymwwlk"]}["whatsappMessageHTML"];${"GLOBALS"}["sunbwwf"]="activeBot";${"GLOBALS"}["yiikpcvoel"]="keyFieldsHTML";${"GLOBALS"}["elsbsmgt"]="getBotMobile";${"GLOBALS"}["nkaotzfsscy"]="moduleRecrodData";${${"GLOBALS"}["girhvs"]}=${$yqwpkvyi}["totalSent"];${$wimwomzhdpvw}=${${"GLOBALS"}["flhpypxvnfn"]}["totalReceived"];$xzjatf="messageImportant";$qnebjvjqmzf="moduleIsEnable";${$lpuhbln}=${${"GLOBALS"}["flhpypxvnfn"]}["commentHTML"];${"GLOBALS"}["dmfvhog"]="manualtransfer";${"GLOBALS"}["luiuisrzpgj"]="setype";${$qnebjvjqmzf}=${${"GLOBALS"}["flhpypxvnfn"]}["moduleIsEnable"];${${"GLOBALS"}["rzfncopxxx"]}=CTWhatsApp_Record_Model::getImportantMessageDetail(${${"GLOBALS"}["wnskhdyyjgl"]});${$ohdhjss}=getTabid(${$agmftbb});${$sozissqfo}=$adb->pquery("SELECT * FROM vtiger_field WHERE tabid = ? AND summaryfield = ? AND uitype NOT IN ('10', '51')",array(${${"GLOBALS"}["wihfdtjxrf"]},1));${"GLOBALS"}["fhqwypp"]="keyFieldsHTML";${$ryobij}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${${"GLOBALS"}["kepycsfylh"]}=array();${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${$epoivurrfw},${${"GLOBALS"}["kpaifztojnc"]});${"GLOBALS"}["ktblrxlxcj"]="ModCommentsEnable";${${"GLOBALS"}["zpeusfkwe"]}=CTWhatsApp_Record_Model::checkCommentModuleEnable(${${"GLOBALS"}["kpaifztojnc"]});$hdgdpntyk="relatedModules";$evjeenud="recentComments";${${"GLOBALS"}["zfipkaw"]}=CTWhatsApp_Record_Model::checkPermissionModule("ModComments");${${"GLOBALS"}["emwkqyhays"]}="EditView";if(!Users_Privileges_Model::isPermitted(${${"GLOBALS"}["sxpldsn"]},${${"GLOBALS"}["qriafwhwhe"]},${${"GLOBALS"}["qwoktwwcbt"]})){${"GLOBALS"}["tdvyrlxtwkj"]="permissionRecord";${${"GLOBALS"}["tdvyrlxtwkj"]}="0";}else{${"GLOBALS"}["yexhvdtmm"]="permissionRecord";${${"GLOBALS"}["yexhvdtmm"]}="1";}$cjrjskep="label";${${"GLOBALS"}["kjgsxndfowh"]}=CTWhatsApp_Record_Model::getWhatsappTheme();${${"GLOBALS"}["fhqwypp"]}="";if(${${"GLOBALS"}["osvkvgrclyb"]}==1){${"GLOBALS"}["qpmwmtjqniw"]="i";$yhwsvwwzacn="i";$nvtyusrifnm="i";for(${${"GLOBALS"}["qpmwmtjqniw"]}=0;${$yhwsvwwzacn}<${${"GLOBALS"}["xdlzlhdqocwp"]};${$nvtyusrifnm}++){${"GLOBALS"}["xozukyhnewr"]="i";if(${${"GLOBALS"}["xozukyhnewr"]}<4){${"GLOBALS"}["nlxecrnevxw"]="i";${"GLOBALS"}["uywcokcwd"]="setype";$tfxifvc="i";$xpysldgshybk="fieldname";${"GLOBALS"}["mqwvtvrqg"]="query";${${"GLOBALS"}["vbvktqwlla"]}=vtranslate($adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$tfxifvc},"fieldlabel"),${${"GLOBALS"}["uywcokcwd"]});${$xpysldgshybk}=$adb->query_result(${${"GLOBALS"}["mqwvtvrqg"]},${${"GLOBALS"}["nlxecrnevxw"]},"fieldname");$foljdbd="fieldname";$weirukk="fieldname";${${"GLOBALS"}["mmvenbkljei"]}=$recordModel->get(${$weirukk});if(${$foljdbd}=="assigned_user_id"){$brevzgxyxsz="userrows";${${"GLOBALS"}["kiyfdey"]}=$adb->pquery("SELECT * FROM vtiger_users WHERE id=?",array(${${"GLOBALS"}["mmvenbkljei"]}));$efmkvlpdlrc="userrows";$shkmqpwoi="getusername";${$brevzgxyxsz}=$adb->num_rows(${$shkmqpwoi});if(${$efmkvlpdlrc}==0){$tdihoodrx="getgroup";$esdgxmdr="fieldvalue";${$tdihoodrx}=$adb->pquery("SELECT * FROM vtiger_groups WHERE groupid=?",array(${$esdgxmdr}));${${"GLOBALS"}["xtmphilnsg"]}=$adb->num_rows(${${"GLOBALS"}["jurbitsgzg"]});${${"GLOBALS"}["mmvenbkljei"]}=$adb->query_result(${${"GLOBALS"}["jurbitsgzg"]},0,"groupname");}else{$oktgsc="fieldvalue";${$oktgsc}=$adb->query_result(${${"GLOBALS"}["kiyfdey"]},0,"first_name")." ".$adb->query_result(${${"GLOBALS"}["kiyfdey"]},0,"last_name");}}if(${${"GLOBALS"}["pducllxobyxt"]}=="RTL"){${"GLOBALS"}["ltlotcv"]="fieldlabel";${${"GLOBALS"}["ozkqultlznnb"]}.="<p><span class="">".${${"GLOBALS"}["mmvenbkljei"]}."</span> : ".${${"GLOBALS"}["ltlotcv"]}."</p>";}else{${"GLOBALS"}["dozilww"]="fieldvalue";$hqxtdfloyt="fieldlabel";${${"GLOBALS"}["ozkqultlznnb"]}.="<p>".${$hqxtdfloyt}." : <span class=\"\">".${${"GLOBALS"}["dozilww"]}."</span></p>";}}}}${${"GLOBALS"}["wewoptm"]}=CTWhatsApp_Record_Model::getRelatedModules(${${"GLOBALS"}["kpaifztojnc"]});${${"GLOBALS"}["mlcbscybh"]}="";foreach(${$hdgdpntyk} as${${"GLOBALS"}["kpvucjbcne"]}=>${$helvfcqi}){$okjjvalpwg="recordId";${"GLOBALS"}["rgjprhmaf"]="value";${${"GLOBALS"}["teodzle"]}=vtranslate(${${"GLOBALS"}["yxksumx"]}["relatedModule"],${${"GLOBALS"}["rgjprhmaf"]}["relatedModule"]);$xqbxiyy="value";${"GLOBALS"}["ocxcppqqc"]="value";${"GLOBALS"}["ehuynbjsv"]="moduleURL";${${"GLOBALS"}["ehuynbjsv"]}="index.php?module=".${${"GLOBALS"}["yxksumx"]}["relatedModule"]."&view=QuickCreateAjax&".${${"GLOBALS"}["yxksumx"]}["relatedFieldName"]."=".${$okjjvalpwg};${${"GLOBALS"}["xhtihoijbqj"]}.="<a id="menubar_quickCreate_".${${"GLOBALS"}["ocxcppqqc"]}["relatedModule"]."\" class=\"dropdown-item quickCreateModule" href=\"#\" data-name="".${$xqbxiyy}["relatedModule"]."\" data-url=\"".${${"GLOBALS"}["vjslflqvuhu"]}."\">".${${"GLOBALS"}["teodzle"]}."</a>";}${${"GLOBALS"}["ruffshepnl"]}=CTWhatsApp_Record_Model::getPreQuestionDetail(${${"GLOBALS"}["wnskhdyyjgl"]});${${"GLOBALS"}["wlqfpdxcyal"]}=${$fxpjjcufdpuv}["activeBot"];${${"GLOBALS"}["dmfvhog"]}=${${"GLOBALS"}["elsbsmgt"]}["manualtransfer"];${${"GLOBALS"}["isnhqvhnsab"]}=array("recordId"=>${${"GLOBALS"}["qwoktwwcbt"]},"label"=>${$cjrjskep},"phone"=>${${"GLOBALS"}["wnskhdyyjgl"]},"profileImage"=>${${"GLOBALS"}["sykaowyh"]},"imagetag"=>${${"GLOBALS"}["idbtuvkdlk"]},"whatsappMessages"=>${${"GLOBALS"}["lwrsnxv"]},"keyFieldsHTML"=>${${"GLOBALS"}["yiikpcvoel"]},"totalSent"=>${${"GLOBALS"}["qknuif"]},"totalReceived"=>${${"GLOBALS"}["uvlbtdnem"]},"recentComments"=>${$evjeenud},"relatedModuleHTML"=>${${"GLOBALS"}["xhtihoijbqj"]},"messageImportant"=>${$xzjatf},"setype"=>${${"GLOBALS"}["luiuisrzpgj"]},"commentModule"=>${${"GLOBALS"}["zpeusfkwe"]},"moduleIsEnable"=>${${"GLOBALS"}["gbiqjgm"]},"ModCommentsEnable"=>${${"GLOBALS"}["ktblrxlxcj"]},"permissionRecord"=>${${"GLOBALS"}["yzhxukhnu"]},"manualtransfer"=>${${"GLOBALS"}["klbjzktsqd"]},"activeBot"=>${${"GLOBALS"}["sunbwwf"]});return${${"GLOBALS"}["nkaotzfsscy"]};}public function getPreQuestionDetail($phone){${"GLOBALS"}["fwhwcelskqm"]="manualtransfer";$wicpnmsgamhc="rows";${"GLOBALS"}["rlrjjjpjtcts"]="rows";${"GLOBALS"}["arnpsfqqmfve"]="roboticmodeQuery";global$adb;${${"GLOBALS"}["yhvmtvduqb"]}=$adb->pquery("SELECT * FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["wnskhdyyjgl"]}));${${"GLOBALS"}["rlrjjjpjtcts"]}=$adb->num_rows(${${"GLOBALS"}["arnpsfqqmfve"]});${"GLOBALS"}["kjpmykmsimqa"]="manualtransfer";${${"GLOBALS"}["kjpmykmsimqa"]}=$adb->query_result(${${"GLOBALS"}["yhvmtvduqb"]},0,"manualtransfer");${"GLOBALS"}["aouredrldo"]="preQuestionDetail";${${"GLOBALS"}["ftzlmwaro"]}=array("manualtransfer"=>${${"GLOBALS"}["fwhwcelskqm"]},"activeBot"=>${$wicpnmsgamhc});return${${"GLOBALS"}["aouredrldo"]};}public function getWhatsAppRelatedRecord($recordId,$setype,$whatsappModule,$groupid,$nextWhatsappRelatedMessage){$kvhwwb="whatsappModule";$jmdfuepkh="getWhatsappMessages";$rytqbirptn="nextWhatsappRelatedMessage";$fwtmorozjb="setype";${${"GLOBALS"}["flhpypxvnfn"]}=CTWhatsApp_Record_Model::getRelatedModuleWhatsappMessages(${${"GLOBALS"}["qwoktwwcbt"]},${$fwtmorozjb},${$kvhwwb},${${"GLOBALS"}["hxezvqnwm"]},${$rytqbirptn});$eogggucfqjg="moduleRecrodData";${"GLOBALS"}["tdjpemxp"]="moduleRecrodData";${${"GLOBALS"}["lwrsnxv"]}=${$jmdfuepkh}["whatsappMessageHTML"];${${"GLOBALS"}["tdjpemxp"]}=array("whatsappMessages"=>${${"GLOBALS"}["lwrsnxv"]});return${$eogggucfqjg};}public function getRelatedModuleWhatsappMessages($recordId,$setype,$whatsappModule,$groupid,$nextWhatsappRelatedMessage){${"GLOBALS"}["ygbyhxgc"]="configurationData";${"GLOBALS"}["rgrxqtrnruw"]="unreadQuery";${"GLOBALS"}["qokthntme"]="i";$znqwyhkq="nextWhatsappRelatedMessage";${"GLOBALS"}["xkkhft"]="recordId";$pvtprvgvmw="whatsappMessageHTML";${"GLOBALS"}["vgmibnkyjvwb"]="query";$heeldfeo="configurationData";$miaqgen="fileExts";global$adb,$current_user;${"GLOBALS"}["pofpsve"]="whatsappScanNo";${${"GLOBALS"}["xeepvldsw"]}=$current_user->id;${"GLOBALS"}["puqacdqqxd"]="rows";${${"GLOBALS"}["ygbyhxgc"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["xeepvldsw"]});${"GLOBALS"}["fletoordw"]="nextWhatsappRelatedMessage";$ebhytu="userID";${${"GLOBALS"}["pofpsve"]}=${$heeldfeo}["whatsappno"];${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getInNumberQuery(${$ebhytu});if(${$znqwyhkq}==""){${"GLOBALS"}["cqcxwxu"]="nextWhatsappRelatedMessage";${${"GLOBALS"}["cqcxwxu"]}=0;}${${"GLOBALS"}["rgrxqtrnruw"]}=CTWhatsApp_Record_Model::unreadQuery();$wxqsrmfup="customQuery";$lulyut="whatsappMessageHTML";$qgowdmrxcy="messageData";${$wxqsrmfup}=" AND whatsapp_contactid = ? ORDER BY whatsapp_datetime ASC LIMIT ".${${"GLOBALS"}["fletoordw"]}.", 5";$iuvcmxtb="excelExts";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["oyuprils"]}.${${"GLOBALS"}["binxbdid"]},array(${${"GLOBALS"}["xkkhft"]}));${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["vgmibnkyjvwb"]});${$pvtprvgvmw}="";${${"GLOBALS"}["lpgsntbmqe"]}=array("gif","jpg","jpeg","png","tiff","tif");${"GLOBALS"}["dbalwjyorwj"]="rows";${${"GLOBALS"}["jnypnxbsroxp"]}=array("pdf");${$miaqgen}=array("txt","php","zip","csv","https");${${"GLOBALS"}["sglklk"]}=array("mp3");${$iuvcmxtb}=array("xls");$pscsscj="messageData";${${"GLOBALS"}["jnxfqqlekp"]}=array("docx","doc");for(${${"GLOBALS"}["qokthntme"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["puqacdqqxd"]};${${"GLOBALS"}["varbufd"]}++){$woaforsod="fileExts";$xtqhedfcq="i";${"GLOBALS"}["nhilvtt"]="urlExt";$vwlsbakre="mp3Exts";$trkfjkihsl="i";$jgqhfsda="query";${"GLOBALS"}["gijcsqfmb"]="query";$tgxtpal="urlExt";$gdqirnx="urlExt";$crmgwwhu="getNumberDetails";$pljsemz="your_number";$luuiverm="messageSenderame";${"GLOBALS"}["mrqikiz"]="query";$dstplmxsk="query";$ybjwwehlmmcf="i";$ubrfrv="fileExts";${"GLOBALS"}["hhjjyej"]="i";$adidichnj="ctWhatsappId";${"GLOBALS"}["gbxvaqbpwxzy"]="query";$xfbqlwczyv="quotemessage";${$adidichnj}=$adb->query_result(${$jgqhfsda},${${"GLOBALS"}["varbufd"]},"ctwhatsappid");${"GLOBALS"}["tbwshydx"]="messageImportant";${"GLOBALS"}["lievpwkye"]="excelExts";$tyktqkxyzjjb="i";$nfspnis="i";$qfenpndos="messageType";${${"GLOBALS"}["tbwshydx"]}=$adb->query_result(${$dstplmxsk},${${"GLOBALS"}["hhjjyej"]},"whatsapp_important");$jrnrtinr="urlExt";${"GLOBALS"}["shivbhvcxhp"]="messageType";${"GLOBALS"}["wyqdwssk"]="messageReadUnRead";${$qfenpndos}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$ybjwwehlmmcf},"message_type");${${"GLOBALS"}["wyqdwssk"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"whatsapp_unreadread");${$luuiverm}=$adb->query_result(${${"GLOBALS"}["mrqikiz"]},${$xtqhedfcq},"whatsapp_sendername");$zoqwrmuwvkw="messageBody";${${"GLOBALS"}["zdjsennq"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$nfspnis},"whatsapp_withccode");$yxisgxohqsrl="wordlExts";${"GLOBALS"}["gvgmnlxopo"]="imgExts";${"GLOBALS"}["bbzxifdfcm"]="urlExt";${$pljsemz}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"your_number");${$crmgwwhu}=CTWhatsApp_Record_Model::getWhatsAppDetailWithMobileNo(${${"GLOBALS"}["qourxve"]});${${"GLOBALS"}["fyjobvle"]}=${${"GLOBALS"}["kxhtbqhe"]}["username"];${$xfbqlwczyv}=$adb->query_result(${${"GLOBALS"}["gijcsqfmb"]},${${"GLOBALS"}["varbufd"]},"whatsapp_quotemessage");$zlqohatchw="urlExt";${${"GLOBALS"}["rzynmifhui"]}=$adb->query_result(${${"GLOBALS"}["gbxvaqbpwxzy"]},${${"GLOBALS"}["varbufd"]},"msgid");${${"GLOBALS"}["wyqmlwk"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"message_body");${$zoqwrmuwvkw}=nl2br(preg_replace("#\*([^*]+)\*#","<b>\$1</b>",$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$tyktqkxyzjjb},"message_body")));${$gdqirnx}=pathinfo(${${"GLOBALS"}["lynmouvw"]},PATHINFO_EXTENSION);$queibym="urlExt";${"GLOBALS"}["wgpjqnv"]="urlExt";$uclqlev="messageType";if(in_array(${$zlqohatchw},${${"GLOBALS"}["lpgsntbmqe"]})){$hndswpvgxvt="messageBody";${"GLOBALS"}["snbpkhrjhc"]="messageBody";${$hndswpvgxvt}="<image src="".${${"GLOBALS"}["snbpkhrjhc"]}."\" style="height: 60px !important;cursor: pointer;">";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${$ubrfrv})){$eucnmeqqx="messageBody";${$eucnmeqqx}="<a href=\"".${${"GLOBALS"}["lynmouvw"]}."\" target=\"_black\"><img src=\"layouts/v7/modules/CTWhatsApp/image/fileicon.png\"></a>";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["jnypnxbsroxp"]})){$auwpjfv="messageBody";${${"GLOBALS"}["lynmouvw"]}="<a href="".${$auwpjfv}."" target=\"_black"><img src=\"layouts/v7/modules/CTWhatsApp/image/pdficon.png"></a>";}else if(in_array(${$queibym},${${"GLOBALS"}["lievpwkye"]})){${"GLOBALS"}["kibfrlnn"]="messageBody";${${"GLOBALS"}["kibfrlnn"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."" target=\"_black"><img src="layouts/v7/modules/CTWhatsApp/image/excelicon.png\"></a>";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["jnxfqqlekp"]})){$txpqdxrb="messageBody";${$txpqdxrb}="<a href=\"".${${"GLOBALS"}["lynmouvw"]}."" target="_black\"><img src=\"layouts/v7/modules/CTWhatsApp/image/wordicon.jpg\"></a>";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["sglklk"]})){$xwjgjsgvle="messageBody";${$xwjgjsgvle}=" <audio controls>
                        <source src=\"".${${"GLOBALS"}["lynmouvw"]}."\" type=\"audio/ogg">
                        <source src="".${${"GLOBALS"}["lynmouvw"]}."" type=\"audio/mpeg">
                      Your browser does not support the audio element.
                    </audio> ";}if(in_array(${${"GLOBALS"}["wgpjqnv"]},${${"GLOBALS"}["gvgmnlxopo"]})||in_array(${${"GLOBALS"}["nhilvtt"]},${$woaforsod})||in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["jnypnxbsroxp"]})||in_array(${${"GLOBALS"}["bbzxifdfcm"]},${$vwlsbakre})||in_array(${$tgxtpal},${${"GLOBALS"}["bhpqyuygq"]})||in_array(${$jrnrtinr},${$yxisgxohqsrl})){${"GLOBALS"}["enhlcddin"]="whatsAppFileName";$oedaiaw="replyMessageHTML";$twuomsrisu="notReplyWhatsapp";${"GLOBALS"}["wwkrdtrtrgb"]="documentBody";${$oedaiaw}="";${${"GLOBALS"}["enhlcddin"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GLOBALS"}["wwkrdtrtrgb"]});${$twuomsrisu}="0";}else{${"GLOBALS"}["ielmkrnjiwy"]="whatsappModule";if(${${"GLOBALS"}["ielmkrnjiwy"]}!="Groups"){$khltkvv="notReplyWhatsapp";${"GLOBALS"}["qrbmrqhiu"]="messageBody";${${"GLOBALS"}["elxrbclqcmf"]}="&nbsp;&nbsp;
                        <span class=\"copyMessageBody\" data-copymessage=\"".strip_tags(${${"GLOBALS"}["qrbmrqhiu"]})."\">
                          <img style="float: left;margin-right: 10px;width: 15px; !important" src="layouts/v7/modules/CTWhatsApp/image/copy.png\" title="".vtranslate("LBL_COPY","CTWhatsApp")."\"><p>".vtranslate("LBL_COPY","CTWhatsApp")."</p>
                        </span>";${$khltkvv}="1";}${${"GLOBALS"}["xlugafkwwgw"]}="";}${${"GLOBALS"}["sjpcvrpwotj"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$trkfjkihsl},"whatsapp_datetime"));if(${${"GLOBALS"}["shivbhvcxhp"]}=="Send"||${${"GLOBALS"}["gkbrmbdekp"]}=="Mass Message"){${"GLOBALS"}["wnrmbfy"]="whatsappMessageHTML";$oqhxrnitpbc="whatsappMessageHTML";$uqijplekdl="totalSent";$vbjotbiebi="ctWhatsappId";${${"GLOBALS"}["girhvs"]}=${$uqijplekdl}+1;${"GLOBALS"}["hhqkhobfcdna"]="notReplyWhatsapp";${${"GLOBALS"}["lwrsnxv"]}.="<div class="sendChat\">
                          <div class=\"col-xs-12 col-sm-2 col-md-2 col-lg-2\">
                          </div>
                          <div class=\"col-xs-12 col-sm-2 col-md-2 col-lg-2\">
                          </div>
                          <div class="col-xs-10 col-sm-8 col-md-8 col-lg-8">
                            <div class="mainMessageDiv">";if(${${"GLOBALS"}["hhqkhobfcdna"]}!="0"){${"GLOBALS"}["awowakcnrc"]="whatsappMessageHTML";$zdymcblmr="whatsappMessageHTML";$vnfpekp="whatsappMessageHTML";${"GLOBALS"}["ilanbsrnot"]="whatsappMessageHTML";$lgejfbcjeiy="whatsappMessageHTML";${${"GLOBALS"}["awowakcnrc"]}.="<div class="dropdown">
                                                      <div class=\"dropdown-toggle\" id="dropdownMenuButton" data-toggle="dropdown" aria-expanded="true" style=\"float: right !important;">
                                                        <i class=\"fa fa-ellipsis-v icon\" style="width: 8px;margin: 5px;cursor: pointer;\"></i>
                                                      </div>
                                                      <div class=\"dropdown-menu" aria-labelledby="dropdownMenuButton">
                                                      <div class="dropdownInnerMenu\">
                                                        <a>";${"GLOBALS"}["gsrtpk"]="copyMessage";${$zdymcblmr}.=${${"GLOBALS"}["fhpypcfsupc"]}."";${$lgejfbcjeiy}.="</a>
                                                        <a>";${$vnfpekp}.=${${"GLOBALS"}["gsrtpk"]}."";${${"GLOBALS"}["ilanbsrnot"]}.="</a>
                                                      </div>
                                                      </div>
                                                    </div>";}${"GLOBALS"}["lqwftibkd"]="createdTime";${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"bubble send\" data-whatsappid=".${${"GLOBALS"}["loziibgsmg"]}.">";if(${${"GLOBALS"}["mokfecsyxwd"]}!=""){${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"sendQuoteMessage\"><p style="word-wrap: break-word;">".${${"GLOBALS"}["mokfecsyxwd"]}."</p></div>";}if(${${"GLOBALS"}["zdjsennq"]}=="Groups"){$cthdcrdjr="messageSenderame";${"GLOBALS"}["bzaaiip"]="whatsappMessageHTML";${${"GLOBALS"}["bzaaiip"]}.="<span><b>".${$cthdcrdjr}."</b></span>";}${${"GLOBALS"}["wnrmbfy"]}.="<p style=\"word-wrap: break-word;\">".${${"GLOBALS"}["lynmouvw"]}."<br> ".urldecode(${${"GLOBALS"}["xlugafkwwgw"]})." </p>
                            </div>
                            </div>
                            <span class=\"chatTime\"><b><a class="fa fa-eye" href=\"index.php?module=CTWhatsApp&view=Detail&record=".${$vbjotbiebi}."\" target="_black\"></a>&nbsp;".${${"GLOBALS"}["qourxve"]}."(".${${"GLOBALS"}["fyjobvle"]}.") - </b>".${${"GLOBALS"}["lqwftibkd"]}."";if(${${"GLOBALS"}["uujohzcem"]}=="Read"){${"GLOBALS"}["olqasv"]="whatsappMessageHTML";${${"GLOBALS"}["olqasv"]}.="<img src=\"layouts/v7/modules/CTWhatsApp/image/read.png\">";}else{$iotdqnpvw="whatsappMessageHTML";${$iotdqnpvw}.="<img src=\"layouts/v7/modules/CTWhatsApp/image/unread.png">";}${$oqhxrnitpbc}.="</span></div>
                        </div>";}else if(${$uclqlev}=="Recieved"){${${"GLOBALS"}["bzdjfp"]}=${${"GLOBALS"}["bzdjfp"]}+1;$ckqmggoctih="isGroup";$caylmfa="whatsappMessageHTML";${"GLOBALS"}["yrqbninrlxde"]="messageBody";$skhumqqn="whatsappMessageHTML";$bcbksirbmke="setype";${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"replyChat\">
                          <div class="col-xs-10 col-sm-8 col-md-8 col-lg-8">";${$skhumqqn}.="<div class=\"bubble reply\" data-whatsappid=".${${"GLOBALS"}["loziibgsmg"]}.">";$qyvglrj="whatsappMessageHTML";$gihfsiedr="quotemessage";if(${$gihfsiedr}!=""){${${"GLOBALS"}["lwrsnxv"]}.="<div class="sendQuoteMessage\"><p style=\"word-wrap: break-word;">".${${"GLOBALS"}["mokfecsyxwd"]}."</p></div>";}if(${$ckqmggoctih}=="Groups"){${"GLOBALS"}["kergzzdf"]="messageSenderame";${${"GLOBALS"}["lwrsnxv"]}.="<span><b>".${${"GLOBALS"}["kergzzdf"]}."</b></span>";}${$caylmfa}.="<p style=\"word-wrap: break-word;\">".${${"GLOBALS"}["yrqbninrlxde"]}."<br> ".urldecode(${${"GLOBALS"}["xlugafkwwgw"]})." </p></div>";${"GLOBALS"}["egcindhm"]="whatsappMessageHTML";$btwzfot="whatsappMessageHTML";if(${$bcbksirbmke}){${"GLOBALS"}["sqdldim"]="fileExts";$ogdlhjrqw="imgExts";${"GLOBALS"}["dqdydogv"]="urlExt";$vygcmkhi="pdfExts";${"GLOBALS"}["oftwooeuno"]="urlExt";$cwyupz="urlExt";$lzqytqnqulnx="urlExt";$ijuxhtsquf="mp3Exts";if(in_array(${${"GLOBALS"}["oftwooeuno"]},${$ogdlhjrqw})||in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["sqdldim"]})||in_array(${${"GLOBALS"}["dqdydogv"]},${$vygcmkhi})||in_array(${${"GLOBALS"}["lbauoyndx"]},${$ijuxhtsquf})||in_array(${$lzqytqnqulnx},${${"GLOBALS"}["bhpqyuygq"]})||in_array(${$cwyupz},${${"GLOBALS"}["jnxfqqlekp"]})){$mlhekdjjmcq="whatsappMessageHTML";${$mlhekdjjmcq}.="";}else{if(Users_Privileges_Model::isPermitted(${${"GLOBALS"}["kpaifztojnc"]},"EditView",${${"GLOBALS"}["qwoktwwcbt"]})){${"GLOBALS"}["xpcslkobc"]="setype";${"GLOBALS"}["rmhjssbcd"]="whatsappMessageHTML";${${"GLOBALS"}["rmhjssbcd"]}.="&nbsp;&nbsp;
                                              <span class="editField\" style=\"cursor: pointer;">
                                                <img style="float: left;width: 15px; !important\" src=\"layouts/v7/modules/CTWhatsApp/image/editcontent.png" title=\"".vtranslate("LBL_EDITFIELD","CTWhatsApp")." ".vtranslate(${${"GLOBALS"}["kpaifztojnc"]},${${"GLOBALS"}["kpaifztojnc"]}).""><p>".vtranslate("LBL_EDITFIELD","CTWhatsApp")." ".vtranslate(${${"GLOBALS"}["kpaifztojnc"]},${${"GLOBALS"}["xpcslkobc"]})."</p>
                                              </span>";}}}if(${${"GLOBALS"}["xhkwhhw"]}!="0"){${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"dropdown" style="display: inline-block !important;margin: 0px 0px 0px 12px;\">
                    <div class=\"dropdown-toggle" id=\"dropdownMenuButton" data-toggle=\"dropdown" aria-expanded=\"true">
                    <i class="fa fa-ellipsis-v icon" style="width: 8px;margin: 5px;cursor: pointer;"></i>
                    </div>
                    <div class="dropdown-menu" aria-labelledby=\"dropdownMenuButton\">
                    <div class="dropdownInnerMenu\">";$abotbxcru="replyMessageHTML";${${"GLOBALS"}["lwrsnxv"]}.="<a>".${$abotbxcru}."</a><a>".${${"GLOBALS"}["elxrbclqcmf"]}."</a><a>".${${"GLOBALS"}["zxcgunapu"]}."</a>";${${"GLOBALS"}["lwrsnxv"]}.="</div></div></div>";}${${"GLOBALS"}["egcindhm"]}.="<span class="chatTime" style="width: 100%; !important"><b><a class="fa fa-eye" href=\"index.php?module=CTWhatsApp&view=Detail&record=".${${"GLOBALS"}["loziibgsmg"]}."" target="_black"></a>&nbsp;".${${"GLOBALS"}["qourxve"]}."(".${${"GLOBALS"}["fyjobvle"]}.") - </b>".${${"GLOBALS"}["sjpcvrpwotj"]}."";if(${${"GLOBALS"}["uujohzcem"]}=="Read"){$anflorxkqyi="whatsappMessageHTML";${$anflorxkqyi}.="<img src=\"layouts/v7/modules/CTWhatsApp/image/read.png\">";}else{${${"GLOBALS"}["lwrsnxv"]}.="<img src="layouts/v7/modules/CTWhatsApp/image/unread.png\">";}${$qyvglrj}.="</span></div>";${$btwzfot}.="<div class=\"col-xs-12 col-sm-2 col-md-2 col-lg-2">
                </div>

                </div>";}}${$lulyut}.="";${$pscsscj}=array("whatsappMessageHTML"=>${${"GLOBALS"}["lwrsnxv"]},"rows"=>${${"GLOBALS"}["dbalwjyorwj"]});return${$qgowdmrxcy};}public function getMessagesRecordData($recordId,$whatsappModule,$groupid,$groupWhatsappNumber){$bjptasq="groupWhatsappNumber";$offfxcbjs="activeBot";${"GLOBALS"}["gcojllnshg"]="currentUserID";global$adb,$current_user;$dhnlfrlzewcc="activeBot";${"GLOBALS"}["nktentstovg"]="setype";$ouhxgdi="groupid";$duttpzivlv="label";$kgsuikivxlg="totalReceived";${${"GLOBALS"}["gcojllnshg"]}=$current_user->id;$akqwsar="groupid";${"GLOBALS"}["wwukvnxuhkdj"]="manualtransfer";${"GLOBALS"}["wnvjfnd"]="getWhatsappMessages";${"GLOBALS"}["qlndhverjcv"]="currentUserID";${$duttpzivlv}=${${"GLOBALS"}["qwoktwwcbt"]};${"GLOBALS"}["olwegqz"]="moduleRecrodData";$yxnrbp="whatsappMessageHTML";$wsmfjsrvam="recordId";${"GLOBALS"}["vfomtutufs"]="recordId";if(${$ouhxgdi}){${${"GLOBALS"}["sykaowyh"]}="layouts/v7/modules/CTWhatsApp/image/groups.png";}else{${${"GLOBALS"}["sykaowyh"]}="layouts/v7/modules/CTWhatsApp/image/AvtarIcon.png";}$czxgmfr="getWhatsappMessages";${${"GLOBALS"}["idbtuvkdlk"]}=1;${${"GLOBALS"}["flhpypxvnfn"]}=CTWhatsApp_Record_Model::getWhatsappMessages(${${"GLOBALS"}["qwoktwwcbt"]},${${"GLOBALS"}["nktentstovg"]},${${"GLOBALS"}["jlrfghi"]},${$akqwsar},${$bjptasq});$efivxgbf="auth_token";${$yxnrbp}=${${"GLOBALS"}["flhpypxvnfn"]}["whatsappMessageHTML"];${${"GLOBALS"}["girhvs"]}=${${"GLOBALS"}["flhpypxvnfn"]}["totalSent"];${"GLOBALS"}["aswohbzqy"]="imagetag";$yvcfpyfeji="getGroupMembers";${$kgsuikivxlg}=${$czxgmfr}["totalReceived"];${"GLOBALS"}["pneoqfw"]="getBotMobile";${${"GLOBALS"}["rzfncopxxx"]}=${${"GLOBALS"}["wnvjfnd"]}["messageImportant"];${"GLOBALS"}["awsgtzn"]="configurationData";${${"GLOBALS"}["gbiqjgm"]}=${${"GLOBALS"}["flhpypxvnfn"]}["moduleIsEnable"];$tlbmtodkny="ModCommentsEnable";${${"GLOBALS"}["kosiotfsr"]}="";$nifeelf="profileImage";${${"GLOBALS"}["pducllxobyxt"]}=CTWhatsApp_Record_Model::getWhatsappTheme();${"GLOBALS"}["hjubewsn"]="totalSent";if(${${"GLOBALS"}["pducllxobyxt"]}=="RTL"){${"GLOBALS"}["cfyjcxex"]="recordId";${${"GLOBALS"}["ozkqultlznnb"]}="<p><span class="">".${${"GLOBALS"}["cfyjcxex"]}."</span> : ".vtranslate("LBL_PHONE_NUMBER","Vtiger")."</p>";}else{$yqdhdbgxra="keyFieldsHTML";${"GLOBALS"}["fjpkvlhnvrd"]="recordId";${$yqdhdbgxra}="<p>".vtranslate("LBL_PHONE_NUMBER","Vtiger")." : <span class="">".${${"GLOBALS"}["fjpkvlhnvrd"]}."</span></p>";}${${"GLOBALS"}["wewoptm"]}=CTWhatsApp_Record_Model::getWhatsappAllowModules();${${"GLOBALS"}["zpeusfkwe"]}=CTWhatsApp_Record_Model::checkCommentModuleEnable(${${"GLOBALS"}["kpaifztojnc"]});${${"GLOBALS"}["glwnqbgbgs"]}=CTWhatsApp_Record_Model::checkPermissionModule("ModComments");${"GLOBALS"}["rwvlcqbwm"]="getBotMobile";$sopnbkjs="api_url";${${"GLOBALS"}["xhtihoijbqj"]}="";if(${${"GLOBALS"}["jlrfghi"]}=="Groups"){${"GLOBALS"}["nlvdtdgsedt"]="relatedModuleHTML";${${"GLOBALS"}["nlvdtdgsedt"]}.="<a id=\"menubar_quickCreate_HelpDesk\" class=\"dropdown-item quickCreateModule\" href=\"#\" data-name="HelpDesk" data-url="index.php?module=HelpDesk&view=QuickCreateAjax">".vtranslate("LBL_CREATE","CTWhatsApp")." ".vtranslate("HelpDesk","HelpDesk")."</a>";}else{$rkgepeot="key";foreach(${${"GLOBALS"}["wewoptm"]} as${$rkgepeot}=>${${"GLOBALS"}["yxksumx"]}){${"GLOBALS"}["fkypxmeg"]="value";$uqhkydc="relatedModule";${"GLOBALS"}["xwnprlmlis"]="moduleURL";$vxntkibyvqpw="relatedModuleHTML";${$uqhkydc}=vtranslate(${${"GLOBALS"}["yxksumx"]}["module"],${${"GLOBALS"}["yxksumx"]}["module"]);$xhqysrmrbn="value";${${"GLOBALS"}["xwnprlmlis"]}="index.php?module=".${$xhqysrmrbn}["module"]."&view=QuickCreateAjax&".${${"GLOBALS"}["yxksumx"]}["phoneField"]."=".${${"GLOBALS"}["qwoktwwcbt"]};${${"GLOBALS"}["xhtihoijbqj"]}.="<a id="menubar_quickCreate_".${${"GLOBALS"}["fkypxmeg"]}["module"]."\" class=\"dropdown-item quickCreateModule\" href=\"#" data-name=\"".${${"GLOBALS"}["yxksumx"]}["module"]."\" data-url=\"".${${"GLOBALS"}["vjslflqvuhu"]}."">".vtranslate("LBL_CREATE","Vtiger")." ".${${"GLOBALS"}["teodzle"]}."</a>";${$vxntkibyvqpw}.="<a id="menubar_quickCreate_".${${"GLOBALS"}["yxksumx"]}["module"]."" class="dropdown-item quickUpdateModule" href=\"#\" data-name="".${${"GLOBALS"}["yxksumx"]}["module"]."" data-url=\"".${${"GLOBALS"}["vjslflqvuhu"]}."\">".vtranslate("LBL_UPDATES","CTWhatsApp")." ".${${"GLOBALS"}["teodzle"]}."</a>";}}$lsrwmleo="recentComments";${${"GLOBALS"}["rwvlcqbwm"]}=CTWhatsApp_Record_Model::getPreQuestionDetail(${$wsmfjsrvam});${$dhnlfrlzewcc}=${${"GLOBALS"}["pneoqfw"]}["activeBot"];${${"GLOBALS"}["wwukvnxuhkdj"]}=${${"GLOBALS"}["ruffshepnl"]}["manualtransfer"];$bsdldicjjdj="configurationData";${${"GLOBALS"}["awsgtzn"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["qlndhverjcv"]});$iumpheob="label";${$sopnbkjs}=${${"GLOBALS"}["iimykgn"]}["api_url"];${$efivxgbf}=${$bsdldicjjdj}["authtoken"];${"GLOBALS"}["ykmhznlvddq"]="moduleIsEnable";${${"GLOBALS"}["ewtpbdgsvtq"]}=${${"GLOBALS"}["iimykgn"]}["customfield1"];if(${${"GLOBALS"}["hxezvqnwm"]}){${"GLOBALS"}["fpuxokb"]="getGroupMembers";${${"GLOBALS"}["fpuxokb"]}=CTWhatsApp_Record_Model::getGroupMembers(${${"GLOBALS"}["hxezvqnwm"]});}${${"GLOBALS"}["olwegqz"]}=array("label"=>${$iumpheob},"phone"=>${${"GLOBALS"}["vfomtutufs"]},"profileImage"=>${$nifeelf},"imagetag"=>${${"GLOBALS"}["aswohbzqy"]},"whatsappMessages"=>${${"GLOBALS"}["lwrsnxv"]},"totalSent"=>${${"GLOBALS"}["hjubewsn"]},"totalReceived"=>${${"GLOBALS"}["bzdjfp"]},"keyFieldsHTML"=>${${"GLOBALS"}["ozkqultlznnb"]},"recentComments"=>${$lsrwmleo},"relatedModuleHTML"=>${${"GLOBALS"}["xhtihoijbqj"]},"messageImportant"=>${${"GLOBALS"}["rzfncopxxx"]},"commentModule"=>${${"GLOBALS"}["zpeusfkwe"]},"moduleIsEnable"=>${${"GLOBALS"}["ykmhznlvddq"]},"ModCommentsEnable"=>${$tlbmtodkny},"manualtransfer"=>${${"GLOBALS"}["ufxonankppu"]},"activeBot"=>${$offfxcbjs},"groupMembersHTML"=>${$yvcfpyfeji},"currentUserID"=>${${"GLOBALS"}["xkfegcbvayw"]});return${${"GLOBALS"}["isnhqvhnsab"]};}public function getGroupMembers($groupid){${"GLOBALS"}["lbtwcleyu"]="query";${"GLOBALS"}["yrnfxsvyjy"]="rows";${"GLOBALS"}["nkojrloihyw"]="i";global$adb;$tiqcqfen="rows";${${"GLOBALS"}["lbtwcleyu"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp 
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
            WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapp.whatsapp_displayname = ? AND vtiger_ctwhatsapp.message_type = ''",array(${${"GLOBALS"}["hxezvqnwm"]}));${$tiqcqfen}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${"GLOBALS"}["rkucyxq"]="groupMembersHTML";${"GLOBALS"}["pdxkaso"]="i";${"GLOBALS"}["jhvizpvjlnh"]="groupMembersHTML";${${"GLOBALS"}["rkucyxq"]}="<div class="ws-grp-ctc-wrap">";for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["pdxkaso"]}<${${"GLOBALS"}["yrnfxsvyjy"]};${${"GLOBALS"}["nkojrloihyw"]}++){$dgpzpcvkgns="whatsapp_contactid";${"GLOBALS"}["uztimwjy"]="query";${"GLOBALS"}["qhdqpuqpww"]="i";${"GLOBALS"}["bwukzjcd"]="i";${"GLOBALS"}["ncmtencltxcq"]="whatsapp_chatid";$kcvbwussibt="i";${"GLOBALS"}["bvnxtgha"]="whatsapp_sendername";${"GLOBALS"}["jnvrytq"]="setype";$cvgryvbbs="query";${${"GLOBALS"}["bvnxtgha"]}=$adb->query_result(${${"GLOBALS"}["uztimwjy"]},${$kcvbwussibt},"whatsapp_sendername");${${"GLOBALS"}["ncmtencltxcq"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["qhdqpuqpww"]},"whatsapp_chatid");${$dgpzpcvkgns}=$adb->query_result(${$cvgryvbbs},${${"GLOBALS"}["bwukzjcd"]},"whatsapp_contactid");$hdjrwgd="whatsapp_sendername";${${"GLOBALS"}["jnvrytq"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["sdftwzui"]});${${"GLOBALS"}["lxhvyujkcu"]}.="<div class=\"ws-grp-ctc-div\">
                                    <div class=\"groupnameWrapper\">
                                    <span class="ws-grp-ctc-name\">".${$hdjrwgd}."</span>";if(${${"GLOBALS"}["kpaifztojnc"]}){$cnbexcu="setype";${"GLOBALS"}["sqincapqubg"]="whatsapp_contactid";$nkfvtmatvv="groupMembersHTML";${$nkfvtmatvv}.="<a href=\"index.php?module=".${$cnbexcu}."&view=Detail&record=".${${"GLOBALS"}["sqincapqubg"]}."" target="_blank\"><i class="fa fa-angle-right"></i></a>";}${${"GLOBALS"}["lxhvyujkcu"]}.="</div><span class=\"ws-grp-ctc-number\">".${${"GLOBALS"}["mlcsddbvug"]}."</span>";${${"GLOBALS"}["lxhvyujkcu"]}.="</div>";}${${"GLOBALS"}["jhvizpvjlnh"]}.="<div>";return${${"GLOBALS"}["lxhvyujkcu"]};}public function getInNumberQuery($userid){${"GLOBALS"}["cweqcesu"]="userid";${"GLOBALS"}["txjmdogyb"]="allnumber";${"GLOBALS"}["gulptsm"]="inNumber";$jvwwffpmly="inNumberQuery";${"GLOBALS"}["oiyusllyh"]="whatsAppAllNumber";${${"GLOBALS"}["djrfncfnyvu"]}=CTWhatsApp_Record_Model::getAllConnectedWhatsappNumber(${${"GLOBALS"}["cweqcesu"]});${"GLOBALS"}["wcdstcwbs"]="inNumber";${"GLOBALS"}["qzrrztvldiq"]="value";${${"GLOBALS"}["gulptsm"]}="";${"GLOBALS"}["chyuvxjagc"]="inNumberQuery";foreach(${${"GLOBALS"}["oiyusllyh"]} as${${"GLOBALS"}["kpvucjbcne"]}=>${${"GLOBALS"}["qzrrztvldiq"]}){$dkspgeyh="value";${${"GLOBALS"}["fkxxvl"]}.="'".${$dkspgeyh}["whatsappno"]."',";}${${"GLOBALS"}["txjmdogyb"]}=rtrim(${${"GLOBALS"}["wcdstcwbs"]},",");${${"GLOBALS"}["chyuvxjagc"]}=" AND vtiger_ctwhatsapp.your_number IN (".${${"GLOBALS"}["phaoobc"]}.") ";return${$jvwwffpmly};}public function getLogInNumberQuery($userid){${"GLOBALS"}["tntznlqdmw"]="inNumberQuery";$pwhvgyqjge="userid";$grhwrsulxev="whatsAppAllNumber";${"GLOBALS"}["kfjbxsnqgnj"]="inNumber";${$grhwrsulxev}=CTWhatsApp_Record_Model::getAllConnectedWhatsappNumber(${$pwhvgyqjge});${"GLOBALS"}["ipdppyb"]="key";${${"GLOBALS"}["kfjbxsnqgnj"]}="";${"GLOBALS"}["eqozwntdj"]="allnumber";${"GLOBALS"}["hnhuqrenv"]="allnumber";foreach(${${"GLOBALS"}["djrfncfnyvu"]} as${${"GLOBALS"}["ipdppyb"]}=>${${"GLOBALS"}["yxksumx"]}){${${"GLOBALS"}["fkxxvl"]}.="'".${${"GLOBALS"}["yxksumx"]}["whatsappno"]."',";}${${"GLOBALS"}["eqozwntdj"]}=rtrim(${${"GLOBALS"}["fkxxvl"]},",");${${"GLOBALS"}["pragmjfeo"]}=" AND vtiger_whatsapplog.whatsapplog_your_number IN (".${${"GLOBALS"}["hnhuqrenv"]}.") ";return${${"GLOBALS"}["tntznlqdmw"]};}public function getFilenameWhatsappMessage($body){$vzdyrvrgfc="body";${"GLOBALS"}["hlwxgnltxde"]="lenth";$hjqxhjm="expolodeFilename";${$hjqxhjm}=explode("/",${$vzdyrvrgfc});${${"GLOBALS"}["muffuwjjg"]}=count(${${"GLOBALS"}["wrqqsfvnwln"]})-1;return${${"GLOBALS"}["wrqqsfvnwln"]}[${${"GLOBALS"}["hlwxgnltxde"]}];}public function getWhatsappMessages($recordId,$setype,$whatsappModule,$groupid,$groupWhatsappNumber){global$adb,$current_user;$otlfrupgvpfe="whatsappMessageHTML";$ktcphbdnco="wordlExts";$xcfowvii="userID";${"GLOBALS"}["tldjwyiiys"]="unreadQuery";${"GLOBALS"}["qvhemsqj"]="totalSent";$gyayxextknw="rows";${$xcfowvii}=$current_user->id;$naautbwgq="whatsappMessageHTML";${"GLOBALS"}["ixzmjqnykdbg"]="whatsappModule";${${"GLOBALS"}["iimykgn"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["xeepvldsw"]});${"GLOBALS"}["ehkslvqkyujo"]="moduleIsEnable";${${"GLOBALS"}["ebplpxiswt"]}=${${"GLOBALS"}["iimykgn"]}["whatsappno"];${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["xeepvldsw"]});${"GLOBALS"}["tsljhnweqg"]="whatsappMessage";${${"GLOBALS"}["tldjwyiiys"]}=CTWhatsApp_Record_Model::unreadQuery();${"GLOBALS"}["xlrefrdwtmm"]="fileExts";$lceiidsus="excelExts";if(${${"GLOBALS"}["ixzmjqnykdbg"]}=="Groups"){$trytffxckgzh="groupid";${"GLOBALS"}["dwfughwom"]="inNumberQuery";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM (
                  SELECT * FROM vtiger_ctwhatsapp 
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
                WHERE vtiger_crmentity.deleted = 0 AND msgid = ? ".${${"GLOBALS"}["dwfughwom"]}." ORDER BY whatsapp_datetime DESC LIMIT 0,25
              ) wp_group
              ORDER BY ctwhatsappid ASC",array(${$trytffxckgzh}));}else{if(${${"GLOBALS"}["kpaifztojnc"]}){${"GLOBALS"}["ltmbjcmrpdr"]="inNumberQuery";${"GLOBALS"}["eszjgm"]="recordId";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM (
                  SELECT * FROM vtiger_ctwhatsapp 
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
                WHERE vtiger_crmentity.deleted = 0 AND whatsapp_contactid = ? ".${${"GLOBALS"}["ltmbjcmrpdr"]}." ORDER BY whatsapp_datetime DESC LIMIT 0,25 ) wp_group ORDER BY ctwhatsappid ASC",array(${${"GLOBALS"}["eszjgm"]}));}else{${"GLOBALS"}["tavicbffjz"]="recordId";$xsitift="recordId";${"GLOBALS"}["rpdzwisu"]="inNumberQuery";${${"GLOBALS"}["qwoktwwcbt"]}=preg_replace("/[^A-Za-z0-9]/","",${${"GLOBALS"}["tavicbffjz"]});${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM (
                  SELECT * FROM vtiger_ctwhatsapp 
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
                WHERE vtiger_crmentity.deleted = 0 AND whatsapp_withccode LIKE "%".${$xsitift}."%" ".${${"GLOBALS"}["rpdzwisu"]}." ORDER BY whatsapp_datetime DESC LIMIT 0,25 ) wp_group ORDER BY ctwhatsappid ASC",array());}}${$gyayxextknw}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});$noltkyncb="imgExts";${${"GLOBALS"}["girhvs"]}=0;${${"GLOBALS"}["bzdjfp"]}=0;$dymkorp="rows";${"GLOBALS"}["tjbbbwjcdaqm"]="setype";${${"GLOBALS"}["tsljhnweqg"]}=array();$lqlerxyqli="totalReceived";${"GLOBALS"}["krkcesnpdv"]="messageData";${$otlfrupgvpfe}="<div class="chatDiv\">";${$noltkyncb}=array("gif","jpg","jpeg","png","tiff","tif");${${"GLOBALS"}["jnypnxbsroxp"]}=array("pdf");${${"GLOBALS"}["xlrefrdwtmm"]}=array("txt","php","zip","csv","https");${${"GLOBALS"}["sglklk"]}=array("mp3");$lukcbwxrv="i";${$lceiidsus}=array("xls");${$ktcphbdnco}=array("docx","doc");for(${$lukcbwxrv}=0;${${"GLOBALS"}["varbufd"]}<${$dymkorp};${${"GLOBALS"}["varbufd"]}++){$gxsfqgc="documentBody";$ophuiseiqd="query";${"GLOBALS"}["xlqjfyusuaw"]="query";${"GLOBALS"}["vbojobjpdhc"]="i";$hfqihia="query";$uovpekyyeti="messageType";$xidxlbqnwp="ctWhatsappId";${"GLOBALS"}["thgehvug"]="query";${"GLOBALS"}["wigoeb"]="i";${"GLOBALS"}["yillywgd"]="your_number";${"GLOBALS"}["ubhdamscy"]="urlExt";${"GLOBALS"}["kjwuhrlkve"]="i";$eelvnfmt="query";$kcjowvz="urlExt";${"GLOBALS"}["bejqgcybwwk"]="messageBody";${"GLOBALS"}["pxobhdkq"]="themeView";$pkwkoygp="query";$rgnbfzu="setype";${"GLOBALS"}["bqxggbmackr"]="whatsapp_contactid";${"GLOBALS"}["jkbngqxeq"]="i";$gntyguxwodh="msgid";${"GLOBALS"}["tppmkveod"]="urlExt";$snbhpdx="urlExt";${"GLOBALS"}["cljyfgtern"]="urlExt";${$xidxlbqnwp}=$adb->query_result(${$hfqihia},${${"GLOBALS"}["vbojobjpdhc"]},"ctwhatsappid");$ybbzrkocr="i";${"GLOBALS"}["bxskarfexsp"]="i";${"GLOBALS"}["riqchfxdgq"]="i";$nlxyun="imgExts";${"GLOBALS"}["ddbhet"]="mp3Exts";${${"GLOBALS"}["rzfncopxxx"]}=$adb->query_result(${${"GLOBALS"}["xlqjfyusuaw"]},${${"GLOBALS"}["varbufd"]},"whatsapp_important");${"GLOBALS"}["enireujft"]="messageType";${"GLOBALS"}["zubypq"]="query";$uikgtcfhnee="messageReadUnRead";$wpgoyix="query";${$uovpekyyeti}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["bxskarfexsp"]},"message_type");$uqrglxei="imgExts";$yzdkrqiaptci="messageType";${$uikgtcfhnee}=$adb->query_result(${${"GLOBALS"}["thgehvug"]},${${"GLOBALS"}["riqchfxdgq"]},"whatsapp_unreadread");$sahniyujkbmy="quotemessage";${"GLOBALS"}["bufvwh"]="i";$nspaliield="messageBody";$kwqjulte="your_number";${"GLOBALS"}["lxfzxhjrmogn"]="getNumberDetails";${${"GLOBALS"}["ibvvxzbglna"]}=$adb->query_result(${$wpgoyix},${${"GLOBALS"}["kjwuhrlkve"]},"whatsapp_sendername");${"GLOBALS"}["pgbtukutyl"]="getNumberDetails";${"GLOBALS"}["wtimog"]="urlExt";${${"GLOBALS"}["zdjsennq"]}=$adb->query_result(${${"GLOBALS"}["zubypq"]},${${"GLOBALS"}["varbufd"]},"whatsapp_withccode");${${"GLOBALS"}["yillywgd"]}=$adb->query_result(${$ophuiseiqd},${$ybbzrkocr},"your_number");${"GLOBALS"}["fiwchukqnhq"]="getNumberUsername";$vbqidwerazpt="query";${${"GLOBALS"}["pgbtukutyl"]}=CTWhatsApp_Record_Model::getWhatsAppDetailWithMobileNo(${$kwqjulte});${${"GLOBALS"}["fiwchukqnhq"]}=${${"GLOBALS"}["lxfzxhjrmogn"]}["username"];${"GLOBALS"}["yulaucdtnu"]="fileExts";${"GLOBALS"}["bieynmb"]="mp3Exts";$ouplhhkhtf="whatsapp_contactid";$wnmnvhcgefj="i";${$sahniyujkbmy}=$adb->query_result(${$eelvnfmt},${${"GLOBALS"}["wigoeb"]},"whatsapp_quotemessage");${$gntyguxwodh}=$adb->query_result(${$vbqidwerazpt},${${"GLOBALS"}["varbufd"]},"msgid");$jwyregqoor="query";${$gxsfqgc}=$adb->query_result(${$pkwkoygp},${${"GLOBALS"}["jkbngqxeq"]},"message_body");${${"GLOBALS"}["mlcsddbvug"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$wnmnvhcgefj},"whatsapp_chatid");${$ouplhhkhtf}=$adb->query_result(${$jwyregqoor},${${"GLOBALS"}["varbufd"]},"whatsapp_contactid");${"GLOBALS"}["swplxvwbum"]="pdfExts";${"GLOBALS"}["atmgmouhiu"]="createdTime";${${"GLOBALS"}["kpaifztojnc"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["bqxggbmackr"]});$dktqxmw="urlExt";if(${$rgnbfzu}=="Contacts"){$siudxrt="whatsapp_contactid";$znchjnjqw="relatedtotask";${$znchjnjqw}="contact_id=".${$siudxrt}."";}else{${"GLOBALS"}["ulwbsrfzu"]="whatsapp_contactid";${"GLOBALS"}["qgqqfitmbci"]="relatedtotask";${${"GLOBALS"}["qgqqfitmbci"]}="parent_id=".${${"GLOBALS"}["ulwbsrfzu"]}."";}if(${${"GLOBALS"}["loziibgsmg"]}){$xjdfvkjm="messageReadUnRead";${"GLOBALS"}["xvlsqbniymq"]="messageType";if(${$xjdfvkjm}=="Unread"&&${${"GLOBALS"}["xvlsqbniymq"]}=="Recieved"){$xiuwdogt="ctWhatsappId";${"GLOBALS"}["eeoslqpbtt"]="ctWhatsappId";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["eeoslqpbtt"]},"CTWhatsApp");$recordModel->set("mode","edit");$recordModel->set("id",${$xiuwdogt});$recordModel->set("whatsapp_unreadread","Read");$recordModel->save();}}$sxtdsho="urlExt";${${"GLOBALS"}["pducllxobyxt"]}=CTWhatsApp_Record_Model::getWhatsappTheme();$rwrhkbf="urlExt";$vpfggretvch="excelExts";if(${${"GLOBALS"}["pxobhdkq"]}=="RTL"){${"GLOBALS"}["bajkwlmj"]="taskstyle";$kforegljt="menuicon";${${"GLOBALS"}["bajkwlmj"]}="style=\"float: right;margin-left: 10px;width: 15px; !important;cursor: pointer;\"";$ctyxshhfcsda="menumargin";${$kforegljt}="margin: 0px 25px 0px 0px;";${${"GLOBALS"}["oktfnsufkg"]}="min-width: 110px;";${$ctyxshhfcsda}="margin: 1px -81px 0px 0px";}else{$ewgblihnynm="menuwidth";${"GLOBALS"}["xmbozxvdn"]="menumargin";${${"GLOBALS"}["jowwehloacbq"]}="style=\"float: left;margin-right: 0px;width: 15px; !important;cursor: pointer;\"";$wcyiybwb="menuicon";${$wcyiybwb}="margin: 0px 0px 0px 18px;";${$ewgblihnynm}="min-width: 100px;";${${"GLOBALS"}["xmbozxvdn"]}="margin: 2px 0px 0px 10px;";}$hsztrdgut="messageType";$qswfxhssdeek="urlExt";${${"GLOBALS"}["lynmouvw"]}=nl2br(preg_replace("#\*([^*]+)\*#","<b>\$1</b>",$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["bufvwh"]},"message_body")));${${"GLOBALS"}["tppmkveod"]}=pathinfo(${$nspaliield},PATHINFO_EXTENSION);if(in_array(${${"GLOBALS"}["cljyfgtern"]},${$nlxyun})){${"GLOBALS"}["teesnlo"]="messageBody";${${"GLOBALS"}["teesnlo"]}="<image src=\"".${${"GLOBALS"}["lynmouvw"]}."" style="height: 60px !important;cursor: pointer;">";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["zcsujikz"]})){${${"GLOBALS"}["lynmouvw"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."" target="_black"><img src="layouts/v7/modules/CTWhatsApp/image/fileicon.png\"></a>";}else if(in_array(${${"GLOBALS"}["ubhdamscy"]},${${"GLOBALS"}["jnypnxbsroxp"]})){${${"GLOBALS"}["lynmouvw"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."\" target="_black"><img src=\"layouts/v7/modules/CTWhatsApp/image/pdficon.png"></a>";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["bhpqyuygq"]})){${${"GLOBALS"}["lynmouvw"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."" target="_black"><img src=\"layouts/v7/modules/CTWhatsApp/image/excelicon.png"></a>";}else if(in_array(${$qswfxhssdeek},${${"GLOBALS"}["jnxfqqlekp"]})){${"GLOBALS"}["dwdhpim"]="messageBody";${${"GLOBALS"}["lynmouvw"]}="<a href=\"".${${"GLOBALS"}["dwdhpim"]}."" target="_black\"><img src=\"layouts/v7/modules/CTWhatsApp/image/wordicon.jpg"></a>";}else if(in_array(${$kcjowvz},${${"GLOBALS"}["bieynmb"]})){$dhnfsdsyae="messageBody";${$dhnfsdsyae}=" <audio controls>
                    <source src=\"".${${"GLOBALS"}["lynmouvw"]}."" type="audio/ogg">
                    <source src=\"".${${"GLOBALS"}["lynmouvw"]}."\" type="audio/mpeg\">
                  Your browser does not support the audio element.
                </audio> ";}if(in_array(${$rwrhkbf},${$uqrglxei})||in_array(${${"GLOBALS"}["wtimog"]},${${"GLOBALS"}["yulaucdtnu"]})||in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["swplxvwbum"]})||in_array(${$dktqxmw},${${"GLOBALS"}["ddbhet"]})||in_array(${$snbhpdx},${$vpfggretvch})||in_array(${$sxtdsho},${${"GLOBALS"}["jnxfqqlekp"]})){${"GLOBALS"}["mlrggeu"]="whatsAppFileName";${"GLOBALS"}["xkyoqschhklh"]="replyMessageHTML";${"GLOBALS"}["rwrliwhnws"]="copyMessage";${${"GLOBALS"}["xkyoqschhklh"]}="";$qbrytlyimqb="createTaskMessage";${${"GLOBALS"}["rwrliwhnws"]}="";${$qbrytlyimqb}="";${${"GLOBALS"}["mlrggeu"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GLOBALS"}["wyqmlwk"]});${${"GLOBALS"}["xhkwhhw"]}="0";}else{if(${${"GLOBALS"}["jlrfghi"]}!="Groups"){$piqrvkkf="messageBody";$ghuccgyjdo="replyMessageHTML";${"GLOBALS"}["eltyrtj"]="setype";${$ghuccgyjdo}="
                        <span class="replyMessageBody" data-replymessage=\"".strip_tags(${$piqrvkkf})."" data-replymessageid="".${${"GLOBALS"}["rzynmifhui"]}."\">
                        <img style="float: left;width: 15px; !important" src="layouts/v7/modules/CTWhatsApp/image/reply.png\" title="".vtranslate("LBL_REPLY","CTWhatsApp")."\"><p>".vtranslate("LBL_REPLY","CTWhatsApp")."</p>
                        </span>";if(${${"GLOBALS"}["eltyrtj"]}){$onefdxcq="whatsapp_chatid";if(${$onefdxcq}){${"GLOBALS"}["tvpyqc"]="createTaskMessage";${"GLOBALS"}["jhjksutnau"]="whatsapp_chatid";${${"GLOBALS"}["tvpyqc"]}="
                            <span ".${${"GLOBALS"}["jowwehloacbq"]}.">
                            <a href=\"index.php?module=Calendar&view=Detail&record=".${${"GLOBALS"}["jhjksutnau"]}."" target="_blank"><span><img class="taskid\" style=\"width: 15px;\" src=\"layouts/v7/modules/CTWhatsApp/image/watch.jpg\" title="".vtranslate("LBL_VIEW","Vtiger").""><p>".vtranslate("LBL_VIEW","Vtiger")."</p></span></a>
                            </span>";}else{${"GLOBALS"}["mtmsrafv"]="messageBody";$cikqtocza="createTaskMessage";${$cikqtocza}="
                            <span class=\"taskMessageBody quickCreateTaskModule\" data-task=\"yes\" data-whatsappid="".${${"GLOBALS"}["loziibgsmg"]}."\"  data-url=\"index.php?module=Calendar&view=QuickCreateAjax&".${${"GLOBALS"}["jmpqdwdl"]}."&description=".strip_tags(${${"GLOBALS"}["lynmouvw"]})."" data-taskmessage="".strip_tags(${${"GLOBALS"}["mtmsrafv"]})."">
                            <img ".${${"GLOBALS"}["jowwehloacbq"]}." src=\"layouts/v7/modules/CTWhatsApp/image/watch.jpg" title="".vtranslate("LBL_CREATE","Vtiger").""><p>".vtranslate("LBL_CREATE","Vtiger")."</p>
                            </span>";}}}${${"GLOBALS"}["xlugafkwwgw"]}="";${"GLOBALS"}["urvhawdrguv"]="messageBody";${${"GLOBALS"}["elxrbclqcmf"]}="
                        <span class="copyMessageBody\" data-copymessage="".strip_tags(${${"GLOBALS"}["urvhawdrguv"]})."\">
                        <img style=\"float: left;width: 15px; !important\" src=\"layouts/v7/modules/CTWhatsApp/image/copy.png\" title="".vtranslate("LBL_COPY","CTWhatsApp").""><p>".vtranslate("LBL_COPY","CTWhatsApp")."</p>
                        </span>";$euqxgfvk="notReplyWhatsapp";${$euqxgfvk}="1";}${${"GLOBALS"}["atmgmouhiu"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"whatsapp_datetime"));${${"GLOBALS"}["rsffbraf"]}[]=array("messageType"=>${$hsztrdgut},"messageBody"=>${${"GLOBALS"}["bejqgcybwwk"]},"createdTime"=>${${"GLOBALS"}["sjpcvrpwotj"]});if(${$yzdkrqiaptci}=="Send"||${${"GLOBALS"}["gkbrmbdekp"]}=="Mass Message"){$jvqwztnmsk="ctWhatsappId";${"GLOBALS"}["bwsynteskjb"]="whatsappMessageHTML";$ymjgfpx="getNumberUsername";${"GLOBALS"}["xqgodxar"]="whatsAppFileName";${${"GLOBALS"}["girhvs"]}=${${"GLOBALS"}["girhvs"]}+1;${${"GLOBALS"}["bwsynteskjb"]}.="<div class=\"sendChat\">
                    <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
                    </div>
                    <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2\">
                    </div>
                    <div class=\"col-xs-10 col-sm-8 col-md-8 col-lg-8\">
                    <div class=\"mainMessageDiv\">";$ouagies="whatsappMessageHTML";${"GLOBALS"}["ufygmykqzm"]="messageBody";$pinuuxjc="quotemessage";if(${${"GLOBALS"}["xhkwhhw"]}!=0){${"GLOBALS"}["gcpeezh"]="replyMessageHTML";${"GLOBALS"}["szfzgpy"]="whatsappMessageHTML";$hruixwlcgw="whatsappMessageHTML";$bmxxhnvdnp="copyMessage";${$hruixwlcgw}.="<div class="dropdown\" style=\"width: max-content !important;">
                                              <div class=\"dropdown-toggle" id=\"dropdownMenuButton" data-toggle=\"dropdown\" aria-expanded=\"true\" style=\"float: right !important;cursor: pointer;\">
                                                <i class="fa fa-ellipsis-v icon\" style=\"width: 8px;margin: 5px;cursor: pointer;\"></i>
                                              </div>
                                              <div class=\"dropdown-menu replyDropwownMenuSend\" aria-labelledby=\"dropdownMenuButton\" style=\"".${${"GLOBALS"}["oktfnsufkg"]}."">
                                              <div class="dropdownInnerMenu\">
                                                <a>";${${"GLOBALS"}["lwrsnxv"]}.=${${"GLOBALS"}["gcpeezh"]}."";${${"GLOBALS"}["lwrsnxv"]}.="</a><a>";${${"GLOBALS"}["lwrsnxv"]}.=${$bmxxhnvdnp}."";${${"GLOBALS"}["szfzgpy"]}.="</a>
                                              </div>
                                              </div>
                                            </div>";}${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"bubble send" data-whatsappid=".${$jvqwztnmsk}.">";if(${$pinuuxjc}!=""){$xedjqxi="quotemessage";${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"sendQuoteMessage\"><p style=\"word-wrap: break-word;\">".${$xedjqxi}."</p></div>";}if(${${"GLOBALS"}["zdjsennq"]}=="Groups"){$mlcswxdrb="messageSenderame";${${"GLOBALS"}["lwrsnxv"]}.="<span><b>".${$mlcswxdrb}."</b></span>";}${${"GLOBALS"}["lwrsnxv"]}.="<p style=\"word-wrap: break-word;\">".${${"GLOBALS"}["ufygmykqzm"]}."<br> ".urldecode(${${"GLOBALS"}["xqgodxar"]})." </p></div></div><span class="chatTime"><b>".${${"GLOBALS"}["qourxve"]}."(".${$ymjgfpx}.") - </b>".${${"GLOBALS"}["sjpcvrpwotj"]}."";if(${${"GLOBALS"}["uujohzcem"]}=="Read"){${${"GLOBALS"}["lwrsnxv"]}.="<img src=\"layouts/v7/modules/CTWhatsApp/image/read.png\">";}else{$yqyuoczwzm="whatsappMessageHTML";${$yqyuoczwzm}.="<img src="layouts/v7/modules/CTWhatsApp/image/unread.png\">";}${$ouagies}.="</span></div></div>";}else if(${${"GLOBALS"}["enireujft"]}=="Recieved"){${"GLOBALS"}["nciuxvd"]="totalReceived";$xuoggpjrou="whatsappMessageHTML";$dniovgr="notReplyWhatsapp";${"GLOBALS"}["trofdgldkh"]="getNumberUsername";${"GLOBALS"}["lhtqiid"]="createdTime";$judicduwk="whatsAppFileName";${${"GLOBALS"}["bzdjfp"]}=${${"GLOBALS"}["nciuxvd"]}+1;${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"replyChat\">
                      <div class=\"col-xs-10 col-sm-8 col-md-8 col-lg-8">";${"GLOBALS"}["hrtkbsqw"]="whatsappMessageHTML";$xudmjlhrfzb="whatsappMessageHTML";${$xuoggpjrou}.="<div class="bubble reply" data-whatsappid=".${${"GLOBALS"}["loziibgsmg"]}.">";$ndpymdv="whatsappMessageHTML";if(${${"GLOBALS"}["mokfecsyxwd"]}!=""){${${"GLOBALS"}["lwrsnxv"]}.="<div class="sendQuoteMessage"><p style="word-wrap: break-word;">".${${"GLOBALS"}["mokfecsyxwd"]}."</p></div>";}if(${${"GLOBALS"}["zdjsennq"]}=="Groups"){${"GLOBALS"}["tqtnzjrmsw"]="messageSenderame";${${"GLOBALS"}["lwrsnxv"]}.="<span><b>".${${"GLOBALS"}["tqtnzjrmsw"]}."</b></span>";}${${"GLOBALS"}["lwrsnxv"]}.="<p style="word-wrap: break-word;\">".${${"GLOBALS"}["lynmouvw"]}."<br> ".urldecode(${$judicduwk})." </p></div>";if(${$dniovgr}!=0){$xnsvvmvlq="menuwidth";$qtzegqfbhs="isGroup";${${"GLOBALS"}["lwrsnxv"]}.="<div class="dropdown\" style="display: inline-block !important;width: max-content !important;".${${"GLOBALS"}["shjnkyvvhvn"]}."\">
                              <div class="dropdown-toggle" id=\"dropdownMenuButton\" data-toggle="dropdown\" aria-expanded="true" style="cursor: pointer;">
                                <i class="fa fa-ellipsis-v icon" style=\"width: 8px;margin: 5px;cursor: pointer;\"></i>
                              </div>
                              <div class=\"dropdown-menu replyDropwownMenu\" aria-labelledby="dropdownMenuButton\" style="".${$xnsvvmvlq}."">
                              <div class="dropdownInnerMenu\">";if(${$qtzegqfbhs}!="Groups"){$eknjziqd="whatsapp_contactid";if(${$eknjziqd}){${"GLOBALS"}["gvgolcxob"]="whatsappMessageHTML";${${"GLOBALS"}["gvgolcxob"]}.="<a>".${${"GLOBALS"}["fhpypcfsupc"]}."</a><a>".${${"GLOBALS"}["elxrbclqcmf"]}."</a><a>".${${"GLOBALS"}["zxcgunapu"]}."</a>";if(${${"GLOBALS"}["kpaifztojnc"]}){${"GLOBALS"}["qjbzbfdpkf"]="imgExts";${"GLOBALS"}["xvjeand"]="pdfExts";$pcywwmrp="urlExt";$fhxzbhueuh="urlExt";${"GLOBALS"}["ikknkzk"]="wordlExts";$qflqaybsxy="mp3Exts";if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["qjbzbfdpkf"]})||in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["zcsujikz"]})||in_array(${$fhxzbhueuh},${${"GLOBALS"}["xvjeand"]})||in_array(${${"GLOBALS"}["lbauoyndx"]},${$qflqaybsxy})||in_array(${$pcywwmrp},${${"GLOBALS"}["bhpqyuygq"]})||in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["ikknkzk"]})){$vmfmsienjcos="whatsappMessageHTML";${$vmfmsienjcos}.="";}else{${"GLOBALS"}["luyookmh"]="isGroup";if(${${"GLOBALS"}["luyookmh"]}!="Groups"){${"GLOBALS"}["bmuwfovtet"]="whatsapp_contactid";if(${${"GLOBALS"}["bmuwfovtet"]}){$ninbgby="setype";if(Users_Privileges_Model::isPermitted(${$ninbgby},"EditView",${${"GLOBALS"}["sdftwzui"]})){$xhmevam="whatsappMessageHTML";$jsmdhuqqkmtw="setype";$jmhfjibuibi="setype";$odmqmnjz="setype";${"GLOBALS"}["svnxyxfw"]="menumargin";$wkroyvppik="messageBody";${$xhmevam}.="<a>
                                                    <span class=\"editField\" data-messagebody=\"".${$wkroyvppik}."\" style="cursor: pointer;\">
                                                        <img style="float: left;width: 15px; !important; ".${${"GLOBALS"}["svnxyxfw"]}."" src="layouts/v7/modules/CTWhatsApp/image/editcontent.png\" title=\"".vtranslate("LBL_EDITFIELD","CTWhatsApp")." ".vtranslate(${$jsmdhuqqkmtw},${$odmqmnjz}).""><p>".vtranslate("LBL_EDITFIELD","CTWhatsApp")." ".vtranslate(${${"GLOBALS"}["kpaifztojnc"]},${$jmhfjibuibi})."</p>
                                                    </span>
                                                </a>";}}}}}}else{${"GLOBALS"}["ebusyp"]="replyMessageHTML";${${"GLOBALS"}["lwrsnxv"]}.="<a>".${${"GLOBALS"}["ebusyp"]}."</a><a>".${${"GLOBALS"}["elxrbclqcmf"]}."</a>";}}else{${"GLOBALS"}["hmpqrlccxrl"]="copyMessage";${"GLOBALS"}["lgfnhitkk"]="whatsappMessageHTML";${${"GLOBALS"}["lgfnhitkk"]}.="<a>".${${"GLOBALS"}["hmpqrlccxrl"]}."</a><br>";}${${"GLOBALS"}["lwrsnxv"]}.="</div></div></div>";}${${"GLOBALS"}["hrtkbsqw"]}.="<span class=\"chatTime" style=\"width: 100%; !important"><b>".${${"GLOBALS"}["qourxve"]}."(".${${"GLOBALS"}["trofdgldkh"]}.") - </b>".${${"GLOBALS"}["lhtqiid"]}."";if(${${"GLOBALS"}["uujohzcem"]}=="Read"){$oltpjprsmnf="whatsappMessageHTML";${$oltpjprsmnf}.="<img src="layouts/v7/modules/CTWhatsApp/image/read.png\">";}else{${${"GLOBALS"}["lwrsnxv"]}.="<img src="layouts/v7/modules/CTWhatsApp/image/unread.png">";}${$ndpymdv}.="</span></div>";${$xudmjlhrfzb}.="<div class="col-xs-12 col-sm-2 col-md-2 col-lg-2"></div></div>";}}${${"GLOBALS"}["lwrsnxv"]}.="</div>";${${"GLOBALS"}["gbiqjgm"]}=CTWhatsApp_Record_Model::getmoduleIsEnable(${${"GLOBALS"}["tjbbbwjcdaqm"]});if(${${"GLOBALS"}["kpaifztojnc"]}){$yoeuvxyu="pagingModel";${"GLOBALS"}["suxypqtyetm"]="recordId";${${"GLOBALS"}["fabntfltgx"]}=new Vtiger_Paging_Model();${${"GLOBALS"}["kosiotfsr"]}=ModComments_Record_Model::getRecentComments(${${"GLOBALS"}["suxypqtyetm"]},${$yoeuvxyu});${"GLOBALS"}["kttchrlflws"]="recentComments";${${"GLOBALS"}["drwawatfueb"]}=array();${${"GLOBALS"}["wxinveqjee"]}="";foreach(${${"GLOBALS"}["kttchrlflws"]} as${${"GLOBALS"}["kpvucjbcne"]}=>${${"GLOBALS"}["yxksumx"]}){${"GLOBALS"}["yhlekrid"]="key";if(${${"GLOBALS"}["kpvucjbcne"]}<2){$koevvrwummn="smownerid";${${"GLOBALS"}["ystbvgwvkw"]}=${${"GLOBALS"}["kosiotfsr"]}[${${"GLOBALS"}["kpvucjbcne"]}]->get("commentcontent");${${"GLOBALS"}["xaasgvmqkx"]}=${${"GLOBALS"}["kosiotfsr"]}[${${"GLOBALS"}["kpvucjbcne"]}]->get("createdtime");$uxeorlpmhmga="commentHTML";${$koevvrwummn}=${${"GLOBALS"}["kosiotfsr"]}[${${"GLOBALS"}["kpvucjbcne"]}]->get("smownerid");${"GLOBALS"}["vlsenqmo"]="createdtime";${$uxeorlpmhmga}.="<div class=\"comment1\">
                            <!-- <div class=\"pic"><img src="layouts/v7/modules/CTWhatsApp/image/pic4.png\" /></div> -->
                            <div class=\"pName\">
                              <div class=\"pText\">
                                <span>".Vtiger_Functions::getUserName(${${"GLOBALS"}["mkfihsyxqro"]})."</span>
                                <span class="time">".Vtiger_Util_Helper::formatDateDiffInStrings(${${"GLOBALS"}["vlsenqmo"]})."</span>
                                <p>".decode_html(${${"GLOBALS"}["ystbvgwvkw"]})."</p>
                              </div>
                            </div>
                          </div>";}if(${${"GLOBALS"}["yhlekrid"]}>3){${"GLOBALS"}["llemfpzbv"]="recordId";${"GLOBALS"}["wzdcqphbf"]="moreCommentLink";${${"GLOBALS"}["wzdcqphbf"]}="<span class='pull-right' style='color: blue;'><a href='index.php?module=".${${"GLOBALS"}["kpaifztojnc"]}."&relatedModule=ModComments&view=Detail&record=".${${"GLOBALS"}["llemfpzbv"]}."&mode=showRelatedList' target='_black'>".vtranslate("LBL_SHOW_MORE","Vtiger")."</a><span>";}}}${${"GLOBALS"}["krkcesnpdv"]}=array("whatsappMessageHTML"=>${$naautbwgq},"totalSent"=>${${"GLOBALS"}["qvhemsqj"]},"totalReceived"=>${$lqlerxyqli},"commentHTML"=>${${"GLOBALS"}["wxinveqjee"]}.${${"GLOBALS"}["znkigmmpe"]},"messageImportant"=>${${"GLOBALS"}["rzfncopxxx"]},"moduleIsEnable"=>${${"GLOBALS"}["ehkslvqkyujo"]});return${${"GLOBALS"}["brzsrmtczv"]};}function getRelatedModules($moduleName){global$adb;$zlmuedvhnmj="getRelatedModuleQuery";${"GLOBALS"}["mpyxdislyu"]="moduleName";$zqwfzok="tabid";$ktvltskonsi="relatedModuleArray";${${"GLOBALS"}["wihfdtjxrf"]}=getTabid(${${"GLOBALS"}["mpyxdislyu"]});${$zlmuedvhnmj}=$adb->pquery("SELECT * FROM vtiger_relatedlists WHERE tabid = ? AND presence = 0 AND related_tabid NOT IN(8,9,10,20,21,22,23,35,43) AND actions LIKE '%ADD%'",array(${$zqwfzok}));${"GLOBALS"}["njelgqpkyflx"]="relatedModuleArray";${${"GLOBALS"}["ginyqzgfutus"]}=$adb->num_rows(${${"GLOBALS"}["xpenyvdf"]});${$ktvltskonsi}=array();$rqxgergapcz="j";for(${${"GLOBALS"}["phxnjokirbgf"]}=0;${$rqxgergapcz}<${${"GLOBALS"}["ginyqzgfutus"]};${${"GLOBALS"}["phxnjokirbgf"]}++){${"GLOBALS"}["ucbanoklujjc"]="relatedModule";${${"GLOBALS"}["dlvcwro"]}=$adb->query_result(${${"GLOBALS"}["xpenyvdf"]},${${"GLOBALS"}["phxnjokirbgf"]},"related_tabid");${${"GLOBALS"}["eilakudir"]}=$adb->pquery("SELECT * FROM vtiger_tab WHERE tabid = ? AND presence = 0",array(${${"GLOBALS"}["dlvcwro"]}));${${"GLOBALS"}["ucbanoklujjc"]}=$adb->query_result(${${"GLOBALS"}["eilakudir"]},0,"name");if(${${"GLOBALS"}["teodzle"]}!=""){$wnepwdih="relatedModule";${"GLOBALS"}["bbhqtelt"]="data";${"GLOBALS"}["ouvpsfig"]="data";${${"GLOBALS"}["bbhqtelt"]}=CTWhatsApp_Record_Model::checkPermissionModule(${$wnepwdih});if(${${"GLOBALS"}["ouvpsfig"]}==1){$vxvcbmbm="tabid";$olypcwlmswyq="relatedModuleArray";$fosrwgrq="getRelatedFieldNameQuery";$qxtpztgujh="relatedModuleTabid";${$fosrwgrq}=$adb->pquery("SELECT vtiger_field.fieldname FROM vtiger_relatedlists INNER JOIN vtiger_field ON vtiger_field.fieldid = vtiger_relatedlists.relationfieldid WHERE vtiger_relatedlists.related_tabid = ? AND vtiger_relatedlists.tabid = ?",array(${$qxtpztgujh},${$vxvcbmbm}));${${"GLOBALS"}["dxruennoklv"]}=$adb->query_result(${${"GLOBALS"}["ecqswuvoh"]},0,"fieldname");$iybjxtkgfv="relatedModule";${$olypcwlmswyq}[${${"GLOBALS"}["teodzle"]}]=array("relatedModule"=>${$iybjxtkgfv},"relatedFieldName"=>${${"GLOBALS"}["dxruennoklv"]});}}}return${${"GLOBALS"}["njelgqpkyflx"]};}public function checkPermissionModule($moduleName){$fswakemte="moduleName";${"GLOBALS"}["ktfokmjdmu"]="moduleName";${$fswakemte}=${${"GLOBALS"}["ktfokmjdmu"]};$rrsdjenk="moduleName";$dtcnmhcpuybi="record";${$dtcnmhcpuybi}="";${${"GLOBALS"}["emwkqyhays"]}="DetailView";if(!Users_Privileges_Model::isPermitted(${$rrsdjenk},${${"GLOBALS"}["emwkqyhays"]},${${"GLOBALS"}["lguqhfgl"]})){return 0;}else{return 1;}}public function setMessagesImportant($recordId,$messagesImportant){$skyvkg="setype";${"GLOBALS"}["ckaairbmzse"]="messagesImportant";global$adb;${${"GLOBALS"}["kpaifztojnc"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["qwoktwwcbt"]});$foeipymll="updateQuery";${"GLOBALS"}["biolfh"]="customQuery";if(${${"GLOBALS"}["ckaairbmzse"]}==0){${"GLOBALS"}["vudilyld"]="query";${${"GLOBALS"}["vudilyld"]}="UPDATE vtiger_whatsapplog SET whatsapplog_important = 1";}else{${${"GLOBALS"}["ovttyyo"]}="UPDATE vtiger_whatsapplog SET whatsapplog_important = 0";}if(${$skyvkg}){${${"GLOBALS"}["binxbdid"]}=" WHERE whatsapplog_contactid = ?";}else{$prvatkdylka="customQuery";${$prvatkdylka}=" WHERE whatsapplog_withccode = ?";}${$foeipymll}=$adb->pquery(${${"GLOBALS"}["ovttyyo"]}.${${"GLOBALS"}["biolfh"]},array(${${"GLOBALS"}["qwoktwwcbt"]}));return 1;}public function getAllNewUnreadMessages($recordId,$moduleName,$individulMessage,$lastMessageID){$wnejmmyxn="setype";global$adb,$current_user;${"GLOBALS"}["jyygnitfc"]="pdfExts";${$wnejmmyxn}=VtigerCRMObject::getSEType(${${"GLOBALS"}["qwoktwwcbt"]});$euajyg="inNumberQuery";$jutgohfprtx="imgExts";${${"GLOBALS"}["xeepvldsw"]}=$current_user->id;$csjnhpw="recordId";$tcadrqkq="wordlExts";${$euajyg}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["xeepvldsw"]});if(${${"GLOBALS"}["kpaifztojnc"]}){${${"GLOBALS"}["binxbdid"]}=" AND whatsapp_contactid = ?";}else{${"GLOBALS"}["ntvddlcvwc"]="recordId";if(strpos(${${"GLOBALS"}["ntvddlcvwc"]},"@g.us")!==false){${${"GLOBALS"}["binxbdid"]}=" AND msgid = ?";}else{${${"GLOBALS"}["binxbdid"]}=" AND whatsapp_withccode = ?";}}$cegvivevdr="individulMessage";${"GLOBALS"}["qjngxjrys"]="unreadQuery";${${"GLOBALS"}["qjngxjrys"]}=CTWhatsApp_Record_Model::unreadQuery();$leoxdahbe="i";if(${$cegvivevdr}==1){${"GLOBALS"}["jsghrsyil"]="unreadQuery";${"GLOBALS"}["fodsmrahmje"]="customQuery";${${"GLOBALS"}["ovttyyo"]}=${${"GLOBALS"}["jsghrsyil"]}.${${"GLOBALS"}["fodsmrahmje"]}.${${"GLOBALS"}["pragmjfeo"]}." AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread' AND vtiger_ctwhatsapp.message_type IN ('Recieved') ORDER BY ctwhatsappid DESC LIMIT 0,1";}else{${"GLOBALS"}["gjllppunof"]="lastMessageID";if(${${"GLOBALS"}["gjllppunof"]}){${"GLOBALS"}["ruvojkntieb"]="query";${${"GLOBALS"}["ruvojkntieb"]}=${${"GLOBALS"}["oyuprils"]}.${${"GLOBALS"}["binxbdid"]}.${${"GLOBALS"}["pragmjfeo"]}." AND ctwhatsappid > ".${${"GLOBALS"}["swwwsmwllfl"]};}else{$lhnpslbt="unreadQuery";${"GLOBALS"}["dbkcwnm"]="query";$uyrdpttykgj="customQuery";${${"GLOBALS"}["dbkcwnm"]}=${$lhnpslbt}.${$uyrdpttykgj}.${${"GLOBALS"}["pragmjfeo"]};}}$cqdxwppcs="i";${"GLOBALS"}["janjuvrolw"]="excelExts";${${"GLOBALS"}["yxfngospdgjo"]}=$adb->pquery(${${"GLOBALS"}["ovttyyo"]},array(${$csjnhpw}));${"GLOBALS"}["lvjewpten"]="queryResult";${"GLOBALS"}["lxlohfkgud"]="unreadArray";${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["lvjewpten"]});${${"GLOBALS"}["lwrsnxv"]}="";${$jutgohfprtx}=array("gif","jpg","jpeg","png","tiff","tif");${${"GLOBALS"}["jyygnitfc"]}=array("pdf");${${"GLOBALS"}["zcsujikz"]}=array("txt","php","zip","csv","https");${${"GLOBALS"}["sglklk"]}=array("mp3");${${"GLOBALS"}["janjuvrolw"]}=array("xls");${$tcadrqkq}=array("docx","doc");for(${$cqdxwppcs}=0;${$leoxdahbe}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["xinmoutpuvkr"]="queryResult";$ynelauf="createdTime";${"GLOBALS"}["ahrrqoqbfpsn"]="quotemessage";${"GLOBALS"}["ajqofkrq"]="i";${"GLOBALS"}["dltwhiwde"]="queryResult";$cvduxqbdi="queryResult";${"GLOBALS"}["ojymdcelppv"]="queryResult";$hokfspndgym="i";${"GLOBALS"}["qpfbryfnao"]="your_number";${${"GLOBALS"}["fhpypcfsupc"]}="";${${"GLOBALS"}["elxrbclqcmf"]}="";${"GLOBALS"}["uxoeatgyts"]="i";${"GLOBALS"}["ymrfcuuu"]="setype";$poeutqtfcwic="i";${"GLOBALS"}["hzyatj"]="queryResult";${${"GLOBALS"}["zxcgunapu"]}="";${"GLOBALS"}["wkkfgftb"]="queryResult";${"GLOBALS"}["duuxqfrlnip"]="i";$pwfbvrife="i";${"GLOBALS"}["ejdiwparhvy"]="i";$lnqgjhlw="i";${${"GLOBALS"}["ntefpowlwlxy"]}=$adb->query_result(${${"GLOBALS"}["ojymdcelppv"]},${${"GLOBALS"}["varbufd"]},"ctwhatsappid");$ojnmudvqu="queryResult";${${"GLOBALS"}["vgorlrcqlcn"]}=$adb->query_result(${$ojnmudvqu},${$hokfspndgym},"whatsapp_sendername");$myimquwbsehe="documentBody";${${"GLOBALS"}["gkbrmbdekp"]}=$adb->query_result(${${"GLOBALS"}["xinmoutpuvkr"]},${$lnqgjhlw},"message_type");${${"GLOBALS"}["uujohzcem"]}=$adb->query_result(${${"GLOBALS"}["hzyatj"]},${${"GLOBALS"}["ejdiwparhvy"]},"whatsapp_unreadread");${${"GLOBALS"}["zdjsennq"]}=$adb->query_result(${${"GLOBALS"}["wkkfgftb"]},${$pwfbvrife},"whatsapp_withccode");${${"GLOBALS"}["qpfbryfnao"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${${"GLOBALS"}["varbufd"]},"your_number");${${"GLOBALS"}["ahrrqoqbfpsn"]}=$adb->query_result(${${"GLOBALS"}["dltwhiwde"]},${${"GLOBALS"}["uxoeatgyts"]},"whatsapp_quotemessage");${"GLOBALS"}["mtzpzxobwaf"]="setype";${$myimquwbsehe}=$adb->query_result(${$cvduxqbdi},${$poeutqtfcwic},"message_body");${${"GLOBALS"}["sdftwzui"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${${"GLOBALS"}["duuxqfrlnip"]},"whatsapp_contactid");$prcqxqyfe="urlExt";${${"GLOBALS"}["ymrfcuuu"]}=VtigerCRMObject::getSEType(${${"GLOBALS"}["sdftwzui"]});if(${${"GLOBALS"}["mtzpzxobwaf"]}=="Contacts"){$rfpritcnh="relatedtotask";${"GLOBALS"}["jrtedclhzou"]="whatsapp_contactid";${$rfpritcnh}="contact_id=".${${"GLOBALS"}["jrtedclhzou"]}."";}else{$ccdxllfwkz="whatsapp_contactid";${${"GLOBALS"}["jmpqdwdl"]}="parent_id=".${$ccdxllfwkz}."";}${${"GLOBALS"}["rzynmifhui"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${${"GLOBALS"}["varbufd"]},"msgid");${${"GLOBALS"}["lynmouvw"]}=nl2br(preg_replace("#\*([^*]+)\*#","<b>\$1</b>",$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${${"GLOBALS"}["ajqofkrq"]},"message_body")));if(${${"GLOBALS"}["ntefpowlwlxy"]}){${"GLOBALS"}["kfdxvorl"]="messageType";${"GLOBALS"}["efwswjlrjxf"]="messageReadUnRead";if(${${"GLOBALS"}["efwswjlrjxf"]}=="Unread"&&${${"GLOBALS"}["kfdxvorl"]}=="Recieved"){${"GLOBALS"}["ihldcjbtd"]="ctwhatsappId";$ggdfwck="recordModel";${$ggdfwck}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["ntefpowlwlxy"]},"CTWhatsApp");$recordModel->set("mode","edit");$recordModel->set("id",${${"GLOBALS"}["ihldcjbtd"]});$recordModel->set("whatsapp_unreadread","Read");$recordModel->save();}}${${"GLOBALS"}["pducllxobyxt"]}=CTWhatsApp_Record_Model::getWhatsappTheme();if(${${"GLOBALS"}["pducllxobyxt"]}=="RTL"){$aiihkj="taskstyle";${$aiihkj}="style=\"float: right;width: 20px; !important;cursor: pointer;"";}else{${"GLOBALS"}["bgjlfuf"]="taskstyle";${${"GLOBALS"}["bgjlfuf"]}="style="float: left;width: 20px; !important;cursor: pointer;\"";}${${"GLOBALS"}["lbauoyndx"]}=pathinfo(${${"GLOBALS"}["lynmouvw"]},PATHINFO_EXTENSION);$xiqhylnh="queryResult";if(${$prcqxqyfe}){${"GLOBALS"}["uurskcx"]="urlExt";${"GLOBALS"}["rtjntkje"]="fileExts";$txqmjcfjmt="mp3Exts";$iusxdf="pdfExts";$koibekkjum="wordlExts";${"GLOBALS"}["lmwqbrphdw"]="urlExt";${"GLOBALS"}["okulrgwcc"]="urlExt";if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["lpgsntbmqe"]})){${"GLOBALS"}["jfbnmoekishz"]="messageBody";${"GLOBALS"}["lxdojpeesvii"]="whatsAppFileName";${"GLOBALS"}["kxcgfeg"]="messageBody";${${"GLOBALS"}["jfbnmoekishz"]}="<image src="".${${"GLOBALS"}["kxcgfeg"]}."\" style="height: 60px !important;cursor: pointer;\">";${${"GLOBALS"}["lxdojpeesvii"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GLOBALS"}["wyqmlwk"]});}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["rtjntkje"]})){${"GLOBALS"}["hgixjyqhpv"]="messageBody";$qzqgnqtwcsbf="messageBody";${${"GLOBALS"}["hgixjyqhpv"]}="<a href=\"".${$qzqgnqtwcsbf}."\" target=\"_black\"><img src=\"layouts/v7/modules/CTWhatsApp/image/fileicon.png"></a>";${${"GLOBALS"}["xlugafkwwgw"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GLOBALS"}["wyqmlwk"]});}else if(in_array(${${"GLOBALS"}["uurskcx"]},${$iusxdf})){${"GLOBALS"}["nidvimohmgt"]="messageBody";${"GLOBALS"}["mcgmvlmcxwbp"]="messageBody";${"GLOBALS"}["ergryxuv"]="documentBody";${${"GLOBALS"}["nidvimohmgt"]}="<a href=\"".${${"GLOBALS"}["mcgmvlmcxwbp"]}."" target=\"_black"><img src=\"layouts/v7/modules/CTWhatsApp/image/pdficon.png"></a>";${${"GLOBALS"}["xlugafkwwgw"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GLOBALS"}["ergryxuv"]});}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["bhpqyuygq"]})){$dggpbvsha="messageBody";${"GLOBALS"}["ocrsqtwn"]="messageBody";${${"GLOBALS"}["ocrsqtwn"]}="<a href="".${$dggpbvsha}."" target=\"_black\"><img src="layouts/v7/modules/CTWhatsApp/image/excelicon.png"></a>";${"GLOBALS"}["oeeuoqzd"]="whatsAppFileName";${${"GLOBALS"}["oeeuoqzd"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GLOBALS"}["wyqmlwk"]});}else if(in_array(${${"GLOBALS"}["lmwqbrphdw"]},${$koibekkjum})){${"GLOBALS"}["ctbcrql"]="whatsAppFileName";${${"GLOBALS"}["lynmouvw"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."" target="_black"><img src="layouts/v7/modules/CTWhatsApp/image/wordicon.jpg"></a>";$qwxfaugbhoat="documentBody";${${"GLOBALS"}["ctbcrql"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${$qwxfaugbhoat});}else if(in_array(${${"GLOBALS"}["okulrgwcc"]},${$txqmjcfjmt})){${"GLOBALS"}["ybscps"]="messageBody";${"GLOBALS"}["fvvjfcbuj"]="messageBody";$hnulio="documentBody";$kfxwiir="whatsAppFileName";$khuykw="messageBody";${${"GLOBALS"}["fvvjfcbuj"]}=" <audio controls>
                    <source src=\"".${$khuykw}."" type="audio/ogg\">
                    <source src=\"".${${"GLOBALS"}["ybscps"]}."" type=\"audio/mpeg\">
                    Your browser does not support the audio element.
                    </audio> ";${$kfxwiir}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${$hnulio});}else{${${"GLOBALS"}["xlugafkwwgw"]}="";}${${"GLOBALS"}["xhkwhhw"]}="0";}else{$vftqxinu="urlExt";${"GLOBALS"}["itbynu"]="messageBody";$nciybpsslu="messageBody";${"GLOBALS"}["waxeiktds"]="fileExts";$jqygrpi="individulMessage";${"GLOBALS"}["fnajlvc"]="wordlExts";${${"GLOBALS"}["itbynu"]}=${$nciybpsslu};$gejqrrv="excelExts";$kymihbsazh="pdfExts";$pyojdfudx="urlExt";${"GLOBALS"}["colvflflssb"]="whatsAppFileName";if(${$jqygrpi}==1){${${"GLOBALS"}["hmywxuikqnp"]}=" ";}else{${${"GLOBALS"}["hmywxuikqnp"]}="style='float: left;width: 15px;margin-right: 10px;'";}if(${${"GLOBALS"}["kpaifztojnc"]}){$njrohx="urlExt";$bmwvsvcl="urlExt";${"GLOBALS"}["smaibrdo"]="fileExts";${"GLOBALS"}["ysvyccxtth"]="urlExt";$dsoutonjf="excelExts";$sndsxyhq="pdfExts";$mfxftrw="wordlExts";${"GLOBALS"}["eopbcyqmwtd"]="urlExt";if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["lpgsntbmqe"]})||in_array(${${"GLOBALS"}["eopbcyqmwtd"]},${${"GLOBALS"}["smaibrdo"]})||in_array(${$njrohx},${$sndsxyhq})||in_array(${$bmwvsvcl},${${"GLOBALS"}["sglklk"]})||in_array(${${"GLOBALS"}["ysvyccxtth"]},${$dsoutonjf})||in_array(${${"GLOBALS"}["lbauoyndx"]},${$mfxftrw})){${"GLOBALS"}["pbrwlaup"]="whatsappMessageHTML";${${"GLOBALS"}["pbrwlaup"]}.="";}else{if(Users_Privileges_Model::isPermitted(${${"GLOBALS"}["kpaifztojnc"]},"EditView",${${"GLOBALS"}["sdftwzui"]})){${"GLOBALS"}["izcuerqw"]="editFieldHTML";$wbbfpwt="style";${"GLOBALS"}["jwfzjhcqxf"]="setype";${${"GLOBALS"}["izcuerqw"]}="&nbsp;&nbsp;
                            <span class='editField'>
                            <img src='layouts/v7/modules/CTWhatsApp/image/editcontent.png' title='".vtranslate("LBL_EDITFIELD","CTWhatsApp")." ".vtranslate(${${"GLOBALS"}["kpaifztojnc"]},${${"GLOBALS"}["kpaifztojnc"]})."' ".${$wbbfpwt}."><p>'".vtranslate("LBL_EDITFIELD","CTWhatsApp")."".vtranslate(${${"GLOBALS"}["kpaifztojnc"]},${${"GLOBALS"}["jwfzjhcqxf"]})."'</p>
                            </span>";}}}$ppkknxamrig="notReplyWhatsapp";$kqdthmsj="urlExt";if(in_array(${$vftqxinu},${${"GLOBALS"}["lpgsntbmqe"]})||in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["waxeiktds"]})||in_array(${${"GLOBALS"}["lbauoyndx"]},${$kymihbsazh})||in_array(${$kqdthmsj},${${"GLOBALS"}["sglklk"]})||in_array(${$pyojdfudx},${$gejqrrv})||in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["fnajlvc"]})){${"GLOBALS"}["zybuah"]="replyMessageHTML";$ixpvkotado="copyMessage";${${"GLOBALS"}["zybuah"]}.="";${$ixpvkotado}.="";}else{${"GLOBALS"}["bsdyoprj"]="createTaskMessage";${"GLOBALS"}["upfaonne"]="messageBody";$gjhznbvoux="taskstyle";${"GLOBALS"}["kjfqxcd"]="copyMessage";if(${${"GLOBALS"}["zdjsennq"]}!="Groups"){${"GLOBALS"}["frvxuiqgddo"]="replyMessageHTML";${${"GLOBALS"}["frvxuiqgddo"]}.="<span class='replyMessageBody' data-replymessage='".strip_tags(${${"GLOBALS"}["lynmouvw"]})."' data-replymessageid='".${${"GLOBALS"}["rzynmifhui"]}."''>
                        <img src='layouts/v7/modules/CTWhatsApp/image/reply.png' title=".vtranslate("LBL_REPLY","CTWhatsApp")."' ".${${"GLOBALS"}["hmywxuikqnp"]}.">".vtranslate("LBL_REPLY","CTWhatsApp")."'
                        </span>";}${"GLOBALS"}["flhkbglej"]="messageBody";$oolcsxvzldrv="style";${${"GLOBALS"}["kjfqxcd"]}="
                    <span class="copyMessageBody" data-copymessage=\"".strip_tags(${${"GLOBALS"}["lynmouvw"]})."">
                    <img ".${$oolcsxvzldrv}." src=\"layouts/v7/modules/CTWhatsApp/image/copy.png\" title=\"".vtranslate("LBL_COPY","CTWhatsApp")."\">".vtranslate("LBL_COPY","CTWhatsApp")."
                    </span>";${${"GLOBALS"}["bsdyoprj"]}="
                    <span class="taskMessageBody quickCreateTaskModule\" data-task=\"yes" data-whatsappid="".${${"GLOBALS"}["loziibgsmg"]}."\"  data-url=\"index.php?module=Calendar&view=QuickCreateAjax&".${${"GLOBALS"}["jmpqdwdl"]}."&description=".strip_tags(${${"GLOBALS"}["flhkbglej"]})."" data-taskmessage="".strip_tags(${${"GLOBALS"}["upfaonne"]})."\">
                    <img ".${$gjhznbvoux}." src=\"layouts/v7/modules/CTWhatsApp/image/watch.jpg" title=\"".vtranslate("LBL_CREATE","Vtiger")."">".vtranslate("LBL_CREATE","Vtiger")."
                    </span>";}${${"GLOBALS"}["colvflflssb"]}="";${$ppkknxamrig}="1";}${$ynelauf}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${$xiqhylnh},${${"GLOBALS"}["varbufd"]},"whatsapp_datetime"));if(${${"GLOBALS"}["rqkjbwdmej"]}==1){${"GLOBALS"}["tjxfkfaerg"]="whatsappMessageHTML";${"GLOBALS"}["gwctlzfqoqv"]="createdTime";$afiqefqnj="your_number";$kcovccoxwb="editFieldHTML";${"GLOBALS"}["hvrthgpgus"]="messageReadUnRead";$frsdzwexzv="whatsAppFileName";${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"message received">
                ".${${"GLOBALS"}["lynmouvw"]}."<br> ".urldecode(${$frsdzwexzv})."
                    <span class=\"metadata\">
                <span class="time\"><b>".${$afiqefqnj}."</b>&nbsp;&nbsp; ".${${"GLOBALS"}["gwctlzfqoqv"]}."</span>&nbsp";${"GLOBALS"}["yvuapaktdoo"]="whatsappMessageHTML";if(${${"GLOBALS"}["hvrthgpgus"]}=="Unread"){${"GLOBALS"}["vthselmvoxjo"]="whatsappMessageHTML";${${"GLOBALS"}["vthselmvoxjo"]}.="<img src="layouts/v7/modules/CTWhatsApp/image/unread.png"/>";}else{$nkmqtov="whatsappMessageHTML";${$nkmqtov}.="<img src=\"layouts/v7/modules/CTWhatsApp/image/read.png\"/>";}${${"GLOBALS"}["yvuapaktdoo"]}.="</span>&nbsp;
                </div>";${${"GLOBALS"}["tjxfkfaerg"]}.=${$kcovccoxwb};}else{if(${${"GLOBALS"}["gkbrmbdekp"]}=="Send"){${"GLOBALS"}["rswzywu"]="quotemessage";${"GLOBALS"}["qnhgwk"]="notReplyWhatsapp";$msdarck="whatsappMessageHTML";${${"GLOBALS"}["lwrsnxv"]}.="<div class="sendChat\">
                        <div class=\"col-xs-12 col-sm-2 col-md-2 col-lg-2"></div>
                        <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2\"></div>
                        <div class=\"col-xs-10 col-sm-8 col-md-8 col-lg-8">
                        <div class="mainMessageDiv\">";${"GLOBALS"}["gonpsbesq"]="whatsappMessageHTML";if(${${"GLOBALS"}["qnhgwk"]}!="0"){${"GLOBALS"}["kvocmknwxc"]="whatsappMessageHTML";${"GLOBALS"}["uxdvhhe"]="replyMessageHTML";${${"GLOBALS"}["kvocmknwxc"]}.="<div class="dropdown\">
                              <div class=\"dropdown-toggle\" id="dropdownMenuButton\" data-toggle=\"dropdown" aria-expanded=\"true\" style=\"float: right !important;\">
                                <i class=\"fa fa-ellipsis-v icon" style=\"width: 8px;margin: 5px;cursor: pointer;"></i>
                              </div>
                              <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
                                <div class="dropdownInnerMenu\">
                                <a>";${${"GLOBALS"}["lwrsnxv"]}.=${${"GLOBALS"}["uxdvhhe"]}."";${${"GLOBALS"}["lwrsnxv"]}.="</a>
                                <a>";$mawtiensycgq="copyMessage";${"GLOBALS"}["qolgcddy"]="whatsappMessageHTML";${${"GLOBALS"}["lwrsnxv"]}.=${$mawtiensycgq}."";${${"GLOBALS"}["qolgcddy"]}.="</a>
                                </div>
                              </div>
                            </div>";}${${"GLOBALS"}["lwrsnxv"]}.="<div class=\"bubble send\" data-whatsappid=".${${"GLOBALS"}["ntefpowlwlxy"]}.">";if(${${"GLOBALS"}["rswzywu"]}!=""){${"GLOBALS"}["wqlcxbrht"]="whatsappMessageHTML";${${"GLOBALS"}["wqlcxbrht"]}.="<div class="sendQuoteMessage\"><p style="word-wrap: break-word;\">".${${"GLOBALS"}["mokfecsyxwd"]}."</p></div>";}${"GLOBALS"}["ukygxfmro"]="your_number";if(${${"GLOBALS"}["zdjsennq"]}=="Groups"){$trfnlbnkqnu="senderName";${${"GLOBALS"}["lwrsnxv"]}.="<span><b>".${$trfnlbnkqnu}."</b></span>";}${$msdarck}.="<p style=\"word-wrap: break-word;">".${${"GLOBALS"}["lynmouvw"]}."<br> ".urldecode(${${"GLOBALS"}["xlugafkwwgw"]})." </p>
                        </div>
                        </div>
                        <span class=\"chatTime\" style=\"width: chatTime%; !important"><b>".${${"GLOBALS"}["ukygxfmro"]}."</b> - ".${${"GLOBALS"}["sjpcvrpwotj"]}."";if(${${"GLOBALS"}["uujohzcem"]}=="Unread"){${${"GLOBALS"}["lwrsnxv"]}.="<img src=\"layouts/v7/modules/CTWhatsApp/image/unread.png"/>";}else{$sjohmxs="whatsappMessageHTML";${$sjohmxs}.="<img src=\"layouts/v7/modules/CTWhatsApp/image/read.png\"/>";}${${"GLOBALS"}["lwrsnxv"]}.="</span>&nbsp;</div>";${${"GLOBALS"}["gonpsbesq"]}.="<div class="col-xs-12 col-sm-2 col-md-2 col-lg-2\">
                        </div>
                        </div>";}else{${"GLOBALS"}["udzfvgsee"]="isGroup";${"GLOBALS"}["lavdsq"]="whatsappMessageHTML";${"GLOBALS"}["gbidbtuekh"]="ctwhatsappId";${${"GLOBALS"}["lavdsq"]}.="<div class="replyChat\">
                        <div class="col-xs-10 col-sm-8 col-md-8 col-lg-8">
                        <div class=\"bubble reply\" data-whatsappid=".${${"GLOBALS"}["gbidbtuekh"]}.">";$szopnjwjcrh="your_number";if(${${"GLOBALS"}["mokfecsyxwd"]}!=""){${"GLOBALS"}["agmbeo"]="whatsappMessageHTML";${${"GLOBALS"}["agmbeo"]}.="<div class="sendQuoteMessage"><p style="word-wrap: break-word;\">".${${"GLOBALS"}["mokfecsyxwd"]}."</p></div>";}if(${${"GLOBALS"}["zdjsennq"]}=="Groups"){${"GLOBALS"}["wlhxfbhg"]="senderName";${${"GLOBALS"}["lwrsnxv"]}.="<span><b>".${${"GLOBALS"}["wlhxfbhg"]}."</b></span>";}$kadgjdwnpkcy="whatsappMessageHTML";$ednlknmds="whatsappMessageHTML";${"GLOBALS"}["qyjxab"]="whatsappMessageHTML";${$ednlknmds}.="<p>".${${"GLOBALS"}["lynmouvw"]}."<br> ".urldecode(${${"GLOBALS"}["xlugafkwwgw"]})."</p>
                    </div>";${$kadgjdwnpkcy}.="<div class=\"dropdown" style="display: inline-block !important;margin: 0px 0px 0px 12px;\">
                              <div class=\"dropdown-toggle" id=\"dropdownMenuButton" data-toggle="dropdown" aria-expanded=\"true\">
                                <i class=\"fa fa-ellipsis-v icon" style="width: 8px;margin: 5px;cursor: pointer;"></i>
                              </div>
                              <div class=\"dropdown-menu\" aria-labelledby="dropdownMenuButton\">
                              <div class=\"dropdownInnerMenu">";if(${${"GLOBALS"}["udzfvgsee"]}=="Groups"){${"GLOBALS"}["tjdhlsco"]="copyMessage";${${"GLOBALS"}["lwrsnxv"]}.="<a>".${${"GLOBALS"}["tjdhlsco"]}."</a>";}else{if(${${"GLOBALS"}["xhkwhhw"]}!="0"){if(${${"GLOBALS"}["sdftwzui"]}){$dfmutrdq="editFieldHTML";${"GLOBALS"}["luqdcvvbdnbh"]="replyMessageHTML";${${"GLOBALS"}["lwrsnxv"]}.="<a>".${$dfmutrdq}."</a><a>".${${"GLOBALS"}["luqdcvvbdnbh"]}."</a><a>".${${"GLOBALS"}["elxrbclqcmf"]}."</a><a>".${${"GLOBALS"}["zxcgunapu"]}."</a>";}else{${"GLOBALS"}["nkwyuml"]="whatsappMessageHTML";${"GLOBALS"}["zzagioqa"]="replyMessageHTML";${${"GLOBALS"}["nkwyuml"]}.="<a>".${${"GLOBALS"}["zzagioqa"]}."</a><a>".${${"GLOBALS"}["elxrbclqcmf"]}."</a>";}}}${${"GLOBALS"}["lwrsnxv"]}.="</div></div></div>";${${"GLOBALS"}["lwrsnxv"]}.="<span class="chatTime" style="width: 60%; !important"><b>".${$szopnjwjcrh}."</b> - ".${${"GLOBALS"}["sjpcvrpwotj"]}."";if(${${"GLOBALS"}["uujohzcem"]}=="Unread"){${${"GLOBALS"}["lwrsnxv"]}.="<img src="layouts/v7/modules/CTWhatsApp/image/unread.png\"/>";}else{${${"GLOBALS"}["lwrsnxv"]}.="<img src="layouts/v7/modules/CTWhatsApp/image/read.png\"/>";}${${"GLOBALS"}["lwrsnxv"]}.="</span>&nbsp;</div>";${${"GLOBALS"}["qyjxab"]}.="<div class=\"col-xs-12 col-sm-2 col-md-2 col-lg-2\">
                    </div>
                    </div>";}}}${${"GLOBALS"}["jlwjdonyb"]}=array("rows"=>${${"GLOBALS"}["xdlzlhdqocwp"]},"whatsappMessageHTML"=>${${"GLOBALS"}["lwrsnxv"]});return${${"GLOBALS"}["lxlohfkgud"]};}public function getIndividualMessages($recordId){$pqgpzgof="setype";${"GLOBALS"}["ieilsqfs"]="pdfExts";global$adb,$current_user;${${"GLOBALS"}["xeepvldsw"]}=$current_user->id;${"GLOBALS"}["lcthcae"]="whatsappMessages";${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["xeepvldsw"]});$ylxonsbos="setype";${"GLOBALS"}["gmxuinjyc"]="excelExts";${${"GLOBALS"}["jrhgdjsfyh"]}=CTWhatsApp_Record_Model::unreadQuery();${"GLOBALS"}["oqlxhcfhcqs"]="queryResult";$mgodgumpmg="i";${$pqgpzgof}=VtigerCRMObject::getSEType(${${"GLOBALS"}["qwoktwwcbt"]});if(${$ylxonsbos}){${${"GLOBALS"}["ovttyyo"]}=${${"GLOBALS"}["jrhgdjsfyh"]}.${${"GLOBALS"}["pragmjfeo"]}." AND vtiger_ctwhatsapp.whatsapp_contactid = ? ORDER BY vtiger_ctwhatsapp.whatsapp_datetime ASC";${${"GLOBALS"}["yxfngospdgjo"]}=$adb->pquery(${${"GLOBALS"}["ovttyyo"]},array(${${"GLOBALS"}["qwoktwwcbt"]}));}else{${"GLOBALS"}["tnfwniyhmb"]="queryResult";${"GLOBALS"}["jhvfkbbmrwu"]="recordId";$ypdzemfmsvb="query";$ebqorobotf="recordId";${"GLOBALS"}["uqdebuzq"]="query";${"GLOBALS"}["whsiapswkt"]="recordId";${$ebqorobotf}=preg_replace("/[^A-Za-z0-9]/","",${${"GLOBALS"}["whsiapswkt"]});${"GLOBALS"}["cvpwzn"]="inNumberQuery";${$ypdzemfmsvb}=${${"GLOBALS"}["jrhgdjsfyh"]}.${${"GLOBALS"}["cvpwzn"]}." AND vtiger_ctwhatsapp.whatsapp_withccode LIKE \"%".${${"GLOBALS"}["jhvfkbbmrwu"]}."%"";${${"GLOBALS"}["tnfwniyhmb"]}=$adb->pquery(${${"GLOBALS"}["uqdebuzq"]},array());}${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["oqlxhcfhcqs"]});${${"GLOBALS"}["lpgsntbmqe"]}=array("gif","jpg","jpeg","png","tiff","tif");${${"GLOBALS"}["ieilsqfs"]}=array("pdf");${"GLOBALS"}["jpxdgwolk"]="rows";${${"GLOBALS"}["zcsujikz"]}=array("txt","php","zip","csv","https");${${"GLOBALS"}["sglklk"]}=array("mp3");${${"GLOBALS"}["gmxuinjyc"]}=array("xls");$gjbvawlgu="i";${${"GLOBALS"}["jnxfqqlekp"]}=array("docx","doc");$zyyqconkumnv="i";${${"GLOBALS"}["ernfooxlf"]}=array();for(${$gjbvawlgu}=0;${$zyyqconkumnv}<${${"GLOBALS"}["jpxdgwolk"]};${$mgodgumpmg}++){$lxltzit="queryResult";$lhwvovd="urlExt";${"GLOBALS"}["ohwblbqwm"]="urlExt";$chiipodij="messageReadUnRead";$okdvfhiwd="pdfExts";${"GLOBALS"}["ilmbdwsxij"]="whatsAppFileName";${"GLOBALS"}["debukhrxatd"]="queryResult";$wnncxnof="ctwhatsappId";$zxoqessygol="your_number";$sbkfncyma="messageBody";$wkgpumk="urlExt";${"GLOBALS"}["ewhcnmhu"]="messageBody";$llecemnvtw="urlExt";${$wnncxnof}=$adb->query_result(${${"GLOBALS"}["debukhrxatd"]},${${"GLOBALS"}["varbufd"]},"ctwhatsappid");$lqoxlrcrlb="i";${${"GLOBALS"}["gkbrmbdekp"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${${"GLOBALS"}["varbufd"]},"message_type");${${"GLOBALS"}["vgorlrcqlcn"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${${"GLOBALS"}["varbufd"]},"whatsapp_sendername");${${"GLOBALS"}["uujohzcem"]}=$adb->query_result(${$lxltzit},${${"GLOBALS"}["varbufd"]},"whatsapp_unreadread");${${"GLOBALS"}["qourxve"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${$lqoxlrcrlb},"your_number");${"GLOBALS"}["tprvfsirpso"]="ctwhatsappId";${${"GLOBALS"}["xlugafkwwgw"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage($adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},${${"GLOBALS"}["varbufd"]},"message_body"));${"GLOBALS"}["jftscihre"]="fileExts";${"GLOBALS"}["rklnest"]="queryResult";${"GLOBALS"}["xqkyekj"]="queryResult";if(${${"GLOBALS"}["tprvfsirpso"]}){$jkchnvfm="messageReadUnRead";if(${$jkchnvfm}=="Unread"&&${${"GLOBALS"}["gkbrmbdekp"]}=="Recieved"){${"GLOBALS"}["vgdyzpgbgd"]="recordModel";${${"GLOBALS"}["vgdyzpgbgd"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["ntefpowlwlxy"]},"CTWhatsApp");$recordModel->set("mode","edit");${"GLOBALS"}["mnqzbpj"]="ctwhatsappId";$recordModel->set("id",${${"GLOBALS"}["mnqzbpj"]});$recordModel->set("whatsapp_unreadread","Read");$recordModel->save();}}${${"GLOBALS"}["ewhcnmhu"]}=nl2br(preg_replace("#\*([^*]+)\*#","<b>\$1</b>",$adb->query_result(${${"GLOBALS"}["xqkyekj"]},${${"GLOBALS"}["varbufd"]},"message_body")));${$llecemnvtw}=pathinfo(${${"GLOBALS"}["lynmouvw"]},PATHINFO_EXTENSION);${"GLOBALS"}["uqsjsvkkgljn"]="createdTime";if(in_array(${${"GLOBALS"}["ohwblbqwm"]},${${"GLOBALS"}["lpgsntbmqe"]})){${"GLOBALS"}["lcauqoxscn"]="messageBody";${${"GLOBALS"}["lcauqoxscn"]}="<image src="".${${"GLOBALS"}["lynmouvw"]}."" style="height: 60px !important;cursor: pointer;">";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["jftscihre"]})){${"GLOBALS"}["cljbwetngujv"]="messageBody";${${"GLOBALS"}["lynmouvw"]}="<a href=\"".${${"GLOBALS"}["cljbwetngujv"]}."" target=\"_black\"><img src="layouts/v7/modules/CTWhatsApp/image/fileicon.png"></a>";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${$okdvfhiwd})){${${"GLOBALS"}["lynmouvw"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."\" target=\"_black"><img src="layouts/v7/modules/CTWhatsApp/image/pdficon.png"></a>";}else if(in_array(${$wkgpumk},${${"GLOBALS"}["bhpqyuygq"]})){${${"GLOBALS"}["lynmouvw"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."" target=\"_black\"><img src=\"layouts/v7/modules/CTWhatsApp/image/excelicon.png\"></a>";}else if(in_array(${$lhwvovd},${${"GLOBALS"}["jnxfqqlekp"]})){${${"GLOBALS"}["lynmouvw"]}="<a href="".${${"GLOBALS"}["lynmouvw"]}."\" target="_black\"><img src=\"layouts/v7/modules/CTWhatsApp/image/wordicon.jpg\"></a>";}else if(in_array(${${"GLOBALS"}["lbauoyndx"]},${${"GLOBALS"}["sglklk"]})){${"GLOBALS"}["ykhevhhwolla"]="messageBody";${${"GLOBALS"}["lynmouvw"]}=" <audio controls>
                        <source src=\"".${${"GLOBALS"}["ykhevhhwolla"]}."" type=\"audio/ogg">
                        <source src="".${${"GLOBALS"}["lynmouvw"]}."\" type=\"audio/mpeg">
                      Your browser does not support the audio element.
                    </audio> ";}else{${"GLOBALS"}["tfbepvtpmnw"]="whatsAppFileName";${${"GLOBALS"}["tfbepvtpmnw"]}="";}${${"GLOBALS"}["sjpcvrpwotj"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${${"GLOBALS"}["rklnest"]},${${"GLOBALS"}["varbufd"]},"whatsapp_datetime"));${${"GLOBALS"}["ernfooxlf"]}[]=array("messageType"=>${${"GLOBALS"}["gkbrmbdekp"]},"messageBody"=>${$sbkfncyma},"createdTime"=>${${"GLOBALS"}["uqsjsvkkgljn"]},"senderName"=>${${"GLOBALS"}["vgorlrcqlcn"]},"messageReadUnRead"=>${$chiipodij},"your_number"=>${$zxoqessygol},"whatsAppFileName"=>${${"GLOBALS"}["ilmbdwsxij"]});}return${${"GLOBALS"}["lcthcae"]};}public function checkCommentModuleEnable($sourceModuleName){${"GLOBALS"}["jwockhcemwj"]="commentRows";$wtwskcg="commentRows";global$adb;${"GLOBALS"}["gsrtcxyn"]="modCommentQuery";${"GLOBALS"}["jcrvclvrqqx"]="commentModuleEnable";${${"GLOBALS"}["woxepnt"]}=$adb->pquery("SELECT * FROM vtiger_tab WHERE name = 'ModComments' AND presence = 0",array());${$wtwskcg}=$adb->num_rows(${${"GLOBALS"}["gsrtcxyn"]});if(${${"GLOBALS"}["jwockhcemwj"]}){${"GLOBALS"}["xqetamuho"]="commentTabid";$wqcjlyex="sourceModuleName";$zstuftryf="enableCommentQuery";${${"GLOBALS"}["zblrfkvlf"]}=$adb->query_result(${${"GLOBALS"}["woxepnt"]},0,"tabid");${"GLOBALS"}["sqitthc"]="sourceModuleTabid";${${"GLOBALS"}["sqitthc"]}=getTabid(${$wqcjlyex});${${"GLOBALS"}["xdvixhuzq"]}=$adb->pquery("SELECT * FROM vtiger_relatedlists WHERE related_tabid = ? AND tabid = ?",array(${${"GLOBALS"}["xqetamuho"]},${${"GLOBALS"}["kglvalv"]}));${${"GLOBALS"}["kgswbnbqngjh"]}=$adb->num_rows(${$zstuftryf});}return${${"GLOBALS"}["jcrvclvrqqx"]};}public function getAllConnectedWhatsappNumber($currentUserID){global$adb;$nwtekuf="allNumber";$nrmouzifjxt="query";${"GLOBALS"}["uvgodpgsx"]="i";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups");$wzvywpchsnu="whatsappNumbers";${"GLOBALS"}["ncfdimjwldhy"]="k";${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${$nrmouzifjxt});$woyyylus="currentUserID";${"GLOBALS"}["shecqrg"]="currentUserID";${${"GLOBALS"}["ueqwfzvnuo"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["uvgodpgsx"]}++){$swvbmbtf="multiple_userid";$gxgkitqu="currentUserID";$xitaeqx="i";$tsyfokkfdh="query";${${"GLOBALS"}["upbnbfcilcen"]}=explode(",",$adb->query_result(${$tsyfokkfdh},${$xitaeqx},"multiple_userid"));if(in_array(${$gxgkitqu},${$swvbmbtf})){${"GLOBALS"}["rhgtqhuoekud"]="userid";${"GLOBALS"}["ajuwkccditu"]="i";${${"GLOBALS"}["rhgtqhuoekud"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["ajuwkccditu"]},"userid");${${"GLOBALS"}["yvnjfrbown"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ?",array(${${"GLOBALS"}["wknbcezcqoi"]}));${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${${"GLOBALS"}["yvnjfrbown"]},0,"whatsappno");${${"GLOBALS"}["ruiaeyd"]}=$adb->query_result(${${"GLOBALS"}["yvnjfrbown"]},0,"whatsappstatus");if(${${"GLOBALS"}["nfcxjul"]}){${"GLOBALS"}["lrnotdsge"]="whatsappNumbers";$nomdipe="userid";${"GLOBALS"}["xgfjgqhsewr"]="whatsappno";$bfdhqcaj="whatsappstatus";${${"GLOBALS"}["lrnotdsge"]}[]=array("whatsappno"=>${${"GLOBALS"}["xgfjgqhsewr"]},"userid"=>${$nomdipe},"username"=>getUserName(${${"GLOBALS"}["wknbcezcqoi"]}),"whatsappstatus"=>${$bfdhqcaj});}}}$utoanwg="k";${${"GLOBALS"}["faobnrhqdgot"]}=$adb->pquery("SELECT * FROM vtiger_users2group WHERE userid = ?",array(${${"GLOBALS"}["shecqrg"]}));${${"GLOBALS"}["jswhwie"]}=$adb->num_rows(${${"GLOBALS"}["faobnrhqdgot"]});for(${${"GLOBALS"}["mdivdlk"]}=0;${$utoanwg}<${${"GLOBALS"}["jswhwie"]};${${"GLOBALS"}["ncfdimjwldhy"]}++){$fbkeqrybr="k";${"GLOBALS"}["chmxtq"]="groupid";${"GLOBALS"}["gpxkfavdmo"]="j";${"GLOBALS"}["cdqpcyoqkxv"]="j";${${"GLOBALS"}["chmxtq"]}=$adb->query_result(${${"GLOBALS"}["faobnrhqdgot"]},${$fbkeqrybr},"groupid");${${"GLOBALS"}["jtfqtfddsuot"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups",array());${${"GLOBALS"}["yyvmhfs"]}=$adb->num_rows(${${"GLOBALS"}["jtfqtfddsuot"]});for(${${"GLOBALS"}["gpxkfavdmo"]}=0;${${"GLOBALS"}["phxnjokirbgf"]}<${${"GLOBALS"}["yyvmhfs"]};${${"GLOBALS"}["cdqpcyoqkxv"]}++){${"GLOBALS"}["xvmsgdnyj"]="query1";$mfirspw="j";$rvhblnxihku="multiple_userid";${$rvhblnxihku}=$adb->query_result(${${"GLOBALS"}["xvmsgdnyj"]},${$mfirspw},"multiple_userid");$qfkfepfxnxu="multiple_userid";$jiaysrfglbn="allUserId";$vznwyi="allUserId";${$jiaysrfglbn}=explode(",",${$qfkfepfxnxu});if(in_array(${${"GLOBALS"}["hxezvqnwm"]},${$vznwyi})){$zsghwrwircd="userid";$ilpeju="query1";$utvuasbat="whatsappno";${"GLOBALS"}["fhgdvcdll"]="getnumberquery";$eggkdhbk="j";${$zsghwrwircd}=$adb->query_result(${$ilpeju},${$eggkdhbk},"userid");$ybqdkjkqbs="userid";${${"GLOBALS"}["fhgdvcdll"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ?",array(${$ybqdkjkqbs}));${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${${"GLOBALS"}["yvnjfrbown"]},0,"whatsappno");$mgryccrcmse="getnumberquery";${${"GLOBALS"}["ruiaeyd"]}=$adb->query_result(${$mgryccrcmse},0,"whatsappstatus");if(${$utvuasbat}){${${"GLOBALS"}["ueqwfzvnuo"]}[]=array("whatsappno"=>${${"GLOBALS"}["nfcxjul"]},"userid"=>${${"GLOBALS"}["wknbcezcqoi"]},"username"=>getUserName(${${"GLOBALS"}["wknbcezcqoi"]}),"whatsappstatus"=>${${"GLOBALS"}["ruiaeyd"]});}}}}${${"GLOBALS"}["vdajojpt"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups WHERE userid = ?",array(${$woyyylus}));${${"GLOBALS"}["yvblugqcmv"]}=$adb->num_rows(${${"GLOBALS"}["vdajojpt"]});$ofprzpqv="allNumber";if(${${"GLOBALS"}["yvblugqcmv"]}==1){$xxlewtnyrtp="getnumbesrquery";$jjjncvwvu="currentUserID";$bplgrkzakcl="whatsappno";$wppaxtol="getnumbesrquery";${$xxlewtnyrtp}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ?",array(${$jjjncvwvu}));$lnsnofxpwpe="whatsappstatus";$uibknfjobjd="whatsappno";${$bplgrkzakcl}=$adb->query_result(${$wppaxtol},0,"whatsappno");${$lnsnofxpwpe}=$adb->query_result(${${"GLOBALS"}["mjxlmfuq"]},0,"whatsappstatus");if(${$uibknfjobjd}){${"GLOBALS"}["rqdllogl"]="whatsappno";${"GLOBALS"}["gnqjkapd"]="currentUserID";$ptocxi="whatsappstatus";${"GLOBALS"}["hjtkogbaee"]="currentUserID";$jzaylpvqnfua="whatsappNumbers";${$jzaylpvqnfua}[]=array("whatsappno"=>${${"GLOBALS"}["rqdllogl"]},"userid"=>${${"GLOBALS"}["hjtkogbaee"]},"username"=>getUserName(${${"GLOBALS"}["gnqjkapd"]}),"whatsappstatus"=>${$ptocxi});}}else{${${"GLOBALS"}["maqgwow"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration",array());${"GLOBALS"}["iqgisz"]="getnumbesrQuery";${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${${"GLOBALS"}["maqgwow"]},0,"whatsappno");${${"GLOBALS"}["ruiaeyd"]}=$adb->query_result(${${"GLOBALS"}["iqgisz"]},0,"whatsappstatus");if(${${"GLOBALS"}["nfcxjul"]}){${"GLOBALS"}["wrnbrjmrhmn"]="whatsappNumbers";$xyhtdybtzwn="whatsappstatus";${${"GLOBALS"}["wrnbrjmrhmn"]}[]=array("whatsappno"=>${${"GLOBALS"}["nfcxjul"]},"userid"=>${${"GLOBALS"}["xkfegcbvayw"]},"username"=>getUserName(${${"GLOBALS"}["xkfegcbvayw"]}),"whatsappstatus"=>${$xyhtdybtzwn});}}${$nwtekuf}=CTWhatsApp_Record_Model::getAllConnectedNumber(${$wzvywpchsnu});return${$ofprzpqv};}public function getAllUserWhatsappNumber($currentUserID){${"GLOBALS"}["vykprb"]="groupRows";global$adb;$gomndb="whatsappNumbers";${"GLOBALS"}["swlcddgrq"]="rows";$kkbpirwpr="currentUserID";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups");${${"GLOBALS"}["swlcddgrq"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${$gomndb}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["kokgvdpw"]="i";${${"GLOBALS"}["upbnbfcilcen"]}=explode(",",$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["kokgvdpw"]},"multiple_userid"));${"GLOBALS"}["kxmuhevrf"]="currentUserID";if(in_array(${${"GLOBALS"}["kxmuhevrf"]},${${"GLOBALS"}["upbnbfcilcen"]})){${"GLOBALS"}["lennvbvdufp"]="query";$popfltycbvth="whatsappstatus";${"GLOBALS"}["rpfvnnc"]="getnumberquery";${"GLOBALS"}["rmrvqbseto"]="userid";${${"GLOBALS"}["wknbcezcqoi"]}=$adb->query_result(${${"GLOBALS"}["lennvbvdufp"]},${${"GLOBALS"}["varbufd"]},"userid");${${"GLOBALS"}["yvnjfrbown"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ? AND (whatsappstatus = 1 OR whatsappstatus = 2)",array(${${"GLOBALS"}["rmrvqbseto"]}));$bxahufamlsz="whatsappno";$wsqbyfrnjh="getnumberquery";${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${${"GLOBALS"}["rpfvnnc"]},0,"whatsappno");${$popfltycbvth}=$adb->query_result(${$wsqbyfrnjh},0,"whatsappstatus");if(${$bxahufamlsz}){${"GLOBALS"}["tigfkhqwv"]="whatsappNumbers";${"GLOBALS"}["ftliwgnwx"]="whatsappno";${"GLOBALS"}["slrmjqknykc"]="userid";${${"GLOBALS"}["tigfkhqwv"]}[]=array("whatsappno"=>${${"GLOBALS"}["ftliwgnwx"]},"userid"=>${${"GLOBALS"}["wknbcezcqoi"]},"whatsappstatus"=>${${"GLOBALS"}["ruiaeyd"]},"username"=>getUserName(${${"GLOBALS"}["slrmjqknykc"]}));}}}${"GLOBALS"}["wrhhufhkc"]="mainUserRows";$bsqppqd="queryGetGroupId";$iyzydmwqdrx="currentUserID";${$bsqppqd}=$adb->pquery("SELECT * FROM vtiger_users2group WHERE userid = ?",array(${$iyzydmwqdrx}));${${"GLOBALS"}["jswhwie"]}=$adb->num_rows(${${"GLOBALS"}["faobnrhqdgot"]});for(${${"GLOBALS"}["mdivdlk"]}=0;${${"GLOBALS"}["mdivdlk"]}<${${"GLOBALS"}["vykprb"]};${${"GLOBALS"}["mdivdlk"]}++){$mhusnefj="query1";$khpolrkltw="groupid";${$khpolrkltw}=$adb->query_result(${${"GLOBALS"}["faobnrhqdgot"]},${${"GLOBALS"}["mdivdlk"]},"groupid");${${"GLOBALS"}["jtfqtfddsuot"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups",array());${"GLOBALS"}["gorqfmh"]="row1";${${"GLOBALS"}["yyvmhfs"]}=$adb->num_rows(${$mhusnefj});${"GLOBALS"}["bplfpnkdfvb"]="j";for(${${"GLOBALS"}["phxnjokirbgf"]}=0;${${"GLOBALS"}["bplfpnkdfvb"]}<${${"GLOBALS"}["gorqfmh"]};${${"GLOBALS"}["phxnjokirbgf"]}++){${"GLOBALS"}["gjvvkpimr"]="groupid";${"GLOBALS"}["iigcrrpnk"]="j";$qndckwmd="multiple_userid";${"GLOBALS"}["pikgywveglg"]="allUserId";${$qndckwmd}=$adb->query_result(${${"GLOBALS"}["jtfqtfddsuot"]},${${"GLOBALS"}["iigcrrpnk"]},"multiple_userid");${${"GLOBALS"}["pikgywveglg"]}=explode(",",${${"GLOBALS"}["upbnbfcilcen"]});if(in_array(${${"GLOBALS"}["gjvvkpimr"]},${${"GLOBALS"}["dissknbyh"]})){${"GLOBALS"}["popnnyvvg"]="whatsappno";$kpykqbd="whatsappno";${"GLOBALS"}["kodjxqmk"]="userid";${${"GLOBALS"}["kodjxqmk"]}=$adb->query_result(${${"GLOBALS"}["jtfqtfddsuot"]},${${"GLOBALS"}["phxnjokirbgf"]},"userid");${${"GLOBALS"}["yvnjfrbown"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ? AND (whatsappstatus = 1 OR whatsappstatus = 2)",array(${${"GLOBALS"}["wknbcezcqoi"]}));${$kpykqbd}=$adb->query_result(${${"GLOBALS"}["yvnjfrbown"]},0,"whatsappno");${${"GLOBALS"}["ruiaeyd"]}=$adb->query_result(${${"GLOBALS"}["yvnjfrbown"]},0,"whatsappstatus");if(${${"GLOBALS"}["popnnyvvg"]}){$evczksfvkgqm="whatsappno";$egomhgrl="userid";$xrktbperfmm="whatsappNumbers";${$xrktbperfmm}[]=array("whatsappno"=>${$evczksfvkgqm},"userid"=>${$egomhgrl},"whatsappstatus"=>${${"GLOBALS"}["ruiaeyd"]},"username"=>getUserName(${${"GLOBALS"}["wknbcezcqoi"]}));}}}}${${"GLOBALS"}["vdajojpt"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups WHERE userid = ?",array(${$kkbpirwpr}));${${"GLOBALS"}["yvblugqcmv"]}=$adb->num_rows(${${"GLOBALS"}["vdajojpt"]});$imswijmkg="allNumber";if(${${"GLOBALS"}["wrhhufhkc"]}==1){${"GLOBALS"}["zqtojcd"]="getnumbesrquery";$mcsvkiijy="getnumbesrquery";$xvjsvritiaz="whatsappno";${${"GLOBALS"}["zqtojcd"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ? AND (whatsappstatus = 1 OR whatsappstatus = 2)",array(${${"GLOBALS"}["xkfegcbvayw"]}));${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${${"GLOBALS"}["mjxlmfuq"]},0,"whatsappno");${${"GLOBALS"}["ruiaeyd"]}=$adb->query_result(${$mcsvkiijy},0,"whatsappstatus");if(${$xvjsvritiaz}){${"GLOBALS"}["pevyycl"]="currentUserID";$clzmglssq="whatsappno";${${"GLOBALS"}["ueqwfzvnuo"]}[]=array("whatsappno"=>${$clzmglssq},"userid"=>${${"GLOBALS"}["xkfegcbvayw"]},"whatsappstatus"=>${${"GLOBALS"}["ruiaeyd"]},"username"=>getUserName(${${"GLOBALS"}["pevyycl"]}));}}else{${"GLOBALS"}["zxnkcyfgh"]="getnumbesrQuery";${"GLOBALS"}["pwsfrxd"]="currentUserID";${"GLOBALS"}["rxubhonjqj"]="getnumbesrQuery";${${"GLOBALS"}["rxubhonjqj"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE (whatsappstatus = 1 OR whatsappstatus = 2) AND customfield5 = ?",array(${${"GLOBALS"}["pwsfrxd"]}));${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${${"GLOBALS"}["zxnkcyfgh"]},0,"whatsappno");${${"GLOBALS"}["ruiaeyd"]}=$adb->query_result(${${"GLOBALS"}["maqgwow"]},0,"whatsappstatus");if(${${"GLOBALS"}["nfcxjul"]}){$vtogbjwxejs="whatsappno";${"GLOBALS"}["jrdgrtz"]="currentUserID";${${"GLOBALS"}["ueqwfzvnuo"]}[]=array("whatsappno"=>${$vtogbjwxejs},"userid"=>${${"GLOBALS"}["xkfegcbvayw"]},"whatsappstatus"=>${${"GLOBALS"}["ruiaeyd"]},"username"=>getUserName(${${"GLOBALS"}["jrdgrtz"]}));}}${$imswijmkg}=CTWhatsApp_Record_Model::getAllConnectedNumber(${${"GLOBALS"}["ueqwfzvnuo"]});return${${"GLOBALS"}["njotxmibdte"]};}public function getAllConnectedNumber($whatsappNumbers){${${"GLOBALS"}["bntvmhoivueb"]}=array();foreach(${${"GLOBALS"}["ueqwfzvnuo"]} as${${"GLOBALS"}["ophdru"]}){${"GLOBALS"}["urnzkutl"]="uniqueHotels";${"GLOBALS"}["fceorcufp"]="Number";${${"GLOBALS"}["habffbhqyzi"]}=${${"GLOBALS"}["fceorcufp"]}["whatsappno"];if(array_key_exists(${${"GLOBALS"}["habffbhqyzi"]},${${"GLOBALS"}["urnzkutl"]}))continue;${${"GLOBALS"}["bntvmhoivueb"]}[${${"GLOBALS"}["habffbhqyzi"]}]=${${"GLOBALS"}["ophdru"]};}return${${"GLOBALS"}["bntvmhoivueb"]};}public function sendIndividulMessage($request){${"GLOBALS"}["sxhlhko"]="moduleName";${"GLOBALS"}["vpfbxeui"]="whatsappModule";global$adb,$site_URL,$current_user,$root_directory;${"GLOBALS"}["ctzrvvsdn"]="whatsappModule";${${"GLOBALS"}["sxhlhko"]}=$request->getModule();$nxyzlobuhm="whatsappModule";${"GLOBALS"}["iuimxbxo"]="whatsappNumber";${"GLOBALS"}["ntxreqphakf"]="date_var";${${"GLOBALS"}["vpfbxeui"]}=$request->get("whatsappModule");${"GLOBALS"}["xfozxio"]="filetype";${"GLOBALS"}["icltgju"]="whatsappNumber";${${"GLOBALS"}["dygdgjhqvma"]}=$request->get("replyMessageId");${"GLOBALS"}["jovswgp"]="replymessageText";${${"GLOBALS"}["jovswgp"]}=$request->get("replymessageText");${${"GLOBALS"}["nudnnntq"]}=$request->get("wptemplateid");${${"GLOBALS"}["icltgju"]}=$request->get("whatsappNumber");$ksmypp="whatsappStatus";if(${${"GLOBALS"}["ctzrvvsdn"]}=="Groups"){${${"GLOBALS"}["ybeffxuekyyf"]}=$request->get("mobileno");}else{${${"GLOBALS"}["ybeffxuekyyf"]}=preg_replace("/[^A-Za-z0-9]/","",$request->get("mobileno"));}${${"GLOBALS"}["dbmngiq"]}=html_entity_decode($request->get("msgbody"));${${"GLOBALS"}["wbfuymcbe"]}=$request->get("moduleRecordid");if(${${"GLOBALS"}["wbfuymcbe"]}==""){${${"GLOBALS"}["wbfuymcbe"]}=$request->get("module_recordid");}$oedtofivd="filename";${"GLOBALS"}["eixencmpa"]="mobileno";${"GLOBALS"}["jgronom"]="whatsappModule";${${"GLOBALS"}["egxpwtszuqk"]}=$request->get("base64imagedata");${$oedtofivd}=rand().$request->get("filename");${${"GLOBALS"}["xfozxio"]}=$request->get("filetype");${${"GLOBALS"}["rxrorla"]}="";${${"GLOBALS"}["ntxreqphakf"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["egwuxnjjpv"]}=$current_user->id;if(${${"GLOBALS"}["iuimxbxo"]}){${"GLOBALS"}["rdzscxrpedtt"]="whatsaAppRows";${"GLOBALS"}["cnajfgy"]="whatsappNumber";${${"GLOBALS"}["rqgiga"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE whatsappno = ?",array(${${"GLOBALS"}["cnajfgy"]}));${"GLOBALS"}["ymcjtm"]="getConfigurationDataQuery";${${"GLOBALS"}["rdzscxrpedtt"]}=$adb->num_rows(${${"GLOBALS"}["ymcjtm"]});if(${${"GLOBALS"}["ottddezkjf"]}==0){$rspigqe="getConfigurationDatasQuery";${${"GLOBALS"}["nkpcegje"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE whatsappno = ?",array(${${"GLOBALS"}["wligkznrmaq"]}));${"GLOBALS"}["wblahukyp"]="whatsaAppRow";${${"GLOBALS"}["wblahukyp"]}=$adb->num_rows(${$rspigqe});if(${${"GLOBALS"}["ahpypvo"]}==1){${"GLOBALS"}["iucqfzf"]="api_url";${"GLOBALS"}["qssgbicbmmw"]="getConfigurationDatasQuery";$lvsvlsq="auth_token";${${"GLOBALS"}["iucqfzf"]}=$adb->query_result(${${"GLOBALS"}["qssgbicbmmw"]},0,"api_url");${$lvsvlsq}=$adb->query_result(${${"GLOBALS"}["nkpcegje"]},0,"auth_token");${${"GLOBALS"}["ewtpbdgsvtq"]}=$adb->query_result(${${"GLOBALS"}["nkpcegje"]},0,"customfield1");${"GLOBALS"}["dbppmkfxft"]="getConfigurationDatasQuery";${${"GLOBALS"}["ebplpxiswt"]}=$adb->query_result(${${"GLOBALS"}["nkpcegje"]},0,"whatsappno");${"GLOBALS"}["xmtlssfiyj"]="getConfigurationDatasQuery";${${"GLOBALS"}["bievehorehl"]}=$adb->query_result(${${"GLOBALS"}["dbppmkfxft"]},0,"whatsappstatus");${"GLOBALS"}["ovepbrjbe"]="configureUserid";${${"GLOBALS"}["ovepbrjbe"]}=$adb->query_result(${${"GLOBALS"}["xmtlssfiyj"]},0,"configureUserid");}}else{${"GLOBALS"}["vbirfuo"]="getConfigurationDataQuery";${"GLOBALS"}["dlavitqmg"]="getConfigurationDataQuery";$blunnfzpukg="getConfigurationDataQuery";$mhftxc="whatsappStatus";${"GLOBALS"}["vfkmruehnfnd"]="customfield1";${${"GLOBALS"}["ceicdk"]}=$adb->query_result(${${"GLOBALS"}["vbirfuo"]},0,"api_url");${${"GLOBALS"}["xpgvpkjnl"]}=$adb->query_result(${$blunnfzpukg},0,"auth_token");${${"GLOBALS"}["vfkmruehnfnd"]}=$adb->query_result(${${"GLOBALS"}["dlavitqmg"]},0,"customfield1");${${"GLOBALS"}["ebplpxiswt"]}=$adb->query_result(${${"GLOBALS"}["rqgiga"]},0,"whatsappno");${$mhftxc}=$adb->query_result(${${"GLOBALS"}["rqgiga"]},0,"whatsappstatus");${${"GLOBALS"}["njntigf"]}=$adb->query_result(${${"GLOBALS"}["rqgiga"]},0,"configureUserid");}}else{${${"GLOBALS"}["iimykgn"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["egwuxnjjpv"]});${${"GLOBALS"}["ceicdk"]}=${${"GLOBALS"}["iimykgn"]}["api_url"];${"GLOBALS"}["igatakc"]="whatsappScanNo";${"GLOBALS"}["tyoagktwaxx"]="customfield1";$xusbnmjejk="configurationData";${"GLOBALS"}["ibhftwtppxm"]="configurationData";${${"GLOBALS"}["xpgvpkjnl"]}=${${"GLOBALS"}["iimykgn"]}["authtoken"];${"GLOBALS"}["vxcbjeh"]="configurationData";$gikcdummqpl="configureUserid";${${"GLOBALS"}["tyoagktwaxx"]}=${${"GLOBALS"}["iimykgn"]}["customfield1"];${${"GLOBALS"}["igatakc"]}=${$xusbnmjejk}["whatsappno"];${${"GLOBALS"}["bievehorehl"]}=${${"GLOBALS"}["vxcbjeh"]}["whatsappstatus"];${$gikcdummqpl}=${${"GLOBALS"}["ibhftwtppxm"]}["configureUserid"];}if(${$nxyzlobuhm}=="Groups"){$fsvbhqiglk="mobileno";${$fsvbhqiglk}=$request->get("mobileno");}else{$pnhffbdwflkb="customfield1";$rmselkpmttd="mobileno";${$rmselkpmttd}=CTWhatsApp_Module_Model::getMobileNumber(${${"GLOBALS"}["ybeffxuekyyf"]},${$pnhffbdwflkb});}${"GLOBALS"}["xhztdb"]="wptemplateid";if(${${"GLOBALS"}["eixencmpa"]}){${"GLOBALS"}["yjwutt"]="getnumberImportant";${${"GLOBALS"}["yjwutt"]}=CTWhatsApp_Record_Model::getWhatsappNumberImportant(${${"GLOBALS"}["ybeffxuekyyf"]});}if(${${"GLOBALS"}["egxpwtszuqk"]}!=""||${${"GLOBALS"}["nudnnntq"]}!=""){${"GLOBALS"}["hijopbjnpruu"]="whatsappFolderPath";${"GLOBALS"}["gjfnisqku"]="month";${${"GLOBALS"}["hijopbjnpruu"]}="/modules/CTWhatsApp/CTWhatsAppStorage/";${"GLOBALS"}["tuxdgmyotxj"]="whatsappFolderPath";$ikxhkogh="week";${"GLOBALS"}["xrwxjpwc"]="day";${${"GLOBALS"}["ebihdwb"]}=date("Y");$npaybbter="week";$tnwfnbs="year";${${"GLOBALS"}["gjfnisqku"]}=date("F");${"GLOBALS"}["lmzuknmfn"]="week";$knthrwxubzm="root_directory";${${"GLOBALS"}["ulrcipks"]}=date("j");${"GLOBALS"}["jxyitlmzcko"]="whatsappFolderPath";${${"GLOBALS"}["ornyswzi"]}="";${"GLOBALS"}["rweplefn"]="year";$qnqylpxf="week";if(!is_dir(${$knthrwxubzm}.${${"GLOBALS"}["sxircmpzvi"]})){$qhdmowmfr="root_directory";$nxpiskoin="whatsappFolderPath";${"GLOBALS"}["ywepnipsszu"]="whatsappFolderPath";mkdir(${${"GLOBALS"}["sconbmpjh"]}.${$nxpiskoin});chmod(${$qhdmowmfr}.${${"GLOBALS"}["ywepnipsszu"]},0777);}${"GLOBALS"}["dxegzuivhhh"]="month";${"GLOBALS"}["icreckbmr"]="week";if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["sxircmpzvi"]}.${${"GLOBALS"}["ebihdwb"]})){$lhsarqix="root_directory";${"GLOBALS"}["rahjetjtfiqx"]="year";${"GLOBALS"}["gsjrow"]="whatsappFolderPath";${"GLOBALS"}["dgqlwhh"]="year";mkdir(${$lhsarqix}.${${"GLOBALS"}["sxircmpzvi"]}.${${"GLOBALS"}["dgqlwhh"]});chmod(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["gsjrow"]}.${${"GLOBALS"}["rahjetjtfiqx"]},0777);}if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["jxyitlmzcko"]}.${$tnwfnbs}."/".${${"GLOBALS"}["dxegzuivhhh"]})){${"GLOBALS"}["rxsfcjpe"]="root_directory";${"GLOBALS"}["bporcsnhrzg"]="root_directory";mkdir(${${"GLOBALS"}["bporcsnhrzg"]}.${${"GLOBALS"}["sxircmpzvi"]}."$year/$month/");chmod(${${"GLOBALS"}["rxsfcjpe"]}.${${"GLOBALS"}["sxircmpzvi"]}."$year/$month/",0777);}if(${${"GLOBALS"}["ulrcipks"]}>0&&${${"GLOBALS"}["ulrcipks"]}<=7)${$npaybbter}="week1";elseif(${${"GLOBALS"}["ulrcipks"]}>7&&${${"GLOBALS"}["ulrcipks"]}<=14)${${"GLOBALS"}["icreckbmr"]}="week2";elseif(${${"GLOBALS"}["ulrcipks"]}>14&&${${"GLOBALS"}["ulrcipks"]}<=21)${${"GLOBALS"}["lmzuknmfn"]}="week3";elseif(${${"GLOBALS"}["ulrcipks"]}>21&&${${"GLOBALS"}["xrwxjpwc"]}<=28)${$ikxhkogh}="week4";else${${"GLOBALS"}["ornyswzi"]}="week5";if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["tuxdgmyotxj"]}.${${"GLOBALS"}["rweplefn"]}."/".${${"GLOBALS"}["ttsfxhctpwy"]}."/".${$qnqylpxf})){$oxwjnkcfkzyy="whatsappFolderPath";${"GLOBALS"}["hxiakcp"]="whatsappFolderPath";${"GLOBALS"}["mcxsuzbhdfy"]="root_directory";${"GLOBALS"}["mfbezcxnsow"]="root_directory";mkdir(${${"GLOBALS"}["mcxsuzbhdfy"]}.${$oxwjnkcfkzyy}."$year/$month/$week/");chmod(${${"GLOBALS"}["mfbezcxnsow"]}.${${"GLOBALS"}["hxiakcp"]}."$year/$month/$week/",0777);}}if(${${"GLOBALS"}["xhztdb"]}){${"GLOBALS"}["jhgwqxsrumk"]="isTemplates";${${"GLOBALS"}["hzthelccjs"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapptemplates 
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid 
                INNER JOIN vtiger_seattachmentsrel ON vtiger_seattachmentsrel.crmid = vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid 
                INNER JOIN vtiger_attachments ON vtiger_attachments.attachmentsid = vtiger_seattachmentsrel.attachmentsid
                WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid = ?",array(${${"GLOBALS"}["nudnnntq"]}));${${"GLOBALS"}["limjwqoec"]}=$adb->num_rows(${${"GLOBALS"}["hzthelccjs"]});${"GLOBALS"}["fiygkbbqn"]="postfields";if(${${"GLOBALS"}["jhgwqxsrumk"]}){$xoiamwrpysxj="templateMsg";${"GLOBALS"}["ppyrfrfe"]="imageName";$ypqipfbk="whatsappFolderPath";${${"GLOBALS"}["rpgnnph"]}=$adb->query_result(${${"GLOBALS"}["hzthelccjs"]},0,"ctwhatsapptemplatesid");${"GLOBALS"}["tugqymsbbg"]="imageId";$jltxqbekn="moduleRecordid";$ejgjhrkwe="getAttachmentQuery";${"GLOBALS"}["drputnlevsb"]="getWhatsappTemplateQuery";${"GLOBALS"}["gsbnqnftfmh"]="newfile";$qpqpjbjbxug="root_directory";${"GLOBALS"}["jkpzki"]="getWhatsappTemplateQuery";$yzbmhpddpus="newFilename";${$xoiamwrpysxj}=$adb->query_result(${${"GLOBALS"}["jkpzki"]},0,"wptemplate_text");${"GLOBALS"}["uxiiydaqcdv"]="attachmentPath";${"GLOBALS"}["chdfdllrd"]="root_directory";${${"GLOBALS"}["omzgfyljuj"]}=$adb->query_result(${${"GLOBALS"}["drputnlevsb"]},0,"name");$teoqgjbn="imageId";${"GLOBALS"}["irstqitdwien"]="getAttachmentQuery";$hyvdakkab="newFilename";$xvdexac="imageName";if(${$jltxqbekn}){${"GLOBALS"}["ceqxpcgqk"]="bodydata";$bcroiipx="setype";${"GLOBALS"}["fxzhvonf"]="msgbody";${${"GLOBALS"}["pazkvngx"]}=str_replace("\r\n"," ",html_entity_decode(${${"GLOBALS"}["ufukouvmz"]}));${$bcroiipx}=VtigerCRMObject::getSEType(${${"GLOBALS"}["wbfuymcbe"]});${${"GLOBALS"}["fxzhvonf"]}=getMergedDescription(${${"GLOBALS"}["ceqxpcgqk"]},${${"GLOBALS"}["wbfuymcbe"]},${${"GLOBALS"}["kpaifztojnc"]});}else{${"GLOBALS"}["tftwomhwr"]="msgbody";${${"GLOBALS"}["tftwomhwr"]}=str_replace("\r\n"," ",html_entity_decode(${${"GLOBALS"}["ufukouvmz"]}));}${${"GLOBALS"}["ofzugqsmow"]}=$adb->pquery("SELECT vtiger_attachments.*, vtiger_crmentity.setype FROM vtiger_attachments
                    INNER JOIN vtiger_seattachmentsrel ON vtiger_seattachmentsrel.attachmentsid = vtiger_attachments.attachmentsid
                    INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_attachments.attachmentsid
                    WHERE vtiger_seattachmentsrel.crmid = ? AND vtiger_crmentity.deleted = 0",array(${${"GLOBALS"}["rpgnnph"]}));${$teoqgjbn}=$adb->query_result(${$ejgjhrkwe},0,"attachmentsid");$iltmzk="newBodyfileURL";${${"GLOBALS"}["fnfsjpuh"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"path");$ptvocbunlun="imageId";${${"GLOBALS"}["ppyrfrfe"]}=$adb->query_result(${${"GLOBALS"}["irstqitdwien"]},0,"name");${"GLOBALS"}["lsvlpwjjscy"]="newFilename";${"GLOBALS"}["wfeikmdhvp"]="msgbody";${"GLOBALS"}["fpcezffhizhf"]="newFilename";$zfaeszp="imageName";$jycdjf="newFilename";${${"GLOBALS"}["qbmcbnuelcu"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"type");${${"GLOBALS"}["uxiiydaqcdv"]}=${$qpqpjbjbxug}.${${"GLOBALS"}["fnfsjpuh"]}.${${"GLOBALS"}["tugqymsbbg"]}."_".${$zfaeszp};${${"GLOBALS"}["iirzvgt"]}=${${"GLOBALS"}["chdfdllrd"]}.${${"GLOBALS"}["sxircmpzvi"]}."$year/$month/$week/".${$ptvocbunlun}."_".${$xvdexac};${"GLOBALS"}["xktqamcopl"]="imageId";$emmcxhr="whatsappFolderPath";copy(${${"GLOBALS"}["kieybekgnhfs"]},${${"GLOBALS"}["gsbnqnftfmh"]});${${"GLOBALS"}["yrfqtud"]}=urlencode(${${"GLOBALS"}["uouwueon"]});${${"GLOBALS"}["lsvlpwjjscy"]}=str_replace("+","%20",${$jycdjf});${$hyvdakkab}=str_replace("_","%5F",${${"GLOBALS"}["fpcezffhizhf"]});${${"GLOBALS"}["yrfqtud"]}=str_replace(".","%2E",${${"GLOBALS"}["yrfqtud"]});${"GLOBALS"}["hpgovag"]="imageName";${${"GLOBALS"}["yrfqtud"]}=str_replace("-","%2D",${$yzbmhpddpus});${${"GLOBALS"}["ezjwsjtbkduq"]}=${${"GLOBALS"}["ccygcr"]}.${$ypqipfbk}."$year/$month/$week/".${${"GLOBALS"}["hmyikcjb"]}."_".${${"GLOBALS"}["yrfqtud"]};${$iltmzk}=${${"GLOBALS"}["ccygcr"]}.${$emmcxhr}."$year/$month/$week/".${${"GLOBALS"}["xktqamcopl"]}."_".${${"GLOBALS"}["hpgovag"]};if(${${"GLOBALS"}["wfeikmdhvp"]}==""){${"GLOBALS"}["lsxdgby"]="msgbody";${"GLOBALS"}["tcxrjtcvdqc"]="newfileURL";${${"GLOBALS"}["lsxdgby"]}=${${"GLOBALS"}["tcxrjtcvdqc"]};}if(${${"GLOBALS"}["qbmcbnuelcu"]}){${"GLOBALS"}["cvgjymeuu"]="filetype";${"GLOBALS"}["ipqqpmwrl"]="filetype";if(${${"GLOBALS"}["qbmcbnuelcu"]}=="image/jpeg"||${${"GLOBALS"}["ipqqpmwrl"]}=="image/jpg"||${${"GLOBALS"}["qbmcbnuelcu"]}=="image/png"){$wrnkdxejapp="api_url";$ianricvp="msgbody";$hgdxqvjmayz="url";${$hgdxqvjmayz}=${$wrnkdxejapp}."/sendfileurl";${${"GLOBALS"}["pioaes"]}=array("number"=>${${"GLOBALS"}["ybeffxuekyyf"]},"url"=>${${"GLOBALS"}["ezjwsjtbkduq"]},"filetype"=>"imageMessage","caption"=>${$ianricvp});}else if(${${"GLOBALS"}["cvgjymeuu"]}=="image/gif"){$hcqbonfjr="postfields";${"GLOBALS"}["vkruohh"]="mobileno";${"GLOBALS"}["khbicvriurz"]="api_url";$sbenqpx="newfileURL";${${"GLOBALS"}["dbeqzqnpuxu"]}=${${"GLOBALS"}["khbicvriurz"]}."/sendfileurl";${$hcqbonfjr}=array("number"=>${${"GLOBALS"}["vkruohh"]},"url"=>${$sbenqpx},"filetype"=>"gifMessage","caption"=>${${"GLOBALS"}["dbmngiq"]});}}}else{$olyljdkva="postfields";${${"GLOBALS"}["dbeqzqnpuxu"]}=${${"GLOBALS"}["ceicdk"]}."/send";${"GLOBALS"}["hmxogv"]="msgbody";${$olyljdkva}=array("number"=>${${"GLOBALS"}["ybeffxuekyyf"]},"msg"=>${${"GLOBALS"}["hmxogv"]});}if(${${"GLOBALS"}["fiygkbbqn"]}["caption"]){$gtjxlbnufmuj="count";${$gtjxlbnufmuj}=2;}else{${${"GLOBALS"}["fymimqw"]}=1;}}else{$yyiwgrngvo="base64imagedata";if(${$yyiwgrngvo}!=""){${"GLOBALS"}["unsnqljnfgt"]="newfileURL";$tqyxdxow="root_directory";$opmimvpppzg="filename";${"GLOBALS"}["hilzeshej"]="root_directory";$baombipun="target_file";${"GLOBALS"}["vkdmncrflcg"]="week";$rofnjzlgs="documentpath";$ttenwrsx="filepath";$dvaiwuk="newBodyfileURL";${"GLOBALS"}["innyqfnwxjk"]="month";${$rofnjzlgs}="storage";${"GLOBALS"}["dbuwjvmtuj"]="week";$mxhmbzwo="whatsappFolderPath";${"GLOBALS"}["xnapidb"]="week";${$ttenwrsx}="storage/";${"GLOBALS"}["hrnogpdbqtz"]="base64imagedata";$xvbqudvfdpp="day";${"GLOBALS"}["eetmsx"]="week";${"GLOBALS"}["gfrlxo"]="day";$xddondkg="root_directory";${"GLOBALS"}["kesviqytp"]="filename";${"GLOBALS"}["vmwumzt"]="day";${${"GLOBALS"}["ebihdwb"]}=date("Y");$pnqrnddwecz="root_directory";${${"GLOBALS"}["ttsfxhctpwy"]}=date("F");${"GLOBALS"}["ksfufyz"]="base64imagedata";${"GLOBALS"}["jehfaspeirly"]="day";${${"GLOBALS"}["ulrcipks"]}=date("j");${${"GLOBALS"}["ornyswzi"]}="";$etrjvvru="filename";if(!is_dir(${$tqyxdxow}.${${"GLOBALS"}["zaeiomtiwfp"]}.${${"GLOBALS"}["ebihdwb"]})){${"GLOBALS"}["osgsshryj"]="filepath";mkdir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["osgsshryj"]}.${${"GLOBALS"}["ebihdwb"]});$mbqrexbpmhg="root_directory";${"GLOBALS"}["kxegfsnpror"]="year";chmod(${$mbqrexbpmhg}.${${"GLOBALS"}["zaeiomtiwfp"]}.${${"GLOBALS"}["kxegfsnpror"]},0777);}${"GLOBALS"}["gxgowq"]="newfile";if(!is_dir(${${"GLOBALS"}["hilzeshej"]}.${${"GLOBALS"}["zaeiomtiwfp"]}.${${"GLOBALS"}["ebihdwb"]}."/".${${"GLOBALS"}["ttsfxhctpwy"]})){$emmtlg="filepath";mkdir(${${"GLOBALS"}["sconbmpjh"]}.${$emmtlg}."$year/$month");chmod(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["zaeiomtiwfp"]}."$year/$month",0777);}$jfvnqrosdlc="newFilename";$glurzmdgmy="day";${"GLOBALS"}["vdhzicbps"]="type";$sscodnied="day";${"GLOBALS"}["wvxyievl"]="week";$ksmcls="filename";${"GLOBALS"}["quwimptgoi"]="base64imagedata";$jwyvaonvim="whatsappFolderPath";$funxphp="site_URL";$pndpsqx="filepath";${"GLOBALS"}["obdtmfk"]="month";${"GLOBALS"}["lwhwhomxsz"]="filepath";$hbyyde="week";${"GLOBALS"}["miffbep"]="filepath";${"GLOBALS"}["ikxoqmjlk"]="year";${"GLOBALS"}["gqaeivuo"]="filemove";if(${${"GLOBALS"}["jehfaspeirly"]}>0&&${${"GLOBALS"}["ulrcipks"]}<=7)${${"GLOBALS"}["vkdmncrflcg"]}="week1";elseif(${${"GLOBALS"}["vmwumzt"]}>7&&${$xvbqudvfdpp}<=14)${${"GLOBALS"}["ornyswzi"]}="week2";elseif(${${"GLOBALS"}["gfrlxo"]}>14&&${$glurzmdgmy}<=21)${${"GLOBALS"}["eetmsx"]}="week3";elseif(${${"GLOBALS"}["ulrcipks"]}>21&&${$sscodnied}<=28)${${"GLOBALS"}["wvxyievl"]}="week4";else${${"GLOBALS"}["xnapidb"]}="week5";$sntnpyvb="oldfile";if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["lwhwhomxsz"]}.${${"GLOBALS"}["ebihdwb"]}."/".${${"GLOBALS"}["obdtmfk"]}."/".${${"GLOBALS"}["ornyswzi"]})){$khlvyoqvyoei="root_directory";$enilrmplvfjx="root_directory";${"GLOBALS"}["iddjtfumj"]="filepath";${"GLOBALS"}["nxtkwjpuc"]="filepath";mkdir(${$khlvyoqvyoei}.${${"GLOBALS"}["nxtkwjpuc"]}."$year/$month/$week");chmod(${$enilrmplvfjx}.${${"GLOBALS"}["iddjtfumj"]}."$year/$month/$week",0777);}${$baombipun}=${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["miffbep"]}.${${"GLOBALS"}["ikxoqmjlk"]}."/".${${"GLOBALS"}["innyqfnwxjk"]}."/".${${"GLOBALS"}["dbuwjvmtuj"]}."/";list(${${"GLOBALS"}["vdhzicbps"]},${${"GLOBALS"}["hrnogpdbqtz"]})=explode(";",${${"GLOBALS"}["ksfufyz"]});list(,${${"GLOBALS"}["egxpwtszuqk"]})=explode(",",${${"GLOBALS"}["egxpwtszuqk"]});${${"GLOBALS"}["egxpwtszuqk"]}=base64_decode(${${"GLOBALS"}["quwimptgoi"]});${${"GLOBALS"}["gqaeivuo"]}=file_put_contents(${${"GLOBALS"}["wmxipcvr"]}.${$etrjvvru},${${"GLOBALS"}["egxpwtszuqk"]});if(${${"GLOBALS"}["xqnkhyonpev"]}){$sawkwfhtytxt="sql1";${"GLOBALS"}["ajfnbh"]="Document";${${"GLOBALS"}["ajfnbh"]}=Vtiger_Record_Model::getCleanInstance("Documents");${"GLOBALS"}["itfnhb"]="week";$Document->set("mode","");$lhjdnqr="filename";${"GLOBALS"}["xibtazird"]="current_id";$Document->set("assigned_user_id",$current_user->id);${"GLOBALS"}["vbxfqud"]="filename";${"GLOBALS"}["fsrkotc"]="sql1";${"GLOBALS"}["wtigvzbpnl"]="moduleRecordid";${"GLOBALS"}["vhbsxciew"]="current_id";$jycnhjtqsat="date_var";$Document->set("folderid",1);${"GLOBALS"}["wtfbcgdb"]="current_id";$cjcoejxdjw="current_id";${"GLOBALS"}["xscfnmxxknx"]="sql2";${"GLOBALS"}["qokzoiryrb"]="documentid";$cjisjdb="documentid";$Document->set("filelocationtype","I");$Document->set("filestatus",1);${"GLOBALS"}["uqtxino"]="month";$ulotpqpfutgi="year";$Document->set("filename",${$lhjdnqr});$eutqdlawynr="params2";$Document->save();${${"GLOBALS"}["uxcbkuntvt"]}=$Document->getId();${"GLOBALS"}["eaxfldu"]="target_file";${${"GLOBALS"}["vhbsxciew"]}=$adb->getUniqueID("vtiger_crmentity");${$sawkwfhtytxt}="insert into vtiger_crmentity (crmid,smcreatorid,smownerid,setype,description,createdtime,modifiedtime) values(?, ?, ?, ?, ?, ?, ?)";${${"GLOBALS"}["xstifocvdmbl"]}=array(${$cjcoejxdjw},$current_user->id,1,"Documents Attachment","",$adb->formatDate(${${"GLOBALS"}["irdowtzrxb"]},true),$adb->formatDate(${$jycnhjtqsat},true));$adb->pquery(${${"GLOBALS"}["fsrkotc"]},${${"GLOBALS"}["xstifocvdmbl"]});rename(${${"GLOBALS"}["wmxipcvr"]}.${${"GLOBALS"}["vbxfqud"]},${${"GLOBALS"}["wmxipcvr"]}.${${"GLOBALS"}["wtfbcgdb"]}."_".${${"GLOBALS"}["lkcfyjvmic"]});chmod(${${"GLOBALS"}["eaxfldu"]},0777);${${"GLOBALS"}["xscfnmxxknx"]}="insert into vtiger_attachments(attachmentsid, name, description, type, path) values(?, ?, ?, ?, ?)";${${"GLOBALS"}["xvbuvdeffqm"]}=array(${${"GLOBALS"}["xibtazird"]},${${"GLOBALS"}["lkcfyjvmic"]},"","",${${"GLOBALS"}["zaeiomtiwfp"]}.${$ulotpqpfutgi}."/".${${"GLOBALS"}["uqtxino"]}."/".${${"GLOBALS"}["itfnhb"]}."/");${${"GLOBALS"}["ysiwjuruzd"]}=$adb->pquery(${${"GLOBALS"}["nyskjkp"]},${$eutqdlawynr});${${"GLOBALS"}["semxnf"]}="insert into vtiger_seattachmentsrel values(?,?)";$adb->pquery(${${"GLOBALS"}["semxnf"]},array(${$cjisjdb},${${"GLOBALS"}["pdgtxqwa"]}));${"GLOBALS"}["teduptxgjfqw"]="sql4";${${"GLOBALS"}["zwwqcfej"]}="insert into vtiger_senotesrel values(?,?)";$adb->pquery(${${"GLOBALS"}["teduptxgjfqw"]},array(${${"GLOBALS"}["wtigvzbpnl"]},${${"GLOBALS"}["qokzoiryrb"]}));}${${"GLOBALS"}["rxrorla"]}=${$funxphp}.${${"GLOBALS"}["zaeiomtiwfp"]}.${${"GLOBALS"}["ebihdwb"]}."/".${${"GLOBALS"}["ttsfxhctpwy"]}."/".${${"GLOBALS"}["ornyswzi"]}."/".${${"GLOBALS"}["pdgtxqwa"]}."_".${${"GLOBALS"}["lkcfyjvmic"]};${$sntnpyvb}=${$pnqrnddwecz}.${$pndpsqx}.${${"GLOBALS"}["ebihdwb"]}."/".${${"GLOBALS"}["ttsfxhctpwy"]}."/".${$hbyyde}."/".${${"GLOBALS"}["pdgtxqwa"]}."_".${$ksmcls};${${"GLOBALS"}["lkcfyjvmic"]}=str_replace(" ","",${${"GLOBALS"}["lkcfyjvmic"]});${${"GLOBALS"}["gxgowq"]}=${$xddondkg}.${$mxhmbzwo}."$year/$month/$week/".${$opmimvpppzg};$ixitgjqr="oldfile";copy(${$ixitgjqr},${${"GLOBALS"}["iirzvgt"]});${${"GLOBALS"}["yrfqtud"]}=urlencode(${${"GLOBALS"}["kesviqytp"]});${${"GLOBALS"}["yrfqtud"]}=str_replace("+","%20",${$jfvnqrosdlc});${"GLOBALS"}["dvkzliemb"]="newFilename";${${"GLOBALS"}["yrfqtud"]}=str_replace("_","%5F",${${"GLOBALS"}["yrfqtud"]});${${"GLOBALS"}["yrfqtud"]}=str_replace(".","%2E",${${"GLOBALS"}["yrfqtud"]});${${"GLOBALS"}["yrfqtud"]}=str_replace("-","%2D",${${"GLOBALS"}["dvkzliemb"]});${${"GLOBALS"}["unsnqljnfgt"]}=${${"GLOBALS"}["ccygcr"]}.${$jwyvaonvim}."$year/$month/$week/".${${"GLOBALS"}["yrfqtud"]};${$dvaiwuk}=${${"GLOBALS"}["ccygcr"]}.${${"GLOBALS"}["sxircmpzvi"]}."$year/$month/$week/".${${"GLOBALS"}["lkcfyjvmic"]};}$kfigyuqwb="whatsappModule";$omzndbl="fileURL";if(${$kfigyuqwb}=="Groups"){${${"GLOBALS"}["ybeffxuekyyf"]}=$request->get("mobileno");}else{$rwfdwevx="mobileno";$cmudwfikl="mobileno";${$cmudwfikl}=${$rwfdwevx};}$owltzssk="count";if(${$omzndbl}){${"GLOBALS"}["mymtmlzxm"]="filetype";${"GLOBALS"}["boermegbnoxq"]="filetype";${"GLOBALS"}["sbudrxyt"]="filetype";${"GLOBALS"}["xyozja"]="filetype";if(${${"GLOBALS"}["xyozja"]}=="image/jpeg"||${${"GLOBALS"}["qbmcbnuelcu"]}=="image/jpg"||${${"GLOBALS"}["mymtmlzxm"]}=="image/png"||${${"GLOBALS"}["boermegbnoxq"]}=="image/gif"){${"GLOBALS"}["vtwweol"]="api_url";$xyzwvcyo="newfileURL";${${"GLOBALS"}["dbeqzqnpuxu"]}=${${"GLOBALS"}["vtwweol"]}."/sendfileurl";${${"GLOBALS"}["pioaes"]}=array("number"=>${${"GLOBALS"}["ybeffxuekyyf"]},"url"=>${$xyzwvcyo},"filetype"=>"imageMessage");}else if(${${"GLOBALS"}["sbudrxyt"]}=="application/pdf"){${"GLOBALS"}["yytmdmezd"]="mobileno";$eqlkwe="url";${$eqlkwe}=${${"GLOBALS"}["ceicdk"]}."/sendfileurl";${${"GLOBALS"}["pioaes"]}=array("number"=>${${"GLOBALS"}["yytmdmezd"]},"url"=>${${"GLOBALS"}["ezjwsjtbkduq"]},"mimetype"=>"application/pdf","filetype"=>"documentMessage","caption"=>urlencode(${${"GLOBALS"}["lkcfyjvmic"]}));}else{${"GLOBALS"}["bzytrdh"]="api_url";${"GLOBALS"}["iaihsfp"]="url";${${"GLOBALS"}["iaihsfp"]}=${${"GLOBALS"}["bzytrdh"]}."/sendfileurl";${"GLOBALS"}["kblnwlz"]="filename";${"GLOBALS"}["kowetdjyyr"]="newfileURL";$pnobuzmmnw="postfields";${"GLOBALS"}["godrghcbnu"]="mobileno";${$pnobuzmmnw}=array("number"=>${${"GLOBALS"}["godrghcbnu"]},"url"=>${${"GLOBALS"}["kowetdjyyr"]},"mimetype"=>${${"GLOBALS"}["qbmcbnuelcu"]},"filetype"=>"documentMessage","caption"=>urlencode(${${"GLOBALS"}["kblnwlz"]}));}}else{${"GLOBALS"}["pzlztti"]="replyMessageId";$hdgwmiymf="msgbody";$jnhexdghcm="url";${$jnhexdghcm}=${${"GLOBALS"}["ceicdk"]}."/send";${${"GLOBALS"}["pioaes"]}=array("number"=>${${"GLOBALS"}["ybeffxuekyyf"]},"msg"=>${$hdgwmiymf});if(${${"GLOBALS"}["pzlztti"]}){$pwzyxxmhqhk="postfields";${$pwzyxxmhqhk}["quoteId"]=${${"GLOBALS"}["dygdgjhqvma"]};}}${$owltzssk}=1;}if(${${"GLOBALS"}["jgronom"]}!="Groups"){${"GLOBALS"}["fmzauufcasd"]="checkNumberWhatsAppQuery";$qlgkednph="numberactive";${"GLOBALS"}["dwnswto"]="moduleRecordid";$hwdmiqp="whatsappScanNo";${${"GLOBALS"}["fmzauufcasd"]}=CTWhatsApp_Record_Model::getWhatsAppLogData(${${"GLOBALS"}["ybeffxuekyyf"]},${${"GLOBALS"}["dwnswto"]},${$hwdmiqp});$ypxrtbblwwn="checkNumberWhatsAppQuery";${${"GLOBALS"}["rxkugcsvm"]}=${$ypxrtbblwwn}["numberactive"];if(${$qlgkednph}!=1){$ngususfnkmeh="whatsAppActiveInActive";$udnysfr="mobileno";$juwdpkvtus="auth_token";$jmgschv="whatsappactiveURL";$jjxqpgrfyktx="postfieldWhatsAppnumber";${"GLOBALS"}["mppfagzrtlf"]="api_url";${"GLOBALS"}["gaiwkgsroln"]="postfieldWhatsAppnumber";${"GLOBALS"}["xhjlgv"]="whatsappactiveURL";${$jmgschv}=${${"GLOBALS"}["mppfagzrtlf"]}."/isRegisteredUser";${${"GLOBALS"}["gaiwkgsroln"]}=array("number"=>${$udnysfr});$zyhfjkv="whatsAppActiveInActive";${$ngususfnkmeh}=CTWhatsApp_WhatsappChat_View::callCURL(${${"GLOBALS"}["xhjlgv"]},${$jjxqpgrfyktx},${$juwdpkvtus});${${"GLOBALS"}["rxkugcsvm"]}=${$zyhfjkv}["value"];}}if(${$ksmypp}==1||${${"GLOBALS"}["bievehorehl"]}==2){$umklcvlsmlz="getLicenseDetail";${"GLOBALS"}["qwwjia"]="tonumbersValue";${"GLOBALS"}["htqrwiud"]="whatsappScanNo";${"GLOBALS"}["bmfdyie"]="getLicenseDetail";${"GLOBALS"}["pfsjcbxldv"]="currenDatTime";${"GLOBALS"}["lrzjoqmr"]="resultSendMessage";${"GLOBALS"}["thrxseqwvb"]="i";$wgvcncc="moduleRecordid";${"GLOBALS"}["fptvlytkbr"]="getWhatsappAccount";$vcqnzlnmeft="currenDatTime";${"GLOBALS"}["pgmuijmywit"]="numberactive";${"GLOBALS"}["ipjsreqf"]="whatsAppLogId";$lqlgqwvbxzo="currentusername";$nybwrxm="val";${"GLOBALS"}["pnojouwryt"]="updateWhatsAppMessageId";if(${$wgvcncc}){${"GLOBALS"}["hgjygnqyhj"]="setype";$ifbmwimlt="displayname";$zcenrqugfrj="recordModel";$jwbefvqyu="moduleRecordid";${${"GLOBALS"}["hgjygnqyhj"]}=VtigerCRMObject::getSEType(${$jwbefvqyu});${$zcenrqugfrj}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["wbfuymcbe"]},${${"GLOBALS"}["kpaifztojnc"]});${$ifbmwimlt}=$recordModel->get("label");}else{$ammxvc="mobileno";${${"GLOBALS"}["ckmlwaejvvwg"]}=${$ammxvc};}${$umklcvlsmlz}=CTWhatsApp_Record_Model::getWhatsAppLicenseDetail();${${"GLOBALS"}["youvhyc"]}=${${"GLOBALS"}["bmfdyie"]}["licenseKey"];${${"GLOBALS"}["fptvlytkbr"]}=CTWhatsApp_Record_Model::getWhatsappAccountDetail(${${"GLOBALS"}["youvhyc"]});${${"GLOBALS"}["aqreqqjf"]}=CTWhatsApp_Record_Model::getOneDaysMessages();${$lqlgqwvbxzo}=$current_user->first_name." ".$current_user->last_name;${"GLOBALS"}["gujzlwgjmtd"]="whatsapplog";${${"GLOBALS"}["wjbhjabv"]}=CTWhatsApp_Record_Model::getWhatsAppLogData(${${"GLOBALS"}["ybeffxuekyyf"]},${${"GLOBALS"}["wbfuymcbe"]},${${"GLOBALS"}["htqrwiud"]});${"GLOBALS"}["hobqpxhharx"]="updateWhatsAppLogMessageId";${${"GLOBALS"}["fnudbchsq"]}=${${"GLOBALS"}["wjbhjabv"]}["rows"];$pnrhqtrjyir="postfields";${"GLOBALS"}["jntbnhdrai"]="val";${"GLOBALS"}["ejhyhxre"]="resultSendMessage";if(${${"GLOBALS"}["fnudbchsq"]}==0){${"GLOBALS"}["qydlglqx"]="currentusername";${"GLOBALS"}["tyxxgyogb"]="displayname";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getCleanInstance("WhatsAppLog");$recordModel->set("whatsapplog_sendername",${${"GLOBALS"}["qydlglqx"]});if(${${"GLOBALS"}["jlrfghi"]}=="Groups"){$recordModel->set("whatsapplog_msgid",${${"GLOBALS"}["ckmlwaejvvwg"]});$recordModel->set("whatsapplog_withccode","Groups");}else{$ykdtxezn="val";$recordModel->set("whatsapplog_msgid",${$ykdtxezn}["key"]["id"]);$pjxmvspuxv="mobileno";$recordModel->set("whatsapplog_withccode",${$pjxmvspuxv});}$recordModel->set("messagelog_type","Send");if(${${"GLOBALS"}["rxrorla"]}){$scaiaxgcjsgr="newBodyfileURL";$recordModel->set("messagelog_body",${$scaiaxgcjsgr});}else{$recordModel->set("messagelog_body",${${"GLOBALS"}["dbmngiq"]});}$recordModel->set("whatsapplog_displayname",${${"GLOBALS"}["tyxxgyogb"]});${"GLOBALS"}["cnqpjjp"]="whatsappScanNo";${"GLOBALS"}["pfsbdvone"]="moduleRecordid";$recordModel->set("whatsapplog_contactid",${${"GLOBALS"}["pfsbdvone"]});$ibqlgqd="whatsappactiveURL";$recordModel->set("whatsapplog_unreadread","Unread");$recordModel->set("whatsapplog_important",${${"GLOBALS"}["sxqoshys"]});$recordModel->set("whatsapplog_your_number",${${"GLOBALS"}["cnqpjjp"]});${"GLOBALS"}["jlwrbyym"]="currenUserID";$recordModel->set("whatsapplog_datetime",$adb->formatDate(${${"GLOBALS"}["irdowtzrxb"]},true));$recordModel->set("assigned_user_id",${${"GLOBALS"}["jlwrbyym"]});${"GLOBALS"}["svductwosfu"]="numberactive";$recordModel->set("whatsapplog_quotemessage",${${"GLOBALS"}["ueoukoasx"]});${${"GLOBALS"}["nbmwfkcjjde"]}=${$ibqlgqd}." ";${${"GLOBALS"}["nbmwfkcjjde"]}.=json_encode(${${"GLOBALS"}["egrhehgodt"]});$recordModel->set("whatsapplog_request",${${"GLOBALS"}["nbmwfkcjjde"]});$dpubemqierq="whatsAppActiveInActive";if(${${"GLOBALS"}["svductwosfu"]}==1){$recordModel->set("whatsapp_numberactive",1);}else{$recordModel->set("whatsapp_numberactive",0);}$recordModel->set("whatsapplog_response",json_encode(${$dpubemqierq}));if(${${"GLOBALS"}["dbmngiq"]}!=""){if($getWhatsappAccount->type=="free"&&${${"GLOBALS"}["aqreqqjf"]}<"100"){$recordModel->save();}else if($getWhatsappAccount->type=="premium"){$recordModel->save();}}${${"GLOBALS"}["ubjdnrlroc"]}=$recordModel->getId();}else{${"GLOBALS"}["tbesmdz"]="recordModel";$tfjlifkluwo="whatsapplogid";$fagsbtc="whatsappLogQuery";$pcmxjekuql="whatsapplogid";${${"GLOBALS"}["tvydefthfc"]}=${$fagsbtc}["whatsapplogid"];${${"GLOBALS"}["tbesmdz"]}=Vtiger_Record_Model::getInstanceById(${$pcmxjekuql},"WhatsAppLog");$recordModel->set("mode","edit");$recordModel->set("id",${$tfjlifkluwo});$recordModel->set("whatsapplog_datetime",$adb->formatDate(${${"GLOBALS"}["irdowtzrxb"]},true));if(${${"GLOBALS"}["rxrorla"]}){$recordModel->set("messagelog_body",${${"GLOBALS"}["ybmlnnvyryfm"]});}else{$recordModel->set("messagelog_body",${${"GLOBALS"}["dbmngiq"]});}if(${${"GLOBALS"}["rxkugcsvm"]}==1){$recordModel->set("whatsapp_numberactive",1);}else{$recordModel->set("whatsapp_numberactive",0);}${"GLOBALS"}["wmgwqwrj"]="whatsAppLogId";$recordModel->set("whatsapplog_response",json_encode(${${"GLOBALS"}["cytutuxdnstg"]}));$recordModel->save();${${"GLOBALS"}["wmgwqwrj"]}=$recordModel->getId();}$nkiopddjs="val";$ehbekjxnioos="mobileno";for(${${"GLOBALS"}["thrxseqwvb"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["fymimqw"]};${${"GLOBALS"}["varbufd"]}++){$cpqmixgds="currentusername";$qvgfjozuyvza="postfields";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getCleanInstance("CTWhatsApp");$recordModel->set("whatsapp_sendername",${$cpqmixgds});if(${${"GLOBALS"}["jlrfghi"]}=="Groups"){$recordModel->set("whatsapp_withccode","Groups");}else{$vyfmtbnqtywe="mobileno";$recordModel->set("whatsapp_withccode",${$vyfmtbnqtywe});}${"GLOBALS"}["nvvjrqqvje"]="url";$recordModel->set("message_type","Send");$uodsgcj="fileURL";if(${$uodsgcj}){$recordModel->set("message_body",${${"GLOBALS"}["ybmlnnvyryfm"]});}else{$recordModel->set("message_body",${${"GLOBALS"}["dbmngiq"]});}$recordModel->set("whatsapp_displayname",${${"GLOBALS"}["ckmlwaejvvwg"]});$recordModel->set("whatsapp_contactid",${${"GLOBALS"}["wbfuymcbe"]});$recordModel->set("whatsapp_unreadread","Unread");$recordModel->set("whatsapp_fromno",${${"GLOBALS"}["ebplpxiswt"]});$recordModel->set("whatsapp_important",${${"GLOBALS"}["sxqoshys"]});$lngjrbzhsac="configurationData";$recordModel->set("your_number",${${"GLOBALS"}["ebplpxiswt"]});$recordModel->set("whatsapp_datetime",$adb->formatDate(${${"GLOBALS"}["irdowtzrxb"]},true));$recordModel->set("assigned_user_id",${${"GLOBALS"}["egwuxnjjpv"]});$recordModel->set("whatsapp_quotemessage",${${"GLOBALS"}["ueoukoasx"]});${${"GLOBALS"}["nbmwfkcjjde"]}=${${"GLOBALS"}["nvvjrqqvje"]}." ";${${"GLOBALS"}["nbmwfkcjjde"]}.=json_encode(${$qvgfjozuyvza});${${"GLOBALS"}["iimykgn"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationDataWithId();${${"GLOBALS"}["pyhfwwl"]}=${$lngjrbzhsac}["whatsapplog"];if(${${"GLOBALS"}["pyhfwwl"]}==1){$rbctkwvqjo="requestParam";$recordModel->set("whatsapp_request",${$rbctkwvqjo});}if(${${"GLOBALS"}["dbmngiq"]}!=""){$kcdovooi="oneDayMessages";if($getWhatsappAccount->type=="free"&&${$kcdovooi}<"100"){$recordModel->save();}else if($getWhatsappAccount->type=="premium"){$recordModel->save();}}${${"GLOBALS"}["ltmcanxyv"]}=$recordModel->getId();}${$nybwrxm}=CTWhatsApp_WhatsappChat_View::callCURL(${${"GLOBALS"}["dbeqzqnpuxu"]},${$pnrhqtrjyir},${${"GLOBALS"}["xpgvpkjnl"]});${${"GLOBALS"}["hobqpxhharx"]}=CTWhatsApp_Record_Model::updateWhatsAppMessageId("WhatsAppLog",${${"GLOBALS"}["ipjsreqf"]},${$nkiopddjs},${${"GLOBALS"}["gujzlwgjmtd"]},${${"GLOBALS"}["qwwjia"]},${${"GLOBALS"}["jlrfghi"]});${${"GLOBALS"}["pnojouwryt"]}=CTWhatsApp_Record_Model::updateWhatsAppMessageId("CTWhatsApp",${${"GLOBALS"}["ltmcanxyv"]},${${"GLOBALS"}["jntbnhdrai"]},${${"GLOBALS"}["pyhfwwl"]},${$ehbekjxnioos},${${"GLOBALS"}["jlrfghi"]});${$vcqnzlnmeft}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat(${${"GLOBALS"}["irdowtzrxb"]});${${"GLOBALS"}["ejhyhxre"]}=array("currenDatTime"=>${${"GLOBALS"}["pfsjcbxldv"]},"senderName"=>${${"GLOBALS"}["qwzqcopi"]},"whatsappid"=>$recordModel->getId(),"numberactive"=>${${"GLOBALS"}["pgmuijmywit"]});return${${"GLOBALS"}["lrzjoqmr"]};}}public function updateWhatsAppMessageId($modulename,$whatsAppModuleId,$val,$whatsapplog,$mobileno,$whatsappModule){$uwegtl="whatsAppModuleId";if(${$uwegtl}){if(${${"GLOBALS"}["bdkjpmy"]}=="CTWhatsApp"){$mujmhycg="whatsappRecordModel";${"GLOBALS"}["knlppy"]="whatsapplog";${"GLOBALS"}["yfrfenhfcu"]="whatsappModule";${"GLOBALS"}["takmsvcpja"]="whatsAppModuleId";$rgyxxxtxe="modulename";${$mujmhycg}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["takmsvcpja"]},${$rgyxxxtxe});$whatsappRecordModel->set("mode","edit");$whatsappRecordModel->set("id",${${"GLOBALS"}["ltmcanxyv"]});if(${${"GLOBALS"}["yfrfenhfcu"]}=="Groups"){$ynhvspojbmuk="mobileno";$whatsappRecordModel->set("msgid",${$ynhvspojbmuk});}else{$whatsappRecordModel->set("msgid",${${"GLOBALS"}["iitxzdiwii"]}["key"]["id"]);}if(${${"GLOBALS"}["knlppy"]}==1){$mwepqzxf="val";$whatsappRecordModel->set("whatsapp_response",json_encode(${$mwepqzxf}));}$whatsappRecordModel->save();}else{${"GLOBALS"}["yzmepabty"]="modulename";${"GLOBALS"}["citmcui"]="whatsAppModuleId";${"GLOBALS"}["vcxipyksxv"]="whatsappRecordModel";${"GLOBALS"}["bvqmhyndowom"]="whatsapplog";${${"GLOBALS"}["vcxipyksxv"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["ltmcanxyv"]},${${"GLOBALS"}["yzmepabty"]});$whatsappRecordModel->set("mode","edit");$whatsappRecordModel->set("id",${${"GLOBALS"}["citmcui"]});${"GLOBALS"}["nhgvaqvftvxp"]="whatsappModule";if(${${"GLOBALS"}["nhgvaqvftvxp"]}=="Groups"){}else{$whatsappRecordModel->set("whatsapplog_msgid",${${"GLOBALS"}["iitxzdiwii"]}["key"]["id"]);}if(${${"GLOBALS"}["bvqmhyndowom"]}==1){$whatsappRecordModel->set("whatsapplog_response",json_encode(${${"GLOBALS"}["iitxzdiwii"]}));}$whatsappRecordModel->save();}}}public function getWhatsAppLogData($mobileno,$moduleRecordid,$whatsappScanNo){$wkslalurhh="result";$qkwvynvbaue="query";${"GLOBALS"}["miojsxi"]="groupMessage";$ssbaizns="query";global$adb;${"GLOBALS"}["zgnlpsxo"]="groupMessage";${"GLOBALS"}["jzipcvgfe"]="whatsapplogid";${${"GLOBALS"}["miojsxi"]}=substr(${${"GLOBALS"}["ybeffxuekyyf"]},-5);${"GLOBALS"}["wqweydgx"]="rows";${"GLOBALS"}["jqbbusolccf"]="rows";$fscbcymdcm="smownerid";if(${${"GLOBALS"}["zgnlpsxo"]}=="@g.us"){${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
                WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_msgid = ? AND vtiger_whatsapplog.whatsapplog_your_number = ?",array(${${"GLOBALS"}["ybeffxuekyyf"]},${${"GLOBALS"}["ebplpxiswt"]}));}else{${"GLOBALS"}["xlwcgsj"]="query";$cmfsbdvcw="whatsappScanNo";${${"GLOBALS"}["xlwcgsj"]}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
                INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
                WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_withccode = ? AND vtiger_whatsapplog.whatsapplog_your_number = ?",array(${${"GLOBALS"}["ybeffxuekyyf"]},${$cmfsbdvcw}));}${${"GLOBALS"}["jqbbusolccf"]}=$adb->num_rows(${$ssbaizns});${${"GLOBALS"}["tvydefthfc"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"whatsapplogid");${${"GLOBALS"}["rxkugcsvm"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"whatsapp_numberactive");${$fscbcymdcm}=$adb->query_result(${$qkwvynvbaue},0,"smownerid");${${"GLOBALS"}["ysiwjuruzd"]}=array("rows"=>${${"GLOBALS"}["wqweydgx"]},"whatsapplogid"=>${${"GLOBALS"}["jzipcvgfe"]},"numberactive"=>${${"GLOBALS"}["rxkugcsvm"]},"smownerid"=>${${"GLOBALS"}["mkfihsyxqro"]});return${$wkslalurhh};}public function getWhatsAppUserData($mobileno,$moduleRecordid,$whatsappScanNo){${"GLOBALS"}["zshxmjkru"]="query";${"GLOBALS"}["ivxnejljsdb"]="result";${"GLOBALS"}["kayyupgm"]="query";$jxqkyrfx="query";global$adb;${"GLOBALS"}["jwrkrqi"]="numberactive";$upeanehzel="rows";$ausadfzxf="ctwhatsappid";${${"GLOBALS"}["zshxmjkru"]}=$adb->pquery("SELECT MAX(vtiger_ctwhatsapp.ctwhatsappid), vtiger_ctwhatsapp.*, vtiger_crmentity.* FROM vtiger_ctwhatsapp 
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
            WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapp.whatsapp_withccode = ? AND vtiger_ctwhatsapp.your_number = ? AND vtiger_ctwhatsapp.message_type = 'Send'",array(${${"GLOBALS"}["ybeffxuekyyf"]},${${"GLOBALS"}["ebplpxiswt"]}));$trdkdmhpb="smownerid";${$upeanehzel}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${$ausadfzxf}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"ctwhatsappid");$niitpv="ctwhatsappid";${${"GLOBALS"}["rxkugcsvm"]}=$adb->query_result(${${"GLOBALS"}["kayyupgm"]},0,"whatsapp_numberactive");${${"GLOBALS"}["mkfihsyxqro"]}=$adb->query_result(${$jxqkyrfx},0,"smownerid");${${"GLOBALS"}["ysiwjuruzd"]}=array("rows"=>${${"GLOBALS"}["xdlzlhdqocwp"]},"ctwhatsappid"=>${$niitpv},"numberactive"=>${${"GLOBALS"}["jwrkrqi"]},"smownerid"=>${$trdkdmhpb});return${${"GLOBALS"}["ivxnejljsdb"]};}public function getallowToWhatsAppModule($request){${"GLOBALS"}["zeichu"]="recordid";$tlpnrvaoulfa="phoneField";$sufrdsyfgk="allowModuleData";$adswqjvjg="configurationData";$zmdnpd="fieldValue";${"GLOBALS"}["cfasoneoeu"]="currentDate";${"GLOBALS"}["pewurwimdpi"]="moduleName";${"GLOBALS"}["jdxnpjnsudbm"]="api_url";global$adb,$current_user;${${"GLOBALS"}["pewurwimdpi"]}=$request->getModule();${"GLOBALS"}["cxfqykbt"]="configurationData";${"GLOBALS"}["cxzweuqdwbc"]="sourceModuleName";$nvklncrctf="sourceModuleName";${"GLOBALS"}["rukhrng"]="unreadmsg";${${"GLOBALS"}["cxzweuqdwbc"]}=$request->get("source_module");$vitukzop="active";${${"GLOBALS"}["zeichu"]}=$request->get("recordid");${${"GLOBALS"}["wmxfsw"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${$nvklncrctf});$qngqhlslr="configurationData";${$vitukzop}=${$sufrdsyfgk}["moduleIconActive"];${${"GLOBALS"}["sntiipyhjd"]}=${${"GLOBALS"}["wmxfsw"]}["phoneField"];$scfldxkff="getUreadMsgQuery";${${"GLOBALS"}["jrhgdjsfyh"]}=CTWhatsApp_Record_Model::unreadQuery();$wbyrwxpo="result";${${"GLOBALS"}["hmmjivnfnggf"]}=$adb->pquery(${${"GLOBALS"}["jrhgdjsfyh"]}." AND vtiger_ctwhatsapp.whatsapp_contactid = ? AND vtiger_ctwhatsapp.message_type = 'Recieved' AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread'",array(${${"GLOBALS"}["nysnwqbusdg"]}));${${"GLOBALS"}["ggjeeaqumb"]}=$adb->num_rows(${$scfldxkff});${"GLOBALS"}["ydtbjebumqe"]="recordid";${${"GLOBALS"}["egwuxnjjpv"]}=$current_user->id;$wxyfwylqtu="configurationData";${$adswqjvjg}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["egwuxnjjpv"]});${${"GLOBALS"}["dexvvaf"]}=${${"GLOBALS"}["cxfqykbt"]}["iconactive"];${${"GLOBALS"}["jdxnpjnsudbm"]}=${$wxyfwylqtu}["api_url"];${${"GLOBALS"}["xpgvpkjnl"]}=${$qngqhlslr}["authtoken"];${${"GLOBALS"}["uenwmwmzfc"]}=date("Y-m-d");$mofgviun="currentDate";${${"GLOBALS"}["trwktlv"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_license_setting");${${"GLOBALS"}["fwofebmrywi"]}=$adb->query_result(${${"GLOBALS"}["trwktlv"]},0,"expirydate");${${"GLOBALS"}["youvhyc"]}=$adb->query_result(${${"GLOBALS"}["trwktlv"]},0,"license_key");${${"GLOBALS"}["wsltnmekmh"]}=Settings_CTWhatsApp_ConfigurationDetail_View::encrypt_decrypt(${${"GLOBALS"}["fwofebmrywi"]},${${"GLOBALS"}["xtssstwjo"]}="d");if(strtotime(${${"GLOBALS"}["cfasoneoeu"]})>=strtotime(${${"GLOBALS"}["wsltnmekmh"]})){${"GLOBALS"}["bndbny"]="curl";${"GLOBALS"}["vyzuvuntnm"]="licenseKey";${"GLOBALS"}["sfswzhwfdbu"]="curl";$abnirqzbjv="response";$roeigferg="response";${${"GLOBALS"}["bndbny"]}=curl_init();curl_setopt_array(${${"GLOBALS"}["sfswzhwfdbu"]},array(CURLOPT_URL=>"https://www.crmtiger.com/whatsapp/checkl.php",CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_SSL_VERIFYHOST=>0,CURLOPT_SSL_VERIFYPEER=>0,CURLOPT_CUSTOMREQUEST=>"POST",CURLOPT_USERAGENT=>"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13",CURLOPT_POSTFIELDS=>array("license_key"=>${${"GLOBALS"}["vyzuvuntnm"]}),));${$abnirqzbjv}=curl_exec(${${"GLOBALS"}["srgkppuccpjc"]});curl_close(${${"GLOBALS"}["srgkppuccpjc"]});${${"GLOBALS"}["oiljcgmbyyz"]}=json_decode(${$roeigferg},true);if(strtotime(${${"GLOBALS"}["oiljcgmbyyz"]}["expirydate"])>=strtotime(${${"GLOBALS"}["wsltnmekmh"]})){${"GLOBALS"}["gryluguvnqr"]="newdate";${${"GLOBALS"}["gryluguvnqr"]}=Settings_CTWhatsApp_ConfigurationDetail_View::encrypt_decrypt(${${"GLOBALS"}["oiljcgmbyyz"]}["expirydate"],${${"GLOBALS"}["xtssstwjo"]}="e");$adb->pquery("UPDATE vtiger_ctwhatsapp_license_setting set expirydate = '$newdate'");}}${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["ydtbjebumqe"]},${${"GLOBALS"}["eqdkmzs"]});${$zmdnpd}=preg_replace("/[^A-Za-z0-9]/","",$recordModel->get(${$tlpnrvaoulfa}));${${"GLOBALS"}["ysiwjuruzd"]}=array("iconActive"=>${${"GLOBALS"}["dexvvaf"]},"date"=>${${"GLOBALS"}["wsltnmekmh"]},"currentDate"=>${$mofgviun},"active"=>${${"GLOBALS"}["rccgmhxta"]},"unreadmsg"=>${${"GLOBALS"}["rukhrng"]},"fieldValue"=>${${"GLOBALS"}["qkmdptlbfp"]});return${$wbyrwxpo};}public function getWhatsAppLicenseDetail(){$xdyalgfqts="getexpiredate";${"GLOBALS"}["shurqdyvj"]="licensefield2";${"GLOBALS"}["xmeswtj"]="getexpiredate";global$adb;${"GLOBALS"}["bgnpbdbdxeuy"]="expiryDate";${${"GLOBALS"}["trwktlv"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_license_setting");$ddiihgsb="domain";$jwydwtrw="licensefield1";$lyiqdp="licenseKey";${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["trwktlv"]});${${"GLOBALS"}["gxzvfugrobec"]}=$adb->query_result(${${"GLOBALS"}["xmeswtj"]},0,"expirydate");${$lyiqdp}=$adb->query_result(${${"GLOBALS"}["trwktlv"]},0,"license_key");${$ddiihgsb}=$adb->query_result(${$xdyalgfqts},0,"domain");${${"GLOBALS"}["cmxbdkianfu"]}=$adb->query_result(${${"GLOBALS"}["trwktlv"]},0,"licensefield1");${${"GLOBALS"}["shurqdyvj"]}=$adb->query_result(${${"GLOBALS"}["trwktlv"]},0,"licensefield2");return${${"GLOBALS"}["foxxvkl"]}=array("rows"=>${${"GLOBALS"}["xdlzlhdqocwp"]},"expiryDate"=>${${"GLOBALS"}["bgnpbdbdxeuy"]},"licenseKey"=>${${"GLOBALS"}["youvhyc"]},"domain"=>${${"GLOBALS"}["vdmdhojvv"]},"licensefield1"=>${$jwydwtrw},"licensefield2"=>${${"GLOBALS"}["fnwtthjtgv"]});}public function updateAuthCode($request){${"GLOBALS"}["vvwxtwb"]="currentUserID";${"GLOBALS"}["egigklrsw"]="row";global$adb,$current_user;${${"GLOBALS"}["vvwxtwb"]}=$current_user->id;$qyvqcgfmxmai="whatsappuseid";${${"GLOBALS"}["oxnkdks"]}=$request->get("authtokenkey");$qkljemhq="whatsappuseid";${$qyvqcgfmxmai}=$request->get("whatsappuseid");$eifgox="configurationQuery";${${"GLOBALS"}["bmwepsjbk"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ?",array(${$qkljemhq}));${${"GLOBALS"}["eidzhji"]}=$adb->num_rows(${$eifgox});if(${${"GLOBALS"}["egigklrsw"]}==0){if(${${"GLOBALS"}["oxnkdks"]}){$obiixqpdxkl="authTokenKey";${${"GLOBALS"}["swhiksk"]}=$adb->pquery("UPDATE vtiger_ctwhatsappconfiguration SET auth_token=?",array(${$obiixqpdxkl}));}}else{$pbrwlhdmjg="authTokenKey";if(${$pbrwlhdmjg}){$tvwodxdpe="authTokenKey";${${"GLOBALS"}["swhiksk"]}=$adb->pquery("UPDATE vtiger_ctwhatsappusers SET auth_token=? WHERE customfield5 = ?",array(${$tvwodxdpe},${${"GLOBALS"}["mbcjhtpuo"]}));$mbxgvgeyei="whatsappuseid";${${"GLOBALS"}["swhiksk"]}=$adb->pquery("UPDATE vtiger_ctwhatsappconfiguration SET auth_token=? WHERE customfield5 = ?",array(${${"GLOBALS"}["oxnkdks"]},${$mbxgvgeyei}));}}}public function getWhatsAppStatus($request){${"GLOBALS"}["umiozwdqm"]="whatsappbot";$ieqxqinfy="currenUserID";global$adb,$current_user;${$ieqxqinfy}=$current_user->id;$shjqcvkzaqy="getWhatsappStatusQuery";${${"GLOBALS"}["uhvqvb"]}=$request->get("whatsappbot");if(${${"GLOBALS"}["umiozwdqm"]}=="yes"){${${"GLOBALS"}["eqdprl"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield5 = 'whatsappBot'",array());}else{$egulsft="currenUserID";$mnfhxlgi="getWhatsappStatusQuery";$hehnkmtsz="currenUserID";${"GLOBALS"}["wubfgsvtb"]="getWhatsappStatusQuery";${$mnfhxlgi}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield5 = ?",array(${$egulsft}));${${"GLOBALS"}["wubfgsvtb"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ?",array(${$hehnkmtsz}));}${${"GLOBALS"}["bievehorehl"]}=$adb->query_result(${$shjqcvkzaqy},0,"whatsappstatus");${${"GLOBALS"}["byqgvzsy"]}=$adb->query_result(${${"GLOBALS"}["eqdprl"]},0,"whatsappno");${${"GLOBALS"}["yqrqbuvlnxpr"]}=array("whatsappStatus"=>${${"GLOBALS"}["bievehorehl"]},"whatsappNo"=>${${"GLOBALS"}["byqgvzsy"]});return${${"GLOBALS"}["yqrqbuvlnxpr"]};}public function getMassMessageData(){global$adb;${"GLOBALS"}["fxcexmz"]="crondatetime";$iiwizakldi="batch";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappmassbatch");${"GLOBALS"}["kchmckfclky"]="query";${$iiwizakldi}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"batch");${"GLOBALS"}["mwtuegzbsbf"]="timeinterval";$zmnnqkjygy="query";$fjiowmj="getMassMessageDetail";${${"GLOBALS"}["chqzveyq"]}=$adb->query_result(${$zmnnqkjygy},0,"timeinterval");${${"GLOBALS"}["wsswbpsh"]}=$adb->query_result(${${"GLOBALS"}["kchmckfclky"]},0,"crondatetime");${$fjiowmj}=array("batch"=>${${"GLOBALS"}["rslgumfchmk"]},"timeinterval"=>${${"GLOBALS"}["mwtuegzbsbf"]},"crondatetime"=>${${"GLOBALS"}["fxcexmz"]});return${${"GLOBALS"}["qcrbqnyhjgn"]};}public function sendMassMessages($request){${"GLOBALS"}["ssojxfj"]="source_module";${"GLOBALS"}["wdugyf"]="query";global$adb,$site_URL,$current_user;${"GLOBALS"}["nxguroepmgi"]="row1";${"GLOBALS"}["jaexprbp"]="currenUserID";${${"GLOBALS"}["ccrllusxuoyo"]}=$request->getModule();${${"GLOBALS"}["eqdkmzs"]}=$request->get("source_module");${"GLOBALS"}["dkqgrq"]="scanUserId";${"GLOBALS"}["fykrzvqvhf"]="sendNowLater";${"GLOBALS"}["ypefppws"]="scanUserId";${${"GLOBALS"}["fukklnhu"]}=$request->get("templatesid");${${"GLOBALS"}["fykrzvqvhf"]}=$request->get("sendNowLater");$qnksrtnrq="laterDateTime";${"GLOBALS"}["fpiyuxnqxmb"]="selected_ids";${${"GLOBALS"}["hgfgtlm"]}=$request->get("whatsappUserID");${$qnksrtnrq}=explode(" ",$request->get("laterDateTime"));$fywawj="templatesid";${"GLOBALS"}["gdloqswq"]="auth_token";$wzclhzs="cvid";${$wzclhzs}=$request->get("cvid");${${"GLOBALS"}["hzodxqr"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"GLOBALS"}["ssojxfj"]});${${"GLOBALS"}["sntiipyhjd"]}=${${"GLOBALS"}["hzodxqr"]}["phoneField"];${"GLOBALS"}["wrmsofshql"]="getScheduleSendMsgidQuery";$anmhsc="configurationData";${${"GLOBALS"}["xruoxvtdhi"]}=$request->get("selected_ids");$djxdii="key";if(${${"GLOBALS"}["fpiyuxnqxmb"]}=="all"){${${"GLOBALS"}["xmiwmxmttt"]}=CustomView_Record_Model::getInstanceById(${${"GLOBALS"}["wuvbgaqzdl"]});$customViewModel->set("search_params",$request->get("searchvalue"));${${"GLOBALS"}["xruoxvtdhi"]}=$customViewModel->getRecordIds(${${"GLOBALS"}["iyevekhyt"]},${${"GLOBALS"}["eqdkmzs"]});}else{$pmmcpmkcrkb="selected_ids";${$pmmcpmkcrkb}=$request->get("selected_ids");}${"GLOBALS"}["cxfkjktwct"]="msg_body";$nuqxkdqqsq="getScheduleSendMsgidQuery";${"GLOBALS"}["okyndfxnly"]="value";if(${$fywawj}){${${"GLOBALS"}["rpgnnph"]}=${${"GLOBALS"}["fukklnhu"]};}else{${${"GLOBALS"}["rpgnnph"]}="0";}${${"GLOBALS"}["cxfkjktwct"]}=$request->get("msgbody");${${"GLOBALS"}["irdowtzrxb"]}=date("Y-m-d H:i:s");${"GLOBALS"}["csdqgwxsw"]="configurationData";${"GLOBALS"}["bekgvixo"]="customfield1";${${"GLOBALS"}["uenwmwmzfc"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["jaexprbp"]}=$current_user->id;${${"GLOBALS"}["wdugyf"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups",array());${${"GLOBALS"}["yyvmhfs"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["nxguroepmgi"]};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["bsbimdetv"]="i";${${"GLOBALS"}["upbnbfcilcen"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["bsbimdetv"]},"multiple_userid");$cebmtk="currenUserID";${${"GLOBALS"}["dissknbyh"]}=explode(",",${${"GLOBALS"}["upbnbfcilcen"]});if(in_array(${$cebmtk},${${"GLOBALS"}["dissknbyh"]})){$lpnoskde="i";${${"GLOBALS"}["wvudvbeixhbp"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$lpnoskde},"userid");break;}}if(${${"GLOBALS"}["ypefppws"]}==""){$rermvdtaj="connectUseridquery";$pfkscdhw="currenUserID";$kddvngx="scanUserId";${${"GLOBALS"}["qsguenkdfo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups WHERE userid = ?",array(${$pfkscdhw}));${$kddvngx}=$adb->query_result(${$rermvdtaj},0,"userid");}${"GLOBALS"}["uwipkxfkkgua"]="currenUserID";if(${${"GLOBALS"}["dkqgrq"]}==""){${"GLOBALS"}["vhlmvg"]="getConfigurationDatasQuery";${${"GLOBALS"}["vhlmvg"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration",array());$ejcenrnwmm="scanUserId";${${"GLOBALS"}["ahpypvo"]}=$adb->num_rows(${${"GLOBALS"}["nkpcegje"]});${$ejcenrnwmm}=$adb->query_result(${${"GLOBALS"}["nkpcegje"]},0,"customfield5");}${${"GLOBALS"}["iimykgn"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["uwipkxfkkgua"]});${${"GLOBALS"}["ceicdk"]}=${${"GLOBALS"}["csdqgwxsw"]}["api_url"];${${"GLOBALS"}["gdloqswq"]}=${${"GLOBALS"}["iimykgn"]}["authtoken"];$neynbdk="sendNowLater";${${"GLOBALS"}["bekgvixo"]}=${$anmhsc}["customfield1"];${${"GLOBALS"}["gtsrwuxz"]}=Settings_CTWhatsApp_ConfigurationDetail_View::getMassBatchConfigurationData();${${"GLOBALS"}["jsibwubdjsfc"]}=${${"GLOBALS"}["gtsrwuxz"]}["batch"];${$nuqxkdqqsq}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappmassmessage ORDER BY massmessageid DESC LIMIT 0,1");${${"GLOBALS"}["wdrkxmgimwni"]}=$adb->query_result(${${"GLOBALS"}["wrmsofshql"]},0,"massmessageid")+1;if(${$neynbdk}=="later"){${"GLOBALS"}["swfgywd"]="laterDateTime";${"GLOBALS"}["kguctuiq"]="schedulesendmsgid";$rbmrqsyo="whatsappUserID";${"GLOBALS"}["okfnuam"]="cronDateTime";$xzmwnml="currentDate";${"GLOBALS"}["bnjdlhcbxc"]="insertQuery";$ppseosckta="cronDate_Time";$mxorvqkqk="cronDateTime";${$ppseosckta}=${${"GLOBALS"}["swfgywd"]}[0]." ".Vtiger_Time_UIType::getTimeValueWithSeconds(${${"GLOBALS"}["jewchnric"]}[1]." ".${${"GLOBALS"}["jewchnric"]}[2]);${$mxorvqkqk}=Vtiger_Datetime_UIType::getDBDateTimeValue(${${"GLOBALS"}["lbndrj"]});${${"GLOBALS"}["bnjdlhcbxc"]}=$adb->pquery("INSERT INTO vtiger_ctwhatsappmassmessage(massmessageid, templatesid, whatsappmessage, sendmessagedate, massmsgdatetime, connectuserid) VALUES (?,?,?,?,?,?)",array(${${"GLOBALS"}["kguctuiq"]},${${"GLOBALS"}["rpgnnph"]},${${"GLOBALS"}["kowbdipk"]},${$xzmwnml},${${"GLOBALS"}["okfnuam"]},${$rbmrqsyo}));}else{$lutvndothi="insertQuery";${"GLOBALS"}["bnkffnmlirf"]="templatesID";${$lutvndothi}=$adb->pquery("INSERT INTO vtiger_ctwhatsappmassmessage(massmessageid, templatesid, whatsappmessage, sendmessagedate, massmsgdatetime, connectuserid) VALUES (?,?,?,?,?,?)",array(${${"GLOBALS"}["wdrkxmgimwni"]},${${"GLOBALS"}["bnkffnmlirf"]},${${"GLOBALS"}["kowbdipk"]},${${"GLOBALS"}["uenwmwmzfc"]},"",${${"GLOBALS"}["hgfgtlm"]}));}foreach(${${"GLOBALS"}["xruoxvtdhi"]} as${$djxdii}=>${${"GLOBALS"}["okyndfxnly"]}){$dgycugoqr="schedulesendmsgid";${"GLOBALS"}["mbvepnrbm"]="scheduleSendmsgQuery";$lqwfcclfhpl="value";${${"GLOBALS"}["mbvepnrbm"]}=$adb->pquery("INSERT INTO vtiger_ctwhatsappschedulesendmsg(schedulesendmsgid, recordid, body, status, send_msg, datesendmessage) VALUES (?,?,?,?,?,?)",array(${$dgycugoqr},${$lqwfcclfhpl},${${"GLOBALS"}["kowbdipk"]},0,0,""));}}public function getWhatsAppTemplateData($request){${"GLOBALS"}["lcozojp"]="moduleName";global$adb,$root_directory;$ioyhfolckx="templateData";${${"GLOBALS"}["lcozojp"]}=$request->getModule();${${"GLOBALS"}["fukklnhu"]}=$request->get("templatesid");if(${${"GLOBALS"}["fukklnhu"]}){${"GLOBALS"}["gxlomcohxwrc"]="imagePath";${"GLOBALS"}["fgsuhujtqu"]="attachmentPath";${"GLOBALS"}["rillzsgexqd"]="templatesid";${"GLOBALS"}["pqolmbo"]="imageId";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["rillzsgexqd"]},"CTWhatsAppTemplates");${"GLOBALS"}["vgexmwd"]="type";${"GLOBALS"}["nfrhos"]="fileName";${"GLOBALS"}["cewlkiehb"]="imagePath";${"GLOBALS"}["zbcjptw"]="templatesid";${"GLOBALS"}["ercdypbumt"]="getAttachmentQuery";${${"GLOBALS"}["ercdypbumt"]}=$adb->pquery("SELECT vtiger_attachments.*, vtiger_crmentity.setype FROM vtiger_attachments
            INNER JOIN vtiger_seattachmentsrel ON vtiger_seattachmentsrel.attachmentsid = vtiger_attachments.attachmentsid
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_attachments.attachmentsid
            WHERE vtiger_seattachmentsrel.crmid = ? AND vtiger_crmentity.deleted = 0",array(${${"GLOBALS"}["zbcjptw"]}));${${"GLOBALS"}["pqolmbo"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"attachmentsid");$smimhvemvy="type";${"GLOBALS"}["leucujkowo"]="fileName";${${"GLOBALS"}["gxlomcohxwrc"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"path");${${"GLOBALS"}["czknncmkdydq"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"name");${$smimhvemvy}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"type");${"GLOBALS"}["uzzafhsxvxt"]="templatesid";if(strpos(${${"GLOBALS"}["vgexmwd"]},"image")!==false){${${"GLOBALS"}["dhvcubrnb"]}=1;}else{${"GLOBALS"}["dnjdbkl"]="fileType";${${"GLOBALS"}["dnjdbkl"]}=0;}${${"GLOBALS"}["fgsuhujtqu"]}=${${"GLOBALS"}["cewlkiehb"]}.${${"GLOBALS"}["hmyikcjb"]}."_".${${"GLOBALS"}["leucujkowo"]};${${"GLOBALS"}["tfhwby"]}=array("templatesid"=>${${"GLOBALS"}["uzzafhsxvxt"]},"message"=>decode_html($recordModel->get("wptemplate_text")),"image"=>${${"GLOBALS"}["kieybekgnhfs"]},"fileType"=>${${"GLOBALS"}["dhvcubrnb"]},"fileName"=>${${"GLOBALS"}["nfrhos"]});}return${$ioyhfolckx};}public function createWhatsappUser($currenUserID){$oslldgfqmxx="configurationData";$gpewlbg="getLicenseDetail";${"GLOBALS"}["fadbnrn"]="whatsappStatus";${"GLOBALS"}["wcvcennne"]="qrCodeDetail";${"GLOBALS"}["jheozfr"]="whatsappNo";$psboidsh="qrcodeurl";$xirnkcqpsau="whatsappNo";global$adb,$site_URL;$xqrjrfommc="query";$gmrlmmid="licenseKey";$rpaqxjloqfe="whatsappStatus";${"GLOBALS"}["iltkfqekncn"]="authTokenKey";if(${${"GLOBALS"}["egwuxnjjpv"]}=="yes"){$bhiywsbcicyi="query";${$bhiywsbcicyi}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = 'whatsappBot'",array());}else{$huhajs="query";$crjzuwjunlw="currenUserID";${$huhajs}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ?",array(${$crjzuwjunlw}));}${"GLOBALS"}["fbetkpie"]="currenUserID";${"GLOBALS"}["lxgetl"]="configurationUserData";${"GLOBALS"}["ftdbmx"]="numrows";${${"GLOBALS"}["oomwgsemtdr"]}=$adb->num_rows(${$xqrjrfommc});if(${${"GLOBALS"}["ftdbmx"]}==0){$xbkcxwd="configurationData";$hgmoiewj="configurationData";${$xbkcxwd}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["egwuxnjjpv"]});${"GLOBALS"}["nmyjrsx"]="iconActive";${"GLOBALS"}["uqjqguv"]="adminApiUrl";${${"GLOBALS"}["uqjqguv"]}=${$hgmoiewj}["api_url"];${${"GLOBALS"}["odsfrieb"]}=${${"GLOBALS"}["iimykgn"]}["customfield1"];${${"GLOBALS"}["nmyjrsx"]}=${${"GLOBALS"}["iimykgn"]}["iconactive"];if(${${"GLOBALS"}["egwuxnjjpv"]}=="yes"){${${"GLOBALS"}["dunqrah"]}=$adb->pquery("INSERT INTO vtiger_ctwhatsappusers SET api_url='$adminApiUrl', customfield5='whatsappBot', customfield1='$contryCode', iconactive='$iconActive'",array());}else{$goaqpcit="insertQuery";${$goaqpcit}=$adb->pquery("INSERT INTO vtiger_ctwhatsappusers SET api_url='$adminApiUrl', customfield5='$currenUserID', customfield1='$contryCode', iconactive='$iconActive'",array());}}${${"GLOBALS"}["lxgetl"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLOBALS"}["fbetkpie"]});${${"GLOBALS"}["jppnkx"]}=${${"GLOBALS"}["xcnevnlh"]}["api_url"];${${"GLOBALS"}["fadbnrn"]}=${${"GLOBALS"}["xcnevnlh"]}["whatsappstatus"];${$xirnkcqpsau}=${$oslldgfqmxx}["whatsappno"];if(${${"GLOBALS"}["jheozfr"]}==""){${"GLOBALS"}["xplqdffaam"]="whatsappNo";${"GLOBALS"}["cmyrqjrosmi"]="query";${${"GLOBALS"}["xplqdffaam"]}=$adb->query_result(${${"GLOBALS"}["cmyrqjrosmi"]},0,"whatsappno");}${${"GLOBALS"}["cpvbfrahlr"]}=CTWhatsApp_DashBoard_View::getLicenseDetail();${$gmrlmmid}=${$gpewlbg}["licenseKey"];if(${${"GLOBALS"}["egwuxnjjpv"]}){${${"GLOBALS"}["lltloujtozk"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_user_groups WHERE userid = ?",array(${${"GLOBALS"}["egwuxnjjpv"]}));${"GLOBALS"}["igqccervth"]="whatsappbot";${${"GLOBALS"}["igqccervth"]}=$adb->query_result(${${"GLOBALS"}["lltloujtozk"]},0,"whatsappbot");}${"GLOBALS"}["kwknpyr"]="whatsappNo";if(${$rpaqxjloqfe}==0){$uqghnkkp="apiUrl";${"GLOBALS"}["ixnmjexmws"]="key";$nfewhagke="fieldsString";${"GLOBALS"}["oqalpsgnfs"]="qrcodeurl";${"GLOBALS"}["btweqbdk"]="currenUserID";$owgjfvttxs="result";${"GLOBALS"}["uqwjuin"]="authTokenKey";${"GLOBALS"}["hsyiuluvttd"]="fields";${${"GLOBALS"}["vwfbiwyewbcn"]}=${$uqghnkkp}."/init";${"GLOBALS"}["wneedadxe"]="site_URL";$rgishmdv="site_URL";${"GLOBALS"}["guwinewvcy"]="result";${"GLOBALS"}["jresyoqfflr"]="curl";${"GLOBALS"}["mxfluqzojz"]="curl";$fuswboriuser="curl";${${"GLOBALS"}["nqlglleze"]}=array("domain"=>${${"GLOBALS"}["wneedadxe"]},"licenceKey"=>${${"GLOBALS"}["youvhyc"]},"statusurl"=>${$rgishmdv}."/modules/CTWhatsApp/WhatsappStatus.php?userid=".${${"GLOBALS"}["btweqbdk"]},);if(${${"GLOBALS"}["uhvqvb"]}==1){${"GLOBALS"}["ybsppyjhkcp"]="site_URL";${"GLOBALS"}["iskpbjt"]="currenUserID";${${"GLOBALS"}["nqlglleze"]}["url"]=${${"GLOBALS"}["ybsppyjhkcp"]}."/modules/CTWhatsApp//CTWhatAppReceiverBot.php?userid=".${${"GLOBALS"}["iskpbjt"]};}else{${${"GLOBALS"}["nqlglleze"]}["url"]=${${"GLOBALS"}["ccygcr"]}."/modules/CTWhatsApp/CTWhatAppReceiver.php?userid=".${${"GLOBALS"}["egwuxnjjpv"]};}foreach(${${"GLOBALS"}["nqlglleze"]} as${${"GLOBALS"}["ixnmjexmws"]}=>${${"GLOBALS"}["yxksumx"]}){${"GLOBALS"}["rbyoqvzf"]="key";${${"GLOBALS"}["epblvoec"]}.=${${"GLOBALS"}["rbyoqvzf"]}."=".${${"GLOBALS"}["yxksumx"]}."&";}rtrim(${$nfewhagke},"&");${${"GLOBALS"}["jresyoqfflr"]}=curl_init();curl_setopt_array(${$fuswboriuser},array(CURLOPT_URL=>${${"GLOBALS"}["vwfbiwyewbcn"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>10,CURLOPT_CONNECTTIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_SSL_VERIFYHOST=>0,CURLOPT_SSL_VERIFYPEER=>0,CURLOPT_CUSTOMREQUEST=>"POST",CURLOPT_USERAGENT=>"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13",CURLOPT_POSTFIELDS=>json_encode(${${"GLOBALS"}["hsyiuluvttd"]}),CURLOPT_HTTPHEADER=>array("Content-Type: application/json"),));${${"GLOBALS"}["guwinewvcy"]}=curl_exec(${${"GLOBALS"}["mxfluqzojz"]});${${"GLOBALS"}["angfxwt"]}=json_decode(${$owgjfvttxs});curl_close(${${"GLOBALS"}["srgkppuccpjc"]});${${"GLOBALS"}["oqalpsgnfs"]}=$response->qr;${${"GLOBALS"}["uqwjuin"]}=$response->Authorization;$kvqfmexk="scanMessage";${$kvqfmexk}=$response->message;if(${${"GLOBALS"}["oxnkdks"]}){if(${${"GLOBALS"}["egwuxnjjpv"]}=="yes"){${"GLOBALS"}["edmuwxvhhz"]="updatequery";${${"GLOBALS"}["edmuwxvhhz"]}=$adb->pquery("UPDATE vtiger_ctwhatsappusers SET auth_token=? WHERE customfield5 = 'whatsappBot'",array(${${"GLOBALS"}["oxnkdks"]}));}else{${"GLOBALS"}["xklimdov"]="updatequery";${"GLOBALS"}["urwlxk"]="authTokenKey";${${"GLOBALS"}["xklimdov"]}=$adb->pquery("UPDATE vtiger_ctwhatsappusers SET auth_token=? WHERE customfield5 = ?",array(${${"GLOBALS"}["urwlxk"]},${${"GLOBALS"}["egwuxnjjpv"]}));}}}${${"GLOBALS"}["klegrryylk"]}=array("qrcodeurl"=>${$psboidsh},"authTokenKey"=>${${"GLOBALS"}["iltkfqekncn"]},"whatsappNo"=>${${"GLOBALS"}["kwknpyr"]},"scanMessage"=>${${"GLOBALS"}["mkaqotteynt"]},"apiUrl"=>${${"GLOBALS"}["jppnkx"]});return${${"GLOBALS"}["wcvcennne"]};}public function getWhatsappGroup($groupWhatsappNumber){$mxiqavssnod="i";$brwwhkl="whatsappGroupQuery";global$current_user,$adb;${$brwwhkl}=$adb->pquery("SELECT * FROM vtiger_whatsapplog 
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_whatsapplog.whatsapplogid 
            WHERE vtiger_crmentity.deleted = 0 AND vtiger_whatsapplog.whatsapplog_withccode = ? AND vtiger_whatsapplog.whatsapplog_your_number = ?",array("Groups",${${"GLOBALS"}["yeulyopwayi"]}));$vrrsxcmvdap="allGroupsData";${"GLOBALS"}["hbxcltuj"]="rows";${${"GLOBALS"}["hbxcltuj"]}=$adb->num_rows(${${"GLOBALS"}["tsbehcmyk"]});${${"GLOBALS"}["ciuduqwwa"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${$mxiqavssnod}++){${"GLOBALS"}["uzltdueo"]="label";${"GLOBALS"}["coaxqkcjjmw"]="whatsappGroupQuery";$vnsoyen="groupUnreadcount";${"GLOBALS"}["vjlcbjgvs"]="allGroupsData";$yupfeiiek="groupid";${${"GLOBALS"}["hxezvqnwm"]}=$adb->query_result(${${"GLOBALS"}["tsbehcmyk"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_msgid");$xfdkzeuer="recordId";$wqfhfe="groupid";${${"GLOBALS"}["uzltdueo"]}=$adb->query_result(${${"GLOBALS"}["coaxqkcjjmw"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_chatid");$dcoespvj="isReadOnly";$mhkyaxpmoeqa="groupid";${${"GLOBALS"}["sykaowyh"]}="layouts/v7/modules/CTWhatsApp/image/groups.png";${$mhkyaxpmoeqa}=$adb->query_result(${${"GLOBALS"}["tsbehcmyk"]},${${"GLOBALS"}["varbufd"]},"whatsapplog_msgid");${${"GLOBALS"}["idbtuvkdlk"]}=1;if(${$wqfhfe}){$dgicuerjud="getGroupMember";$jdmfum="groupid";${$dgicuerjud}=" AND vtiger_ctwhatsapp.msgid = ? AND vtiger_ctwhatsapp.whatsapp_chatid != ''";${"GLOBALS"}["ullzccfs"]="groupid";${"GLOBALS"}["liqpor"]="groupMember";${"GLOBALS"}["fkityjgxhew"]="groupUnreadcount";${"GLOBALS"}["rhybxdue"]="query";${${"GLOBALS"}["ozoeqjaq"]}=" AND vtiger_ctwhatsapp.message_type = 'Recieved' AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread' AND vtiger_ctwhatsapp.msgid = ? ";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp 
                    INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
                    WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["fxtixlk"]},array(${$jdmfum}));${${"GLOBALS"}["liqpor"]}=$adb->num_rows(${${"GLOBALS"}["rhybxdue"]});${${"GLOBALS"}["ajicne"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp 
                    INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
                    WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["ozoeqjaq"]},array(${${"GLOBALS"}["ullzccfs"]}));${${"GLOBALS"}["fkityjgxhew"]}=$adb->num_rows(${${"GLOBALS"}["ajicne"]});}$uquioshuhox="label";$${${"GLOBALS"}["vjlcbjgvs"]}[${$yupfeiiek}]=array("recordId"=>${$xfdkzeuer},"label"=>${$uquioshuhox},"profileImage"=>${${"GLOBALS"}["sykaowyh"]},"imagetag"=>${${"GLOBALS"}["idbtuvkdlk"]},"groupid"=>${${"GLOBALS"}["hxezvqnwm"]},"isReadOnly"=>${$dcoespvj},"groupMember"=>${${"GLOBALS"}["fbllmnuf"]},"unreadMessageCount"=>${$vnsoyen});}return$${$vrrsxcmvdap};}public function updateWhatsappRecords($request){$cttdiqln="phone";global$adb;$xyfvldqtlq="task";${$cttdiqln}=$request->get("phone");${"GLOBALS"}["jdtxpqb"]="whatsappid";${"GLOBALS"}["zlivxckmato"]="recordId";${${"GLOBALS"}["zlivxckmato"]}=$request->get("recordId");${$xyfvldqtlq}=$request->get("task");${${"GLOBALS"}["jdtxpqb"]}=$request->get("whatsappid");if(${${"GLOBALS"}["makvpkw"]}=="yes"){$swrcdpsvggvp="recordId";${${"GLOBALS"}["wqhpspkwny"]}=$adb->pquery("UPDATE vtiger_ctwhatsapp SET whatsapp_chatid = ? WHERE ctwhatsappid = ?",array(${$swrcdpsvggvp},${${"GLOBALS"}["djcpincd"]}));}else{$zupigoo="recordId";${"GLOBALS"}["lzmydrfrkqrt"]="phone";$epobxwiyyrq="phone";${${"GLOBALS"}["wqhpspkwny"]}=$adb->pquery("UPDATE vtiger_ctwhatsapp SET whatsapp_contactid = ? WHERE whatsapp_withccode = ?",array(${$zupigoo},${$epobxwiyyrq}));${${"GLOBALS"}["juqhhhe"]}=$adb->pquery("UPDATE vtiger_whatsapplog SET whatsapplog_contactid = ? WHERE whatsapplog_withccode = ?",array(${${"GLOBALS"}["qwoktwwcbt"]},${${"GLOBALS"}["lzmydrfrkqrt"]}));}}public function getWhatsappTemplates(){$ngjikuyq="j";${"GLOBALS"}["gvucfemd"]="listViewModel";global$adb;$huifwukdpgh="getWhatsappTemplateQuery";${"GLOBALS"}["hekpqljtwn"]="viewid";${${"GLOBALS"}["aywsqnc"]}=$adb->pquery("SELECT * FROM vtiger_customview WHERE entitytype = 'CTWhatsAppTemplates' AND viewname = 'All'");${${"GLOBALS"}["nlyskcjpy"]}=$adb->query_result(${${"GLOBALS"}["aywsqnc"]},0,"cvid");${${"GLOBALS"}["gvucfemd"]}=Vtiger_ListView_Model::getInstance("CTWhatsAppTemplates",${${"GLOBALS"}["hekpqljtwn"]});${${"GLOBALS"}["knzhfrpzwex"]}=$listViewModel->get("query_generator");$bybemj="getWhatsappTemplateQuery";${${"GLOBALS"}["hqoppbleqnc"]}=$queryGenerator->getQuery();${"GLOBALS"}["zsouplq"]="listQuery";${$huifwukdpgh}=$adb->pquery(${${"GLOBALS"}["zsouplq"]},array());${"GLOBALS"}["azhiynmo"]="templatesArray";${${"GLOBALS"}["hfrekey"]}=$adb->num_rows(${$bybemj});${${"GLOBALS"}["azhiynmo"]}=array();for(${${"GLOBALS"}["phxnjokirbgf"]}=0;${${"GLOBALS"}["phxnjokirbgf"]}<${${"GLOBALS"}["hfrekey"]};${$ngjikuyq}++){${"GLOBALS"}["oitospqxmoc"]="templatesID";${"GLOBALS"}["muoqgumjsmo"]="templateTitle";$msjetqootdbr="j";$btdvffnugf="templateTitle";${${"GLOBALS"}["oitospqxmoc"]}=$adb->query_result(${${"GLOBALS"}["hzthelccjs"]},${$msjetqootdbr},"ctwhatsapptemplatesid");${${"GLOBALS"}["muoqgumjsmo"]}=$adb->query_result(${${"GLOBALS"}["hzthelccjs"]},${${"GLOBALS"}["phxnjokirbgf"]},"wptemplate_title");${${"GLOBALS"}["xoekkzxvr"]}[${${"GLOBALS"}["rpgnnph"]}]=${$btdvffnugf};}return${${"GLOBALS"}["xoekkzxvr"]};}public function getWhatsappTemplatesScannumber($more){${"GLOBALS"}["rknobbmky"]="viewid";$uxhvuio="whatsappTemplateRows";$juqhqywoqnh="wpTemplateViewQuery";${"GLOBALS"}["htvqxabpu"]="j";global$adb;$byymkccv="j";$yjvxewf="listQuery";${"GLOBALS"}["weosigupqdqs"]="wpTemplateViewQuery";$stvmuxnii="getWhatsappTemplateQuery";$lrkbjmwuyf="queryGenerator";$dcrjgsdofzbt="listViewModel";$fhviyhi="listQuery";${$juqhqywoqnh}=$adb->pquery("SELECT * FROM vtiger_customview WHERE entitytype = 'CTWhatsAppTemplates' AND viewname = 'All'");$oosrtfwknx="j";${${"GLOBALS"}["rknobbmky"]}=$adb->query_result(${${"GLOBALS"}["weosigupqdqs"]},0,"cvid");${$dcrjgsdofzbt}=Vtiger_ListView_Model::getInstance("CTWhatsAppTemplates",${${"GLOBALS"}["nlyskcjpy"]});${$lrkbjmwuyf}=$listViewModel->get("query_generator");${$yjvxewf}=$queryGenerator->getQuery();if(${${"GLOBALS"}["lslewi"]}!="no"){${${"GLOBALS"}["hqoppbleqnc"]}.=" AND vtiger_ctwhatsapptemplates.wptemplate_quickaccess = '1' ORDER BY vtiger_crmentity.modifiedtime DESC LIMIT 0,5";}${$stvmuxnii}=$adb->pquery(${$fhviyhi},array());${$uxhvuio}=$adb->num_rows(${${"GLOBALS"}["hzthelccjs"]});${${"GLOBALS"}["xoekkzxvr"]}=array();for(${$oosrtfwknx}=0;${$byymkccv}<${${"GLOBALS"}["hfrekey"]};${${"GLOBALS"}["htvqxabpu"]}++){$wmhenbdf="templatesID";$ddcdijcu="getWhatsappTemplateQuery";${"GLOBALS"}["jetyznon"]="j";$sktavcbvovm="getWhatsappTemplateQuery";${$wmhenbdf}=$adb->query_result(${$sktavcbvovm},${${"GLOBALS"}["jetyznon"]},"ctwhatsapptemplatesid");$wspjldk="templatesID";$lwrkzggk="templateTitle";${$lwrkzggk}=$adb->query_result(${$ddcdijcu},${${"GLOBALS"}["phxnjokirbgf"]},"wptemplate_title");$phvavcmpxydo="templateTitle";${${"GLOBALS"}["xoekkzxvr"]}[${$wspjldk}]=${$phvavcmpxydo};}return${${"GLOBALS"}["xoekkzxvr"]};}public function getRelatedToId($mobileno){$dqkqhemzrjdh="whatsappModuleQuery";${"GLOBALS"}["pzthuxnkxvd"]="rows";${"GLOBALS"}["qbjukxdsw"]="i";$cfxlbxgqbvg="relatedTo";global$adb;${$dqkqhemzrjdh}=$adb->pquery("SELECT * FROM vtiger_ctwharsappallow_whatsappmodule WHERE active = 1");${"GLOBALS"}["ckfsayzo"]="smownerid";$dwhtihxiotm="resultData";${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["jjkirve"]});${"GLOBALS"}["xmxskbmrnrv"]="i";${"GLOBALS"}["mvrlqsm"]="displayname";${${"GLOBALS"}["sjkcsassiyo"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["qbjukxdsw"]}<${${"GLOBALS"}["pzthuxnkxvd"]};${${"GLOBALS"}["xmxskbmrnrv"]}++){$lrofkgvle="modulename";${"GLOBALS"}["fyqfythcuvln"]="moduleIsEnable";${"GLOBALS"}["jwizuunnfd"]="moduleIsEnable";${"GLOBALS"}["qrbsgd"]="modulename";${$lrofkgvle}=$adb->query_result(${${"GLOBALS"}["jjkirve"]},${${"GLOBALS"}["varbufd"]},"module");${${"GLOBALS"}["jwizuunnfd"]}=CTWhatsApp_Record_Model::getmoduleIsEnable(${${"GLOBALS"}["bdkjpmy"]});if(${${"GLOBALS"}["qrbsgd"]}=="Leads"){$lwabvaig="leadQuery";${$lwabvaig}=" AND vtiger_leaddetails.converted = 0";}else{${${"GLOBALS"}["vwdqjzhzxua"]}="";}if(${${"GLOBALS"}["fyqfythcuvln"]}==0){$ltdrirnhse="baseTableid";${"GLOBALS"}["wkalylh"]="phoneField";$lhjqojg="query";${"GLOBALS"}["pyfjkdoyrks"]="query";${${"GLOBALS"}["fmysjse"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"GLOBALS"}["bdkjpmy"]});$troyswaua="row";$jvpuehjolwsy="queryResult";$jtymdactnc="moduleModel";${"GLOBALS"}["xpntiffxnkb"]="queryResult";${${"GLOBALS"}["wkalylh"]}=${${"GLOBALS"}["fmysjse"]}["phoneField"];$hnocvmpyt="baseTable";$qkvpvnpby="leadQuery";${$jtymdactnc}=CRMEntity::getInstance(${${"GLOBALS"}["bdkjpmy"]});${"GLOBALS"}["jemnhdgyee"]="query";$qkgcqtwnfvqf="modulename";${${"GLOBALS"}["mqpimjbfrmb"]}=Vtiger_Module::getInstance(${$qkgcqtwnfvqf});$cipziak="mobileno";${$hnocvmpyt}=$moduleInstance->basetable;${$ltdrirnhse}=$moduleInstance->basetableid;${${"GLOBALS"}["irzpecsgxg"]}=0;${${"GLOBALS"}["ovttyyo"]}="SELECT * FROM ".${${"GLOBALS"}["gkqlbqw"]};foreach($moduleModel->tab_name_index as${${"GLOBALS"}["kpvucjbcne"]}=>${${"GLOBALS"}["yxksumx"]}){${"GLOBALS"}["tsojix"]="mainTable";${${"GLOBALS"}["tsojix"]}=${${"GLOBALS"}["irzpecsgxg"]}+1;if(${${"GLOBALS"}["irzpecsgxg"]}!=2){$vmmrxmpj="key";if(${${"GLOBALS"}["kpvucjbcne"]}!="vtiger_seproductsrel"&&${$vmmrxmpj}!="vtiger_producttaxrel"){$pbtbgkdgd="query";$gudukqi="key";$rcjppor="baseTable";${"GLOBALS"}["nilvqfx"]="key";${$pbtbgkdgd}.=" INNER JOIN ".${${"GLOBALS"}["nilvqfx"]}." ON ".${$gudukqi}.".".${${"GLOBALS"}["yxksumx"]}." = ".${$rcjppor}.".".${${"GLOBALS"}["fxodtoudrl"]};}}}${$lhjqojg}.=" WHERE REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(".${${"GLOBALS"}["sntiipyhjd"]}.", ')', ''), '(', ''),'-',''),' ',''),'.','') LIKE '%".${$cipziak}."' AND vtiger_crmentity.deleted=0";${${"GLOBALS"}["pyfjkdoyrks"]}.=${$qkvpvnpby};${$jvpuehjolwsy}=$adb->pquery(${${"GLOBALS"}["jemnhdgyee"]});${${"GLOBALS"}["eidzhji"]}=$adb->num_rows(${${"GLOBALS"}["xpntiffxnkb"]});if(${$troyswaua}){$fftqqvbnxud="queryResult";${${"GLOBALS"}["jswirsdiqqkb"]}=$adb->query_result(${$fftqqvbnxud},0,${${"GLOBALS"}["fxodtoudrl"]});${${"GLOBALS"}["mkfihsyxqro"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},0,"smownerid");${${"GLOBALS"}["ckmlwaejvvwg"]}=$adb->query_result(${${"GLOBALS"}["yxfngospdgjo"]},0,"label");}}}${$dwhtihxiotm}=array("relatedTo"=>${$cfxlbxgqbvg},"smownerid"=>${${"GLOBALS"}["ckfsayzo"]},"displayname"=>${${"GLOBALS"}["mvrlqsm"]});return${${"GLOBALS"}["bystrveg"]};}public function getWhatsAppStoragePath(){$fjmspvxqvf="month";${"GLOBALS"}["dgftikup"]="day";$hseytuo="day";global$root_directory;$stxulb="month";$bbfyauzyjc="whatsappfolderpath";${"GLOBALS"}["dosejdaveuk"]="week";$fmptbvk="root_directory";$vnptusilpb="week";${${"GLOBALS"}["ebihdwb"]}=date("Y");$jtxsntuhtl="week";$lcsarhpk="day";${$fjmspvxqvf}=date("F");${$lcsarhpk}=date("j");${${"GLOBALS"}["ornyswzi"]}="";${"GLOBALS"}["poaibmxligx"]="day";${"GLOBALS"}["jypinnhmeev"]="target_file";${"GLOBALS"}["jcpncpzyo"]="whatsappfolderpath";${"GLOBALS"}["tyopldahm"]="week";${${"GLOBALS"}["tjergt"]}="modules/CTWhatsApp/CTWhatsAppStorage/";if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["jcpncpzyo"]})){mkdir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["tjergt"]});chmod(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["tjergt"]},0777);}${"GLOBALS"}["qalzsvc"]="week";$oqqlynq="year";if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["tjergt"]}.${${"GLOBALS"}["ebihdwb"]})){${"GLOBALS"}["uueitt"]="whatsappfolderpath";${"GLOBALS"}["kwsmbeyl"]="year";${"GLOBALS"}["rblcihlbm"]="year";${"GLOBALS"}["hvokidmroctv"]="root_directory";mkdir(${${"GLOBALS"}["hvokidmroctv"]}.${${"GLOBALS"}["uueitt"]}.${${"GLOBALS"}["kwsmbeyl"]});$omlovwcd="whatsappfolderpath";chmod(${${"GLOBALS"}["sconbmpjh"]}.${$omlovwcd}.${${"GLOBALS"}["rblcihlbm"]},0777);}if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["tjergt"]}.${$oqqlynq}."/".${${"GLOBALS"}["ttsfxhctpwy"]})){$evdfuivqik="whatsappfolderpath";$xfrbqgwh="root_directory";mkdir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["tjergt"]}."$year/$month/");chmod(${$xfrbqgwh}.${$evdfuivqik}."$year/$month/",0777);}$jjiffjuooo="day";${"GLOBALS"}["ifgqonw"]="day";if(${${"GLOBALS"}["poaibmxligx"]}>0&&${${"GLOBALS"}["dgftikup"]}<=7)${$vnptusilpb}="week1";elseif(${${"GLOBALS"}["ulrcipks"]}>7&&${$hseytuo}<=14)${$jtxsntuhtl}="week2";elseif(${$jjiffjuooo}>14&&${${"GLOBALS"}["ulrcipks"]}<=21)${${"GLOBALS"}["tyopldahm"]}="week3";elseif(${${"GLOBALS"}["ulrcipks"]}>21&&${${"GLOBALS"}["ifgqonw"]}<=28)${${"GLOBALS"}["ornyswzi"]}="week4";else${${"GLOBALS"}["qalzsvc"]}="week5";if(!is_dir(${${"GLOBALS"}["sconbmpjh"]}.${$bbfyauzyjc}.${${"GLOBALS"}["ebihdwb"]}."/".${$stxulb}."/".${${"GLOBALS"}["dosejdaveuk"]})){$rqwhujlivxq="whatsappfolderpath";mkdir(${${"GLOBALS"}["sconbmpjh"]}.${${"GLOBALS"}["tjergt"]}."$year/$month/$week/");chmod(${${"GLOBALS"}["sconbmpjh"]}.${$rqwhujlivxq}."$year/$month/$week/",0777);}${${"GLOBALS"}["wmxipcvr"]}=${$fmptbvk}.${${"GLOBALS"}["tjergt"]}."$year/$month/$week/";return${${"GLOBALS"}["jypinnhmeev"]};}public function getWhatsAppTemplatesData($recordid){$lpcpnvh="whatsAppTemplateData";$akqqnwkh="isTemplates";${"GLOBALS"}["xcxzqbx"]="getWhatsappTemplateQuery";$tdpptqhew="getWhatsappTemplateQuery";$pqgcwrn="whatsAppTemplateData";${"GLOBALS"}["oymacjtuoqd"]="recordid";global$adb;${${"GLOBALS"}["xcxzqbx"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapptemplates 
        INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid 
        INNER JOIN vtiger_seattachmentsrel ON vtiger_seattachmentsrel.crmid = vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid 
        INNER JOIN vtiger_attachments ON vtiger_attachments.attachmentsid = vtiger_seattachmentsrel.attachmentsid
        WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid = ?",array(${${"GLOBALS"}["oymacjtuoqd"]}));${$akqqnwkh}=$adb->num_rows(${$tdpptqhew});if(${${"GLOBALS"}["limjwqoec"]}){$hxvckeqb="getWhatsappTemplateQuery";${${"GLOBALS"}["rpgnnph"]}=$adb->query_result(${$hxvckeqb},0,"ctwhatsapptemplatesid");${"GLOBALS"}["vgxgrebmmss"]="getWhatsappTemplateQuery";${"GLOBALS"}["pvhugxyhdyy"]="templateMsg";${${"GLOBALS"}["tgwtdhpwqw"]}=$adb->query_result(${${"GLOBALS"}["hzthelccjs"]},0,"wptemplate_text");${"GLOBALS"}["oqkgichwdf"]="wptemplateImage";${${"GLOBALS"}["pvhugxyhdyy"]}=$adb->query_result(${${"GLOBALS"}["vgxgrebmmss"]},0,"wptemplate_msg");${${"GLOBALS"}["oqkgichwdf"]}=$adb->query_result(${${"GLOBALS"}["hzthelccjs"]},0,"name");}${$pqgcwrn}=array("templatesID"=>${${"GLOBALS"}["rpgnnph"]},"message"=>${${"GLOBALS"}["tgwtdhpwqw"]},"templateMsg"=>${${"GLOBALS"}["ufukouvmz"]},"wptemplateImage"=>${${"GLOBALS"}["omzgfyljuj"]});return${$lpcpnvh};}public function getAttachmentData($templatesID){$ernofju="attachmentData";${"GLOBALS"}["ffpzqwuget"]="imageId";$smfmnnlutnsu="imagePath";$giruwcezfmy="getAttachmentQuery";${"GLOBALS"}["ojwvlgd"]="imageId";global$adb;${"GLOBALS"}["wbwunufel"]="attachmentData";${$giruwcezfmy}=$adb->pquery("SELECT vtiger_attachments.*, vtiger_crmentity.setype FROM vtiger_attachments
        INNER JOIN vtiger_seattachmentsrel ON vtiger_seattachmentsrel.attachmentsid = vtiger_attachments.attachmentsid
        INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_attachments.attachmentsid
        WHERE vtiger_seattachmentsrel.crmid = ? AND vtiger_crmentity.deleted = 0",array(${${"GLOBALS"}["rpgnnph"]}));${"GLOBALS"}["ojxvypvrbn"]="imagePath";${${"GLOBALS"}["ojwvlgd"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"attachmentsid");${${"GLOBALS"}["ojxvypvrbn"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"path");${"GLOBALS"}["rlpyndvfhras"]="imageName";${${"GLOBALS"}["uouwueon"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"name");${$ernofju}=array("imageId"=>${${"GLOBALS"}["ffpzqwuget"]},"imagePath"=>${$smfmnnlutnsu},"imageName"=>${${"GLOBALS"}["rlpyndvfhras"]});return${${"GLOBALS"}["wbwunufel"]};}public function getWhatsAppRecordQuery($startdate,$enddate){${"GLOBALS"}["gyxripuwsnr"]="whatsappQuery";${${"GLOBALS"}["gyxripuwsnr"]}=CTWhatsApp_Record_Model::unreadQuery();${${"GLOBALS"}["ovttyyo"]}=${${"GLOBALS"}["jrhgdjsfyh"]}." AND vtiger_ctwhatsapp.whatsapp_contactid = ? AND DATE(vtiger_crmentity.createdtime) BETWEEN '$startdate' AND '$enddate'";return${${"GLOBALS"}["ovttyyo"]};}public function getPhoneFieldLabel($tabid,$phoneField){${"GLOBALS"}["pdhvpchtd"]="tabid";${"GLOBALS"}["spbfwelqr"]="phonefield";$ihaeraf="phonefield";global$adb;${${"GLOBALS"}["wpopwwppu"]}=$adb->pquery("SELECT * FROM vtiger_field WHERE tabid=? AND fieldname=?",array(${${"GLOBALS"}["pdhvpchtd"]},${${"GLOBALS"}["sntiipyhjd"]}));${$ihaeraf}=$adb->query_result(${${"GLOBALS"}["wpopwwppu"]},0,"fieldlabel");return${${"GLOBALS"}["spbfwelqr"]};}public function userConfigurationData($currenUserID){${"GLOBALS"}["gmkhtvhgayj"]="currenUserID";$tzednwzz="numRowsUsers";$dbxjeixfk="queryUserExist";global$adb;${${"GLOBALS"}["rbcfymmw"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield3 LIKE '%".${${"GLOBALS"}["gmkhtvhgayj"]}."%'",array());${${"GLOBALS"}["jlnzlgscx"]}=$adb->num_rows(${$dbxjeixfk});if(${${"GLOBALS"}["jlnzlgscx"]}==0){${"GLOBALS"}["odopgqkdcri"]="currenUserID";${"GLOBALS"}["xxcikpgoqnk"]="queryGetGroupId";${${"GLOBALS"}["faobnrhqdgot"]}=$adb->pquery("SELECT * FROM vtiger_group2role INNER JOIN vtiger_user2role ON vtiger_user2role.roleid = vtiger_group2role.roleid WHERE vtiger_user2role.userid = ?",array(${${"GLOBALS"}["odopgqkdcri"]}));${${"GLOBALS"}["hxezvqnwm"]}=$adb->query_result(${${"GLOBALS"}["xxcikpgoqnk"]},0,"groupid");if(${${"GLOBALS"}["hxezvqnwm"]}!=""){${"GLOBALS"}["fsofmhdrcj"]="queryGroupExist";${${"GLOBALS"}["fsofmhdrcj"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield3 LIKE '%".${${"GLOBALS"}["hxezvqnwm"]}."%'",array());}$qhmktt="queryGroupExist";${${"GLOBALS"}["jlnzlgscx"]}=$adb->num_rows(${$qhmktt});}return${$tzednwzz};}public function updateWhatsAppSatatus($currenUserID){global$adb;${"GLOBALS"}["jnvsonqdk"]="udpateStatusQuery";$bualrmmtbx="udpateStatusQuery";${${"GLOBALS"}["jnvsonqdk"]}=$adb->pquery("UPDATE vtiger_ctwhatsappconfiguration SET whatsappstatus = 0 WHERE customfield5 = ?",array(${${"GLOBALS"}["egwuxnjjpv"]}));${$bualrmmtbx}=$adb->pquery("UPDATE vtiger_ctwhatsappusers SET whatsappstatus = 0 WHERE customfield5 = ?",array(${${"GLOBALS"}["egwuxnjjpv"]}));}public function createNewUser($currenUserID,$adminApiUrl,$contryCode,$iconActive){$phmwjdxx="currenUserID";${"GLOBALS"}["olnkjgmgej"]="query";global$adb;${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield5 = ?",array(${$phmwjdxx}));${${"GLOBALS"}["oomwgsemtdr"]}=$adb->num_rows(${${"GLOBALS"}["olnkjgmgej"]});if(${${"GLOBALS"}["oomwgsemtdr"]}==0){${"GLOBALS"}["xeuezdpw"]="insertQuery";${${"GLOBALS"}["xeuezdpw"]}=$adb->pquery("INSERT INTO vtiger_ctwhatsappconfiguration SET api_url='$adminApiUrl', customfield5='$currenUserID', customfield1='$contryCode', iconactive='$iconActive'",array());}}public function getLastMessageDataTime($massMessageid){${"GLOBALS"}["lcwwegvyp"]="query";global$adb;${"GLOBALS"}["fkszpblvkdx"]="lastMessageDataTime";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappschedulesendmsg WHERE schedulesendmsgid = $massMessageid AND vtiger_ctwhatsappschedulesendmsg.status = 1 AND send_msg = 1 AND datesendmessage != '' ORDER BY datesendmessage DESC LIMIT 0,1");${${"GLOBALS"}["fkszpblvkdx"]}=$adb->query_result(${${"GLOBALS"}["lcwwegvyp"]},0,"datesendmessage");return${${"GLOBALS"}["trfqrgyisz"]};}public function getSendQueueMessages($request){$hncyskqru="progress";$gobepgw="progress";$gtvikwaur="rows";${"GLOBALS"}["gstlmqyikkv"]="date_var";${"GLOBALS"}["wodxbd"]="batch";global$adb;${$hncyskqru}=$request->get("progress");${"GLOBALS"}["lagmghoo"]="date_var";${"GLOBALS"}["onhwcbnux"]="currenDateTime";${"GLOBALS"}["hrrpwrd"]="timeinterval";if(${$gobepgw}=="Completed"){${${"GLOBALS"}["fvkhhlpbde"]}=" AND status = 1";}else if(${${"GLOBALS"}["lqattc"]}=="InProgress"){${${"GLOBALS"}["fvkhhlpbde"]}=" AND status = 0";}else if(${${"GLOBALS"}["lqattc"]}=="Hold"){${${"GLOBALS"}["fvkhhlpbde"]}=" AND status = 2";}else if(${${"GLOBALS"}["lqattc"]}=="All"){$ttheaq="progressMessages";${$ttheaq}=" AND status IN (0,1,2)";}$furslj="query";$lnmhfcblwy="rows";${${"GLOBALS"}["lagmghoo"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["onhwcbnux"]}=$adb->formatDate(${${"GLOBALS"}["gstlmqyikkv"]},true);${"GLOBALS"}["dohwfchpy"]="selectPeriodData";${${"GLOBALS"}["qcrbqnyhjgn"]}=CTWhatsApp_DashBoard_View::getMassMessageDetail();${"GLOBALS"}["kmpfnbqhjtru"]="periodData";$uetkgenwvp="request";${${"GLOBALS"}["wodxbd"]}=${${"GLOBALS"}["qcrbqnyhjgn"]}["batch"];${${"GLOBALS"}["hrrpwrd"]}=${${"GLOBALS"}["qcrbqnyhjgn"]}["timeinterval"];${${"GLOBALS"}["kmpfnbqhjtru"]}=CTWhatsApp_DashBoard_View::getPeriodDataQuery(${$uetkgenwvp},"sendmessagedate");$xbyvuyx="sendqueueMessages";${${"GLOBALS"}["dohwfchpy"]}=$request->get("periodData");if(${${"GLOBALS"}["jwkllweikydz"]}=="alltime"){${"GLOBALS"}["lmxjxzq"]="query";${${"GLOBALS"}["lmxjxzq"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappmassmessage ORDER BY massmessageid DESC");}else{$ecpcfy="query";${$ecpcfy}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappmassmessage WHERE ".${${"GLOBALS"}["qwpjyjlj"]}." ORDER BY massmessageid DESC LIMIT 0,5");}${$lnmhfcblwy}=$adb->num_rows(${$furslj});${${"GLOBALS"}["hweouxpu"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["varbufd"]}<${$gtvikwaur};${${"GLOBALS"}["varbufd"]}++){${"GLOBALS"}["nmslsubod"]="sendMessageStatus";${"GLOBALS"}["zabdqmtgwq"]="totalmsg";${"GLOBALS"}["gpzwdmae"]="connctWPNumber";${"GLOBALS"}["ddeyewouc"]="readRows";$gefftt="readRows";$nswzmpa="massmsgdatetime";${"GLOBALS"}["vyykrj"]="query";${"GLOBALS"}["mktpsxadpk"]="queryScheduleSendmsg";$lgrdkeu="i";${${"GLOBALS"}["gcuwjcducg"]}="";${"GLOBALS"}["hducqgfqay"]="queryScheduleSendmsg";${${"GLOBALS"}["iyomnphu"]}="";$ahxmlljtzec="getLastMessageDataTime";$mrvjomhktv="totalQueue";$pmqsukljbdx="whatsappMessage";${"GLOBALS"}["ytufhvfoej"]="queryScheduleSendmsg";$yxcqxfglp="rowScheduleSendmsg";$phdquczibs="sendMessageStatus";$icyzulnxxgp="getLastMessageDataTime";$nayitlcjafjw="connectWPNumberQuery";${"GLOBALS"}["xfwnkhjsp"]="templatesid";$zbqcyim="query";$ghirzbwjde="connectuserid";${${"GLOBALS"}["ddeyewouc"]}=0;${"GLOBALS"}["lowhxiwjbso"]="query";$rtrwlowpnjmx="querytotalsendmsg";${"GLOBALS"}["jqglky"]="i";$jdrfqv="connectWPNumberQuery";${${"GLOBALS"}["bmmpudlm"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["varbufd"]},"massmessageid");$figdhvemxxj="query";$aqfuqrnndp="i";${$pmqsukljbdx}=$adb->query_result(${${"GLOBALS"}["vyykrj"]},${${"GLOBALS"}["varbufd"]},"whatsappmessage");${$nswzmpa}=$adb->query_result(${$zbqcyim},${$aqfuqrnndp},"massmsgdatetime");${${"GLOBALS"}["xfwnkhjsp"]}=$adb->query_result(${$figdhvemxxj},${${"GLOBALS"}["varbufd"]},"templatesid");${"GLOBALS"}["ichlphnsv"]="queryScheduleSendmsg";${$ghirzbwjde}=$adb->query_result(${${"GLOBALS"}["lowhxiwjbso"]},${${"GLOBALS"}["jqglky"]},"connectuserid");${$nayitlcjafjw}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE customfield5 = ?",array(${${"GLOBALS"}["jxskqagbg"]}));${"GLOBALS"}["ftwisqehgi"]="whatsappRecordid";${${"GLOBALS"}["wdchoqmcjdht"]}=$adb->num_rows(${$jdrfqv});if(${${"GLOBALS"}["gpzwdmae"]}==1){${"GLOBALS"}["yinevtorylvu"]="whatsappno";${${"GLOBALS"}["yinevtorylvu"]}=$adb->query_result(${${"GLOBALS"}["vbzicrgyites"]},0,"whatsappno");}else{${"GLOBALS"}["ewujbmhp"]="connectuserid";${${"GLOBALS"}["vbzicrgyites"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield5 = ?",array(${${"GLOBALS"}["ewujbmhp"]}));${${"GLOBALS"}["wdchoqmcjdht"]}=$adb->num_rows(${${"GLOBALS"}["vbzicrgyites"]});if(${${"GLOBALS"}["wdchoqmcjdht"]}==1){$gepgits="connectWPNumberQuery";${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${$gepgits},0,"whatsappno");}}${${"GLOBALS"}["czbgrtrh"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$lgrdkeu},"sendmessagedate"));${$icyzulnxxgp}=CTWhatsApp_Record_Model::getLastMessageDataTime(${${"GLOBALS"}["bmmpudlm"]});$scxldxc="totalQueue";if(${$ahxmlljtzec}!=""){$cbmnrnp="getLastMessageDataTime";${${"GLOBALS"}["hknarfr"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat(${$cbmnrnp});}else{${${"GLOBALS"}["hknarfr"]}="-";}${${"GLOBALS"}["hducqgfqay"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappschedulesendmsg WHERE schedulesendmsgid = ? $progressMessages",array(${${"GLOBALS"}["bmmpudlm"]}));${$phdquczibs}=$adb->query_result(${${"GLOBALS"}["ytufhvfoej"]},0,"status");$xbzdncqsz="getWhatsappTemplateQuery";${"GLOBALS"}["phejvwm"]="totalSend";${${"GLOBALS"}["vpltqjcaqk"]}=$adb->query_result(${${"GLOBALS"}["mktpsxadpk"]},0,"recordid");${$yxcqxfglp}=$adb->num_rows(${${"GLOBALS"}["qjiefckbp"]});${${"GLOBALS"}["zdyocw"]}=$adb->query_result(${${"GLOBALS"}["ichlphnsv"]},0,"schedulesendmsgid");${"GLOBALS"}["ikthbuyb"]="totalQueue";${${"GLOBALS"}["ppgnjpcotd"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp INNER JOIN 
              vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
              WHERE vtiger_crmentity.deleted = 0 
              AND vtiger_ctwhatsapp.message_type = 'Mass Message' 
              AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Read'
              AND vtiger_ctwhatsapp.msgid !='' 
              AND vtiger_ctwhatsapp.whatsapp_withoccode = ?",array(${${"GLOBALS"}["zdyocw"]}));${$gefftt}=$adb->num_rows(${${"GLOBALS"}["ppgnjpcotd"]});${${"GLOBALS"}["ipwykrvdacl"]}=$adb->pquery("SELECT * FROM vtiger_crmentity WHERE crmid = ?",array(${${"GLOBALS"}["ftwisqehgi"]}));$fmupfqxzmn="isTemplates";if($adb->query_result(${${"GLOBALS"}["ipwykrvdacl"]},0,"deleted")==0){$xlinqe="setype";$xuuujtqjwpw="whatsappRecordid";${$xlinqe}=VtigerCRMObject::getSEType(${$xuuujtqjwpw});}${"GLOBALS"}["rfxsjnr"]="querytotalmsg";${${"GLOBALS"}["vqqbljgf"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappschedulesendmsg WHERE schedulesendmsgid = ?",array(${${"GLOBALS"}["zdyocw"]}));${${"GLOBALS"}["hwmwccn"]}=$adb->num_rows(${${"GLOBALS"}["rfxsjnr"]});${${"GLOBALS"}["mmctog"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappschedulesendmsg WHERE schedulesendmsgid = ? AND send_msg = ?",array(${${"GLOBALS"}["zdyocw"]},1));${${"GLOBALS"}["phejvwm"]}=$adb->num_rows(${$rtrwlowpnjmx});${${"GLOBALS"}["ikthbuyb"]}=${${"GLOBALS"}["zabdqmtgwq"]}-${${"GLOBALS"}["eiydgls"]};if(${$scxldxc}!=0){${"GLOBALS"}["nhrqqlcpkk"]="total";$gpzdncarrf="rowScheduleSendmsg";$kjpjjpjhu="batch";${${"GLOBALS"}["nhrqqlcpkk"]}=${$gpzdncarrf}/${$kjpjjpjhu};if(${${"GLOBALS"}["skniqwvw"]}){$bmndlxfjbm="currentdatetime";${$bmndlxfjbm}=${${"GLOBALS"}["skniqwvw"]};}else{${"GLOBALS"}["qtkfoyenjm"]="currentdatetime";${${"GLOBALS"}["qtkfoyenjm"]}=date("Y-m-d H:i:s");}if(${${"GLOBALS"}["whpwghdqpal"]}<=1){${${"GLOBALS"}["jmsizyzyy"]}=strtotime(${${"GLOBALS"}["hctuiybnxw"]}." + ".${${"GLOBALS"}["chqzveyq"]}." minute");}else{$izwved="expexteddatetime";${"GLOBALS"}["stwjbivhmfe"]="totalminutes";${"GLOBALS"}["bkpufr"]="totalminutes";${"GLOBALS"}["yipykm"]="timeinterval";${${"GLOBALS"}["stwjbivhmfe"]}=${${"GLOBALS"}["whpwghdqpal"]}*${${"GLOBALS"}["yipykm"]};${$izwved}=strtotime(${${"GLOBALS"}["hctuiybnxw"]}." + ".round(${${"GLOBALS"}["bkpufr"]})." minute");}}if(${${"GLOBALS"}["rcnugvven"]}==2){$xtdxkarbbw="status";$vwcxraoitxjb="expcompdate";$dkvjpjr="expexteddatetime";${$xtdxkarbbw}="Hold";${$vwcxraoitxjb}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat(date("Y-m-d H:i:s",${$dkvjpjr}));}else if(${${"GLOBALS"}["nmslsubod"]}==1){if(${${"GLOBALS"}["jxdmmcwloynm"]}==0){${"GLOBALS"}["efzkisp"]="status";${${"GLOBALS"}["efzkisp"]}="Completed";${${"GLOBALS"}["iyomnphu"]}="-";}else{${${"GLOBALS"}["gcuwjcducg"]}="InProgress";${${"GLOBALS"}["iyomnphu"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat(date("Y-m-d H:i:s",${${"GLOBALS"}["jmsizyzyy"]}));}}else{$mpvnukw="expcompdate";${${"GLOBALS"}["gcuwjcducg"]}="InProgress";$ltlzdomiy="expexteddatetime";${$mpvnukw}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat(date("Y-m-d H:i:s",${$ltlzdomiy}));}$mngiqgcfp="rowScheduleSendmsg";${${"GLOBALS"}["hzthelccjs"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapptemplates INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapptemplates.ctwhatsapptemplatesid = ?",array(${${"GLOBALS"}["fukklnhu"]}));${$fmupfqxzmn}=$adb->num_rows(${$xbzdncqsz});if(${${"GLOBALS"}["limjwqoec"]}){${"GLOBALS"}["gxaxiijavf"]="getAttachmentQuery";${"GLOBALS"}["mlhdle"]="type";${"GLOBALS"}["qhghczu"]="whatsappMessage";${"GLOBALS"}["dcermxlajp"]="attachmentPath";${"GLOBALS"}["nfkngyitxc"]="imageId";${"GLOBALS"}["tmcntjt"]="templatesId";${"GLOBALS"}["cprchmhqirw"]="whatsappMessage";$wtmlelwp="getWhatsappTemplateQuery";${"GLOBALS"}["uofqyrc"]="getAttachmentQuery";$amtyqmqox="imagePath";${${"GLOBALS"}["cprchmhqirw"]}="";${${"GLOBALS"}["qhghczu"]}=$adb->query_result(${$wtmlelwp},0,"wptemplate_text");${${"GLOBALS"}["tmcntjt"]}=$adb->query_result(${${"GLOBALS"}["hzthelccjs"]},0,"ctwhatsapptemplatesid");$pcmtdo="imageName";${${"GLOBALS"}["gxaxiijavf"]}=$adb->pquery("SELECT * FROM vtiger_attachments
                    INNER JOIN vtiger_seattachmentsrel ON vtiger_seattachmentsrel.attachmentsid = vtiger_attachments.attachmentsid
                    INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_attachments.attachmentsid
                    WHERE vtiger_seattachmentsrel.crmid = ? AND vtiger_crmentity.deleted = 0",array(${${"GLOBALS"}["hmxyqtrmyb"]}));${"GLOBALS"}["yusmqud"]="imageId";${${"GLOBALS"}["nfkngyitxc"]}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"attachmentsid");$stexdkntc="getAttachmentQuery";$foglouqbh="imagePath";${$amtyqmqox}=$adb->query_result(${${"GLOBALS"}["ofzugqsmow"]},0,"path");${$pcmtdo}=$adb->query_result(${$stexdkntc},0,"name");${${"GLOBALS"}["mlhdle"]}=explode("/",$adb->query_result(${${"GLOBALS"}["uofqyrc"]},0,"type"));${${"GLOBALS"}["dcermxlajp"]}=${$foglouqbh}.${${"GLOBALS"}["yusmqud"]}."_".${${"GLOBALS"}["uouwueon"]};if(${${"GLOBALS"}["rejggj"]}[0]=="image"){${"GLOBALS"}["rqoxxmv"]="attachmentPath";${${"GLOBALS"}["rsffbraf"]}.="<br><img src=\"".${${"GLOBALS"}["rqoxxmv"]}."\" style="width: 50px;\">";}else{$aupbutbj="whatsappMessage";$kjwfkxwqrfjn="imageName";${$aupbutbj}.="<br><a href="".${${"GLOBALS"}["kieybekgnhfs"]}."\">".${$kjwfkxwqrfjn}."</a>";}}${${"GLOBALS"}["dzviwhp"]}=${${"GLOBALS"}["eiydgls"]}+${$mrvjomhktv};if(${$mngiqgcfp}!=""){if(${${"GLOBALS"}["gcuwjcducg"]}==${${"GLOBALS"}["lqattc"]}){${"GLOBALS"}["izqwdwvf"]="totalSend";${"GLOBALS"}["qwpduqzi"]="whatsappMessage";$kmmagprqvr="sendMessageDate";$idinuci="sendMessageStatus";$xhqjirirpdhf="readRows";${"GLOBALS"}["vqfqzgf"]="setype";${"GLOBALS"}["qqiyrsr"]="totalQueue";$xxrvmvr="sendqueueMessages";${"GLOBALS"}["qthzmheknh"]="lastMessageDate";${$xxrvmvr}[]=array("massMessageid"=>${${"GLOBALS"}["bmmpudlm"]},"date"=>${$kmmagprqvr},"whatsappmessage"=>${${"GLOBALS"}["qwpduqzi"]},"totalSend"=>${${"GLOBALS"}["izqwdwvf"]},"totalQueue"=>${${"GLOBALS"}["qqiyrsr"]},"totalMessages"=>${${"GLOBALS"}["dzviwhp"]},"lastMessageDate"=>${${"GLOBALS"}["qthzmheknh"]},"readRows"=>${$xhqjirirpdhf},"status"=>${${"GLOBALS"}["gcuwjcducg"]},"expcompdate"=>${${"GLOBALS"}["iyomnphu"]},"sendMessageStatus"=>${$idinuci},"setype"=>vtranslate(${${"GLOBALS"}["vqfqzgf"]},${${"GLOBALS"}["kpaifztojnc"]}),"whatsappno"=>${${"GLOBALS"}["nfcxjul"]});}else{${"GLOBALS"}["yyaaufyi"]="setype";$bwzokfi="sendMessageDate";${"GLOBALS"}["vcpkcx"]="readRows";$zokbkfdzljrp="expcompdate";${"GLOBALS"}["awhwplwxynr"]="sendMessageStatus";${"GLOBALS"}["keykmfaeztz"]="totalMessages";$qdtchhyk="setype";$wvktimxlupp="whatsappMessage";${"GLOBALS"}["onljdbhjr"]="totalSend";$aadhlrjk="totalQueue";${"GLOBALS"}["smdnbusdhse"]="lastMessageDate";${${"GLOBALS"}["hweouxpu"]}[]=array("massMessageid"=>${${"GLOBALS"}["bmmpudlm"]},"date"=>${$bwzokfi},"whatsappmessage"=>${$wvktimxlupp},"totalSend"=>${${"GLOBALS"}["onljdbhjr"]},"totalQueue"=>${$aadhlrjk},"totalMessages"=>${${"GLOBALS"}["keykmfaeztz"]},"lastMessageDate"=>${${"GLOBALS"}["smdnbusdhse"]},"readRows"=>${${"GLOBALS"}["vcpkcx"]},"status"=>${${"GLOBALS"}["gcuwjcducg"]},"expcompdate"=>${$zokbkfdzljrp},"sendMessageStatus"=>${${"GLOBALS"}["awhwplwxynr"]},"setype"=>vtranslate(${$qdtchhyk},${${"GLOBALS"}["yyaaufyi"]}),"whatsappno"=>${${"GLOBALS"}["nfcxjul"]});}}}return${$xbyvuyx};}public function getWhatsAppReportData($period,$format,$periodData,$reportChart,$scanUsers,$startdate,$endtdate,$whatsAppBot){$lruxzhmcrn="arrayData";${"GLOBALS"}["akwpjh"]="totalMessageURL";$leqcnn="totalMessages";global$adb,$current_user;${${"GLOBALS"}["xkfegcbvayw"]}=$current_user->id;${"GLOBALS"}["yilrhre"]="currentUserID";${${"GLOBALS"}["pragmjfeo"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLOBALS"}["yilrhre"]});${"GLOBALS"}["zukhraqrmb"]="totalReadMassMessages";$ywjvwca="scanUsers";${"GLOBALS"}["idvgzf"]="received";${"GLOBALS"}["jcttqtixhf"]="botMessage";$rdsntnu="dateFilter";if(${${"GLOBALS"}["vtbojyqy"]}=="All"||${${"GLOBALS"}["vtbojyqy"]}==""){${"GLOBALS"}["hwgbbyt"]="value";${"GLOBALS"}["sokdxzwpktr"]="inNumbersBroadcastQuery";$fcqtzcu="allnumber";${"GLOBALS"}["xdhncokm"]="allnumber";$foigthxymviw="inNumber";${${"GLOBALS"}["ubpwzxcbaxr"]}=CTWhatsApp_Record_Model::getConnectedWhatsAppNumber();${"GLOBALS"}["kwlxbqu"]="allnumber";${${"GLOBALS"}["fkxxvl"]}="";foreach(${${"GLOBALS"}["ubpwzxcbaxr"]} as${${"GLOBALS"}["kpvucjbcne"]}=>${${"GLOBALS"}["hwgbbyt"]}){${${"GLOBALS"}["fkxxvl"]}.="'".${${"GLOBALS"}["yxksumx"]}["whatsappno"]."',";}${$fcqtzcu}=rtrim(${$foigthxymviw},",");${${"GLOBALS"}["krujfdpfp"]}=" AND cw.your_number IN (".${${"GLOBALS"}["kwlxbqu"]}.") ";${"GLOBALS"}["sbegsgnnujwb"]="inNumbersChatbotQuery";${${"GLOBALS"}["sokdxzwpktr"]}=" AND vtiger_ctwhatsapp.your_number IN (".${${"GLOBALS"}["phaoobc"]}.") ";${${"GLOBALS"}["sbegsgnnujwb"]}=" AND vtiger_ctwhatsapp.your_number IN (".${${"GLOBALS"}["xdhncokm"]}.") ";}else{$nxkagein="scanUsers";${${"GLOBALS"}["krujfdpfp"]}=" AND cw.your_number IN (".${${"GLOBALS"}["vtbojyqy"]}.") ";${${"GLOBALS"}["xfrbhiiailu"]}=" AND vtiger_ctwhatsapp.your_number IN (".${$nxkagein}.") ";${${"GLOBALS"}["rmchfhted"]}=" AND vtiger_ctwhatsapp.your_number IN (".${${"GLOBALS"}["vtbojyqy"]}.") ";}$gwbuxxgjtef="yAxisData2";${"GLOBALS"}["dudxkqkdpyh"]="date";$cfylso="yAxisData1";${$lruxzhmcrn}=array();${$cfylso}=array();${$gwbuxxgjtef}=array();${${"GLOBALS"}["qylxuhvex"]}=array();${"GLOBALS"}["kpwtmuu"]="scanUsers";$jyukwvmrgq="finishBotChat";${"GLOBALS"}["kufvecfi"]="totalMassMessages";$ktlvtkxrxqf="key";${${"GLOBALS"}["jycdivy"]}=0;$efpkdqq="sendBotMessage";${${"GLOBALS"}["idvgzf"]}=0;${$leqcnn}=0;${${"GLOBALS"}["pgsicxdfe"]}=0;$dwgpinkv="totalSentMessage";${${"GLOBALS"}["dmwkduwp"]}=0;${${"GLOBALS"}["zixuybv"]}=0;${${"GLOBALS"}["bttkguziejw"]}=0;${"GLOBALS"}["ngitlgmjg"]="yAxisData1";$sbrbzet="result";${${"GLOBALS"}["trutkehif"]}=0;${$efpkdqq}=0;${${"GLOBALS"}["wdnmfdlvktj"]}=0;${${"GLOBALS"}["jcttqtixhf"]}=0;${"GLOBALS"}["mhtpvxrwn"]="totalFinishedChat";${${"GLOBALS"}["knfpde"]}=0;${$jyukwvmrgq}=0;foreach(${${"GLOBALS"}["pygeyoehdeq"]} as${$ktlvtkxrxqf}=>${${"GLOBALS"}["dudxkqkdpyh"]}){${"GLOBALS"}["sxtssv"]="conditionDate";${"GLOBALS"}["ieccfpgr"]="reportChart";$jvvmryvqc="reportChart";${"GLOBALS"}["xfqdzrfgud"]="format";$vyquwhhjhk="rows";${"GLOBALS"}["owqasxtjaeu"]="sent";${${"GLOBALS"}["sxtssv"]}=$date->format(${${"GLOBALS"}["xfqdzrfgud"]});${"GLOBALS"}["eyatmhvzg"]="read";$ajwsprhwzre="totalMassMessages";$uwyysucih="i";${${"GLOBALS"}["yakaudfvd"]}="";${${"GLOBALS"}["jmneokodjyc"]}="";${"GLOBALS"}["njiexr"]="totalMessages";$fxmkeyheqy="botMessage";$dlyfmysxnfi="i";$fcundn="botMessage";if(${${"GLOBALS"}["qwpjyjlj"]}=="alltime"){${"GLOBALS"}["ryhkhid"]="customeQuery";${${"GLOBALS"}["ryhkhid"]}=" AND YEAR(vtiger_crmentity.createdtime) = ?";${${"GLOBALS"}["jmneokodjyc"]}=" AND YEAR(cr.createdtime) = ?";}else{$pvmhpogak="customeQuery";${$pvmhpogak}=" AND DATE(vtiger_crmentity.createdtime) = ?";${${"GLOBALS"}["jmneokodjyc"]}=" AND DATE(cr.createdtime) = ?";}${"GLOBALS"}["pnlzxsud"]="read";if(${$jvvmryvqc}=="BroadcastStatistics"){$jioytkhneyn="conditionDate";${"GLOBALS"}["semzxuibfj"]="customeQuery";${${"GLOBALS"}["zelkzbr"]}="SELECT * FROM vtiger_ctwhatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["pragmjfeo"]}." AND vtiger_ctwhatsapp.message_type IN('Mass Message') AND vtiger_ctwhatsapp.whatsapp_botid = '' AND vtiger_ctwhatsapp.msgid != ''";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["zelkzbr"]}.${${"GLOBALS"}["semzxuibfj"]},array(${$jioytkhneyn}));}else if(${${"GLOBALS"}["qqqlmbuo"]}=="SendReceiveStatistics"){${"GLOBALS"}["lptblgc"]="conditionDate";$ulsjemieu="j";$reuscggnlxsr="query";$ihdrxdq="pendingfinishedRows";${${"GLOBALS"}["zelkzbr"]}="SELECT * FROM vtiger_ctwhatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["xfrbhiiailu"]}." AND vtiger_ctwhatsapp.message_type IN('Send','Recieved') AND vtiger_ctwhatsapp.message_type != 'Mass Message' AND vtiger_ctwhatsapp.whatsapp_botid = ''";$bxfdrmgsjqp="pendingfinishedRows";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery(${${"GLOBALS"}["zelkzbr"]}.${${"GLOBALS"}["yakaudfvd"]},array(${${"GLOBALS"}["lptblgc"]}));${$ihdrxdq}=$adb->num_rows(${$reuscggnlxsr});for(${${"GLOBALS"}["phxnjokirbgf"]}=0;${${"GLOBALS"}["phxnjokirbgf"]}<${$bxfdrmgsjqp};${$ulsjemieu}++){$phvnckkagpb="j";${${"GLOBALS"}["bwtnumpf"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$phvnckkagpb},"message_type");if(${${"GLOBALS"}["bwtnumpf"]}=="Send"){${${"GLOBALS"}["bttkguziejw"]}=${${"GLOBALS"}["bttkguziejw"]}+1;}else if(${${"GLOBALS"}["bwtnumpf"]}=="Recieved"){${"GLOBALS"}["hkjkovpue"]="pendingChat";${${"GLOBALS"}["trutkehif"]}=${${"GLOBALS"}["hkjkovpue"]}+1;}}}else if(${${"GLOBALS"}["ieccfpgr"]}=="ChatbotStatistics"){${"GLOBALS"}["kpktcsi"]="whatsAppBot";${"GLOBALS"}["tfvmttywu"]="botQuery";$aouiekmtoq="i";$dxkkcpmp="whatsappMessageQuery";${"GLOBALS"}["sxmjegnpiph"]="allBotMessageRows";${"GLOBALS"}["xhqigfiyudq"]="query";if(${${"GLOBALS"}["kpktcsi"]}=="All"||${${"GLOBALS"}["jugudpk"]}==""){${"GLOBALS"}["yhfhbfrefm"]="whatsAppBot";${${"GLOBALS"}["yhfhbfrefm"]}="";${${"GLOBALS"}["coxcvjtux"]}=" AND vtiger_ctwhatsapp.whatsapp_botid != '' ";}else{${"GLOBALS"}["uuziyhx"]="whatsAppBot";${"GLOBALS"}["jinlavoeubz"]="whatsAppBotQuery";${${"GLOBALS"}["jinlavoeubz"]}=" AND vtiger_ctwhatsapp.whatsapp_botid = ".${${"GLOBALS"}["uuziyhx"]}." ";}$wdiembenewd="conditionDate";${$dxkkcpmp}="SELECT * FROM vtiger_ctwhatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["pragmjfeo"]}.${${"GLOBALS"}["coxcvjtux"]};$tnwlffctmn="botQuery";${${"GLOBALS"}["xhqigfiyudq"]}=$adb->pquery(${${"GLOBALS"}["zelkzbr"]}.${${"GLOBALS"}["yakaudfvd"]},array(${${"GLOBALS"}["qnypxyovar"]}));${${"GLOBALS"}["tfvmttywu"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_crmentity.deleted = 0 ".${${"GLOBALS"}["pragmjfeo"]}." ".${${"GLOBALS"}["coxcvjtux"]}.${${"GLOBALS"}["yakaudfvd"]}." GROUP BY vtiger_ctwhatsapp.whatsapp_withccode",array(${$wdiembenewd}));${"GLOBALS"}["svlsxfsxunbt"]="allBotMessageRows";${${"GLOBALS"}["sxmjegnpiph"]}=$adb->num_rows(${$tnwlffctmn});for(${${"GLOBALS"}["varbufd"]}=0;${$aouiekmtoq}<${${"GLOBALS"}["svlsxfsxunbt"]};${${"GLOBALS"}["varbufd"]}++){$wpqutihabdpl="botQuery";${"GLOBALS"}["bfaenjn"]="activeFinishQuery";${"GLOBALS"}["njxmht"]="customerNumber";${"GLOBALS"}["nnstkqhyqn"]="customerNumber";${"GLOBALS"}["tmklrzhujry"]="activeFinishRows";${${"GLOBALS"}["nnstkqhyqn"]}=$adb->query_result(${$wpqutihabdpl},${${"GLOBALS"}["varbufd"]},"whatsapp_withccode");${${"GLOBALS"}["bfaenjn"]}=$adb->pquery("SELECT * FROM whatsappbot_pre_que WHERE prequemobilenumber = ?",array(${${"GLOBALS"}["njxmht"]}));${${"GLOBALS"}["tmklrzhujry"]}=$adb->num_rows(${${"GLOBALS"}["cxoqjty"]});if(${${"GLOBALS"}["phxxyul"]}==1){${"GLOBALS"}["ryhmxjrqdq"]="activeBotChat";${${"GLOBALS"}["knfpde"]}=${${"GLOBALS"}["ryhmxjrqdq"]}+1;}else{$koihrmmm="finishBotChat";${${"GLOBALS"}["nikdipiptwtc"]}=${$koihrmmm}+1;}}}${"GLOBALS"}["cvgximseie"]="sent";$uhdkytopfiv="rows";${${"GLOBALS"}["cvgximseie"]}=0;${${"GLOBALS"}["eyatmhvzg"]}=0;${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${${"GLOBALS"}["dzviwhp"]}=${${"GLOBALS"}["njiexr"]}+${$vyquwhhjhk};${$ajwsprhwzre}=${${"GLOBALS"}["pgsicxdfe"]}+${${"GLOBALS"}["xdlzlhdqocwp"]};${$fcundn}=${$fxmkeyheqy}+${${"GLOBALS"}["xdlzlhdqocwp"]};$xhsfyt="i";for(${$dlyfmysxnfi}=0;${$xhsfyt}<${$uhdkytopfiv};${$uwyysucih}++){${"GLOBALS"}["wkqcgilxvgd"]="messageType";${"GLOBALS"}["ylyoacgrjsk"]="i";${"GLOBALS"}["cupqtfgge"]="i";${${"GLOBALS"}["gkbrmbdekp"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["cupqtfgge"]},"message_type");$hnveqnflof="messageReadUpRead";if(${${"GLOBALS"}["gkbrmbdekp"]}!=""){$dzpdnezv="sent";${"GLOBALS"}["osqxntre"]="sent";${${"GLOBALS"}["osqxntre"]}=${$dzpdnezv}+1;}if(${${"GLOBALS"}["gkbrmbdekp"]}=="Send"){${"GLOBALS"}["mgvqpox"]="send";${${"GLOBALS"}["mgvqpox"]}=${${"GLOBALS"}["jycdivy"]}+1;${${"GLOBALS"}["cnhpqrjmw"]}=${${"GLOBALS"}["cnhpqrjmw"]}+1;}else if(${${"GLOBALS"}["wkqcgilxvgd"]}=="Recieved"){$uhpocihvkf="received";${"GLOBALS"}["adgrbsxty"]="received";${${"GLOBALS"}["adgrbsxty"]}=${$uhpocihvkf}+1;${${"GLOBALS"}["wdnmfdlvktj"]}=${${"GLOBALS"}["wdnmfdlvktj"]}+1;}${$hnveqnflof}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${${"GLOBALS"}["ylyoacgrjsk"]},"whatsapp_unreadread");if(${${"GLOBALS"}["lmoelwiywu"]}=="Read"){${${"GLOBALS"}["cydwbrx"]}=${${"GLOBALS"}["cydwbrx"]}+1;}if(${${"GLOBALS"}["lmoelwiywu"]}=="Read"){$hboqyvbsttkz="readMassMessages";$qhsfbqjzmgo="readMassMessages";${$hboqyvbsttkz}=${$qhsfbqjzmgo}+1;}else{${${"GLOBALS"}["zixuybv"]}=${${"GLOBALS"}["zixuybv"]}+1;}}$wiyrcbrlkbng="yAxisData1";${$wiyrcbrlkbng}["count"][]=${${"GLOBALS"}["owqasxtjaeu"]};${${"GLOBALS"}["qdknhkfe"]}["count"][]=${${"GLOBALS"}["pnlzxsud"]};}${"GLOBALS"}["afhglp"]="arrayData";${${"GLOBALS"}["ctfaieis"]}["Sent"]=${${"GLOBALS"}["ngitlgmjg"]};${${"GLOBALS"}["afhglp"]}["Read"]=${${"GLOBALS"}["qdknhkfe"]};${$rdsntnu}=",["createdtime\",\"bw",\"".${${"GLOBALS"}["dniznoox"]}.",".${${"GLOBALS"}["gehqgqi"]}."\"]";$tdijyl="arrayData";$giumxyish="totalMassMessagesURL";$wxspwwveqom="totalReadMassMessagesURL";if(${${"GLOBALS"}["kpwtmuu"]}=="All"||${$ywjvwca}==""){${${"GLOBALS"}["bsqlvjlvof"]}="";}else{${"GLOBALS"}["yuqspediz"]="scanUsers";$kufhgjwhm="youPhoneFilter";${$kufhgjwhm}=",["your_number\",\"e",\"".${${"GLOBALS"}["yuqspediz"]}.""]";}if(${${"GLOBALS"}["qqqlmbuo"]}=="BroadcastStatistics"){${"GLOBALS"}["sqkeolvsfd"]="totalUnReadMassMessages";$jhjqge="totalUnReadMassMessagesURL";${${"GLOBALS"}["pgsicxdfe"]}=${${"GLOBALS"}["pgsicxdfe"]};$qqcntzw="readMassMessages";$vchzlofpyjvc="dateFilter";${${"GLOBALS"}["bcwlbvdkfsd"]}="index.php?module=CTWhatsApp&view=List&search_params=[[["message_type\",\"e",\"Mass Message\"]".${${"GLOBALS"}["bdtcoijsf"]}."]]";${"GLOBALS"}["fbjzxosvvey"]="totalMessage";${${"GLOBALS"}["lpvacnd"]}=${$qqcntzw};$eslyvw="totalSendBotMessages";${${"GLOBALS"}["uhryzbugnxr"]}="index.php?module=CTWhatsApp&view=List&search_params=[[[\"message_type\",\"e","Mass Message"],[\"whatsapp_unreadread",\"e","Read\"]".${$vchzlofpyjvc}."]]";${${"GLOBALS"}["sqkeolvsfd"]}=${${"GLOBALS"}["zixuybv"]};${"GLOBALS"}["dbznuaol"]="dateFilter";${"GLOBALS"}["wxiuzuxoxfr"]="totalSentMessage";${$jhjqge}="index.php?module=CTWhatsApp&view=List&search_params=[[["message_type","e\","Mass Message"],[\"whatsapp_unreadread","e","Unread"]".${${"GLOBALS"}["dbznuaol"]}."]]";${${"GLOBALS"}["fbjzxosvvey"]}=0;${"GLOBALS"}["fngcyrjrs"]="totalfinishBotChat";$kxjgmsmv="totalFinishedChat";$tyqwutscrgj="totalBotMessages";${${"GLOBALS"}["wxiuzuxoxfr"]}=0;${${"GLOBALS"}["ymfyvtvm"]}=0;${$kxjgmsmv}=0;${${"GLOBALS"}["awnmugqpbtx"]}=0;${$tyqwutscrgj}=0;${$eslyvw}=0;${${"GLOBALS"}["wydxxhqwnvet"]}=0;${${"GLOBALS"}["wpntnvox"]}=0;${${"GLOBALS"}["fngcyrjrs"]}=0;}else if(${${"GLOBALS"}["qqqlmbuo"]}=="SendReceiveStatistics"){${"GLOBALS"}["hemnncylmc"]="totalMessage";$csqcvn="totalReadMassMessages";$dyyuisqgo="totalMessageURL";${"GLOBALS"}["husvshegovb"]="totalMassMessages";$lgrlzfsbxlt="totalUnReadMassMessages";${"GLOBALS"}["xfjddgrwt"]="youPhoneFilter";${"GLOBALS"}["hscatd"]="pendingChat";$hhltkxluf="totalSentMessageURL";$bghrnmhhy="totalMessages";${${"GLOBALS"}["hemnncylmc"]}=${$bghrnmhhy};${"GLOBALS"}["hpjsqvfurqio"]="send";${"GLOBALS"}["cdwtupuk"]="youPhoneFilter";$wmrsxmpjtr="totalBotMessages";${"GLOBALS"}["ldvoplfiufh"]="totalactiveBotChat";${$dyyuisqgo}="index.php?module=CTWhatsApp&view=List&search_params=[[[\"message_type","e","Send,Recieved"]".${${"GLOBALS"}["bdtcoijsf"]}.${${"GLOBALS"}["bsqlvjlvof"]}."]]";${"GLOBALS"}["cinjumvjasm"]="totalSentMessage";${${"GLOBALS"}["cinjumvjasm"]}=${${"GLOBALS"}["hpjsqvfurqio"]};$jebnvn="totalPendingChat";${$hhltkxluf}="index.php?module=CTWhatsApp&view=List&search_params=[[["message_type\",\"e",\"Send\"]".${${"GLOBALS"}["bdtcoijsf"]}.${${"GLOBALS"}["cdwtupuk"]}."]]";${${"GLOBALS"}["ymfyvtvm"]}=${${"GLOBALS"}["bqdfvqvrlhd"]};${"GLOBALS"}["otickcyij"]="totalReceivedBotMessage";${${"GLOBALS"}["jbyvghnyz"]}="index.php?module=CTWhatsApp&view=List&search_params=[[["message_type\",\"e\","Recieved"]".${${"GLOBALS"}["bdtcoijsf"]}.${${"GLOBALS"}["xfjddgrwt"]}."]]";${${"GLOBALS"}["wztbvryv"]}=${${"GLOBALS"}["bttkguziejw"]};${$jebnvn}=${${"GLOBALS"}["hscatd"]};${${"GLOBALS"}["husvshegovb"]}=0;${$csqcvn}=0;${$lgrlzfsbxlt}=0;${$wmrsxmpjtr}=0;$brhoqrahp="totalfinishBotChat";${${"GLOBALS"}["tqmtgxw"]}=0;${${"GLOBALS"}["otickcyij"]}=0;${${"GLOBALS"}["ldvoplfiufh"]}=0;${$brhoqrahp}=0;}else if(${${"GLOBALS"}["qqqlmbuo"]}=="ChatbotStatistics"){${"GLOBALS"}["xpmkjunnfr"]="totalfinishBotChat";$xwieykg="receivedBotMessage";$vxuxfjgkf="finishBotChat";$unfple="totalReadMassMessages";${${"GLOBALS"}["wpectsu"]}=${${"GLOBALS"}["qdpknqanf"]};${${"GLOBALS"}["tqmtgxw"]}=${${"GLOBALS"}["cnhpqrjmw"]};${${"GLOBALS"}["wydxxhqwnvet"]}=${$xwieykg};${${"GLOBALS"}["wpntnvox"]}=${${"GLOBALS"}["knfpde"]};$vndbsbitnyb="totalUnReadMassMessages";${${"GLOBALS"}["xpmkjunnfr"]}=${$vxuxfjgkf};${${"GLOBALS"}["pgsicxdfe"]}=0;${$unfple}=0;${"GLOBALS"}["dypvtdnqqhtn"]="totalFinishedChat";${$vndbsbitnyb}=0;${"GLOBALS"}["kgqdvvexaem"]="totalMessage";${${"GLOBALS"}["kgqdvvexaem"]}=0;${${"GLOBALS"}["bkpcwc"]}=0;${${"GLOBALS"}["ymfyvtvm"]}=0;${${"GLOBALS"}["dypvtdnqqhtn"]}=0;${${"GLOBALS"}["awnmugqpbtx"]}=0;}${$sbrbzet}=array("arrayData"=>${$tdijyl},"totalMessage"=>${${"GLOBALS"}["jwdmsocmlfs"]},"totalSentMessage"=>${$dwgpinkv},"totalReceivedMessage"=>${${"GLOBALS"}["ymfyvtvm"]},"totalMassMessages"=>${${"GLOBALS"}["kufvecfi"]},"totalReadMassMessages"=>${${"GLOBALS"}["zukhraqrmb"]},"totalUnReadMassMessages"=>${${"GLOBALS"}["cstbmslhys"]},"totalFinishedChat"=>${${"GLOBALS"}["mhtpvxrwn"]},"totalPendingChat"=>${${"GLOBALS"}["awnmugqpbtx"]},"totalSendBotMessages"=>${${"GLOBALS"}["tqmtgxw"]},"totalReceivedBotMessage"=>${${"GLOBALS"}["wydxxhqwnvet"]},"totalBotMessages"=>${${"GLOBALS"}["wpectsu"]},"totalactiveBotChat"=>${${"GLOBALS"}["wpntnvox"]},"totalfinishBotChat"=>${${"GLOBALS"}["qdctkip"]},"totalMessageURL"=>${${"GLOBALS"}["akwpjh"]},"totalSentMessageURL"=>${${"GLOBALS"}["awsykt"]},"totalReceivedMessageURL"=>${${"GLOBALS"}["jbyvghnyz"]},"totalMassMessagesURL"=>${$giumxyish},"totalReadMassMessagesURL"=>${$wxspwwveqom},"totalUnReadMassMessagesURL"=>${${"GLOBALS"}["dtsjnyskeg"]});return${${"GLOBALS"}["ysiwjuruzd"]};}public function massMessagePauseResume($status,$recordid){global$adb;${${"GLOBALS"}["rcimue"]}=$adb->pquery("UPDATE vtiger_ctwhatsappschedulesendmsg SET status = ? WHERE schedulesendmsgid = ? AND send_msg = 0",array(${${"GLOBALS"}["gcuwjcducg"]},${${"GLOBALS"}["nysnwqbusdg"]}));}public function massMessageDelete($recordid){$htvjppbnfhr="recordid";$toyeuxqxy="massMessageDeleteQuery";global$adb;${${"GLOBALS"}["yqbuwvuqib"]}=$adb->pquery("DELETE FROM vtiger_ctwhatsappmassmessage WHERE massmessageid = ?",array(${$htvjppbnfhr}));${$toyeuxqxy}=$adb->pquery("DELETE FROM vtiger_ctwhatsappschedulesendmsg WHERE schedulesendmsgid = ?",array(${${"GLOBALS"}["nysnwqbusdg"]}));}public function getWhatsappTheme(){${"GLOBALS"}["rcdiemdwerp"]="query";global$adb;${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE theme_view != ''",array());${${"GLOBALS"}["iigiids"]}=$adb->query_result(${${"GLOBALS"}["rcdiemdwerp"]},0,"theme_view");return${${"GLOBALS"}["iigiids"]};}public function getModulefields($tabid,$sourceModuleName,$moduleRecordId){$hsdiqynbhw="i";global$adb;${"GLOBALS"}["vpslrlq"]="num_rows";$ekabqzbkpbi="query";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_field WHERE tabid = ? AND quickcreate IN('0','2') AND uitype NOT IN('56','51','10','15','5','33','57')",array(${${"GLOBALS"}["wihfdtjxrf"]}));${${"GLOBALS"}["vpslrlq"]}=$adb->num_rows(${$ekabqzbkpbi});${"GLOBALS"}["hokmbtzhf"]="num_rows";${${"GLOBALS"}["tjjxla"]}=Vtiger_Record_Model::getInstanceById(${${"GLOBALS"}["pjftjjjwnt"]},${${"GLOBALS"}["zfvzssgzwbzy"]});${"GLOBALS"}["njaohulr"]="i";${${"GLOBALS"}["ypifsmqxx"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${$hsdiqynbhw}<${${"GLOBALS"}["hokmbtzhf"]};${${"GLOBALS"}["njaohulr"]}++){$unocqcf="fieldname";${"GLOBALS"}["cdtyugximopp"]="query";${"GLOBALS"}["rtuwufsl"]="fieldLabelValue";${"GLOBALS"}["vrhooefkv"]="query";${"GLOBALS"}["bciboosj"]="fieldlabel";$ojyrqz="fieldname";$utucaeqy="i";${$unocqcf}=$adb->query_result(${${"GLOBALS"}["cdtyugximopp"]},${$utucaeqy},"fieldname");${${"GLOBALS"}["vbvktqwlla"]}=$adb->query_result(${${"GLOBALS"}["vrhooefkv"]},${${"GLOBALS"}["varbufd"]},"fieldlabel");${${"GLOBALS"}["qkmdptlbfp"]}=$recordModel->get(${${"GLOBALS"}["qxomcemab"]});${${"GLOBALS"}["rtuwufsl"]}[${${"GLOBALS"}["bciboosj"]}]=array("fieldName"=>${$ojyrqz},"fieldValue"=>${${"GLOBALS"}["qkmdptlbfp"]});}$cqgdgygbny="fieldLabelValue";return${$cqgdgygbny};}public function getUserScanWhatsAppAllData($userid){${"GLOBALS"}["wukpgrdxd"]="customfield1";global$adb;$jvdokjne="api_url";$pbilhyvqqde="userScanWhatsAppData";$onceqm="query";${"GLOBALS"}["tjikvpw"]="query";${"GLOBALS"}["eiikzxa"]="row";${$onceqm}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield5 = ?",array(${${"GLOBALS"}["wknbcezcqoi"]}));${${"GLOBALS"}["eiikzxa"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});${$jvdokjne}=$adb->query_result(${${"GLOBALS"}["tjikvpw"]},0,"api_url");$ecslikse="query";${"GLOBALS"}["byhfiqq"]="customfield1";$mbhcvojk="query";$tbqnidpzj="query";${${"GLOBALS"}["xpgvpkjnl"]}=$adb->query_result(${$tbqnidpzj},0,"auth_token");${${"GLOBALS"}["wukpgrdxd"]}=$adb->query_result(${$mbhcvojk},0,"customfield1");${"GLOBALS"}["fpdpyfuj"]="autoResponder";$urmbpckri="autoResponder";${"GLOBALS"}["lolgwslt"]="query";${${"GLOBALS"}["nfcxjul"]}=$adb->query_result(${${"GLOBALS"}["lolgwslt"]},0,"whatsappno");${${"GLOBALS"}["bievehorehl"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"whatsappstatus");${$urmbpckri}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"customfield6");${${"GLOBALS"}["jlqritil"]}=$adb->query_result(${$ecslikse},0,"customfield7");$jhysipujsxod="autoResponderText";${$pbilhyvqqde}=array("row"=>${${"GLOBALS"}["eidzhji"]},"api_url"=>${${"GLOBALS"}["ceicdk"]},"auth_token"=>${${"GLOBALS"}["xpgvpkjnl"]},"customfield1"=>${${"GLOBALS"}["byhfiqq"]},"whatsappno"=>${${"GLOBALS"}["nfcxjul"]},"whatsappStatus"=>${${"GLOBALS"}["bievehorehl"]},"autoResponder"=>${${"GLOBALS"}["fpdpyfuj"]},"autoResponderText"=>${$jhysipujsxod});return${${"GLOBALS"}["qykxbqcu"]};}public function checkMessageId($messageid){${"GLOBALS"}["bmncnve"]="query";global$adb;${${"GLOBALS"}["bmncnve"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapp.msgid = ?",array(${${"GLOBALS"}["ibpfhbckcf"]}));${${"GLOBALS"}["eidzhji"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});return${${"GLOBALS"}["eidzhji"]};}public function getScanNumberUserId($scanNumber){$wsdoltgi="query";${"GLOBALS"}["yrjcpdqk"]="scanNumber";${"GLOBALS"}["dqzczs"]="row";${"GLOBALS"}["owjzdsey"]="row";global$adb;${$wsdoltgi}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE whatsappno = ?",array(${${"GLOBALS"}["yrjcpdqk"]}));${${"GLOBALS"}["dqzczs"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});if(${${"GLOBALS"}["owjzdsey"]}){$iuceqrq="userScanUsersData";$knvgxelt="query";${"GLOBALS"}["sfydfxtwbyj"]="scanUserId";${${"GLOBALS"}["sfydfxtwbyj"]}=$adb->query_result(${$knvgxelt},0,"customfield5");${"GLOBALS"}["pfzqiojuopd"]="scanUserId";${$iuceqrq}=array("scanUserId"=>${${"GLOBALS"}["pfzqiojuopd"]});}return${${"GLOBALS"}["jndpkko"]};}public function getAdmminScanDetail(){${"GLOBALS"}["fdpvobo"]="admminScanDetail";global$adb;${"GLOBALS"}["keujxtn"]="row";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE customfield4 != ''",array());${${"GLOBALS"}["eidzhji"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});if(${${"GLOBALS"}["keujxtn"]}){$qdbojulkswr="api_url";${"GLOBALS"}["xcxekdzvs"]="customfield3";$wgrqmmmdm="whatsappno";$rfkggguo="query";${"GLOBALS"}["yyjpqjs"]="showunknownmsg";$aiczbfihifa="query";${"GLOBALS"}["uvfeivfnxk"]="customfield3";$wuqvvfqjvfq="query";${${"GLOBALS"}["yyjpqjs"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"showunknownmsg");${"GLOBALS"}["mklniedvqqv"]="admminScanDetail";${${"GLOBALS"}["uvfeivfnxk"]}=$adb->query_result(${$aiczbfihifa},0,"customfield3");${$qdbojulkswr}=$adb->query_result(${$wuqvvfqjvfq},0,"api_url");${$wgrqmmmdm}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"whatsappno");${${"GLOBALS"}["bdeutkpsdhgd"]}=$adb->query_result(${$rfkggguo},0,"customfield4");${${"GLOBALS"}["mklniedvqqv"]}=array("showunknownmsg"=>${${"GLOBALS"}["gprpgplo"]},"multipleuser"=>${${"GLOBALS"}["xcxekdzvs"]},"api_url"=>${${"GLOBALS"}["ceicdk"]},"whatsappUserManagemnt"=>${${"GLOBALS"}["bdeutkpsdhgd"]},"whatsappno"=>${${"GLOBALS"}["nfcxjul"]});}return${${"GLOBALS"}["fdpvobo"]};}public function getOneDaysMessages(){${"GLOBALS"}["uzkojyyhl"]="todayDate";${"GLOBALS"}["ifofroddhk"]="query";${"GLOBALS"}["zkzpyawv"]="query";global$adb;${${"GLOBALS"}["uzkojyyhl"]}=date("Y-m-d");${${"GLOBALS"}["zkzpyawv"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp INNER JOIN  vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapp.message_type IN ('Send','Mass Message') AND DATE(vtiger_crmentity.createdtime) = '".${${"GLOBALS"}["bcmlkckl"]}."'");${${"GLOBALS"}["xdlzlhdqocwp"]}=$adb->num_rows(${${"GLOBALS"}["ifofroddhk"]});return${${"GLOBALS"}["xdlzlhdqocwp"]};}public function getWhatsappAccountDetail($licenseKey){${"GLOBALS"}["mkjuvksm"]="apiURL";${"GLOBALS"}["kzkzsipunjr"]="curl";$lntvhpw="licenseKey";${"GLOBALS"}["sbuuhpjxtblk"]="curl";${${"GLOBALS"}["mkjuvksm"]}="https://www.crmtiger.com/whatsapp/checklifromapi.php?license_key=".${$lntvhpw};${"GLOBALS"}["nescktyxjai"]="result";${${"GLOBALS"}["kzkzsipunjr"]}=curl_init();curl_setopt_array(${${"GLOBALS"}["srgkppuccpjc"]},array(CURLOPT_URL=>${${"GLOBALS"}["wggeux"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>10,CURLOPT_CONNECTTIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_SSL_VERIFYHOST=>0,CURLOPT_SSL_VERIFYPEER=>0,CURLOPT_CUSTOMREQUEST=>"POST",CURLOPT_USERAGENT=>"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13",));${${"GLOBALS"}["ysiwjuruzd"]}=curl_exec(${${"GLOBALS"}["srgkppuccpjc"]});${${"GLOBALS"}["angfxwt"]}=json_decode(${${"GLOBALS"}["nescktyxjai"]});curl_close(${${"GLOBALS"}["sbuuhpjxtblk"]});return${${"GLOBALS"}["angfxwt"]};}public function getWhatsappNumberImportant($mobileno){$oughygloc="important";global$adb;${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_ctwhatsapp.whatsapp_withccode = ? AND vtiger_crmentity.deleted = 0 LIMIT 0,1",array(${${"GLOBALS"}["ybeffxuekyyf"]}));$btvfclt="query";${$oughygloc}=$adb->query_result(${$btvfclt},0,"whatsapp_important");return${${"GLOBALS"}["gsidquksjb"]};}public function getlastMessageDateTime(){global$adb;$rmwqfdec="query";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid WHERE vtiger_crmentity.deleted = 0 AND vtiger_ctwhatsapp.msgid != '' ORDER BY vtiger_ctwhatsapp.ctwhatsappid DESC LIMIT 0,1",array());${${"GLOBALS"}["unovdnzyksyx"]}=$adb->query_result(${$rmwqfdec},0,"whatsapp_datetime");return${${"GLOBALS"}["unovdnzyksyx"]};}public function assignAllMessage($request){${"GLOBALS"}["kqxoyt"]="moduleRecordId";${"GLOBALS"}["xtzgldkt"]="moduleName";$hmkpwpq="moduleRecordId";${"GLOBALS"}["kmswqej"]="whatsappNumber";global$adb;${${"GLOBALS"}["xtzgldkt"]}=$request->getModule();${${"GLOBALS"}["vnrmxdnehtkh"]}=$request->get("sourceModule");${${"GLOBALS"}["kqxoyt"]}=$request->get("moduleRecordId");${"GLOBALS"}["xrsmwhsyqyd"]="whatsappNumber";${${"GLOBALS"}["gzvpkthhbeqo"]}=$request->get("moduleRecordSearch");$sgjgsro="whatsappNumber";${${"GLOBALS"}["kmswqej"]}=$request->get("phonenumber");${$sgjgsro}=$adb->pquery("UPDATE vtiger_ctwhatsapp SET whatsapp_contactid = ? WHERE whatsapp_withccode = ?",array(${$hmkpwpq},${${"GLOBALS"}["xrsmwhsyqyd"]}));}public function getWhatsAppDetailWithMobileNo($whatsappNumber){$rrycreyc="getConfigurationDataQuery";global$adb;$icfrydkk="getConfigurationDataQuery";${$icfrydkk}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappusers WHERE whatsappno = ?",array(${${"GLOBALS"}["wligkznrmaq"]}));${${"GLOBALS"}["ottddezkjf"]}=$adb->num_rows(${$rrycreyc});${"GLOBALS"}["vgdxnmdjfc"]="configureUserid";$vczhmcnunkv="auth_token";$ryubhy="whatsappDetails";${"GLOBALS"}["exuiekkdpno"]="whatsappScanNo";$xcmkqvjnp="whatsappStatus";if(${${"GLOBALS"}["ottddezkjf"]}==0){${"GLOBALS"}["scvomjtohy"]="getConfigurationDatasQuery";$idaxfjooi="api_url";$drcwxl="whatsaAppRow";${${"GLOBALS"}["nkpcegje"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsappconfiguration WHERE whatsappno = ?",array(${${"GLOBALS"}["wligkznrmaq"]}));${$drcwxl}=$adb->num_rows(${${"GLOBALS"}["nkpcegje"]});$uioztjmvvi="auth_token";${$idaxfjooi}=$adb->query_result(${${"GLOBALS"}["nkpcegje"]},0,"api_url");${"GLOBALS"}["mtnrnwxg"]="getConfigurationDatasQuery";$bciwnpr="whatsappScanNo";${$uioztjmvvi}=$adb->query_result(${${"GLOBALS"}["nkpcegje"]},0,"auth_token");$pdldqtrjx="configureUserid";$jojpmlityhl="getConfigurationDatasQuery";${${"GLOBALS"}["ewtpbdgsvtq"]}=$adb->query_result(${${"GLOBALS"}["mtnrnwxg"]},0,"customfield1");${$bciwnpr}=$adb->query_result(${${"GLOBALS"}["nkpcegje"]},0,"whatsappno");${${"GLOBALS"}["bievehorehl"]}=$adb->query_result(${$jojpmlityhl},0,"whatsappstatus");${$pdldqtrjx}=$adb->query_result(${${"GLOBALS"}["scvomjtohy"]},0,"customfield5");}else{$thqssysw="configureUserid";${"GLOBALS"}["atwqhvgem"]="getConfigurationDataQuery";${"GLOBALS"}["rxlmulxrt"]="getConfigurationDataQuery";${"GLOBALS"}["oiybujri"]="whatsappScanNo";$akqkwkodpi="auth_token";${${"GLOBALS"}["ceicdk"]}=$adb->query_result(${${"GLOBALS"}["rqgiga"]},0,"api_url");${"GLOBALS"}["rpilpesfptv"]="getConfigurationDataQuery";${$akqkwkodpi}=$adb->query_result(${${"GLOBALS"}["rpilpesfptv"]},0,"auth_token");${${"GLOBALS"}["ewtpbdgsvtq"]}=$adb->query_result(${${"GLOBALS"}["atwqhvgem"]},0,"customfield1");${"GLOBALS"}["snemioxrdco"]="getConfigurationDataQuery";${${"GLOBALS"}["oiybujri"]}=$adb->query_result(${${"GLOBALS"}["rxlmulxrt"]},0,"whatsappno");${${"GLOBALS"}["bievehorehl"]}=$adb->query_result(${${"GLOBALS"}["rqgiga"]},0,"whatsappstatus");${$thqssysw}=$adb->query_result(${${"GLOBALS"}["snemioxrdco"]},0,"customfield5");}${$ryubhy}=array("api_url"=>${${"GLOBALS"}["ceicdk"]},"auth_token"=>${$vczhmcnunkv},"customfield1"=>${${"GLOBALS"}["ewtpbdgsvtq"]},"whatsappScanNo"=>${${"GLOBALS"}["exuiekkdpno"]},"whatsappStatus"=>${$xcmkqvjnp},"configureUserid"=>${${"GLOBALS"}["vgdxnmdjfc"]},"username"=>getUserName(${${"GLOBALS"}["njntigf"]}));return${${"GLOBALS"}["qqpiyugbfo"]};}public function getWhatsappHistory($phone,$whatsappNumber){global$adb;${"GLOBALS"}["hycsasys"]="getCursor";$wocvixemp="phone";${"GLOBALS"}["rtnfvqfxvs"]="cursorRows";${${"GLOBALS"}["vvruvjek"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_history WHERE mobile_no = ? AND scanwpnumber = ?",array(${$wocvixemp},${${"GLOBALS"}["wligkznrmaq"]}));$fwrmcig="history_id";${"GLOBALS"}["kuqwlcemeh"]="remotjid";${"GLOBALS"}["elvrfxym"]="historyFromme";${${"GLOBALS"}["rtnfvqfxvs"]}=$adb->num_rows(${${"GLOBALS"}["hycsasys"]});${$fwrmcig}=$adb->query_result(${${"GLOBALS"}["vvruvjek"]},0,"history_id");${${"GLOBALS"}["elvrfxym"]}=$adb->query_result(${${"GLOBALS"}["vvruvjek"]},0,"history_fromme");${${"GLOBALS"}["kuqwlcemeh"]}=$adb->query_result(${${"GLOBALS"}["vvruvjek"]},0,"remotjid");$riudkkcamuj="history_id";${${"GLOBALS"}["nuwelph"]}=array("cursorRows"=>${${"GLOBALS"}["jxrlphcvmo"]},"history_id"=>${$riudkkcamuj},"historyFromme"=>${${"GLOBALS"}["jquromkkcfnk"]},"remotjid"=>${${"GLOBALS"}["ofsuvdrdkg"]});return${${"GLOBALS"}["nuwelph"]};}public function insertWhatsappHistory($phone,$cursor,$history_fromme,$remoteJid,$whatsappNumber){${"GLOBALS"}["pcqqvlrqaxaj"]="whatsappNumber";${"GLOBALS"}["ewiudmjss"]="phoneQuery";${"GLOBALS"}["xcqujfin"]="row";global$adb;$ckelechljd="row";${${"GLOBALS"}["ewiudmjss"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_history WHERE mobile_no = ? AND scanwpnumber = ?",array(${${"GLOBALS"}["wnskhdyyjgl"]},${${"GLOBALS"}["pcqqvlrqaxaj"]}));${$ckelechljd}=$adb->num_rows(${${"GLOBALS"}["jpdbcsx"]});if(${${"GLOBALS"}["xcqujfin"]}==1){${"GLOBALS"}["yibfikmfsvcd"]="cursor";${"GLOBALS"}["ftidcsmj"]="phone";${"GLOBALS"}["ztkunvlgkcf"]="history_fromme";$adb->pquery("UPDATE vtiger_ctwhatsapp_history set history_id=?, history_fromme=?, remotjid=? WHERE mobile_no=?",array(${${"GLOBALS"}["yibfikmfsvcd"]},${${"GLOBALS"}["ztkunvlgkcf"]},${${"GLOBALS"}["qkcymzij"]},${${"GLOBALS"}["ftidcsmj"]}));}else{${"GLOBALS"}["kbxvvzeto"]="whatsappNumber";$adb->pquery("INSERT INTO vtiger_ctwhatsapp_history (scanwpnumber, mobile_no, history_id, history_fromme, remotjid) values(?,?,?,?,?)",array(${${"GLOBALS"}["kbxvvzeto"]},${${"GLOBALS"}["wnskhdyyjgl"]},${${"GLOBALS"}["qdqfdvhm"]},${${"GLOBALS"}["jqwjxpdto"]},${${"GLOBALS"}["qkcymzij"]}));}}public function saveWhatsAppHistoryData($request){${"GLOBALS"}["accdfrqmml"]="val";${"GLOBALS"}["uoytqeeomg"]="start_date";${"GLOBALS"}["kjkulkfxnu"]="key";${"GLOBALS"}["xkscgx"]="configData";global$adb;$ficlnbznmuof="apiUrl";${${"GLOBALS"}["uoytqeeomg"]}=$request->get("start_date");${"GLOBALS"}["fxkegey"]="whatsappNumber";${"GLOBALS"}["oisnuigvcdll"]="row";$fgfkzvw="apiUrl";$xtqbtsxrjya="history_status";${${"GLOBALS"}["ecgkyh"]}=$request->get("end_date");${"GLOBALS"}["exjslmqbmwc"]="row";${${"GLOBALS"}["fxkegey"]}=$request->get("whatsappNumber");${$xtqbtsxrjya}=$request->get("history_status");${${"GLOBALS"}["aoaxpljq"]}=$request->get("firsttimehistory");$qlcdokyy="auth_token";${"GLOBALS"}["ueqilil"]="url";$woenouyij="firsttimehistory";${"GLOBALS"}["qnxfdite"]="whatsappNumber";if(${$woenouyij}==1){${${"GLOBALS"}["yfwewhfux"]}=1;}else{$trdswopwrvsf="history_status";${$trdswopwrvsf}=$request->get("history_status");}${"GLOBALS"}["belisxtqiict"]="postfields";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_contacts_history WHERE whatsappnumber = ?",array(${${"GLOBALS"}["qnxfdite"]}));$jovmycv="configData";${${"GLOBALS"}["exjslmqbmwc"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});$xkwadmkbqz="url";$eulttmvy="whatsappNumber";if(${${"GLOBALS"}["oisnuigvcdll"]}==1){${"GLOBALS"}["enljdumhtmh"]="start_date";if(${${"GLOBALS"}["enljdumhtmh"]}!=""){$edofnngulp="history_status";${${"GLOBALS"}["wqhpspkwny"]}=$adb->pquery("UPDATE vtiger_ctwhatsapp_contacts_history SET startdate = ?, enddate = ?, status = ? WHERE whatsappnumber = ?",array(${${"GLOBALS"}["ltqfhtwll"]},${${"GLOBALS"}["ecgkyh"]},${$edofnngulp},${${"GLOBALS"}["wligkznrmaq"]}));}else{$hfmqgpk="history_status";${"GLOBALS"}["ntyywywujbnp"]="whatsappNumber";${${"GLOBALS"}["wqhpspkwny"]}=$adb->pquery("UPDATE vtiger_ctwhatsapp_contacts_history SET status = ? WHERE whatsappnumber = ?",array(${$hfmqgpk},${${"GLOBALS"}["ntyywywujbnp"]}));}}else{${"GLOBALS"}["xjywhtdmrho"]="start_date";${${"GLOBALS"}["dunqrah"]}=$adb->pquery("INSERT INTO vtiger_ctwhatsapp_contacts_history(whatsappnumber, startdate, enddate, status) values(?, ?, ?, ?)",array(${${"GLOBALS"}["wligkznrmaq"]},${${"GLOBALS"}["xjywhtdmrho"]},${${"GLOBALS"}["ecgkyh"]},${${"GLOBALS"}["yfwewhfux"]}));}${$jovmycv}=CTWhatsApp_Record_Model::getWhatsAppDetailWithMobileNo(${$eulttmvy});${$fgfkzvw}=${${"GLOBALS"}["rkyqupxnah"]}["api_url"];${${"GLOBALS"}["xpgvpkjnl"]}=${${"GLOBALS"}["xkscgx"]}["auth_token"];${${"GLOBALS"}["ueqilil"]}=${$ficlnbznmuof}."/chatlist";$tchvtoesmj="val";${${"GLOBALS"}["belisxtqiict"]}=array();${${"GLOBALS"}["accdfrqmml"]}=CTWhatsApp_WhatsappChat_View::callCURL(${$xkwadmkbqz},${${"GLOBALS"}["pioaes"]},${$qlcdokyy});if(${${"GLOBALS"}["iitxzdiwii"]}){$jwtboqrdsnuh="whatsappNumber";${"GLOBALS"}["gemlwdyjdpg"]="whatsappNumber";$adb->pquery("DELETE FROM vtiger_ctwhatsapp_allcontacts WHERE scannedwhatsappnumber = ?",array(${$jwtboqrdsnuh}));$adb->pquery("DELETE FROM vtiger_ctwhatsapp_history WHERE scanwpnumber = ?",array(${${"GLOBALS"}["gemlwdyjdpg"]}));}foreach(${$tchvtoesmj} as${${"GLOBALS"}["kjkulkfxnu"]}=>${${"GLOBALS"}["yxksumx"]}){${"GLOBALS"}["wwxuqdhbt"]="jid";${"GLOBALS"}["svyddgpgte"]="value";${${"GLOBALS"}["wwxuqdhbt"]}=${${"GLOBALS"}["svyddgpgte"]}["id"];if(strpos(${${"GLOBALS"}["llxysqjmm"]},"@s.whatsapp.net")!==false){${"GLOBALS"}["tcymlhvhmne"]="jid";$fpgyigkxim="customerWhatsAppNumber";${"GLOBALS"}["tigmwvkr"]="customerWhatsAppNumber";${${"GLOBALS"}["njfjfzwxlv"]}=explode("@",${${"GLOBALS"}["tcymlhvhmne"]});${$fpgyigkxim}=${${"GLOBALS"}["njfjfzwxlv"]}[0];${${"GLOBALS"}["nygtewzbw"]}=$adb->pquery("INSERT INTO vtiger_ctwhatsapp_allcontacts(scannedwhatsappnumber, customerwhatsappnumber, lastmessageid, syncstatus) values(?, ?, ?, ?)",array(${${"GLOBALS"}["wligkznrmaq"]},${${"GLOBALS"}["tigmwvkr"]},"",0));}}}public function getWhatsApphistoryDetail($request){${"GLOBALS"}["oktuxflac"]="startdate";$edhsqiz="status";$foygnrbq="whatsappNumber";global$adb;$zfvcnxpekcwv="query";${"GLOBALS"}["mbryifoxod"]="query";${$foygnrbq}=$request->get("multiWPNumber");$vxqxxlej="status";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_contacts_history WHERE whatsappnumber = ?",array(${${"GLOBALS"}["wligkznrmaq"]}));${"GLOBALS"}["qjtqvocvein"]="enddate";${$edhsqiz}=$adb->query_result(${${"GLOBALS"}["mbryifoxod"]},0,"status");${${"GLOBALS"}["dniznoox"]}=$adb->query_result(${$zfvcnxpekcwv},0,"startdate");${${"GLOBALS"}["qjtqvocvein"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"enddate");${${"GLOBALS"}["ysiwjuruzd"]}=array("status"=>${$vxqxxlej},"startdate"=>${${"GLOBALS"}["oktuxflac"]},"enddate"=>${${"GLOBALS"}["lxkyllr"]});return${${"GLOBALS"}["ysiwjuruzd"]};}public function getConnectedWhatsAppNumber(){${"GLOBALS"}["ruxfgckhwkw"]="i";${"GLOBALS"}["kkxiyyklx"]="i";${"GLOBALS"}["aoqhnti"]="connectedWhatsAppNumber";${"GLOBALS"}["rlpsjujhvgui"]="query";${"GLOBALS"}["ntwrjeqzq"]="query";global$adb;${${"GLOBALS"}["rlpsjujhvgui"]}=$adb->pquery("SELECT your_number FROM vtiger_ctwhatsapp
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
            WHERE vtiger_crmentity.deleted = 0 GROUP BY vtiger_ctwhatsapp.your_number",array());$ohulxuh="rows";${$ohulxuh}=$adb->num_rows(${${"GLOBALS"}["ntwrjeqzq"]});${"GLOBALS"}["fkbwpl"]="connectedWhatsAppNumber";${${"GLOBALS"}["fkbwpl"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${${"GLOBALS"}["kkxiyyklx"]}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["ruxfgckhwkw"]}++){$mxohjmjzipzo="your_number";$krfrlym="query";${${"GLOBALS"}["qourxve"]}=$adb->query_result(${$krfrlym},${${"GLOBALS"}["varbufd"]},"your_number");${${"GLOBALS"}["vxlkgtdl"]}[${${"GLOBALS"}["qourxve"]}]=array("whatsappno"=>${$mxohjmjzipzo});}return${${"GLOBALS"}["aoqhnti"]};}public function getAllWhatsAppBot(){$rytlxfkdpfcc="rows";$cgytconcetq="query";global$adb;${$cgytconcetq}=$adb->pquery("SELECT * FROM ctwhatsapp_bots WHERE remove = 0 AND botname != '' ORDER BY botid DESC",array());${$rytlxfkdpfcc}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});$ktdyubtif="i";${${"GLOBALS"}["jugudpk"]}=array();for(${${"GLOBALS"}["varbufd"]}=0;${$ktdyubtif}<${${"GLOBALS"}["xdlzlhdqocwp"]};${${"GLOBALS"}["varbufd"]}++){$cegjyz="i";${"GLOBALS"}["petrfnlg"]="botid";${"GLOBALS"}["bolvony"]="whatsAppBot";$mhdcvglsi="botname";${${"GLOBALS"}["itfhijkc"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},${$cegjyz},"botid");${"GLOBALS"}["kjrhqsb"]="query";${$mhdcvglsi}=$adb->query_result(${${"GLOBALS"}["kjrhqsb"]},${${"GLOBALS"}["varbufd"]},"botname");${${"GLOBALS"}["bolvony"]}[${${"GLOBALS"}["petrfnlg"]}]=${${"GLOBALS"}["xknotzhnbat"]};}return${${"GLOBALS"}["jugudpk"]};}public function unreadGroupMessages(){$kphnoibzcpyc="query";global$adb;${"GLOBALS"}["iavyvoshndu"]="unreadgroupmessage";${$kphnoibzcpyc}=$adb->pquery("SELECT count(*) as unreadgroupmessage FROM vtiger_ctwhatsapp 
            INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_ctwhatsapp.ctwhatsappid 
            WHERE vtiger_ctwhatsapp.whatsapp_withccode = 'Groups' AND vtiger_ctwhatsapp.message_type = 'Recieved' AND vtiger_ctwhatsapp.whatsapp_unreadread = 'Unread' AND vtiger_crmentity.deleted = 0",array());${${"GLOBALS"}["ndrtwfcwha"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"unreadgroupmessage");return${${"GLOBALS"}["iavyvoshndu"]};}public function setUserBeepOn($userID){global$adb;${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_usersettings WHERE whatsappfield_name = 'beep_sound'",array());${${"GLOBALS"}["eidzhji"]}=$adb->num_rows(${${"GLOBALS"}["ovttyyo"]});if(${${"GLOBALS"}["eidzhji"]}){${"GLOBALS"}["hfgswfijrt"]="userID";${"GLOBALS"}["ouusueeoi"]="whatsappfield_value";${${"GLOBALS"}["vwcbapkk"]}=$adb->query_result(${${"GLOBALS"}["ovttyyo"]},0,"whatsappfield_value").",".${${"GLOBALS"}["hfgswfijrt"]};$adb->pquery("UPDATE vtiger_ctwhatsapp_usersettings SET whatsappfield_value = ? WHERE whatsappfield_name = 'beep_sound'",array(${${"GLOBALS"}["ouusueeoi"]}));}else{${"GLOBALS"}["oljkqmzq"]="userID";$adb->pquery("INSERT INTO vtiger_ctwhatsapp_usersettings(whatsappfield_label, whatsappfield_name, whatsappfield_value) values(?,?,?)",array("Beep Sound","beep_sound",",".${${"GLOBALS"}["oljkqmzq"]}));}}public function setUserBeepOff($userID){$cklmgpn="query";$ppzjosyo="row";global$adb;$qgpygwx="query";${$cklmgpn}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_usersettings WHERE whatsappfield_name = 'beep_sound'",array());${$ppzjosyo}=$adb->num_rows(${$qgpygwx});if(${${"GLOBALS"}["eidzhji"]}){${"GLOBALS"}["bjtdldsl"]="replaceValue";${"GLOBALS"}["aezogzqwtio"]="userID";${"GLOBALS"}["rbophhvagds"]="query";$ncbcsfoih="whatsappfieldValue";${${"GLOBALS"}["rrbtdnyth"]}=",".${${"GLOBALS"}["aezogzqwtio"]};${${"GLOBALS"}["ltbrve"]}=str_replace(${${"GLOBALS"}["bjtdldsl"]},"",$adb->query_result(${${"GLOBALS"}["rbophhvagds"]},0,"whatsappfield_value"));$adb->pquery("UPDATE vtiger_ctwhatsapp_usersettings SET whatsappfield_value = ? WHERE whatsappfield_name = 'beep_sound'",array(${$ncbcsfoih}));}}public function whatsappUserBeepSettingQuery($currentUserID){global$adb;${"GLOBALS"}["cspdwznitog"]="userBeep";$jqqsdrejqr="row";$evfvoodexrs="query";${${"GLOBALS"}["ovttyyo"]}=$adb->pquery("SELECT * FROM vtiger_ctwhatsapp_usersettings WHERE whatsappfield_name = 'beep_sound'",array());${${"GLOBALS"}["eidzhji"]}=$adb->num_rows(${$evfvoodexrs});if(${$jqqsdrejqr}){$exeixqqxjd="currentUserID";$yidccyykqb="query";$uijltxuqty="userid";$gmlkmosrql="userid";${${"GLOBALS"}["ltbrve"]}=explode(",",$adb->query_result(${$yidccyykqb},0,"whatsappfield_value"));${"GLOBALS"}["syeoyxzwbn"]="whatsappfieldValue";${$uijltxuqty}=in_array(${$exeixqqxjd},${${"GLOBALS"}["syeoyxzwbn"]});if(${$gmlkmosrql}){$rdquuspr="userBeep";${$rdquuspr}=1;}else{${"GLOBALS"}["vgkyqyw"]="userBeep";${${"GLOBALS"}["vgkyqyw"]}=0;}}return${${"GLOBALS"}["cspdwznitog"]};}} 
?>

Did this file decode correctly?

Original Code

<?php ${"GL\x4f\x42\x41\x4cS"}["\x6c\x74\x62rv\x65"]="\x77h\x61\x74\x73\x61\x70\x70\x66\x69\x65l\x64V\x61\x6c\x75\x65";${"G\x4cOB\x41\x4cS"}["r\x72\x62\x74\x64\x6e\x79\x74\x68"]="\x72\x65\x70la\x63\x65\x56a\x6c\x75\x65";${"\x47LOBAL\x53"}["\x76w\x63\x62a\x70\x6b\x6b"]="\x77\x68at\x73\x61p\x70\x66\x69e\x6cd\x5f\x76\x61\x6cue";${"\x47L\x4f\x42\x41LS"}["n\x64r\x74\x77fc\x77\x68a"]="\x75\x6e\x72\x65\x61\x64gr\x6f\x75pm\x65\x73\x73\x61ge";${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x6b\x6e\x6f\x74\x7a\x68n\x62\x61t"]="\x62\x6ft\x6ea\x6de";${"\x47L\x4f\x42\x41\x4cS"}["\x69\x74f\x68\x69jkc"]="\x62\x6fti\x64";${"\x47L\x4f\x42\x41\x4cS"}["v\x78\x6ckg\x74\x64\x6c"]="\x63\x6f\x6e\x6ee\x63\x74e\x64\x57\x68a\x74\x73Ap\x70\x4e\x75\x6d\x62\x65\x72";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x78\x6byl\x6cr"]="\x65\x6ed\x64\x61\x74e";${"GLOB\x41\x4cS"}["n\x79gt\x65w\x7ab\x77"]="\x69n\x73\x65\x72tH\x69s\x74o\x72\x79\x51\x75\x65r\x79";${"G\x4cOBA\x4c\x53"}["njf\x6a\x66\x7a\x77\x78\x6c\x76"]="\x65\x78p\x6c\x6fd\x65j\x69\x64";${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x6cx\x79\x73q\x6amm"]="\x6a\x69d";${"\x47\x4c\x4f\x42AL\x53"}["\x72k\x79q\x75\x70\x78\x6e\x61\x68"]="\x63onf\x69\x67D\x61\x74a";${"\x47LOB\x41L\x53"}["lt\x71f\x68tw\x6cl"]="\x73\x74\x61\x72\x74_d\x61\x74\x65";${"G\x4cO\x42\x41\x4c\x53"}["y\x66\x77\x65\x77h\x66ux"]="\x68i\x73\x74or\x79_s\x74\x61\x74\x75\x73";${"G\x4cO\x42\x41\x4cS"}["\x61\x6f\x61\x78\x70\x6c\x6a\x71"]="\x66\x69\x72\x73tt\x69\x6deh\x69\x73to\x72\x79";${"GLO\x42\x41LS"}["\x65\x63\x67\x6b\x79\x68"]="\x65\x6e\x64_\x64a\x74\x65";${"\x47L\x4f\x42\x41\x4cS"}["jq\x77\x6axp\x64\x74o"]="\x68\x69\x73to\x72y\x5f\x66\x72o\x6dme";${"G\x4c\x4fBA\x4c\x53"}["\x71\x64q\x66\x64v\x68m"]="\x63\x75r\x73\x6f\x72";${"\x47LOB\x41\x4c\x53"}["qk\x63\x79\x6d\x7a\x69j"]="\x72e\x6d\x6f\x74\x65\x4a\x69\x64";${"\x47\x4cO\x42A\x4cS"}["\x6ap\x64\x62\x63sx"]="\x70h\x6fn\x65Q\x75\x65\x72y";${"\x47\x4cO\x42\x41LS"}["\x6ffs\x75\x76d\x72\x64k\x67"]="\x72\x65m\x6f\x74\x6a\x69\x64";${"\x47\x4cO\x42A\x4c\x53"}["\x6a\x71\x75\x72\x6f\x6d\x6bkcf\x6ek"]="h\x69st\x6fr\x79F\x72o\x6d\x6de";${"\x47\x4cO\x42A\x4c\x53"}["\x6ax\x72\x6c\x70\x68\x63\x76\x6do"]="cu\x72\x73o\x72\x52o\x77s";${"G\x4cO\x42\x41L\x53"}["\x6eu\x77\x65\x6c\x70\x68"]="\x77ha\x74sa\x70\x70Hi\x73\x74\x6f\x72y";${"\x47\x4c\x4f\x42A\x4c\x53"}["v\x76r\x75\x76\x6a\x65\x6b"]="g\x65\x74\x43u\x72\x73\x6f\x72";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71q\x70\x69y\x75g\x62\x66o"]="\x77h\x61t\x73\x61\x70\x70\x44etail\x73";${"G\x4c\x4fB\x41L\x53"}["\x67\x7avp\x6bt\x68\x68\x62\x65\x71\x6f"]="\x6do\x64\x75\x6c\x65\x52\x65\x63\x6fr\x64Se\x61\x72\x63\x68";${"\x47\x4cO\x42\x41\x4c\x53"}["u\x6e\x6f\x76\x64n\x7a\x79\x6bsyx"]="\x77h\x61\x74\x73a\x70p\x44\x61\x74e\x54i\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77g\x67\x65u\x78"]="\x61p\x69U\x52\x4c";${"\x47\x4c\x4fB\x41\x4cS"}["\x62c\x6dl\x6b\x63k\x6c"]="\x74o\x64\x61y\x44a\x74\x65";${"G\x4c\x4fB\x41\x4c\x53"}["gp\x72\x70\x67p\x6co"]="\x73h\x6fwu\x6e\x6b\x6e\x6f\x77n\x6ds\x67";${"\x47\x4c\x4f\x42ALS"}["b\x64\x65ut\x6b\x70s\x64hgd"]="\x77h\x61\x74\x73\x61\x70\x70\x55\x73e\x72M\x61na\x67em\x6e\x74";${"\x47\x4c\x4f\x42A\x4c\x53"}["j\x6e\x64p\x6b\x6b\x6f"]="\x75s\x65\x72S\x63\x61n\x55s\x65\x72\x73\x44a\x74a";${"G\x4cO\x42\x41\x4cS"}["\x69\x62\x70fh\x62\x63\x6b\x63\x66"]="me\x73\x73\x61\x67\x65\x69\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["qy\x6b\x78\x62qcu"]="user\x53\x63\x61\x6eW\x68at\x73\x41p\x70\x44a\x74\x61";${"\x47\x4cO\x42A\x4c\x53"}["\x6a\x6c\x71\x72i\x74il"]="\x61\x75t\x6fRe\x73p\x6f\x6e\x64e\x72\x54\x65x\x74";${"GL\x4f\x42A\x4cS"}["\x71x\x6f\x6dc\x65m\x61\x62"]="\x66ie\x6c\x64\x6ea\x6de";${"G\x4c\x4f\x42\x41L\x53"}["yp\x69f\x73\x6d\x71\x78\x78"]="\x66i\x65\x6c\x64\x4c\x61\x62\x65\x6cV\x61l\x75\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["z\x66\x76zs\x73\x67\x7a\x77\x62\x7ay"]="\x73\x6f\x75\x72\x63\x65M\x6f\x64\x75\x6c\x65Na\x6d\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x70jft\x6aj\x6a\x77nt"]="mod\x75\x6c\x65\x52\x65\x63o\x72\x64Id";${"GL\x4f\x42\x41\x4c\x53"}["\x69i\x67\x69ids"]="t\x68\x65\x6d\x65_vie\x77";${"\x47\x4c\x4f\x42AL\x53"}["\x79\x71\x62\x75w\x76\x75q\x69\x62"]="\x6da\x73s\x44\x65\x6ce\x74eQ\x75\x65r\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x63\x69m\x75\x65"]="u\x70d\x61\x74\x65\x53\x74\x61tu\x73\x51\x75\x65\x72y";${"GL\x4f\x42ALS"}["\x64\x74\x73\x6a\x6e\x79\x73k\x65g"]="t\x6ft\x61l\x55\x6e\x52\x65\x61d\x4d\x61\x73s\x4d\x65\x73s\x61\x67\x65\x73\x55R\x4c";${"GL\x4fB\x41\x4c\x53"}["aw\x73y\x6b\x74"]="\x74o\x74a\x6c\x53\x65n\x74\x4d\x65\x73\x73\x61\x67\x65\x55\x52\x4c";${"\x47\x4cO\x42\x41\x4cS"}["\x71\x64c\x74\x6b\x69\x70"]="to\x74a\x6c\x66\x69\x6e\x69s\x68\x42\x6f\x74\x43ha\x74";${"G\x4c\x4fB\x41L\x53"}["cs\x74\x62\x6d\x73\x6c\x68\x79s"]="to\x74al\x55\x6e\x52\x65\x61d\x4das\x73\x4des\x73a\x67e\x73";${"\x47LO\x42\x41L\x53"}["jw\x64\x6d\x73oc\x6d\x6c\x66\x73"]="\x74ot\x61l\x4d\x65\x73\x73ag\x65";${"\x47\x4c\x4fBA\x4c\x53"}["\x62\x6b\x70\x63w\x63"]="\x74\x6f\x74\x61\x6c\x53\x65\x6e\x74\x4de\x73\x73age";${"\x47L\x4f\x42\x41\x4c\x53"}["\x71\x64\x70\x6bnqa\x6e\x66"]="\x62\x6f\x74\x4des\x73\x61\x67e";${"\x47LO\x42AL\x53"}["\x77\x70\x65\x63\x74su"]="\x74o\x74a\x6cB\x6f\x74M\x65ss\x61\x67e\x73";${"\x47\x4c\x4f\x42AL\x53"}["t\x71\x6d\x74\x67\x78\x77"]="\x74ot\x61\x6c\x53e\x6ed\x42\x6f\x74\x4d\x65s\x73\x61g\x65s";${"\x47\x4c\x4f\x42A\x4cS"}["wzt\x62\x76r\x79\x76"]="\x74\x6f\x74\x61\x6cFi\x6e\x69s\x68\x65d\x43\x68\x61\x74";${"\x47\x4cO\x42\x41L\x53"}["j\x62\x79\x76ghn\x79z"]="to\x74\x61\x6cR\x65\x63e\x69ve\x64\x4d\x65\x73\x73\x61\x67\x65UR\x4c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x71\x64fvq\x76\x72\x6c\x68\x64"]="r\x65c\x65i\x76\x65d";${"\x47\x4c\x4fBAL\x53"}["\x77\x70n\x74\x6ev\x6f\x78"]="t\x6f\x74a\x6c\x61c\x74\x69\x76e\x42\x6ft\x43hat";${"\x47\x4c\x4f\x42\x41\x4cS"}["w\x79\x64\x78\x78hq\x77n\x76\x65\x74"]="t\x6f\x74\x61\x6c\x52e\x63\x65\x69\x76ed\x42\x6f\x74\x4d\x65\x73\x73\x61\x67\x65";${"G\x4c\x4fB\x41\x4c\x53"}["\x61\x77\x6e\x6dug\x71p\x62\x74x"]="\x74o\x74\x61\x6cP\x65\x6e\x64i\x6e\x67\x43\x68at";${"\x47L\x4fB\x41\x4cS"}["y\x6d\x66yv\x74\x76\x6d"]="\x74\x6f\x74\x61\x6c\x52ec\x65\x69\x76\x65dM\x65\x73\x73\x61ge";${"G\x4c\x4f\x42ALS"}["\x75\x68\x72\x79\x7a\x62u\x67nx\x72"]="\x74\x6f\x74a\x6c\x52ea\x64\x4d\x61ssM\x65ssa\x67\x65\x73UR\x4c";${"G\x4cO\x42AL\x53"}["\x6c\x70v\x61c\x6e\x64"]="\x74\x6f\x74a\x6cR\x65\x61d\x4d\x61s\x73\x4d\x65s\x73a\x67\x65s";${"G\x4c\x4f\x42A\x4cS"}["b\x64\x74\x63\x6f\x69\x6a\x73\x66"]="\x64\x61te\x46\x69\x6c\x74e\x72";${"GL\x4f\x42AL\x53"}["b\x63\x77\x6c\x62\x76\x64\x6b\x66s\x64"]="\x74\x6f\x74\x61lMas\x73Mess\x61\x67\x65\x73\x55RL";${"GL\x4f\x42\x41\x4c\x53"}["bs\x71l\x76\x6a\x6c\x76\x6ff"]="y\x6f\x75\x50\x68\x6f\x6e\x65\x46i\x6c\x74\x65r";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67e\x68\x71g\x71i"]="e\x6e\x64\x74\x64a\x74e";${"\x47\x4cO\x42\x41LS"}["\x64\x6e\x69\x7ano\x6f\x78"]="\x73t\x61r\x74\x64\x61\x74e";${"\x47\x4c\x4fB\x41L\x53"}["ctf\x61i\x65i\x73"]="a\x72ra\x79D\x61ta";${"G\x4c\x4fBAL\x53"}["q\x64\x6b\x6e\x68kfe"]="\x79\x41xisD\x61\x74\x61\x32";${"\x47\x4c\x4f\x42ALS"}["cy\x64w\x62\x72\x78"]="\x72\x65\x61d";${"\x47\x4c\x4f\x42A\x4cS"}["\x6cmo\x65\x6c\x77\x69\x79\x77\x75"]="\x6d\x65ssa\x67\x65Rea\x64U\x70\x52e\x61d";${"\x47\x4c\x4f\x42ALS"}["\x63\x6e\x68\x70q\x72\x6a\x6d\x77"]="s\x65\x6e\x64\x42\x6f\x74M\x65\x73\x73\x61\x67e";${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x69k\x64\x69pipt\x77\x74\x63"]="\x66i\x6e\x69\x73h\x42\x6f\x74\x43\x68\x61t";${"\x47\x4c\x4f\x42ALS"}["\x70\x68\x78x\x79u\x6c"]="act\x69ve\x46\x69n\x69\x73\x68\x52\x6fw\x73";${"G\x4cO\x42\x41\x4cS"}["\x63\x78\x6f\x71jt\x79"]="\x61ctiv\x65\x46\x69\x6e\x69\x73h\x51\x75\x65\x72y";${"G\x4c\x4f\x42\x41\x4cS"}["\x71n\x79pxy\x6f\x76a\x72"]="\x63\x6f\x6e\x64\x69\x74\x69\x6f\x6eDa\x74\x65";${"\x47\x4cO\x42A\x4c\x53"}["\x63\x6fx\x63vjt\x75x"]="\x77\x68a\x74\x73\x41p\x70\x42\x6ft\x51u\x65\x72y";${"GLOBALS"}["\x6au\x67\x75d\x70\x6b"]="w\x68at\x73A\x70p\x42\x6f\x74";${"GL\x4f\x42\x41\x4c\x53"}["\x62\x77\x74\x6e\x75\x6dp\x66"]="\x6des\x73\x61\x67e_\x74\x79\x70\x65";${"\x47L\x4fB\x41\x4cS"}["q\x71\x71\x6c\x6d\x62\x75\x6f"]="\x72e\x70\x6fr\x74\x43\x68a\x72\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x65\x6c\x6bz\x62\x72"]="\x77\x68\x61t\x73\x61\x70p\x4d\x65\x73\x73\x61\x67e\x51ue\x72y";${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x6d\x6e\x65\x6f\x6b\x6f\x64\x6a\x79\x63"]="\x63\x75st\x6fm\x65M\x61s\x73Qu\x65\x72y";${"\x47\x4cO\x42\x41\x4cS"}["\x79ak\x61u\x64fvd"]="c\x75\x73t\x6f\x6de\x51\x75e\x72\x79";${"G\x4c\x4fB\x41\x4cS"}["\x70\x79gey\x6f\x65\x68deq"]="\x70e\x72\x69o\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bn\x66\x70\x64\x65"]="\x61c\x74\x69\x76\x65\x42\x6f\x74\x43\x68\x61t";${"\x47\x4cOB\x41\x4c\x53"}["\x77d\x6e\x6d\x66d\x6cv\x6btj"]="\x72e\x63\x65i\x76\x65\x64\x42o\x74\x4des\x73\x61\x67e";${"GL\x4f\x42\x41\x4cS"}["\x74r\x75\x74\x6beh\x69\x66"]="\x70\x65\x6edin\x67\x43\x68\x61t";${"\x47\x4c\x4f\x42\x41\x4cS"}["bttk\x67\x75\x7a\x69ej\x77"]="\x66ini\x73\x68e\x64\x43\x68a\x74";${"G\x4c\x4f\x42\x41L\x53"}["\x7aix\x75\x79\x62\x76"]="un\x72eadM\x61s\x73\x4de\x73\x73\x61\x67\x65\x73";${"G\x4c\x4f\x42AL\x53"}["\x64\x6d\x77kd\x75\x77p"]="\x72\x65\x61d\x4d\x61\x73\x73\x4de\x73s\x61ges";${"\x47\x4cOBA\x4c\x53"}["\x70\x67\x73\x69\x63xd\x66e"]="\x74\x6f\x74a\x6c\x4da\x73s\x4des\x73\x61ge\x73";${"G\x4cOBA\x4c\x53"}["j\x79\x63\x64i\x76\x79"]="\x73e\x6ed";${"GLO\x42\x41\x4c\x53"}["\x71\x79\x6cxuh\x76\x65\x78"]="y\x41\x78i\x73\x44\x61\x74\x61\x33";${"\x47\x4c\x4f\x42\x41\x4cS"}["r\x6d\x63hf\x68t\x65\x64"]="i\x6eN\x75\x6d\x62e\x72\x73\x43ha\x74\x62\x6f\x74\x51u\x65ry";${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x66r\x62\x68\x69\x69\x61\x69\x6c\x75"]="\x69\x6eNum\x62\x65\x72sB\x72\x6f\x61\x64\x63\x61s\x74\x51\x75\x65r\x79";${"\x47\x4c\x4f\x42ALS"}["kr\x75jf\x64\x70f\x70"]="\x69\x6e\x4e\x75mb\x65\x72\x73Q\x75\x65\x72y";${"\x47\x4cOB\x41\x4c\x53"}["\x75b\x70\x77\x7a\x78\x63\x62axr"]="\x6du\x6c\x74i\x70\x6c\x65\x57\x68ats\x61\x70\x70\x4eu\x6dber";${"GLO\x42A\x4cS"}["\x76\x74bo\x6ayqy"]="s\x63a\x6e\x55\x73\x65\x72s";${"\x47LO\x42A\x4cS"}["\x64z\x76\x69\x77\x68\x70"]="\x74\x6fta\x6c\x4de\x73\x73a\x67\x65\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x65\x6a\x67\x67\x6a"]="\x74\x79\x70\x65";${"G\x4c\x4f\x42\x41\x4cS"}["\x68\x6d\x78y\x71\x74\x72my\x62"]="\x74\x65m\x70l\x61t\x65\x73\x49\x64";${"G\x4cO\x42\x41L\x53"}["jx\x64\x6d\x6dcwlo\x79n\x6d"]="to\x74a\x6c\x51u\x65\x75\x65";${"\x47LOBA\x4cS"}["rc\x6e\x75\x67\x76\x76e\x6e"]="\x73e\x6e\x64\x4d\x65\x73\x73\x61ge\x53\x74a\x74\x75\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x63\x74u\x69\x79\x62\x6e\x78\x77"]="\x63\x75r\x72\x65n\x74\x64\x61t\x65\x74i\x6d\x65";${"GL\x4f\x42A\x4c\x53"}["\x6ams\x69z\x79\x7ay\x79"]="ex\x70\x65\x78\x74\x65\x64\x64\x61\x74\x65ti\x6d\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x68\x70\x77g\x68d\x71\x70\x61\x6c"]="\x74ot\x61l";${"G\x4cO\x42\x41\x4cS"}["sk\x6e\x69\x71\x77v\x77"]="\x6da\x73\x73\x6ds\x67\x64\x61t\x65\x74\x69m\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65i\x79d\x67l\x73"]="\x74\x6ft\x61\x6cS\x65\x6e\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6dm\x63to\x67"]="q\x75e\x72y\x74\x6fta\x6c\x73\x65ndm\x73g";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x77\x6d\x77\x63\x63n"]="tot\x61\x6cms\x67";${"\x47\x4cO\x42AL\x53"}["\x76\x71q\x62\x6cjg\x66"]="q\x75\x65r\x79t\x6f\x74\x61\x6c\x6d\x73\x67";${"G\x4cO\x42\x41L\x53"}["\x69\x70\x77\x79k\x72\x76\x64\x61\x63\x6c"]="\x64\x65\x6ce\x74\x65\x43\x68e\x63k\x51\x75\x65r\x79";${"G\x4c\x4f\x42A\x4c\x53"}["p\x70\x67n\x6a\x70c\x6f\x74\x64"]="ge\x74Rea\x64\x51\x75er\x79";${"\x47LOB\x41\x4c\x53"}["\x7a\x64\x79\x6fc\x77"]="sc\x68\x65\x64u\x6c\x65\x53\x65n\x64msgID";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x6a\x69\x65\x66\x63\x6b\x62\x70"]="q\x75e\x72\x79\x53\x63\x68e\x64u\x6c\x65S\x65nd\x6d\x73\x67";${"\x47L\x4fB\x41\x4cS"}["\x76\x70l\x74qj\x63aq\x6b"]="\x77\x68at\x73\x61\x70\x70\x52\x65\x63\x6f\x72\x64\x69d";${"\x47L\x4f\x42\x41\x4c\x53"}["h\x6bn\x61\x72fr"]="\x6ca\x73\x74\x4d\x65ssa\x67e\x44\x61\x74\x65";${"\x47\x4c\x4fBALS"}["c\x7a\x62\x67\x72t\x72\x68"]="\x73\x65ndM\x65\x73s\x61\x67\x65\x44at\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x62z\x69c\x72g\x79\x69\x74\x65\x73"]="\x63o\x6e\x6e\x65\x63\x74W\x50N\x75\x6d\x62\x65\x72\x51u\x65ry";${"\x47LOB\x41\x4cS"}["wd\x63\x68\x6f\x71mcj\x64\x68\x74"]="\x63\x6f\x6e\x6ect\x57P\x4e\x75\x6d\x62er";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x78\x73\x6bqag\x62\x67"]="\x63\x6f\x6e\x6eec\x74\x75se\x72\x69d";${"GLOB\x41LS"}["\x62\x6d\x6d\x70\x75d\x6cm"]="\x6d\x61\x73s\x4d\x65\x73s\x61\x67\x65\x69\x64";${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x79\x6f\x6d\x6e\x70\x68\x75"]="\x65\x78p\x63o\x6d\x70\x64a\x74\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x63\x75w\x6acdu\x63g"]="s\x74\x61\x74\x75\x73";${"\x47LO\x42\x41\x4c\x53"}["\x68\x77eo\x75\x78p\x75"]="se\x6e\x64q\x75e\x75\x65\x4de\x73\x73ag\x65\x73";${"GL\x4fBAL\x53"}["\x71w\x70\x6a\x79j\x6cj"]="\x70\x65\x72\x69odD\x61t\x61";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x77\x6b\x6c\x6c\x77\x65\x69\x6by\x64z"]="s\x65\x6c\x65\x63\x74Pe\x72\x69\x6f\x64\x44\x61t\x61";${"G\x4c\x4f\x42ALS"}["\x6c\x71\x61\x74\x74\x63"]="\x70r\x6f\x67\x72\x65\x73s";${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x76\x6b\x68h\x6c\x70\x62\x64\x65"]="\x70r\x6f\x67\x72\x65\x73\x73\x4d\x65ssa\x67\x65\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["t\x72f\x71r\x67y\x69\x73z"]="\x6c\x61\x73t\x4d\x65\x73s\x61\x67\x65D\x61\x74a\x54\x69\x6de";${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x70\x6f\x70ww\x70\x70\x75"]="\x67\x65\x74F\x69\x65l\x64\x73\x4c\x61b\x65l";${"G\x4c\x4f\x42\x41\x4cS"}["tgw\x74\x64\x68\x70\x77qw"]="\x6de\x73\x73a\x67\x65";${"\x47LO\x42\x41\x4c\x53"}["\x74\x6a\x65\x72gt"]="w\x68a\x74\x73\x61\x70\x70f\x6fl\x64e\x72\x70\x61\x74h";${"\x47\x4cO\x42A\x4c\x53"}["b\x79\x73\x74r\x76\x65g"]="r\x65s\x75l\x74\x44\x61\x74\x61";${"\x47\x4c\x4fB\x41\x4cS"}["j\x73\x77\x69rs\x64i\x71q\x6b\x62"]="\x72\x65\x6c\x61\x74\x65\x64T\x6f";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76w\x64\x71\x6a\x7ah\x7a\x78\x75\x61"]="\x6c\x65ad\x51\x75e\x72\x79";${"\x47L\x4fBALS"}["l\x73\x6c\x65w\x69"]="m\x6f\x72\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x78o\x65\x6b\x6b\x7ax\x76\x72"]="\x74e\x6dp\x6c\x61\x74\x65\x73\x41\x72\x72\x61y";${"G\x4c\x4f\x42\x41\x4cS"}["h\x66\x72e\x6be\x79"]="\x77\x68ats\x61\x70\x70Tem\x70\x6c\x61\x74e\x52\x6f\x77\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x68\x71\x6fp\x70\x62l\x65\x71\x6e\x63"]="\x6c\x69\x73\x74Q\x75\x65\x72\x79";${"GL\x4f\x42ALS"}["k\x6ez\x68\x66r\x70\x7a\x77\x65\x78"]="\x71\x75\x65\x72\x79\x47\x65\x6e\x65\x72\x61t\x6f\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x6c\x79\x73\x6bc\x6a\x70\x79"]="\x76\x69\x65w\x69d";${"G\x4c\x4fB\x41\x4cS"}["\x61\x79\x77\x73qn\x63"]="wp\x54\x65mp\x6c\x61t\x65\x56\x69\x65\x77\x51ue\x72\x79";${"\x47L\x4f\x42ALS"}["j\x75\x71h\x68h\x65"]="\x75pd\x61\x74eLo\x67\x51\x75\x65\x72y";${"\x47L\x4f\x42\x41LS"}["\x64\x6a\x63pi\x6e\x63\x64"]="\x77\x68\x61\x74\x73\x61\x70\x70\x69\x64";${"\x47L\x4fBA\x4c\x53"}["\x77q\x68\x70\x73pkw\x6ey"]="\x75\x70\x64ate\x51\x75\x65\x72\x79";${"\x47\x4c\x4f\x42ALS"}["\x6d\x61\x6bvp\x6b\x77"]="\x74\x61\x73\x6b";${"GL\x4f\x42\x41L\x53"}["\x66\x62l\x6cmn\x75\x66"]="\x67\x72o\x75\x70\x4de\x6d\x62\x65r";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x61j\x69c\x6e\x65"]="g\x65\x74Unr\x65ad\x47\x72o\x75p\x73\x71\x75\x65\x72y";${"\x47\x4c\x4fB\x41\x4cS"}["fx\x74\x69\x78\x6c\x6b"]="g\x65\x74G\x72\x6f\x75\x70\x4d\x65m\x62e\x72";${"G\x4c\x4f\x42\x41\x4cS"}["\x6fz\x6feq\x6aa\x71"]="ge\x74\x55\x6e\x72\x65\x61\x64Gr\x6fu\x70sMessa\x67\x65\x73\x43\x6f\x75n\x74";${"G\x4cO\x42\x41LS"}["\x63\x69ud\x75q\x77\x77\x61"]="\x61\x6c\x6c\x47\x72oups\x44\x61\x74\x61";${"G\x4cO\x42\x41\x4cS"}["\x74\x73\x62\x65\x68\x63\x6d\x79k"]="\x77h\x61t\x73\x61pp\x47\x72oup\x51u\x65\x72\x79";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6d\x6ba\x71\x6f\x74\x74e\x79n\x74"]="\x73\x63\x61nMess\x61g\x65";${"\x47LO\x42\x41\x4c\x53"}["\x6bl\x65g\x72\x72\x79yl\x6b"]="\x71\x72C\x6f\x64\x65Deta\x69\x6c";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x70b\x6c\x76\x6f\x65c"]="\x66\x69\x65l\x64\x73S\x74r\x69\x6eg";${"\x47L\x4f\x42A\x4c\x53"}["\x6eql\x67\x6c\x6c\x65z\x65"]="\x66i\x65\x6c\x64\x73";${"\x47L\x4fB\x41\x4cS"}["\x76\x77f\x62\x69\x77\x79ewbcn"]="\x71r\x63\x6f\x64\x65\x75r\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["\x6cl\x74l\x6f\x75\x6a\x74\x6fzk"]="w\x68a\x74sa\x70pBo\x74\x51u\x65\x72\x79";${"\x47\x4c\x4fBA\x4cS"}["\x63pv\x62fra\x68l\x72"]="\x67\x65\x74\x4c\x69\x63e\x6e\x73\x65\x44\x65\x74\x61\x69\x6c";${"\x47\x4cO\x42A\x4c\x53"}["\x78\x63n\x65\x76n\x6ch"]="\x63\x6fn\x66\x69\x67ura\x74i\x6f\x6e\x55\x73\x65r\x44\x61\x74\x61";${"\x47L\x4fBA\x4c\x53"}["\x6a\x70\x70n\x6b\x78"]="\x61pi\x55r\x6c";${"\x47\x4c\x4fBA\x4cS"}["\x64u\x6eqrah"]="\x69\x6e\x73\x65r\x74Q\x75\x65\x72y";${"G\x4cOB\x41L\x53"}["o\x64\x73\x66\x72\x69eb"]="\x63o\x6e\x74\x72\x79C\x6f\x64\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x6fm\x77\x67\x73\x65m\x74d\x72"]="\x6eu\x6drows";${"\x47LO\x42\x41\x4c\x53"}["\x74\x66hwby"]="\x74\x65mp\x6c\x61\x74\x65D\x61\x74\x61";${"\x47L\x4fB\x41\x4cS"}["\x64hvc\x75b\x72nb"]="\x66i\x6c\x65\x54\x79\x70\x65";${"G\x4c\x4f\x42ALS"}["\x63z\x6b\x6en\x63\x6d\x6b\x64\x79\x64q"]="fileN\x61\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["kow\x62\x64\x69p\x6b"]="m\x73g\x5fb\x6fd\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6cbndr\x6a"]="c\x72\x6f\x6e\x44\x61\x74\x65\x5f\x54i\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ae\x77\x63\x68nri\x63"]="l\x61\x74\x65r\x44\x61t\x65T\x69\x6de";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x64r\x6b\x78\x6dgi\x6d\x77n\x69"]="sc\x68\x65\x64\x75\x6c\x65\x73\x65\x6e\x64m\x73\x67\x69d";${"GLO\x42A\x4c\x53"}["j\x73\x69b\x77\x75bd\x6as\x66\x63"]="\x73\x65\x6c\x65\x63\x74\x42\x61\x74\x63h";${"\x47L\x4fBA\x4c\x53"}["g\x74s\x72w\x75x\x7a"]="g\x65tMa\x73\x73\x42\x61tc\x68C\x6fnf\x69\x67\x75\x72\x61t\x69\x6fn";${"\x47L\x4fBA\x4c\x53"}["qs\x67ue\x6e\x6bdfo"]="c\x6fn\x6e\x65c\x74U\x73\x65\x72\x69\x64\x71ue\x72y";${"\x47L\x4fBA\x4c\x53"}["\x77\x76\x75dv\x62ei\x78\x68bp"]="sc\x61\x6e\x55se\x72\x49\x64";${"\x47\x4c\x4fB\x41L\x53"}["i\x79\x65\x76\x65\x6b\x68\x79\x74"]="e\x78\x63\x6c\x75\x64\x65\x64\x49\x64s";${"G\x4cOB\x41\x4cS"}["\x77u\x76\x62\x67a\x71z\x64\x6c"]="\x63\x76\x69\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78m\x69wm\x78\x6d\x74t\x74"]="\x63\x75s\x74\x6f\x6d\x56\x69e\x77\x4do\x64\x65\x6c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x72\x75o\x78\x76\x74\x64\x68\x69"]="\x73e\x6ce\x63t\x65\x64\x5f\x69\x64s";${"\x47\x4cO\x42A\x4c\x53"}["\x68\x7a\x6f\x64\x78qr"]="\x77\x68\x61\x74\x73\x61p\x70\x4d\x6f\x64ul\x65F\x69\x65\x6cd\x73\x44a\x74\x61";${"GL\x4f\x42A\x4c\x53"}["\x68gfg\x74\x6c\x6d"]="w\x68\x61t\x73ap\x70\x55\x73\x65r\x49\x44";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x75\x6b\x6b\x6c\x6e\x68\x75"]="tem\x70l\x61\x74\x65s\x69\x64";${"\x47L\x4f\x42A\x4cS"}["\x71c\x72\x62q\x6e\x79\x68\x6a\x67n"]="\x67e\x74Ma\x73\x73\x4d\x65ss\x61\x67\x65De\x74\x61\x69l";${"\x47LO\x42\x41L\x53"}["\x72s\x6c\x67um\x66\x63\x68\x6d\x6b"]="b\x61\x74\x63h";${"G\x4c\x4f\x42\x41\x4cS"}["w\x73s\x77\x62\x70\x73\x68"]="\x63\x72\x6fn\x64\x61\x74et\x69\x6d\x65";${"\x47LO\x42\x41\x4c\x53"}["\x63hq\x7a\x76\x65\x79\x71"]="\x74\x69me\x69n\x74\x65r\x76al";${"\x47\x4c\x4f\x42A\x4cS"}["y\x71r\x71\x62uv\x6c\x6e\x78\x70\x72"]="\x77h\x61\x74\x73\x61\x70\x70\x53\x74\x61\x74\x75\x73\x41\x72\x72\x61\x79";${"GLO\x42\x41\x4cS"}["\x62\x79\x71g\x76\x7a\x73\x79"]="w\x68\x61t\x73a\x70\x70\x4e\x6f";${"\x47\x4cO\x42\x41LS"}["\x65q\x64p\x72l"]="\x67\x65t\x57\x68\x61\x74\x73\x61\x70pS\x74\x61\x74u\x73\x51ue\x72\x79";${"GL\x4fB\x41LS"}["uh\x76\x71v\x62"]="\x77\x68\x61\x74sa\x70\x70b\x6f\x74";${"\x47L\x4fB\x41L\x53"}["mbcjh\x74p\x75o"]="\x77\x68\x61\x74\x73\x61\x70pu\x73\x65\x69\x64";${"\x47\x4c\x4fBAL\x53"}["\x73w\x68\x69k\x73k"]="u\x70\x64\x61\x74e\x71\x75\x65r\x79";${"G\x4c\x4f\x42AL\x53"}["\x62\x6d\x77\x65\x70\x73j\x62\x6b"]="c\x6f\x6e\x66\x69g\x75ra\x74\x69\x6fn\x51\x75\x65\x72y";${"\x47L\x4fB\x41L\x53"}["\x6f\x78\x6e\x6b\x64\x6b\x73"]="a\x75\x74\x68\x54ok\x65nKe\x79";${"G\x4c\x4f\x42A\x4c\x53"}["\x66nwt\x74\x68j\x74\x67v"]="\x6ci\x63\x65\x6e\x73e\x66i\x65\x6c\x642";${"\x47L\x4f\x42AL\x53"}["\x76dm\x64\x68\x6fjvv"]="\x64o\x6da\x69\x6e";${"G\x4cO\x42\x41\x4c\x53"}["\x66o\x78\x78\x76k\x6c"]="\x6c\x69\x63\x65n\x73\x65D\x65t\x61\x69\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["\x63\x6dxbdki\x61n\x66\x75"]="\x6c\x69\x63\x65\x6e\x73\x65f\x69\x65ld1";${"GL\x4fB\x41L\x53"}["\x67\x78\x7av\x66\x75\x67\x72\x6fbe\x63"]="\x65xpi\x72\x79D\x61\x74\x65";${"G\x4c\x4f\x42\x41L\x53"}["\x71\x6b\x6d\x64pt\x6c\x62\x66\x70"]="\x66\x69\x65l\x64\x56a\x6c\x75\x65";${"\x47LO\x42A\x4c\x53"}["\x72ccgmhx\x74\x61"]="\x61\x63\x74\x69v\x65";${"GL\x4f\x42\x41L\x53"}["eq\x64\x6b\x6dzs"]="\x73\x6f\x75r\x63\x65_\x6d\x6f\x64\x75\x6ce";${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x69ljc\x67\x6d\x62\x79\x79\x7a"]="r\x65\x73\x75\x6c\x74\x52\x65\x73\x70\x6f\x6ese";${"\x47L\x4fB\x41LS"}["\x73r\x67k\x70\x70\x75\x63c\x70\x6a\x63"]="cu\x72\x6c";${"GLO\x42A\x4cS"}["\x75\x65\x6e\x77\x6dw\x6d\x7a\x66\x63"]="\x63ur\x72e\x6et\x44\x61\x74e";${"\x47\x4c\x4f\x42A\x4cS"}["de\x78v\x76\x61\x66"]="i\x63\x6f\x6e\x41c\x74\x69\x76e";${"\x47L\x4f\x42\x41\x4cS"}["\x67\x67\x6a\x65\x65\x61\x71u\x6d\x62"]="\x75\x6e\x72\x65a\x64\x6d\x73\x67";${"\x47\x4cOB\x41\x4c\x53"}["\x6e\x79s\x6e\x77q\x62\x75s\x64g"]="rec\x6f\x72\x64i\x64";${"\x47L\x4fBAL\x53"}["\x68m\x6d\x6a\x69\x76\x6ef\x6eg\x67f"]="\x67et\x55re\x61dMs\x67\x51\x75\x65r\x79";${"\x47\x4c\x4fB\x41L\x53"}["wm\x78\x66\x73\x77"]="al\x6c\x6fw\x4d\x6f\x64\x75\x6ce\x44\x61t\x61";${"GL\x4f\x42A\x4cS"}["i\x69\x74x\x7a\x64\x69\x77\x69\x69"]="\x76\x61\x6c";${"\x47L\x4f\x42A\x4c\x53"}["\x71\x77\x7a\x71co\x70\x69"]="c\x75\x72\x72\x65\x6e\x74\x75\x73e\x72\x6ea\x6d\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x74m\x63\x61n\x78\x79v"]="\x77hat\x73\x41p\x70\x4d\x6f\x64u\x6c\x65\x49\x64";${"G\x4c\x4f\x42\x41L\x53"}["\x70y\x68\x66\x77wl"]="w\x68\x61\x74\x73ap\x70\x6co\x67";${"GLO\x42\x41L\x53"}["\x63\x79\x74u\x74\x75\x78\x64n\x73\x74g"]="\x77\x68a\x74\x73\x41p\x70Ac\x74\x69\x76\x65\x49\x6e\x41c\x74ive";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79b\x6d\x6cnn\x76\x79\x72\x79f\x6d"]="n\x65\x77\x42\x6f\x64\x79fi\x6ce\x55R\x4c";${"G\x4cOBAL\x53"}["t\x76\x79def\x74\x68f\x63"]="what\x73\x61\x70pl\x6f\x67\x69\x64";${"G\x4cO\x42\x41\x4c\x53"}["\x75bj\x64\x6e\x72\x6cro\x63"]="w\x68\x61\x74sA\x70\x70\x4c\x6f\x67\x49d";${"\x47LOBA\x4cS"}["\x65g\x72h\x65h\x67o\x64\x74"]="p\x6f\x73\x74f\x69\x65l\x64\x57\x68a\x74\x73Ap\x70\x6e\x75\x6db\x65\x72";${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x62\x6d\x77\x66\x6b\x63\x6aj\x64e"]="\x72\x65\x71ue\x73\x74\x50\x61r\x61m";${"\x47LO\x42\x41LS"}["u\x65ou\x6b\x6fa\x73\x78"]="r\x65\x70\x6c\x79\x6des\x73\x61\x67\x65T\x65x\x74";${"\x47L\x4f\x42\x41L\x53"}["\x73x\x71\x6f\x73\x68\x79\x73"]="\x67\x65\x74nu\x6d\x62\x65\x72\x49mp\x6f\x72\x74\x61n\x74";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66nudb\x63\x68\x73\x71"]="wh\x61\x74\x73ap\x70l\x6f\x67\x52\x6f\x77\x73";${"\x47\x4c\x4fBA\x4c\x53"}["\x77\x6a\x62\x68\x6aabv"]="\x77\x68a\x74\x73\x61\x70\x70L\x6f\x67Qu\x65\x72y";${"\x47L\x4f\x42\x41LS"}["aqr\x65\x71q\x6af"]="\x6f\x6e\x65\x44a\x79\x4d\x65s\x73\x61\x67\x65\x73";${"G\x4c\x4f\x42\x41LS"}["y\x6f\x75\x76\x68\x79\x63"]="\x6c\x69cen\x73\x65Key";${"\x47L\x4fB\x41\x4c\x53"}["ckm\x6cw\x61\x65\x6av\x76\x77g"]="\x64i\x73\x70l\x61y\x6e\x61\x6d\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["rx\x6b\x75\x67\x63s\x76\x6d"]="\x6eu\x6dbera\x63\x74\x69v\x65";${"\x47L\x4f\x42A\x4c\x53"}["z\x77w\x71\x63f\x65j"]="\x73q\x6c\x34";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x64g\x74\x78qwa"]="\x63\x75r\x72\x65\x6et\x5f\x69d";${"\x47\x4c\x4f\x42ALS"}["\x73\x65mxn\x66"]="\x73\x71l\x33";${"\x47\x4cOB\x41\x4cS"}["\x6ey\x73k\x6ak\x70"]="s\x71l\x32";${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x76\x62\x75\x76\x64\x65\x66fq\x6d"]="\x70ar\x61m\x732";${"\x47LO\x42\x41\x4cS"}["l\x6bc\x66\x79\x6avm\x69c"]="\x66\x69l\x65\x6e\x61\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x72d\x6f\x77\x74\x7ar\x78b"]="d\x61\x74\x65_va\x72";${"\x47L\x4fB\x41L\x53"}["xs\x74\x69\x66ocv\x64m\x62\x6c"]="\x70\x61\x72\x61\x6d\x73\x31";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x78\x63\x62\x6b\x75n\x74v\x74"]="docu\x6d\x65n\x74\x69\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["xqnk\x68\x79\x6f\x6ep\x65v"]="\x66i\x6c\x65\x6d\x6f\x76\x65";${"\x47L\x4f\x42A\x4c\x53"}["\x77\x6dx\x69p\x63\x76\x72"]="ta\x72g\x65t_\x66\x69\x6c\x65";${"\x47\x4cO\x42AL\x53"}["\x7a\x61\x65i\x6f\x6d\x74\x69\x77\x66\x70"]="f\x69\x6ce\x70a\x74\x68";${"GL\x4f\x42AL\x53"}["\x64b\x65\x71\x7a\x71np\x75\x78\x75"]="ur\x6c";${"GL\x4f\x42\x41\x4cS"}["\x70\x69\x6fa\x65s"]="\x70\x6f\x73tf\x69\x65l\x64\x73";${"\x47LO\x42A\x4c\x53"}["c\x63\x79\x67\x63\x72"]="\x73\x69t\x65\x5fU\x52\x4c";${"\x47\x4cO\x42\x41LS"}["e\x7a\x6aw\x73\x6atb\x6b\x64\x75q"]="\x6e\x65w\x66i\x6ceUR\x4c";${"\x47\x4cOB\x41\x4cS"}["\x79\x72fq\x74u\x64"]="\x6ee\x77Fi\x6c\x65\x6ea\x6d\x65";${"\x47L\x4fBA\x4cS"}["\x6bie\x79b\x65\x6b\x67\x6ehf\x73"]="at\x74\x61c\x68\x6d\x65\x6e\x74\x50\x61\x74\x68";${"G\x4cO\x42A\x4c\x53"}["i\x69rz\x76\x67\x74"]="n\x65\x77\x66\x69\x6c\x65";${"\x47\x4cOBA\x4cS"}["\x71b\x6dc\x62n\x75e\x6cc\x75"]="f\x69\x6c\x65\x74\x79\x70e";${"GL\x4f\x42\x41LS"}["ofzu\x67\x71\x73mo\x77"]="\x67e\x74A\x74t\x61c\x68\x6de\x6e\x74\x51u\x65\x72\x79";${"\x47L\x4fBAL\x53"}["\x75f\x75\x6b\x6fu\x76\x6d\x7a"]="\x74e\x6d\x70la\x74e\x4ds\x67";${"\x47L\x4fB\x41\x4cS"}["\x70a\x7akv\x6e\x67x"]="\x62\x6f\x64\x79\x64\x61\x74\x61";${"\x47\x4cO\x42A\x4c\x53"}["o\x6d\x7a\x67\x66\x79\x6c\x6a\x75\x6a"]="\x77\x70t\x65mp\x6c\x61\x74\x65\x49\x6d\x61ge";${"G\x4c\x4fB\x41\x4cS"}["\x72pg\x6e\x6e\x70\x68"]="te\x6d\x70\x6c\x61te\x73I\x44";${"GL\x4fB\x41\x4c\x53"}["l\x69m\x6awq\x6fe\x63"]="\x69\x73\x54e\x6d\x70\x6c\x61\x74\x65\x73";${"\x47\x4c\x4fB\x41L\x53"}["\x68\x7a\x74he\x6c\x63\x63j\x73"]="g\x65\x74\x57h\x61\x74sa\x70\x70T\x65\x6d\x70la\x74\x65Q\x75er\x79";${"G\x4cO\x42\x41\x4cS"}["\x74\x74\x73\x66x\x68\x63\x74\x70\x77\x79"]="m\x6f\x6e\x74\x68";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73c\x6fnb\x6d\x70\x6a\x68"]="roo\x74_d\x69r\x65\x63\x74\x6f\x72\x79";${"G\x4cOBA\x4cS"}["\x73x\x69\x72c\x6dp\x7a\x76\x69"]="\x77h\x61t\x73\x61\x70\x70Fol\x64e\x72P\x61\x74\x68";${"\x47\x4c\x4fB\x41\x4cS"}["or\x6e\x79s\x77\x7a\x69"]="w\x65ek";${"G\x4c\x4f\x42A\x4c\x53"}["\x75lr\x63\x69p\x6b\x73"]="\x64\x61\x79";${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x62\x69h\x64\x77\x62"]="y\x65a\x72";${"\x47\x4c\x4f\x42A\x4c\x53"}["n\x6a\x6e\x74i\x67\x66"]="\x63o\x6e\x66ig\x75r\x65U\x73er\x69\x64";${"\x47\x4c\x4fB\x41L\x53"}["\x78\x70gv\x70\x6b\x6an\x6c"]="au\x74h\x5f\x74\x6fke\x6e";${"\x47\x4cO\x42\x41\x4cS"}["\x63\x65\x69c\x64\x6b"]="\x61p\x69\x5f\x75r\x6c";${"\x47\x4c\x4fBAL\x53"}["\x61\x68\x70\x79\x70v\x6f"]="w\x68\x61\x74s\x61\x41pp\x52o\x77";${"\x47L\x4f\x42A\x4cS"}["\x77\x6c\x69\x67\x6b\x7anrm\x61q"]="w\x68\x61\x74\x73a\x70\x70\x4e\x75\x6d\x62\x65r";${"\x47\x4cO\x42\x41LS"}["\x6ek\x70c\x65\x67\x6a\x65"]="\x67\x65\x74\x43on\x66\x69\x67\x75\x72at\x69o\x6e\x44\x61\x74a\x73\x51u\x65ry";${"\x47\x4c\x4f\x42A\x4c\x53"}["o\x74\x74\x64\x64\x65\x7ak\x6a\x66"]="\x77ha\x74\x73\x61\x41\x70\x70\x52\x6f\x77\x73";${"\x47\x4c\x4fB\x41LS"}["\x72\x71gi\x67a"]="ge\x74\x43o\x6ef\x69\x67\x75\x72\x61t\x69o\x6e\x44\x61t\x61\x51\x75\x65\x72y";${"\x47L\x4fBA\x4c\x53"}["\x72\x78\x72\x6fr\x6c\x61"]="f\x69l\x65\x55\x52\x4c";${"\x47L\x4fB\x41L\x53"}["\x65\x67\x78\x70w\x74szuq\x6b"]="ba\x73\x65\x36\x34\x69m\x61\x67\x65\x64\x61\x74\x61";${"G\x4c\x4f\x42\x41\x4cS"}["w\x62\x66\x75\x79\x6dc\x62\x65"]="\x6d\x6f\x64\x75\x6c\x65\x52\x65\x63\x6f\x72d\x69\x64";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x62mn\x67iq"]="\x6d\x73\x67\x62od\x79";${"\x47L\x4fBAL\x53"}["\x79b\x65\x66\x66\x78u\x65\x6b\x79y\x66"]="m\x6f\x62i\x6c\x65\x6eo";${"\x47L\x4f\x42A\x4c\x53"}["nu\x64\x6e\x6e\x6e\x74\x71"]="\x77p\x74em\x70\x6cat\x65\x69d";${"GLOB\x41\x4c\x53"}["\x64\x79g\x64\x67jh\x71\x76\x6da"]="r\x65\x70\x6c\x79M\x65s\x73\x61\x67\x65\x49\x64";${"\x47\x4cOB\x41L\x53"}["\x68a\x62\x66\x66b\x68q\x79z\x69"]="n\x69dd\x6ce";${"\x47\x4cOB\x41\x4c\x53"}["op\x68\x64\x72\x75"]="\x4eu\x6d\x62\x65\x72";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x6etvmh\x6fiv\x75\x65\x62"]="\x77h\x61t\x73a\x70\x70\x41\x6c\x6c\x4e\x75\x6d\x62e\x72s";${"GL\x4f\x42A\x4cS"}["\x6e\x6a\x6ftx\x6di\x62\x64\x74\x65"]="\x61l\x6c\x4e\x75m\x62\x65r";${"GLO\x42\x41\x4c\x53"}["\x64\x69\x73\x73k\x6e\x62\x79\x68"]="\x61\x6c\x6c\x55s\x65r\x49\x64";${"\x47L\x4f\x42\x41LS"}["ma\x71\x67\x77\x6f\x77"]="get\x6e\x75\x6d\x62e\x73\x72\x51u\x65\x72\x79";${"\x47LO\x42\x41\x4c\x53"}["m\x6ax\x6c\x6d\x66\x75\x71"]="\x67\x65\x74n\x75mb\x65\x73\x72\x71\x75\x65r\x79";${"\x47\x4cO\x42\x41L\x53"}["\x79\x76\x62l\x75\x67\x71\x63m\x76"]="m\x61\x69\x6e\x55\x73er\x52\x6f\x77\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["vda\x6ao\x6a\x70\x74"]="\x6d\x61\x69n\x55s\x65\x72\x51\x65\x75\x72\x79";${"\x47L\x4fB\x41L\x53"}["y\x79\x76\x6dh\x66\x73"]="r\x6fw1";${"\x47\x4cO\x42\x41L\x53"}["jtf\x71\x74\x66\x64d\x73\x75\x6f\x74"]="\x71\x75\x65\x72y\x31";${"\x47\x4cOB\x41\x4c\x53"}["\x6d\x64ivd\x6ck"]="\x6b";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x73\x77\x68w\x69e"]="g\x72\x6fup\x52\x6f\x77s";${"\x47\x4cO\x42\x41\x4c\x53"}["r\x75\x69\x61\x65\x79\x64"]="\x77\x68a\x74\x73\x61\x70\x70\x73\x74a\x74u\x73";${"GL\x4fB\x41\x4c\x53"}["\x6ef\x63\x78\x6aul"]="\x77\x68\x61\x74\x73\x61\x70\x70\x6e\x6f";${"\x47\x4c\x4f\x42A\x4cS"}["w\x6b\x6e\x62\x63\x65z\x63q\x6f\x69"]="\x75\x73\x65\x72\x69\x64";${"GL\x4f\x42\x41\x4c\x53"}["\x79v\x6e\x6a\x66\x72\x62own"]="\x67\x65\x74\x6e\x75mberq\x75e\x72y";${"G\x4cO\x42\x41\x4cS"}["\x75\x70\x62\x6e\x62\x66\x63i\x6c\x63\x65n"]="m\x75lti\x70\x6c\x65_u\x73\x65\x72id";${"\x47\x4cO\x42\x41\x4c\x53"}["ueq\x77\x66\x7av\x6e\x75o"]="w\x68\x61\x74\x73\x61\x70p\x4e\x75m\x62\x65r\x73";${"\x47\x4cOB\x41\x4cS"}["\x6bg\x73\x77\x62\x6eb\x71\x6e\x67\x6a\x68"]="c\x6fm\x6d\x65\x6etM\x6f\x64u\x6c\x65E\x6e\x61\x62\x6c\x65";${"\x47L\x4f\x42ALS"}["\x6b\x67l\x76\x61\x6c\x76"]="\x73\x6f\x75\x72\x63e\x4d\x6f\x64\x75\x6c\x65Ta\x62\x69d";${"G\x4cO\x42\x41\x4c\x53"}["\x78\x64v\x69\x78hu\x7aq"]="e\x6e\x61\x62\x6c\x65Com\x6d\x65\x6e\x74Q\x75\x65r\x79";${"\x47\x4cOB\x41L\x53"}["\x7a\x62\x6c\x72\x66\x6b\x76\x6c\x66"]="comm\x65ntT\x61\x62i\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x77\x6f\x78e\x70\x6et"]="m\x6fd\x43o\x6d\x6den\x74Que\x72y";${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x72\x6e\x66\x6f\x6f\x78l\x66"]="\x77\x68a\x74\x73\x61\x70pMe\x73\x73\x61\x67\x65\x73";${"\x47\x4c\x4f\x42\x41LS"}["\x6ar\x68gd\x6as\x66\x79\x68"]="w\x68\x61\x74\x73\x61\x70\x70\x51u\x65r\x79";${"GL\x4f\x42\x41\x4cS"}["\x6a\x6cwj\x64\x6f\x6e\x79\x62"]="u\x6e\x72\x65a\x64Ar\x72a\x79";${"\x47LO\x42\x41\x4c\x53"}["rqk\x6a\x62\x77dmej"]="i\x6ed\x69\x76\x69\x64ul\x4de\x73\x73\x61ge";${"G\x4c\x4fB\x41\x4cS"}["h\x6dyw\x78u\x69kqn\x70"]="s\x74\x79\x6ce";${"G\x4c\x4fB\x41\x4c\x53"}["\x76\x67\x6frl\x72\x63q\x6c\x63\x6e"]="\x73e\x6e\x64e\x72\x4e\x61\x6d\x65";${"GL\x4fB\x41LS"}["n\x74\x65\x66\x70\x6fw\x6c\x77l\x78\x79"]="c\x74w\x68\x61tsa\x70\x70\x49\x64";${"\x47\x4c\x4fBAL\x53"}["y\x78\x66n\x67o\x73\x70\x64g\x6a\x6f"]="q\x75\x65r\x79R\x65\x73\x75\x6c\x74";${"\x47\x4cO\x42\x41L\x53"}["\x73ww\x77sm\x77\x6clfl"]="\x6castM\x65\x73\x73age\x49\x44";${"\x47LO\x42\x41LS"}["\x6c\x67\x75\x71hf\x67l"]="\x72\x65\x63\x6f\x72\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x63\x71\x73\x77\x75\x76\x6f\x68"]="\x67e\x74\x52e\x6c\x61\x74\x65\x64F\x69\x65l\x64\x4e\x61\x6d\x65\x51\x75\x65\x72\x79";${"\x47L\x4fB\x41L\x53"}["\x64x\x72\x75e\x6e\x6e\x6fkl\x76"]="\x72\x65\x6c\x61\x74e\x64F\x69e\x6cd\x4e\x61\x6de";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65ilak\x75\x64\x69\x72"]="\x67\x65tMo\x64\x75\x6c\x65N\x61\x6d\x65Q\x75e\x72y";${"GLOB\x41\x4c\x53"}["\x64\x6c\x76\x63\x77\x72\x6f"]="re\x6c\x61te\x64\x4d\x6f\x64\x75\x6ceT\x61\x62\x69\x64";${"G\x4cOB\x41\x4c\x53"}["\x70\x68xnjo\x6bi\x72\x62gf"]="j";${"\x47\x4cO\x42\x41L\x53"}["\x78p\x65\x6ey\x76\x64\x66"]="\x67e\x74\x52\x65\x6c\x61\x74e\x64\x4d\x6f\x64\x75l\x65\x51uer\x79";${"\x47\x4c\x4f\x42AL\x53"}["\x67in\x79q\x7a\x67\x66ut\x75s"]="r\x65\x6ca\x74\x65\x64Mo\x64\x75l\x65\x73\x52\x6f\x77\x73";${"\x47\x4c\x4f\x42\x41LS"}["\x7a\x6ek\x69\x67m\x6d\x70e"]="\x6d\x6f\x72\x65\x43\x6f\x6d\x6d\x65\x6etLi\x6ek";${"\x47\x4c\x4f\x42\x41L\x53"}["mkfi\x68\x73\x79\x78\x71\x72\x6f"]="\x73\x6d\x6f\x77ne\x72\x69\x64";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78aa\x73g\x76m\x71\x6bx"]="\x63\x72\x65at\x65dt\x69me";${"GLOB\x41LS"}["\x79\x73\x74b\x76\x67\x77v\x6b\x77"]="\x63\x6fm\x6d\x65\x6et\x63\x6f\x6et\x65n\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x78\x69n\x76\x65\x71\x6aee"]="c\x6f\x6dmen\x74\x48\x54\x4d\x4c";${"\x47\x4c\x4fB\x41\x4cS"}["\x64\x72wa\x77\x61\x74\x66u\x65b"]="\x63\x6fm\x6dents";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x61b\x6e\x74\x66l\x74\x67x"]="pagi\x6e\x67\x4d\x6fde\x6c";${"G\x4c\x4f\x42\x41LS"}["\x73\x68\x6a\x6e\x6b\x79vv\x68\x76\x6e"]="\x6d\x65n\x75i\x63o\x6e";${"\x47\x4cO\x42\x41\x4c\x53"}["r\x73\x66\x66\x62r\x61f"]="\x77\x68\x61t\x73appM\x65ss\x61\x67e";${"GLO\x42\x41\x4c\x53"}["j\x6dpq\x64w\x64\x6c"]="\x72e\x6c\x61t\x65\x64\x74\x6f\x74\x61\x73\x6b";${"G\x4c\x4fB\x41L\x53"}["z\x63\x73\x75j\x69\x6b\x7a"]="\x66\x69le\x45\x78\x74\x73";${"G\x4c\x4fBA\x4cS"}["\x6ao\x77\x77\x65\x68\x6co\x61c\x62\x71"]="\x74as\x6b\x73\x74yle";${"G\x4c\x4fB\x41LS"}["\x6f\x6b\x74\x66n\x73\x75fk\x67"]="\x6de\x6e\x75\x77\x69\x64\x74\x68";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x62\x76vxz\x62\x67l\x6e\x61"]="\x6de\x73\x73\x61g\x65\x53\x65n\x64\x65ra\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x62p\x6c\x70x\x69s\x77\x74"]="\x77\x68\x61t\x73\x61\x70\x70\x53\x63a\x6eN\x6f";${"\x47\x4cOB\x41LS"}["\x77\x72\x71qs\x66\x76\x6ewl\x6e"]="e\x78\x70o\x6c\x6fde\x46\x69\x6c\x65\x6e\x61\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x75f\x66uw\x6a\x6a\x67"]="\x6c\x65\x6e\x74\x68";${"G\x4cO\x42A\x4c\x53"}["\x6dl\x63\x73dd\x62\x76u\x67"]="\x77h\x61\x74\x73app\x5f\x63\x68\x61\x74\x69d";${"\x47\x4c\x4fB\x41LS"}["\x6c\x78\x68\x76\x79u\x6ak\x63u"]="\x67\x72o\x75\x70M\x65m\x62\x65\x72\x73\x48\x54\x4d\x4c";${"\x47L\x4f\x42\x41LS"}["sdftw\x7a\x75i"]="\x77\x68\x61\x74\x73\x61pp\x5f\x63\x6fn\x74a\x63\x74i\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x66\x78on\x61\x6ek\x70\x70u"]="m\x61\x6e\x75\x61\x6c\x74\x72\x61\x6es\x66er";${"G\x4cO\x42ALS"}["\x65w\x74\x70\x62\x64gs\x76\x74\x71"]="c\x75\x73\x74o\x6df\x69\x65\x6c\x64\x31";${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x6c\x77nq\x62\x67\x62\x67\x73"]="M\x6f\x64\x43om\x6d\x65\x6ets\x45\x6e\x61b\x6c\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bo\x73i\x6f\x74\x66\x73r"]="re\x63\x65nt\x43o\x6d\x6d\x65nt\x73";${"\x47L\x4f\x42A\x4c\x53"}["\x7a\x78c\x67\x75n\x61\x70\x75"]="\x63r\x65a\x74\x65T\x61\x73\x6bMess\x61\x67\x65";${"\x47\x4c\x4f\x42\x41LS"}["x\x68\x6b\x77h\x68\x77"]="\x6e\x6f\x74\x52ep\x6cyW\x68\x61\x74\x73\x61\x70p";${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x7ad\x6a\x66\x70"]="t\x6f\x74\x61l\x52\x65\x63e\x69\x76e\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x75\x6ao\x68\x7a\x63\x65\x6d"]="me\x73s\x61\x67\x65\x52e\x61\x64\x55\x6e\x52e\x61\x64";${"GL\x4f\x42\x41L\x53"}["\x6d\x6f\x6b\x66\x65\x63\x73\x79\x78\x77d"]="q\x75\x6ft\x65\x6d\x65s\x73\x61\x67\x65";${"GLOB\x41\x4c\x53"}["\x6c\x6fz\x69ib\x67s\x6d\x67"]="ctW\x68a\x74\x73\x61pp\x49d";${"GLOBALS"}["f\x68\x70\x79\x70\x63\x66su\x70\x63"]="\x72\x65\x70\x6c\x79\x4d\x65\x73\x73a\x67\x65\x48\x54\x4d\x4c";${"\x47L\x4f\x42\x41\x4cS"}["\x67kbr\x6d\x62d\x65kp"]="\x6d\x65\x73s\x61\x67\x65\x54\x79p\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6apcv\x72\x70\x77\x6f\x74j"]="\x63\x72\x65\x61t\x65\x64T\x69me";${"\x47L\x4f\x42\x41\x4c\x53"}["x\x6c\x75\x67\x61\x66\x6b\x77\x77\x67\x77"]="w\x68\x61\x74\x73\x41\x70pF\x69l\x65\x4ea\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65lxr\x62\x63l\x71\x63\x6df"]="c\x6f\x70\x79\x4d\x65\x73\x73a\x67\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x68\x70\x71\x79\x75\x79\x67q"]="\x65\x78\x63\x65l\x45\x78\x74s";${"GL\x4fB\x41LS"}["\x6c\x62\x61\x75\x6f\x79\x6e\x64\x78"]="ur\x6cEx\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x79\x6em\x6f\x75\x76\x77"]="\x6d\x65\x73\x73a\x67\x65B\x6f\x64\x79";${"\x47L\x4fB\x41\x4cS"}["\x77\x79\x71\x6d\x6c\x77\x6b"]="\x64o\x63\x75\x6d\x65\x6et\x42o\x64\x79";${"\x47\x4cO\x42\x41LS"}["\x72\x7ay\x6em\x69f\x68ui"]="\x6d\x73\x67\x69d";${"\x47\x4cO\x42A\x4c\x53"}["\x6b\x78\x68\x74b\x71h\x65"]="\x67\x65\x74\x4e\x75mbe\x72\x44\x65\x74\x61il\x73";${"\x47\x4c\x4fB\x41LS"}["fyj\x6f\x62\x76l\x65"]="\x67\x65\x74N\x75mb\x65r\x55\x73\x65r\x6e\x61\x6de";${"\x47LOB\x41LS"}["\x71\x6fu\x72x\x76e"]="y\x6fu\x72_\x6e\x75mb\x65\x72";${"\x47\x4c\x4fB\x41L\x53"}["z\x64\x6as\x65n\x6e\x71"]="\x69\x73\x47\x72o\x75\x70";${"\x47L\x4fBA\x4c\x53"}["\x6a\x6e\x78\x66q\x71\x6c\x65kp"]="\x77\x6f\x72dl\x45\x78\x74\x73";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x67\x6ck\x6c\x6b"]="m\x703\x45x\x74\x73";${"G\x4c\x4fB\x41\x4cS"}["\x6an\x79\x70nx\x62s\x72\x6f\x78p"]="\x70\x64\x66\x45\x78\x74\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["lpg\x73\x6et\x62m\x71e"]="\x69\x6dg\x45\x78\x74\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x69n\x78\x62\x64\x69d"]="\x63u\x73\x74o\x6dQ\x75\x65\x72\x79";${"\x47LO\x42\x41L\x53"}["x\x65e\x70\x76\x6c\x64\x73\x77"]="\x75\x73\x65\x72\x49D";${"\x47\x4c\x4f\x42\x41LS"}["f\x74zl\x6d\x77a\x72o"]="\x70\x72e\x51\x75\x65st\x69o\x6e\x44\x65\x74a\x69\x6c";${"G\x4c\x4fB\x41\x4c\x53"}["yh\x76\x6dt\x76\x64\x75q\x62"]="\x72\x6f\x62o\x74i\x63m\x6f\x64e\x51\x75\x65r\x79";${"GLO\x42\x41L\x53"}["g\x62\x69\x71jg\x6d"]="m\x6f\x64\x75leIsEn\x61b\x6ce";${"\x47\x4cO\x42\x41\x4c\x53"}["is\x6e\x68\x71\x76\x68n\x73\x61\x62"]="\x6dod\x75\x6c\x65\x52\x65\x63r\x6f\x64D\x61t\x61";${"G\x4cOBA\x4c\x53"}["\x77\x6c\x71\x66p\x64\x78c\x79\x61\x6c"]="a\x63\x74\x69\x76\x65\x42\x6f\x74";${"G\x4c\x4f\x42\x41\x4cS"}["\x72\x75\x66f\x73he\x70\x6e\x6c"]="\x67\x65tBo\x74M\x6f\x62i\x6ce";${"\x47\x4c\x4f\x42AL\x53"}["\x76\x6as\x6c\x66l\x71\x76uh\x75"]="m\x6f\x64\x75\x6c\x65UR\x4c";${"\x47L\x4f\x42AL\x53"}["\x78\x68\x74\x69\x68\x6f\x69\x6a\x62q\x6a"]="re\x6cat\x65\x64M\x6f\x64\x75le\x48\x54\x4d\x4c";${"GL\x4fB\x41\x4c\x53"}["t\x65\x6f\x64\x7a\x6ce"]="\x72e\x6ca\x74\x65dM\x6f\x64ul\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x70\x76\x75c\x6ab\x63\x6e\x65"]="\x6bey";${"G\x4c\x4fBAL\x53"}["w\x65\x77\x6f\x70t\x6d"]="\x72\x65\x6ca\x74\x65d\x4d\x6f\x64u\x6c\x65\x73";${"\x47L\x4fB\x41L\x53"}["o\x7a\x6b\x71\x75\x6c\x74\x6c\x7a\x6en\x62"]="k\x65yF\x69\x65\x6c\x64\x73\x48\x54\x4dL";${"G\x4c\x4fB\x41\x4c\x53"}["j\x75\x72\x62\x69t\x73\x67zg"]="g\x65\x74\x67\x72\x6fu\x70";${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x74m\x70\x68iln\x73\x67"]="\x67\x72o\x75\x70\x72\x6f\x77s";${"\x47\x4c\x4fB\x41L\x53"}["k\x69\x79fdey"]="g\x65tu\x73\x65\x72\x6e\x61\x6de";${"\x47L\x4f\x42\x41L\x53"}["\x6dm\x76enbk\x6c\x6a\x65i"]="f\x69\x65\x6cd\x76a\x6cue";${"G\x4cOB\x41\x4c\x53"}["\x76\x62v\x6b\x74\x71\x77l\x6ca"]="\x66\x69el\x64\x6c\x61\x62\x65\x6c";${"GL\x4f\x42\x41\x4c\x53"}["\x7a\x70eu\x73f\x6b\x77\x65"]="\x63o\x6d\x6d\x65n\x74M\x6f\x64\x75\x6c\x65";${"\x47\x4cO\x42\x41L\x53"}["\x6bepy\x63\x73\x66y\x6c\x68"]="k\x65\x79\x46i\x65\x6cds";${"G\x4cO\x42A\x4cS"}["rzf\x6e\x63\x6fpx\x78x"]="\x6d\x65\x73\x73a\x67eI\x6d\x70\x6fr\x74\x61n\x74";${"\x47\x4cOB\x41\x4c\x53"}["\x66\x6c\x68\x70\x79px\x76\x6e\x66\x6e"]="\x67\x65\x74\x57ha\x74sap\x70M\x65\x73s\x61g\x65s";${"\x47\x4c\x4f\x42\x41\x4cS"}["g\x69\x72\x68\x76s"]="\x74ota\x6cSe\x6et";${"\x47\x4cO\x42ALS"}["\x6cw\x72\x73\x6e\x78\x76"]="\x77h\x61\x74\x73\x61\x70p\x4de\x73\x73\x61ge\x48\x54ML";${"\x47LO\x42\x41LS"}["\x6a\x6cr\x66\x67h\x69"]="w\x68\x61\x74\x73ap\x70\x4d\x6f\x64\x75\x6c\x65";${"GL\x4f\x42\x41\x4c\x53"}["\x69\x6b\x67\x78\x64i\x66"]="\x70h\x6f\x6ee\x46iel\x64\x44\x61\x74\x61";${"\x47L\x4f\x42A\x4c\x53"}["w\x6e\x73\x6b\x68dy\x79\x6a\x67\x6c"]="\x70h\x6f\x6ee";${"G\x4c\x4f\x42A\x4c\x53"}["\x77\x65\x63c\x79v\x78q\x6cu"]="\x6dodu\x6ceRe\x63o\x72\x64\x44\x61\x74a";${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x6e\x66\x73j\x70uh"]="\x69\x6da\x67\x65P\x61t\x68";${"\x47\x4cOBA\x4cS"}["\x68myi\x6bcj\x62"]="\x69ma\x67\x65\x49\x64";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x6fuwu\x65o\x6e"]="\x69\x6d\x61\x67\x65N\x61\x6d\x65";${"\x47L\x4f\x42AL\x53"}["\x72\x76x\x74\x63\x70\x66\x72\x6b\x78\x78\x63"]="\x69\x6da\x67\x65\x4f\x72\x69g\x69\x6ealName";${"\x47\x4c\x4f\x42A\x4c\x53"}["j\x78\x69o\x72s\x61\x62e\x69n"]="\x73\x71l";${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x65\x73\x6ce\x68\x66f\x6ff"]="i\x6d\x61\x67eDe\x74\x61i\x6c\x73";${"G\x4cO\x42\x41\x4c\x53"}["\x68i\x78ze\x6f\x63\x6c"]="\x77h\x61t\x73\x61\x70p\x44\x61ta";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x79\x71c\x68\x6f\x70\x64c\x79k"]="\x64\x61t\x65T\x69\x6d\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["n\x6ei\x65\x70e\x62kst"]="\x62o\x64\x79";${"\x47\x4cOB\x41\x4c\x53"}["r\x75\x78\x63\x78x\x69b"]="\x74\x6f\x74\x61\x6c\x44a\x79s";${"G\x4c\x4f\x42AL\x53"}["\x6a\x70k\x78\x69\x6d\x7am\x77"]="\x61l\x6cMe\x73\x73\x61geQ\x75ery";${"\x47L\x4f\x42\x41\x4cS"}["y\x6d\x62x\x71\x70d"]="\x75nrea\x64\x43o\x75n\x74";${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x76q\x65a\x6c\x73\x68\x6f\x6b\x76\x6b"]="p\x68\x6fn\x65\x6e\x75\x6db\x65\x72";${"\x47\x4cOBAL\x53"}["\x6f\x73\x76kvg\x72\x63ly\x62"]="\x70\x65\x72\x6d\x69\x73\x73i\x6fnR\x65\x63\x6f\x72\x64";${"\x47L\x4fB\x41\x4c\x53"}["\x65mwk\x71\x79\x68ays"]="\x61c\x74i\x6f\x6eN\x61\x6de";${"\x47\x4cO\x42\x41\x4cS"}["\x68\x6b\x72i\x6f\x64"]="\x61\x76\x67\x4d\x65s\x73a\x67\x65D\x61y";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62r\x7as\x72\x6d\x74c\x7a\x76"]="m\x65\x73\x73ag\x65D\x61t\x61";${"\x47LO\x42\x41\x4cS"}["id\x62\x74u\x76\x6b\x64l\x6b"]="i\x6dag\x65t\x61g";${"\x47LOB\x41L\x53"}["j\x66\x6fu\x6d\x77\x6ds\x64\x64\x77\x7a"]="\x75n\x72e\x61d\x4d\x65\x73\x73a\x67\x65\x43\x6fu\x6et";${"G\x4cOB\x41L\x53"}["\x77\x7a\x71\x62\x73cvj\x6a"]="n\x65\x77\x4d\x65s\x73\x61\x67\x65\x61r\x72\x61y";${"G\x4cOB\x41\x4cS"}["\x67\x73\x69\x64\x71\x75\x6b\x73\x6a\x62"]="\x69\x6dp\x6f\x72\x74\x61\x6et";${"\x47\x4c\x4fB\x41\x4c\x53"}["m\x74\x6b\x70\x71\x65\x70\x6b\x72"]="res\x70\x6f\x6ese\x63u\x73t\x6f\x6der\x4e\x75\x6db\x65\x72";${"GL\x4f\x42\x41L\x53"}["t\x6b\x75a\x6c\x70\x73\x79\x74"]="\x72\x65\x73\x70on\x73\x65\x52o\x77s";${"\x47\x4c\x4f\x42\x41L\x53"}["y\x63d\x73\x69\x70\x7a\x6d"]="re\x73\x70\x6f\x6es\x65Quer\x79";${"\x47\x4c\x4fBA\x4cS"}["\x70\x68aoobc"]="\x61l\x6cnu\x6d\x62\x65\x72";${"G\x4cO\x42\x41\x4c\x53"}["\x66\x6bx\x78\x76l"]="\x69\x6eN\x75\x6d\x62er";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x6ar\x66\x6ec\x66\x6e\x79\x76u"]="\x77ha\x74\x73\x41\x70\x70\x41l\x6c\x4e\x75\x6d\x62\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72n\x6f\x62\x79\x72\x6f\x77"]="\x74e\x6dpo\x72a\x72\x79Q\x75e\x72\x79";${"\x47L\x4fBAL\x53"}["\x78\x6a\x73\x78\x68q"]="cu\x73t\x6f\x6dU\x6e\x72\x65\x61\x64\x51\x75\x65ry";${"\x47L\x4f\x42AL\x53"}["d\x66\x6d\x61\x62bj\x74"]="s\x65\x61\x72\x63\x68\x49n\x6e\x65\x72\x51\x75e\x72\x79";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67g\x6bur\x76\x72\x67"]="\x64\x65l\x65\x74e\x64";${"GL\x4f\x42\x41\x4c\x53"}["\x61n\x67\x66\x78\x77\x74"]="\x72e\x73\x70\x6f\x6e\x73\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x75\x77\x71\x6e\x63\x72q\x70"]="i\x6e\x64\x65x";${"GL\x4f\x42\x41\x4cS"}["\x73t\x6c\x76e\x6b"]="\x68\x74\x6d\x6c";${"G\x4cOB\x41\x4cS"}["n\x62c\x78fxp"]="b\x79d\x65faul\x4f\x70\x65\x6e\x43ha\x74";${"G\x4cOB\x41L\x53"}["\x66\x79\x6d\x69\x6d\x71\x77"]="\x63o\x75n\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x63\x76gu\x77a\x72i"]="\x73e\x72\x61\x63\x68";${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x6dy\x73j\x73\x65"]="\x77\x68\x61t\x73\x61\x61\x70\x70\x4d\x6f\x64\x75\x6ce\x44a\x74a";${"G\x4c\x4fB\x41\x4c\x53"}["ye\x75\x6c\x79\x6fp\x77\x61\x79\x69"]="\x67r\x6fu\x70W\x68a\x74\x73a\x70p\x4e\x75\x6db\x65\x72";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x6a\x70jn\x66\x64"]="\x73\x74\x61\x72\x74";${"G\x4c\x4fBAL\x53"}["\x68\x70\x71h\x79\x65"]="\x65\x6ed";${"\x47L\x4fB\x41\x4cS"}["\x7ail\x6d\x6cfqz"]="m\x6fd\x75\x6c\x65M\x65s\x73\x61\x67\x65\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x71\x69q\x72x\x6fi"]="\x69m\x70\x6frt\x61\x6et\x4d\x65ss\x61\x67e\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x62k\x67\x6cf\x71\x6b\x6b\x6e\x61\x65"]="\x77\x68a\x74\x73\x61\x70p\x6d\x6fdu\x6c\x65";${"\x47\x4c\x4fB\x41\x4cS"}["c\x63r\x6cl\x75s\x78u\x6f\x79\x6f"]="\x6d\x6f\x64\x75l\x65\x4ea\x6de";${"GLOB\x41L\x53"}["\x6fw\x77\x6b\x78\x6a"]="u\x6ek\x6eo\x77\x6e\x52o\x77\x73";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x6dyb\x67\x78\x72\x74"]="\x61l\x6cUn\x6bn\x6fw\x6equ\x65\x72\x79";${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x76\x61\x72uw\x64\x66s"]="a\x6c\x6cU\x6e\x6bn\x6f\x77\x6eR\x6fws";${"\x47\x4cO\x42\x41L\x53"}["\x65\x69\x64z\x68ji"]="r\x6f\x77";${"GL\x4fB\x41\x4c\x53"}["\x61s\x65vl\x66v\x77\x7a\x79"]="\x61\x6c\x6c\x55\x6e\x72\x65\x61\x64Mes\x73\x61\x67e\x43\x6f\x75\x6et";${"\x47LO\x42\x41\x4c\x53"}["\x79\x73i\x77\x6au\x72u\x7a\x64"]="r\x65\x73\x75\x6c\x74";${"G\x4cOBALS"}["l\x72\x66y\x6ap\x63"]="\x6e\x75m\x4f\x66\x52\x6fw\x73";${"\x47LO\x42ALS"}["\x6crsqo\x70e\x6ft\x68l"]="re\x6c\x61\x74\x65d\x52e\x63\x6f\x72\x64I\x64";${"\x47L\x4f\x42AL\x53"}["\x75q\x76j\x73e\x69"]="\x64e\x6c\x65\x74e";${"\x47L\x4fBA\x4c\x53"}["\x6f\x79\x75\x70\x72\x69\x6c\x73"]="\x75\x6e\x72\x65\x61\x64\x51\x75\x65\x72\x79";${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x72\x7a\x70\x65\x63\x73\x67\x78\x67"]="\x6d\x61in\x54a\x62\x6c\x65";${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x6bq\x6c\x62qw"]="\x62as\x65\x54\x61\x62\x6ce";${"GLOBAL\x53"}["\x6fv\x74\x74\x79yo"]="\x71ue\x72\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x68\x62ti\x6fn\x75\x6b"]="\x74\x61\x62\x6cena\x6de";${"\x47LOBA\x4c\x53"}["\x72\x61r\x78\x65\x76\x68n\x6d\x79\x76"]="\x74\x61\x62\x6c\x65\x6e\x61\x6d\x65\x69d";${"\x47\x4c\x4fBAL\x53"}["\x79\x6dq\x74\x78f\x65"]="\x70\x68o\x6e\x65\x54\x61\x62\x6c\x65\x51u\x65r\x79";${"\x47LOB\x41L\x53"}["\x6bk\x6fl\x78\x69at\x65j"]="g\x65\x74\x52eco\x72d\x50\x65\x72\x6di\x73sio\x6e\x51u\x65\x72y";${"\x47L\x4fB\x41\x4cS"}["\x6f\x64yc\x6br\x78\x6b\x6b"]="p\x65\x72\x6d\x69s\x73\x69o\x6e";${"\x47LO\x42A\x4c\x53"}["\x77\x69\x68\x66d\x74j\x78\x72\x66"]="t\x61\x62\x69\x64";${"\x47LOBA\x4cS"}["\x62\x64\x6bj\x70\x6d\x79"]="m\x6f\x64\x75\x6c\x65\x6e\x61\x6d\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x77p\x6ad\x69\x64\x6c"]="s\x65\x61\x72c\x68\x51\x75e\x72\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6d\x66\x63\x77\x66"]="\x73\x65\x61r\x63\x68\x56al\x75e";${"\x47\x4c\x4f\x42AL\x53"}["\x66x\x6fd\x74\x6fu\x64\x72l"]="\x62\x61se\x54\x61\x62l\x65i\x64";${"G\x4c\x4f\x42\x41LS"}["m\x71pi\x6d\x6a\x62\x66rmb"]="\x6d\x6f\x64\x75l\x65Ins\x74\x61\x6e\x63e";${"\x47\x4c\x4f\x42\x41\x4cS"}["b\x66nh\x75\x71\x6a\x65"]="\x6do\x64\x75\x6c\x65Mod\x65l";${"\x47L\x4fB\x41\x4c\x53"}["nr\x7a\x76\x6fy\x6b\x69\x6fr\x64"]="\x67\x65\x74\x41ll\x6fwM\x6f\x64\x75\x6c\x65";${"G\x4c\x4fB\x41\x4cS"}["\x77tgp\x71ei"]="\x6do\x64\x75l\x65Q\x75e\x72y";${"\x47\x4cO\x42AL\x53"}["\x69u\x73\x77\x6f\x67\x69\x66"]="\x63\x75rrentU\x73\x65\x72\x4d\x6f\x64\x65\x6c";${"\x47\x4c\x4fB\x41L\x53"}["i\x6b\x68\x6adp\x72\x6d\x74"]="\x64\x61\x74a";${"\x47\x4c\x4fB\x41\x4c\x53"}["p\x6f\x66\x78yi\x77\x6f\x65"]="\x6dod\x75\x6c\x65";${"\x47\x4cO\x42AL\x53"}["\x78\x64\x6c\x7a\x6ch\x64qo\x63w\x70"]="\x72ow\x73";${"G\x4c\x4fBALS"}["s\x6a\x6b\x63s\x61\x73\x73\x69\x79\x6f"]="w\x68\x61\x74\x73\x61\x61\x70p\x4do\x64\x75l\x65";${"\x47L\x4fBA\x4c\x53"}["\x6aj\x6bi\x72\x76\x65"]="w\x68\x61t\x73\x61\x70\x70M\x6f\x64\x75\x6c\x65Qu\x65\x72\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63f\x6axd\x74\x6e"]="q\x75\x65\x72y\x47r\x6f\x75p\x45\x78\x69st";${"GLO\x42\x41\x4c\x53"}["\x68\x78ez\x76q\x6e\x77m"]="\x67\x72o\x75\x70\x69d";${"\x47\x4cO\x42\x41\x4c\x53"}["\x78kfe\x67\x63b\x76a\x79\x77"]="\x63\x75\x72\x72e\x6e\x74Use\x72\x49\x44";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x6cnz\x6c\x67s\x63x"]="nu\x6d\x52o\x77sU\x73\x65r\x73";${"\x47\x4cOB\x41\x4c\x53"}["rbc\x66\x79\x6d\x6d\x77"]="\x71\x75\x65r\x79\x55\x73erEx\x69\x73\x74";${"G\x4cO\x42\x41\x4c\x53"}["\x76\x73\x6fhme\x79\x74"]="\x73\x63a\x6e\x57\x68a\x74\x73\x61\x70\x70N\x75\x6d\x62er";${"\x47L\x4fB\x41L\x53"}["\x74me\x65\x72\x63\x71yq\x73r\x64"]="\x69c\x6fn\x61ct\x69\x76e";${"\x47LOB\x41L\x53"}["\x6dx\x70sxpnys\x67"]="\x69\x6e\x61\x70p\x4e\x6f\x74if\x69\x63a\x74\x69\x6fn";${"GL\x4f\x42A\x4c\x53"}["\x79\x69\x76\x75vf\x75\x67j"]="c\x75\x72r\x65\x6e\x74\x64\x61\x74e";${"\x47LO\x42\x41\x4c\x53"}["k\x78eko\x74\x69\x71"]="n\x75\x6d\x5fro\x77\x73";${"\x47\x4cO\x42\x41L\x53"}["e\x69\x69m\x68\x68\x78\x64"]="\x77\x68a\x74\x73\x61\x70\x70M\x6f\x64u\x6c\x65D\x61\x74\x61";${"\x47\x4c\x4fBA\x4c\x53"}["\x6e\x6bj\x79\x66\x65\x76\x6f\x6a"]="\x6d\x61\x73\x73\x4d\x65\x73\x73a\x67\x65\x41\x63\x63\x65\x73\x73";${"G\x4c\x4fB\x41L\x53"}["\x76\x67\x64jk\x6b\x63\x6av\x64\x69\x71"]="\x6da\x73\x73M\x65ss\x61\x67\x65Acc\x65ss\x55\x73\x65rs";${"\x47\x4c\x4fBA\x4cS"}["\x77\x7al\x66m\x6d\x64\x78\x79vg"]="\x77\x68\x61\x74\x73\x61ppU\x73\x65r\x42\x65e\x70";${"\x47LO\x42\x41\x4c\x53"}["\x65m\x61\x68brt"]="\x6c\x69\x63e\x6e\x73e\x45x\x70i\x72\x65";${"\x47L\x4f\x42\x41L\x53"}["s\x6e\x74\x69\x69\x70\x79\x68\x6a\x64"]="\x70h\x6fn\x65F\x69\x65\x6c\x64";${"G\x4c\x4f\x42AL\x53"}["ggqk\x76\x72\x6f\x73\x66f\x62"]="\x6d\x6f\x64\x75\x6c\x65\x49c\x6f\x6e\x41\x63\x74\x69\x76\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["no\x62kho\x68\x70"]="\x61\x6c\x6cw\x4dodul\x65s";${"\x47LO\x42AL\x53"}["\x64\x65f\x67\x76\x75\x77"]="m\x6f\x64\x75\x6c\x65\x4d\x61ssMe\x73\x73a\x67e";${"\x47\x4cOB\x41\x4c\x53"}["\x76\x6e\x72\x6d\x78\x64\x6ee\x68\x74kh"]="\x73\x6fu\x72\x63\x65\x4d\x6f\x64u\x6ce";${"\x47L\x4fB\x41L\x53"}["\x78tss\x73t\x77\x6a\x6f"]="\x61cti\x6f\x6e";${"GL\x4f\x42\x41\x4cS"}["\x77\x73\x6c\x74\x6e\x6dek\x6d\x68"]="\x64\x61\x74\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x72w\x6bt\x6c\x76"]="\x67\x65\x74\x65xp\x69\x72ed\x61\x74\x65";${"\x47\x4cO\x42A\x4c\x53"}["f\x77\x6ffeb\x6d\x72\x79\x77i"]="\x65\x78\x70ir\x79\x64\x61te";${"\x47LO\x42\x41\x4cS"}["\x6a\x79\x6f\x6b\x72fxq"]="pi\x63\x53\x74\x79\x6c\x65\x32";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6cy\x74\x6cro"]="\x69m\x61g\x65\x54a\x67";${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x65qfn\x77\x69g"]="l\x61b\x65\x6c\x45\x78\x70\x6c\x6f\x64e";${"GL\x4f\x42A\x4c\x53"}["\x73\x79\x6b\x61\x6f\x77y\x68"]="\x70r\x6f\x66\x69le\x49ma\x67e";${"\x47\x4cO\x42\x41\x4cS"}["\x6b\x70a\x69\x66z\x74o\x6a\x6e\x63"]="set\x79\x70\x65";${"G\x4cO\x42\x41\x4cS"}["tjjxl\x61"]="\x72e\x63o\x72\x64\x4d\x6f\x64\x65\x6c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x77o\x6bt\x77wc\x62\x74"]="\x72\x65\x63\x6f\x72d\x49\x64";${"G\x4cOB\x41\x4c\x53"}["jv\x6c\x78\x70qy\x78tb"]="d\x65l\x65\x74\x65\x52\x65\x63\x6f\x72\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x63\x65a\x75\x78\x69\x6b"]="\x6ca\x73\x74D\x61\x74\x65\x54\x69\x6d\x65";${"\x47L\x4fBA\x4c\x53"}["i\x72\x78\x62\x7a\x72\x67\x6fwk\x61"]="\x6c\x61\x73\x74B\x6f\x64\x79";${"\x47L\x4fBAL\x53"}["r\x6f\x6c\x79\x65\x76\x71\x6cvn"]="\x6de\x73sa\x67\x65n\x61m\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6eu\x6d\x62\x6bb\x62hqc"]="\x69\x6edi\x76id\x75\x6c\x4d\x65s\x73\x61\x67e\x49\x44";${"\x47\x4c\x4f\x42ALS"}["y\x62\x79\x6beflq\x73m"]="cl\x61ss";${"G\x4c\x4f\x42\x41\x4cS"}["x\x6bl\x61\x6c\x79\x79"]="\x6cab\x65\x6c";${"\x47\x4cOBA\x4c\x53"}["\x6c\x69\x70\x75\x67\x64\x6f\x77"]="mes\x73\x61ge\x52e\x61\x64\x55\x6ere\x61\x64";${"\x47LOBALS"}["\x66\x78\x72\x78\x66\x7ar\x75"]="n\x6f\x74i\x66\x69\x63at\x69\x6f\x6eHT\x4dL";${"G\x4cO\x42A\x4cS"}["uy\x79\x63\x68m\x6e\x6e"]="\x75\x6er\x65a\x64\x6d\x73g\x51\x75\x65\x72y";${"G\x4c\x4f\x42\x41L\x53"}["m\x73\x74\x6anb\x64s\x7a"]="\x75\x6er\x65\x61\x64\x43\x6f\x75nt\x52o\x77";${"GL\x4f\x42\x41\x4c\x53"}["\x77\x78\x6du\x6c\x6djv\x6cd"]="\x75\x6ere\x61\x64\x43\x6f\x75\x6e\x74\x43\x6f\x75n\x74s";${"\x47L\x4f\x42\x41\x4cS"}["\x70\x72\x61g\x6dj\x66\x65o"]="\x69\x6e\x4e\x75\x6d\x62e\x72Qu\x65\x72\x79";${"\x47L\x4fB\x41\x4cS"}["\x67\x6e\x65c\x62qm\x6a\x77"]="\x69\x6e\x4c\x6f\x67\x4eumb\x65\x72\x51\x75e\x72\x79";${"\x47\x4cO\x42\x41\x4cS"}["\x67\x7a\x75s\x77\x62\x62"]="\x64\x69\x76\x53\x74\x79\x6ce";${"\x47\x4cOB\x41\x4c\x53"}["\x74\x73\x77\x73\x69\x71\x63"]="\x70i\x63\x53\x74\x79\x6c\x65\x31";${"\x47L\x4fB\x41\x4c\x53"}["\x70du\x63ll\x78\x6fb\x79\x78\x74"]="\x74h\x65m\x65Vie\x77";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x65e\x6a\x62w"]="\x61\x6c\x6c\x55\x73\x65\x72N\x75\x6d\x62\x65r";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x69\x65\x76\x65\x68or\x65\x68\x6c"]="\x77\x68\x61\x74s\x61\x70p\x53t\x61\x74\x75\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["mw\x6f\x6bx\x6d\x74n\x76\x75"]="\x61\x70\x69u\x72l";${"\x47L\x4f\x42ALS"}["e\x67w\x75xn\x6a\x6a\x70\x76"]="\x63\x75\x72\x72\x65\x6eU\x73\x65r\x49\x44";${"\x47L\x4f\x42\x41\x4c\x53"}["\x69i\x6d\x79kgn"]="c\x6f\x6efi\x67\x75\x72a\x74\x69\x6f\x6eD\x61\x74\x61";${"\x47\x4c\x4fB\x41\x4cS"}["\x70\x69\x78h\x75\x64\x79\x66"]="\x65\x78i\x73\x74G\x72\x6fu\x70";${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x78k\x73\x75\x6d\x78"]="va\x6cu\x65";${"G\x4cO\x42A\x4cS"}["\x66a\x6fb\x6e\x72\x68\x71\x64got"]="q\x75\x65r\x79\x47\x65\x74\x47r\x6f\x75\x70Id";${"\x47\x4c\x4f\x42\x41LS"}["\x76\x6ckb\x6b\x61\x79e\x6fw"]="\x6e\x75m\x52\x6f\x77\x73";${"GL\x4fBA\x4c\x53"}["\x63\x77v\x6d\x65cc\x76\x6e\x78\x68\x78"]="\x75\x73\x65\x72s\x47r\x6fu\x70\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x6fv\x66\x68d\x6cf\x79\x75\x67\x65"]="\x61\x6c\x6c\x55se\x72\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["va\x72b\x75\x66d"]="\x69";${"\x47\x4c\x4fBALS"}["uh\x72bp\x64\x62v\x6as\x78"]="\x67\x65\x74\x55\x73\x65\x72Gr\x6fup\x73";${"GLOB\x41\x4cS"}["\x6cm\x68\x6e\x76\x70\x77\x61\x74\x6b\x74"]="g\x65tU\x73\x65r\x47\x72\x6f\x75s";${"G\x4c\x4f\x42AL\x53"}["\x68s\x64b\x78\x64"]="i\x73\x41d\x6d\x69n";class CTWhatsApp_Record_Model extends Vtiger_Record_Model{public function getWhatsappIcon($sourceModule){${"\x47\x4cOB\x41\x4c\x53"}["k\x70\x72tp\x67\x6b\x6b"]="\x63u\x72r\x65\x6e\x74\x64\x61\x74\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x6d\x71h\x69\x6e\x79\x6d\x6d\x67"]="\x63\x75rr\x65\x6eU\x73\x65\x72\x49\x44";$qszowprjo="\x69\x6eNu\x6dberQu\x65\x72\x79";${"\x47\x4c\x4fB\x41L\x53"}["\x71\x6a\x77\x6dzhu\x61n\x6cmv"]="\x72\x6fleI\x44";${"G\x4c\x4fB\x41\x4c\x53"}["\x70\x72\x75i\x76\x68\x6b\x62\x7a"]="\x63ur\x72\x65\x6e\x55\x73e\x72ID";global$adb,$current_user;${"GLO\x42\x41\x4cS"}["g\x78\x77v\x68\x71\x79\x72"]="\x67\x65\x74\x55\x73\x65\x72Gr\x6f\x75s";$yclsmpuwvf="i\x63\x6f\x6ea\x63\x74\x69v\x65";${"G\x4c\x4f\x42A\x4c\x53"}["qq\x66\x65lg\x71c\x62\x75r"]="\x63\x6fnf\x69\x67\x75\x72\x61\x74i\x6f\x6eD\x61t\x61";${${"G\x4c\x4fB\x41\x4cS"}["\x70\x72\x75i\x76\x68k\x62z"]}=$current_user->id;${"\x47\x4cO\x42\x41\x4cS"}["cqt\x73ln\x6c\x6eur"]="\x75\x6e\x72e\x61\x64\x6d\x73\x67C\x6f\x75\x6e\x74s\x51u\x65ry";${"GL\x4f\x42\x41\x4cS"}["m\x61\x72s\x74s\x6bi"]="\x69";${"\x47LO\x42\x41\x4c\x53"}["\x76lf\x69ed"]="\x6du\x6c\x74i\x70\x6c\x65\x57ah\x74sa\x70\x70";${${"G\x4c\x4f\x42\x41\x4cS"}["\x68\x73\x64b\x78\x64"]}=$current_user->is_admin;${"\x47LO\x42\x41\x4cS"}["\x78\x6a\x64\x62b\x6a\x70"]="\x69nL\x6f\x67\x4eu\x6db\x65\x72Q\x75e\x72\x79";$qhabettbjwdp="u\x73\x65\x72i\x64";${"G\x4cO\x42\x41\x4c\x53"}["m\x66\x70\x65i\x73\x79"]="us\x65\x72\x73\x47\x72\x6f\x75\x70\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71jwmz\x68\x75\x61\x6e\x6c\x6d\x76"]}=$current_user->roleid;${"G\x4c\x4f\x42\x41\x4cS"}["\x73k\x79qa\x73\x67u\x76\x65k"]="\x61\x6c\x6cw\x4d\x6f\x64u\x6ces";${"G\x4cO\x42\x41L\x53"}["\x6f\x78\x6cv\x69\x70\x68e\x6ey\x72o"]="i";$ovockrb="i\x6ea\x70p\x4e\x6f\x74\x69\x66\x69\x63\x61\x74i\x6f\x6e";$iilbsjlj="us\x65\x72\x69d";${${"GLO\x42A\x4c\x53"}["\x6c\x6d\x68\x6e\x76\x70\x77\x61\x74\x6b\x74"]}=$adb->pquery("\x53ELE\x43T * \x46\x52\x4f\x4d \x76\x74\x69\x67\x65\x72_ctw\x68\x61\x74\x73a\x70p\x63on\x66ig\x75\x72\x61\x74\x69\x6f\x6e");$abkfkisfbq="u\x6e\x72\x65a\x64\x6d\x73\x67\x43\x6f\x75n\x74s\x51\x75er\x79";${"\x47\x4cOBA\x4c\x53"}["\x6e\x71\x68o\x73vm\x7a"]="\x73ca\x6e\x57\x68\x61\x74\x73\x61\x70p\x4e\x75\x6d\x62e\x72";${"\x47\x4cO\x42\x41LS"}["\x72q\x77q\x78\x69\x72"]="cu\x72\x72\x65\x6eU\x73\x65\x72I\x44";${${"\x47\x4c\x4fBA\x4c\x53"}["vl\x66\x69\x65\x64"]}=$adb->query_result(${${"G\x4cO\x42\x41\x4c\x53"}["gx\x77\x76h\x71\x79\x72"]},0,"cus\x74\x6f\x6dfi\x65\x6cd\x34");${"\x47\x4c\x4f\x42\x41LS"}["ux\x66oq\x62\x72v\x62c"]="\x61\x6c\x6cw\x4d\x6f\x64u\x6c\x65\x73";${"\x47L\x4f\x42AL\x53"}["\x75\x72\x73\x74\x74\x64\x6eg\x68"]="mu\x6ctip\x6c\x65\x57\x61\x68t\x73app";${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x67\x64t\x76s\x78\x73\x66y\x68l"]="\x67\x65\x74\x65x\x70\x69\x72\x65d\x61\x74e";if(${${"\x47\x4cO\x42\x41LS"}["\x75r\x73tt\x64n\x67h"]}=="m\x75\x6ct\x69\x70l\x65W\x68atsapp"){$ppcabgoltvj="\x61\x6c\x6c\x55se\x72\x73";${"GL\x4fB\x41L\x53"}["\x71\x79\x6a\x7a\x6c\x72"]="\x75\x73er\x72\x6f\x77s";${"\x47LOBA\x4c\x53"}["\x63dh\x65\x6e\x6du\x62\x66"]="us\x65\x72\x72\x6fw\x73";${${"\x47\x4c\x4f\x42AL\x53"}["u\x68\x72\x62pd\x62vjs\x78"]}=$adb->pquery("S\x45\x4c\x45C\x54\x20*\x20\x46RO\x4d vti\x67er_c\x74\x77\x68ats\x61pp\x75ser\x73\x20INNER JO\x49N vtige\x72\x5fct\x77ha\x74\x73\x61pp_u\x73\x65\x72\x5f\x67r\x6fups O\x4e vt\x69\x67er\x5f\x63t\x77h\x61t\x73a\x70\x70\x5f\x75\x73e\x72_\x67r\x6fu\x70\x73.u\x73\x65ri\x64\x20=\x20vt\x69g\x65r\x5f\x63\x74wh\x61\x74\x73\x61pp\x75\x73\x65rs\x2ec\x75s\x74omf\x69e\x6cd5\x20\x57H\x45RE \x76\x74i\x67\x65r\x5f\x63\x74\x77h\x61ts\x61\x70p_\x75s\x65r\x5fgr\x6f\x75ps.\x61ct\x69\x76e \x3d\x20\x31");${${"G\x4c\x4fBA\x4cS"}["\x63\x64h\x65n\x6dub\x66"]}=$adb->num_rows(${${"\x47\x4c\x4fBAL\x53"}["\x75hr\x62\x70dbv\x6a\x73x"]});${"GL\x4f\x42\x41\x4c\x53"}["\x6fl\x70\x6d\x61\x72ef\x76s"]="us\x65r\x73\x47ro\x75\x70s";${$ppcabgoltvj}="";for(${${"\x47\x4cOBALS"}["\x76\x61\x72\x62\x75\x66\x64"]}=0;${${"GL\x4fB\x41\x4c\x53"}["\x76a\x72\x62\x75f\x64"]}<${${"GL\x4f\x42\x41LS"}["\x71\x79\x6az\x6cr"]};${${"\x47\x4c\x4fBA\x4c\x53"}["\x76\x61r\x62\x75\x66d"]}++){$jjdxfrcu="\x61\x6c\x6c\x55s\x65r\x73";${"\x47LOBA\x4cS"}["\x66\x64\x67\x79\x68\x75\x77\x65\x70\x66"]="\x61\x6cl\x55\x73e\x72\x73";${$jjdxfrcu}.=$adb->query_result(${${"\x47\x4cO\x42\x41L\x53"}["\x75\x68\x72\x62\x70\x64\x62\x76j\x73\x78"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x76\x61r\x62\x75fd"]},"\x75\x73e\x72i\x64").",";${${"GL\x4f\x42ALS"}["\x66\x64g\x79\x68\x75w\x65p\x66"]}.=$adb->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x68\x72\x62\x70\x64bvjs\x78"]},${${"GL\x4fB\x41LS"}["\x76\x61r\x62\x75\x66\x64"]},"\x6d\x75\x6c\x74ip\x6ce_\x75s\x65\x72id").",";}${${"\x47\x4cOBA\x4c\x53"}["o\x6c\x70\x6d\x61\x72\x65\x66v\x73"]}=explode(",",${${"\x47\x4c\x4f\x42AL\x53"}["\x61ov\x66\x68\x64\x6cf\x79\x75\x67\x65"]});}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["st\x6fh\x78\x79\x7a"]="\x67e\x74\x55s\x65\x72G\x72o\x75\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x77v\x6d\x65\x63\x63\x76\x6ex\x68x"]}=explode(",",$adb->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73tohxy\x7a"]},0,"\x75sers_g\x72\x6fu\x70\x73"));}${"\x47LO\x42AL\x53"}["\x74k\x62\x63pn\x6d\x70\x70p\x65"]="\x63\x75rr\x65\x6e\x55\x73erI\x44";$wqrxojbr="\x63o\x6e\x66i\x67u\x72\x61\x74\x69\x6fn\x44a\x74a";${$iilbsjlj}=in_array(${${"\x47LOB\x41\x4c\x53"}["\x64m\x71\x68\x69ny\x6dmg"]},${${"G\x4cO\x42\x41\x4c\x53"}["m\x66\x70\x65i\x73\x79"]});$uqtyqlbjbtgz="s\x63a\x6e\x57h\x61t\x73\x61\x70\x70\x4e\x75\x6db\x65\x72";$vniftsmmqd="\x61p\x69\x75\x72l";$rftgmsx="\x6c\x69c\x65n\x73eK\x65y";if(${$qhabettbjwdp}){$rqkoqbq="\x6e\x75m\x5fr\x6f\x77s";${$rqkoqbq}=1;}else{$guqkpouucjg="que\x72\x79\x47\x65t\x47\x72\x6f\x75p\x49\x64";${"\x47LO\x42\x41\x4c\x53"}["p\x75\x6bv\x61\x66u\x65ls\x74"]="\x71\x75\x65\x72\x79\x47\x65t\x47\x72ou\x70I\x64";$qhpexy="\x6b\x65\x79";$tuydkvixtyr="\x67\x72ou\x70i\x64";${"G\x4c\x4fB\x41L\x53"}["\x75u\x78\x78g\x6cj"]="\x63\x75\x72\x72\x65nU\x73e\x72\x49\x44";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x76\x6dt\x78\x64"]="\x69";${$guqkpouucjg}=$adb->pquery("SELE\x43\x54\x20*\x20F\x52OM vtig\x65\x72\x5f\x75s\x65\x72\x732gr\x6f\x75\x70\x20\x57HERE \x75\x73\x65ri\x64 = ?",array(${${"G\x4cOBA\x4cS"}["\x75\x75\x78\x78glj"]}));${${"G\x4c\x4f\x42A\x4c\x53"}["vl\x6b\x62ka\x79\x65o\x77"]}=$adb->num_rows(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x75\x6b\x76af\x75\x65l\x73\x74"]});for(${${"\x47L\x4f\x42\x41L\x53"}["\x76\x61rb\x75\x66\x64"]}=0;${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x76mtx\x64"]}<${${"\x47L\x4f\x42ALS"}["vlk\x62\x6b\x61ye\x6f\x77"]};${${"GLOB\x41\x4c\x53"}["\x76\x61\x72\x62u\x66d"]}++){${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x62d\x6d\x72\x6e\x73\x76xl\x72h"]="\x67\x72o\x75\x70\x69\x64";${${"GL\x4f\x42\x41L\x53"}["f\x62\x64\x6drnsv\x78l\x72h"]}[]=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x61\x6f\x62\x6e\x72\x68qd\x67\x6f\x74"]},${${"G\x4c\x4f\x42\x41L\x53"}["v\x61\x72b\x75\x66\x64"]},"g\x72\x6fu\x70i\x64");}foreach(${$tuydkvixtyr} as${$qhpexy}=>${${"G\x4cO\x42ALS"}["\x79\x78k\x73um\x78"]}){${"\x47L\x4f\x42\x41LS"}["k\x70\x63\x62\x6e\x71\x64"]="ex\x69\x73\x74\x47\x72\x6f\x75\x70";$pguchguncgu="v\x61\x6c\x75e";${${"\x47\x4cO\x42\x41\x4c\x53"}["kp\x63b\x6eq\x64"]}=in_array(${$pguchguncgu},${${"\x47L\x4f\x42\x41L\x53"}["c\x77\x76m\x65c\x63\x76\x6e\x78h\x78"]});if(${${"\x47L\x4f\x42\x41L\x53"}["p\x69\x78\x68\x75\x64y\x66"]}){$mvlvchfol="n\x75m_\x72o\x77s";${$mvlvchfol}=1;break;}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72c\x76\x72\x6b\x6c\x63"]="\x6e\x75m\x5f\x72ow\x73";${${"\x47\x4c\x4fBA\x4cS"}["\x72cv\x72\x6b\x6cc"]}=0;}}}$sqywciysul="c\x6f\x6e\x66\x69\x67u\x72a\x74\x69\x6fn\x44\x61\x74\x61";${${"G\x4c\x4f\x42AL\x53"}["i\x69\x6d\x79k\x67n"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"\x47\x4cO\x42A\x4c\x53"}["eg\x77u\x78\x6e\x6a\x6ap\x76"]});$vyxbnndinjz="\x63\x75r\x72\x65ntd\x61\x74\x65";${$vniftsmmqd}=str_replace("/\x61pi/","",${${"\x47L\x4fBAL\x53"}["\x71q\x66\x65\x6c\x67q\x63\x62\x75\x72"]}["\x61\x70\x69_u\x72l"]);${"G\x4cOBA\x4c\x53"}["\x70fqmew"]="\x63\x6f\x6e\x66\x69\x67ur\x61ti\x6fn\x44\x61\x74a";$tyrlowv="\x61p\x69\x55\x72\x6c";${$tyrlowv}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x77o\x6b\x78\x6d\x74\x6evu"]}."/".${${"\x47\x4cO\x42A\x4c\x53"}["\x69\x69my\x6b\x67\x6e"]}["\x61\x75\x74h\x74\x6f\x6ben"];${$yclsmpuwvf}=${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x69m\x79\x6b\x67n"]}["\x69\x63on\x61\x63\x74\x69\x76\x65"];${$ovockrb}=${$wqrxojbr}["in\x61\x70\x70_\x6eo\x74\x69f\x69cat\x69\x6fn"];$silteorvthht="\x69";${$uqtyqlbjbtgz}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70f\x71\x6d\x65\x77"]}["\x77hat\x73\x61\x70\x70\x6eo"];${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x6bcf\x6a\x6a\x67\x6ey\x78\x6c"]="\x75\x6e\x72\x65ad\x6d\x73g\x51\x75\x65\x72\x79";${${"\x47\x4cO\x42ALS"}["\x62i\x65\x76e\x68o\x72\x65\x68\x6c"]}=${$sqywciysul}["\x77\x68\x61t\x73\x61p\x70\x73\x74\x61t\x75\x73"];${"GLOBA\x4c\x53"}["\x70\x62\x78\x6a\x73\x72f\x74"]="\x75nre\x61\x64\x43\x6fun\x74C\x6f\x75\x6ets";${${"\x47\x4c\x4f\x42AL\x53"}["\x73\x65\x65jb\x77"]}=CTWhatsApp_Record_Model::getAllUserWhatsappNumber(${${"\x47\x4c\x4f\x42\x41L\x53"}["e\x67w\x75xn\x6a\x6a\x70v"]});if(is_null(${${"\x47\x4cO\x42A\x4c\x53"}["\x6e\x71\x68\x6f\x73\x76\x6dz"]})){$ydkjjnlvxko="s\x63\x61\x6e\x57\x68\x61\x74\x73\x61\x70\x70N\x75\x6db\x65r";${$ydkjjnlvxko}="-";}${${"\x47L\x4f\x42A\x4c\x53"}["\x70\x64u\x63\x6cl\x78\x6f\x62\x79x\x74"]}=CTWhatsApp_Record_Model::getWhatsappTheme();if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x70\x64uc\x6c\x6c\x78\x6fb\x79\x78t"]}=="\x52TL"){${"G\x4c\x4fBA\x4cS"}["\x71\x78\x75\x78\x65\x72\x66\x69"]="\x70\x69c\x53t\x79\x6ce2";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x73ws\x69\x71\x63"]}="marg\x69n: 0px\x200\x70\x78\x200px\x2010p\x78;fl\x6f\x61t:\x20ri\x67\x68t;";${"\x47L\x4fBAL\x53"}["m\x6cd\x6b\x71\x70\x71\x6bq"]="\x74\x69\x6d\x65\x53t\x79le";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x78\x75\x78e\x72\x66\x69"]}="ma\x72\x67\x69n:\x20\x30p\x78 0\x70\x78\x20\x30p\x78\x201\x30\x70\x78\x3bf\x6c\x6fat:\x20ri\x67h\x74;";${${"\x47L\x4f\x42A\x4c\x53"}["\x67zus\x77\x62\x62"]}="\x73t\x79l\x65=\x27dire\x63\x74\x69\x6fn:\x20rtl\x3b\x74ext-a\x6ci\x67\x6e:\x20\x72\x69\x67\x68t\x3b'";${${"G\x4c\x4fB\x41\x4cS"}["\x6dl\x64\x6b\x71\x70\x71kq"]}="f\x6c\x6f\x61\x74: le\x66\x74\x3b\x64i\x72e\x63\x74i\x6f\x6e:\x20\x6ctr;";}else{${"GL\x4f\x42\x41L\x53"}["\x65\x68h\x69qsv\x63\x72\x66"]="pic\x53ty\x6ce2";${${"G\x4c\x4f\x42\x41L\x53"}["\x74\x73ws\x69q\x63"]}="\x6dar\x67in:\x20\x30\x70\x78\x20\x319\x70x 0\x70x 0\x70x\x3bf\x6c\x6fat:\x20le\x66t;";${${"\x47L\x4f\x42A\x4c\x53"}["\x65h\x68i\x71\x73v\x63rf"]}="ma\x72gin: 0\x70x\x20\x319px\x200px 0p\x78;\x66lo\x61\x74:\x20l\x65\x66t\x3b";${${"GL\x4fB\x41\x4cS"}["\x67z\x75\x73\x77bb"]}="";$ffjlckdfnh="\x74\x69\x6d\x65\x53tyle";${$ffjlckdfnh}="floa\x74: \x72ig\x68t\x3b";}${$qszowprjo}=CTWhatsApp_Record_Model::getInNumberQuery(${${"\x47\x4c\x4f\x42AL\x53"}["e\x67wuxn\x6a\x6a\x70\x76"]});$zlbxekjr="a\x6c\x6cw\x4d\x6f\x64u\x6c\x65\x73";${${"\x47LO\x42\x41\x4cS"}["g\x6e\x65\x63b\x71m\x6a\x77"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"\x47\x4c\x4fBA\x4c\x53"}["r\x71\x77\x71\x78i\x72"]});${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x71\x74\x73\x6c\x6e\x6cnur"]}=$adb->pquery("SELEC\x54\x20*\x20\x46R\x4fM vt\x69\x67\x65\x72\x5f\x63t\x77\x68\x61tsapp \n\x20\x20  \x20 \x20  \x20I\x4eNER\x20\x4aOIN\x20vt\x69ge\x72_\x63r\x6d\x65\x6et\x69\x74\x79\x20\x4fN\x20vti\x67er_\x63rmen\x74\x69ty.crmid = v\x74i\x67\x65r\x5fctw\x68\x61\x74sa\x70p\x2ectw\x68\x61\x74\x73a\x70\x70\x69\x64 \n \x20  \x20\x20 \x20\x20\x20\x57\x48\x45RE\x20v\x74ige\x72_c\x72\x6den\x74\x69ty.d\x65l\x65\x74e\x64\x20=\x20\x30\x20A\x4eD vt\x69ger\x5fc\x74w\x68\x61t\x73\x61p\x70\x2e\x77\x68\x61\x74\x73ap\x70_u\x6er\x65\x61\x64r\x65\x61d \x3d 'U\x6e\x72\x65a\x64' \x41\x4e\x44\x20v\x74\x69\x67er_\x63\x74\x77\x68a\x74s\x61pp.\x6d\x65ssag\x65_\x74yp\x65\x20= 'Rec\x69e\x76ed\x27 \x41ND\x20\x76ti\x67\x65\x72_c\x74\x77\x68atsap\x70\x2e\x77h\x61ts\x61\x70p\x5f\x77\x69\x74hc\x63o\x64e \x21\x3d '\x47\x72ou\x70\x73\x27\x20".${${"G\x4c\x4f\x42A\x4c\x53"}["\x70\x72\x61\x67m\x6afeo"]});${${"G\x4c\x4fBA\x4c\x53"}["w\x78\x6d\x75\x6c\x6djv\x6c\x64"]}=$adb->num_rows(${$abkfkisfbq});if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["pb\x78\x6as\x72\x66\x74"]}==""){${${"\x47\x4c\x4fB\x41LS"}["wxm\x75\x6cm\x6av\x6c\x64"]}=0;}${${"GLO\x42\x41\x4cS"}["y\x6b\x63\x66\x6aj\x67\x6e\x79x\x6c"]}=$adb->pquery("\x53EL\x45C\x54 \x76\x74\x69\x67e\x72\x5fwh\x61ts\x61\x70p\x6c\x6fg.wha\x74\x73\x61\x70p\x6co\x67_\x63ont\x61\x63t\x69d,\x20vtig\x65r_\x77\x68a\x74\x73\x61pplog.\x77\x68\x61\x74sapp\x6cog\x5fu\x6er\x65ad\x72ea\x64, \x76\x74\x69\x67e\x72\x5f\x77\x68a\x74\x73\x61\x70p\x6co\x67\x2ew\x68\x61t\x73a\x70plo\x67_\x77ith\x63cod\x65,\x20\x76\x74i\x67\x65r_\x77\x68\x61t\x73ap\x70l\x6fg.\x6d\x65s\x73\x61g\x65l\x6fg_\x62\x6fd\x79, vt\x69ge\x72_\x77h\x61t\x73a\x70p\x6co\x67\x2ew\x68\x61\x74\x73ap\x70l\x6f\x67\x5f\x64a\x74e\x74\x69\x6de, \x76\x74i\x67er_w\x68\x61tsa\x70p\x6cog.w\x68a\x74\x73\x61p\x70l\x6f\x67\x5f\x73e\x6ed\x65\x72\x6ea\x6d\x65 \x46\x52\x4fM \x76t\x69ger_w\x68\x61ts\x61ppl\x6f\x67\n\x20    \x20\x20\x20IN\x4e\x45\x52 JOIN\x20v\x74iger\x5fcrmentit\x79 \x4fN \x76t\x69g\x65r\x5fcr\x6d\x65\x6et\x69t\x79\x2e\x63\x72\x6d\x69d \x3d\x20\x76\x74i\x67e\x72\x5fwha\x74s\x61\x70p\x6c\x6f\x67.\x77\x68at\x73\x61\x70p\x6cogi\x64 \n\x20\x20\x20\x20\x20\x20 \x20IN\x4eE\x52\x20JO\x49\x4e (SELE\x43\x54\x20\x63t2\x2ew\x68ats\x61p\x70l\x6f\x67_\x77\x69\x74h\x63c\x6fd\x65 ,\x20\x4dA\x58(ct\x32.wh\x61tsa\x70p\x6c\x6f\x67i\x64)\x20A\x53\x20ma\x78id\x20\x46R\x4fM v\x74\x69\x67er_\x77h\x61\x74\x73\x61\x70\x70\x6c\x6f\x67\x20\x63\x74\x32 GROU\x50 \x42Y \x63t\x32\x2e\x77h\x61\x74\x73\x61pp\x6c\x6fg\x5fm\x73g\x69\x64) \x63t3\x20O\x4e (v\x74ige\x72\x5fw\x68\x61\x74s\x61ppl\x6fg\x2ewh\x61\x74s\x61p\x70l\x6fg\x69\x64 = ct3.m\x61x\x69d) W\x48ERE\x20\x76\x74iger_\x63rme\x6e\x74ity\x2ede\x6c\x65t\x65d \x3d 0 ".${${"\x47L\x4fBA\x4cS"}["\x78\x6a\x64bbj\x70"]}."\x20 ORD\x45\x52\x20BY v\x74\x69\x67\x65r\x5fw\x68\x61\x74\x73\x61\x70p\x6c\x6fg.what\x73\x61p\x70\x6co\x67\x5f\x64\x61\x74\x65tim\x65 DE\x53C L\x49MI\x54 \x30,\x20\x35");${${"\x47LOB\x41L\x53"}["ms\x74\x6an\x62d\x73\x7a"]}=$adb->num_rows(${${"\x47\x4cO\x42AL\x53"}["\x75y\x79c\x68\x6d\x6en"]});${${"\x47\x4c\x4fBAL\x53"}["f\x78rx\x66z\x72u"]}="";for(${${"\x47L\x4f\x42\x41LS"}["\x6d\x61\x72\x73t\x73\x6bi"]}=0;${$silteorvthht}<${${"\x47\x4cOB\x41\x4cS"}["\x6dst\x6a\x6e\x62dsz"]};${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x78\x6cv\x69\x70\x68e\x6e\x79\x72\x6f"]}++){${"\x47\x4c\x4f\x42ALS"}["fo\x64\x6e\x63\x67\x66\x62r\x61"]="\x72eco\x72dI\x64";$ljmfhfjqdwj="i";${"\x47\x4c\x4fBA\x4c\x53"}["\x79\x64n\x74\x6e\x6a"]="\x72\x65\x63\x6f\x72\x64\x49\x64";$rfgsbqqqeyqb="\x75n\x72\x65adms\x67\x51\x75\x65\x72y";${${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x6fd\x6ec\x67\x66bra"]}=$adb->query_result(${${"G\x4c\x4fB\x41\x4c\x53"}["\x75y\x79chm\x6en"]},${$ljmfhfjqdwj},"\x77\x68\x61tsap\x70lo\x67\x5fco\x6e\x74act\x69d");${${"G\x4c\x4fB\x41\x4cS"}["l\x69\x70\x75\x67\x64\x6fw"]}=$adb->query_result(${$rfgsbqqqeyqb},${${"GL\x4f\x42\x41\x4c\x53"}["va\x72\x62u\x66\x64"]},"\x77\x68\x61t\x73\x61p\x70lo\x67\x5fun\x72e\x61\x64r\x65\x61\x64");if(${${"G\x4cO\x42ALS"}["\x79\x64n\x74\x6e\x6a"]}==""){$nxnydrgfm="\x75\x6e\x72\x65\x61\x64\x6ds\x67\x51\x75e\x72\x79";$ubfklgcjsq="\x6e\x6f\x74\x69\x66\x69c\x61\x74\x69\x6f\x6eH\x54\x4d\x4c";${"\x47LO\x42A\x4cS"}["\x79q\x68\x73\x6f\x6ch\x72l"]="i";$eynprosc="m\x65ssag\x65\x6ea\x6d\x65";${"G\x4cO\x42\x41\x4cS"}["\x64\x78\x7a\x6e\x67\x79\x6c"]="\x63\x6c\x61\x73s";$fmsispceut="\x69n\x64\x69\x76\x69\x64\x75l\x4de\x73\x73\x61g\x65\x49\x44";${"\x47\x4c\x4f\x42AL\x53"}["m\x67q\x66p\x74x"]="im\x61g\x65\x49\x63on";${"\x47LO\x42A\x4c\x53"}["g\x62\x76\x65\x77\x6a\x74\x67y\x73\x63"]="l\x61be\x6c";${"\x47\x4c\x4fB\x41L\x53"}["j\x67r\x73ygw"]="la\x73\x74\x42o\x64y";${${"\x47L\x4f\x42A\x4cS"}["\x78\x6b\x6caly\x79"]}=$adb->query_result(${${"\x47\x4c\x4f\x42AL\x53"}["\x75\x79\x79\x63\x68mn\x6e"]},${${"G\x4c\x4fB\x41\x4cS"}["v\x61\x72b\x75f\x64"]},"\x77\x68\x61\x74s\x61\x70\x70\x6c\x6f\x67_\x77\x69th\x63\x63\x6fde");${${"GL\x4f\x42\x41\x4cS"}["j\x67\x72\x73y\x67\x77"]}=$adb->query_result(${$nxnydrgfm},${${"G\x4c\x4f\x42\x41\x4c\x53"}["va\x72bu\x66\x64"]},"m\x65\x73\x73\x61\x67e\x6c\x6f\x67_\x62o\x64\x79");$xrvpbsvdiqw="\x6c\x61\x73\x74\x44\x61t\x65\x54\x69\x6de";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x67v\x79\x68\x7avy\x72\x74\x73"]="\x74i\x6de\x53\x74\x79\x6ce";${$xrvpbsvdiqw}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75y\x79ch\x6d\x6e\x6e"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79q\x68s\x6f\x6chrl"]},"w\x68\x61\x74sa\x70\x70\x6co\x67\x5fd\x61\x74e\x74im\x65");if(${${"\x47\x4c\x4fB\x41\x4cS"}["gb\x76\x65\x77\x6a\x74\x67\x79\x73\x63"]}!="\x47r\x6fup\x73"){${"GL\x4fB\x41\x4c\x53"}["g\x67\x6ayk\x6a\x76\x71\x68"]="in\x64\x69\x76\x69\x64\x75\x6cMe\x73\x73\x61\x67e\x49\x44";$tvewuugdzvvq="\x75\x6e\x72e\x61\x64m\x73\x67\x51\x75e\x72\x79";${"G\x4c\x4f\x42\x41LS"}["\x70b\x64yp\x74\x76z\x74\x74\x70"]="\x69\x6da\x67\x65Ico\x6e";${${"\x47\x4c\x4f\x42ALS"}["\x67\x67\x6a\x79\x6bjv\x71\x68"]}="\x69\x64\x3d\"whatsa\x70p\"";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x62\x79\x6b\x65\x66\x6c\x71s\x6d"]}="";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x6c\x69\x77c\x64y\x6fhjf"]="m\x65\x73\x73\x61\x67\x65\x6e\x61\x6de";${${"G\x4c\x4f\x42\x41\x4c\x53"}["pbd\x79\x70\x74\x76z\x74\x74\x70"]}="l\x61yo\x75\x74s/v\x37/\x6d\x6f\x64ule\x73/C\x54What\x73\x41pp/\x69\x6d\x61\x67e/\x41vt\x61rI\x63on\x2ep\x6e\x67";${${"GLO\x42\x41\x4c\x53"}["wl\x69w\x63dy\x6f\x68\x6a\x66"]}=$adb->query_result(${$tvewuugdzvvq},${${"\x47\x4cO\x42\x41L\x53"}["\x76\x61\x72\x62\x75\x66d"]},"w\x68at\x73a\x70plo\x67\x5f\x77\x69thc\x63\x6fd\x65");}else{$rslxjynrr="\x69\x6d\x61\x67\x65\x49c\x6f\x6e";$icioociovuql="i";$fmksgceehxur="u\x6er\x65\x61\x64ms\x67\x51u\x65r\x79";${${"G\x4cO\x42\x41\x4c\x53"}["\x6eu\x6d\x62\x6b\x62\x62\x68\x71\x63"]}="";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x62yk\x65\x66l\x71s\x6d"]}="rece\x69v\x65\x64new\x6dess\x61g\x65s";${$rslxjynrr}="\x6cayou\x74s/v\x37/modules/CT\x57h\x61tsApp/ima\x67e/gr\x6f\x75p\x73.\x70ng";${${"\x47\x4c\x4fB\x41L\x53"}["r\x6f\x6c\x79\x65v\x71\x6c\x76n"]}=$adb->query_result(${$fmksgceehxur},${$icioociovuql},"\x77ha\x74\x73\x61p\x70\x6cog\x5fs\x65\x6ed\x65rn\x61m\x65");}${$ubfklgcjsq}.="\x3cli\x20cl\x61s\x73\x3d\x22\x77\x68\x61t\x73\x61p\x70_ne\x77\x5fmes\x73a\x67\x65s\x20".${${"GLO\x42\x41\x4cS"}["d\x78\x7a\x6e\x67yl"]}."\x22\x20".${$fmsispceut}." d\x61t\x61-\x72\x65\x63o\x72\x64i\x64\x3d\x22".${${"\x47L\x4fB\x41L\x53"}["\x78kla\x6cy\x79"]}."\x22\x20\x73\x74\x79l\x65\x3d\"\x77\x69\x64\x74h: \x3100\x25\x3b\x64\x69s\x70\x6c\x61\x79:\x20inli\x6ee-bl\x6f\x63k;f\x6c\x6f\x61t: \x6c\x65f\x74\x3b\x62\x6frder-bottom:\x201\x70x \x73o\x6c\x69\x64\x20\x72gb(44 59 \x373 / \x315%)\x3b\"\x3e\n \x20\x20\x20\x20\x20\x20\x20\x20  \x20\x20\x20\x20\x20<a\x20hr\x65\x66\x3d\x22\x23\" styl\x65=\x22padding:\x20\x31\x30p\x78\x201\x30\x70x\x20\x21\x69\x6dpor\x74\x61\x6et;\x63\x6f\x6c\x6fr: #33\x33\x20\x21impo\x72tant\x3b\x64\x69sp\x6cay: \x69n\x6cin\x65-bl\x6fc\x6b;f\x6co\x61t: lef\x74;wi\x64\x74h: \x310\x30%\x3b\">\n\x20 \x20 \x20   \x20\x20   \x20 \x20<\x64\x69v class\x3d\x22pic\" \x73tyle=\x22d\x69sp\x6c\x61\x79: inline-\x62\x6c\x6f\x63k\x3b\x70\x61dd\x69\x6eg-\x72\x69g\x68\x74:\x20\x310\x70x\x3b\x77idth: \x35\x30p\x78\x3bhe\x69g\x68t: 50px;b\x6frd\x65r-\x72ad\x69\x75s: \x35\x30%;bo\x78-\x73\x68adow: 0\x200\x205\x70\x78\x20\x72gb(\x368 8\x30 \x3100\x20/\x20\x30\x2e\x32\x35);ma\x78-\x77\x69\x64th:\x2036\x70x;\x6dax-he\x69\x67h\x74\x20:\x20\x336\x70\x78;m\x61\x72g\x69n\x20:\x200;".${${"\x47L\x4fB\x41\x4c\x53"}["\x74\x73\x77si\x71c"]}."\x22>\n\x20 \x20 \x20 \x20 \x20     \x20\x20\x3cim\x67\x20s\x72c\x3d\"".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x67\x71\x66\x70\x74\x78"]}."\"\x20\x73t\x79l\x65\x3d\"\x77\x69dt\x68:\x204\x30\x70\x78\x3bmax-\x77i\x64\x74h:\x203\x36\x70x\x3bm\x61x-\x68\x65ig\x68\x74 : 3\x36px\x3bma\x72\x67i\x6e :\x20\x30;bo\x72d\x65r-rad\x69u\x73:\x205\x30%;ba\x63\x6b\x67\x72o\x75nd:\x20#\x34ebb\x34\x36\x3b\"/\x3e\n\x20\x20\x20  \x20\x20\x20    \x20  \x20</\x64i\x76\x3e\n\x20 \x20\x20\x20\x20 \x20        \x3c\x64iv ".${${"\x47\x4c\x4f\x42AL\x53"}["\x67z\x75\x73\x77\x62b"]}.">\n    \x20    \x20\x20  \x20\x20\x20<spa\x6e c\x6c\x61s\x73\x3d\"\x22\x3e<b s\x74y\x6c\x65=\x22f\x6f\x6et-s\x69\x7ae:\x20\x31\x34\x70\x78; \x21\x69mpo\x72ta\x6e\x74;f\x6f\x6e\x74-size: \x31\x34\x70x\x3bove\x72\x66l\x6fw: hidd\x65n\x3b\x74\x65\x78t-ov\x65\x72\x66l\x6f\x77: \x65l\x6c\x69p\x73\x69s\x3b\x64i\x73pl\x61y:\x20inl\x69ne-\x62\x6co\x63k\x3bpos\x69t\x69o\x6e: r\x65\x6cat\x69ve;t\x6f\x70: 6px\x3b\x77\x69d\x74h: 23\x30\x70x;\"\x3e".${$eynprosc}."</b></\x73p\x61\x6e>\n \x20\x20      \x20 \x20\x20  \x20\x3cp st\x79le\x3d\"ma\x78-wid\x74h:\x20\x33\x30\x30p\x78\x3bfont-size:\x20\x312\x70x;m\x61x-\x77\x69\x64th: 200p\x78;\x6fv\x65\x72\x66l\x6f\x77:\x20\x68i\x64d\x65\x6e\x3b\x74ext-\x6f\x76e\x72\x66\x6co\x77: e\x6c\x6cipsi\x73;\x77hi\x74e-sp\x61c\x65: \x6eowra\x70\x3b\x22>";if(${${"GL\x4fB\x41LS"}["\x6cip\x75\x67\x64\x6fw"]}=="\x55\x6ere\x61\x64"){${"\x47\x4c\x4fB\x41\x4cS"}["f\x75j\x73\x73\x79\x73x\x63g"]="\x6eot\x69\x66i\x63\x61\x74i\x6f\x6eHTM\x4c";${${"G\x4c\x4f\x42A\x4c\x53"}["\x66\x75j\x73\x73\x79s\x78c\x67"]}.="<b>".${${"GL\x4fBA\x4cS"}["i\x72\x78\x62\x7arg\x6f\x77k\x61"]}."</\x62>";}else{${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66x\x72\x78\x66z\x72\x75"]}.=${${"\x47\x4cOBA\x4c\x53"}["irx\x62\x7a\x72\x67\x6f\x77\x6b\x61"]};}${${"\x47L\x4fB\x41\x4c\x53"}["\x66\x78\x72\x78f\x7a\x72u"]}.="</p>\n \x20\x20\x20   \x20\x20 \x20 \x20\x20  \x3cs\x70\x61n\x20c\x6ca\x73\x73=\x22\" st\x79le=\x22fo\x6et-\x73i\x7ae: \x312px;\x6c\x69\x6e\x65-\x68e\x69\x67\x68t:\x2016p\x78\x3bf\x6f\x6e\x74-w\x65\x69ght:\x20\x340\x30;\x64\x69\x73\x70lay: b\x6coc\x6b;".${${"\x47\x4c\x4fB\x41L\x53"}["\x77\x67\x76\x79h\x7a\x76\x79\x72\x74\x73"]}."\"\x3e".Vtiger_Util_Helper::formatDateDiffInStrings(${${"\x47\x4cO\x42\x41L\x53"}["c\x63\x65\x61\x75\x78i\x6b"]})."</sp\x61n\x3e\n\x20   \x20  \x20\x20     \x20 </div>\n\x20 \x20\x20\x20   \x20   \x20  \x20\x3c/\x61>\n\x20\x20\x20\x20\x20 \x20   \x20 \x20\x20  </l\x69\x3e";}else{$qyvniixeq="\x73\x65\x74\x79\x70\x65";$dxbniwf="re\x63or\x64\x49\x64";${"G\x4c\x4fB\x41\x4c\x53"}["\x69j\x65\x6ean\x64\x6b\x75\x78"]="\x73\x65\x74\x79p\x65";${$qyvniixeq}=VtigerCRMObject::getSEType(${$dxbniwf});${${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x76\x6cx\x70qy\x78\x74\x62"]}=CTWhatsApp_Record_Model::recordDelete(${${"\x47\x4c\x4fB\x41L\x53"}["\x71\x77o\x6b\x74wwc\x62t"]});if(Users_Privileges_Model::isPermitted(${${"G\x4cO\x42\x41\x4c\x53"}["\x69\x6a\x65\x6e\x61\x6ed\x6b\x75\x78"]},"Ed\x69\x74\x56iew",${${"GL\x4f\x42AL\x53"}["q\x77\x6fk\x74\x77wc\x62t"]})){$xyjuxujp="dele\x74\x65R\x65\x63\x6f\x72\x64";if(${$xyjuxujp}==0){${"G\x4c\x4f\x42\x41\x4cS"}["\x70r\x77\x61\x73\x71\x6a\x6bm\x70"]="p\x72o\x66\x69\x6c\x65\x49m\x61\x67\x65";${"GLO\x42A\x4c\x53"}["js\x72\x77\x79\x73p\x66\x69\x6b"]="n\x6f\x74ifi\x63\x61\x74\x69o\x6e\x48\x54\x4d\x4c";${"GL\x4f\x42\x41\x4c\x53"}["p\x76y\x69\x77\x63c\x63\x68c\x6cn"]="\x69";$yiqsefyyxyo="l\x61\x73\x74\x44\x61t\x65\x54i\x6d\x65";${"G\x4c\x4f\x42A\x4cS"}["\x65\x6a\x68\x70p\x62\x74rqu"]="\x75\x6er\x65a\x64\x6d\x73\x67Q\x75er\x79";$yyhmyrjp="\x64\x69\x76\x53\x74y\x6c\x65";$dymibmxrsfh="\x69m\x61\x67\x65\x54a\x67";${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x72c\x77q\x77\x78"]="r\x65c\x6f\x72\x64\x49\x64";$izsadmu="\x75\x6e\x72\x65adms\x67\x51\x75\x65\x72\x79";$lngpnt="\x73\x65ty\x70\x65";$dqdmgsj="l\x61\x73\x74\x44\x61\x74e\x54\x69\x6d\x65";if(${${"\x47\x4c\x4f\x42\x41LS"}["\x71wok\x74\x77\x77\x63bt"]}){$idhgkitlzql="\x72\x65\x63\x6fr\x64\x49d";${${"G\x4c\x4fB\x41\x4c\x53"}["t\x6aj\x78\x6ca"]}=Vtiger_Record_Model::getInstanceById(${$idhgkitlzql},${${"GLOB\x41\x4cS"}["\x6bp\x61\x69\x66\x7a\x74o\x6a\x6e\x63"]});${${"\x47\x4cOB\x41L\x53"}["xkl\x61\x6cy\x79"]}=$recordModel->get("\x6ca\x62\x65l");}${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x6cb\x68x\x6d\x6d\x76"]="\x69ma\x67\x65\x54\x61g";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70r\x77as\x71\x6a\x6b\x6dp"]}=CTWhatsApp_Record_Model::getImageDetails(${${"\x47LO\x42\x41\x4c\x53"}["qr\x63\x77\x71w\x78"]},${$lngpnt});$jbkvhmqnvjo="l\x61\x73\x74B\x6fd\x79";${"G\x4cOB\x41\x4cS"}["\x71\x79n\x77\x76l\x77fijk"]="m\x65\x73\x73\x61g\x65Re\x61\x64\x55\x6e\x72\x65\x61d";${$dymibmxrsfh}=1;if(${${"GLOB\x41L\x53"}["\x73\x79\x6b\x61\x6fwy\x68"]}==""){${"\x47L\x4fBALS"}["\x70jujfq\x66\x65\x6a\x71\x65\x6a"]="\x6ca\x62e\x6c\x45x\x70\x6c\x6f\x64\x65";${"\x47\x4cO\x42\x41\x4cS"}["yer\x63e\x66\x77"]="\x6cabe\x6cEx\x70\x6cod\x65";${${"GLOB\x41\x4c\x53"}["\x70\x6a\x75\x6af\x71f\x65j\x71ej"]}=explode("\x20",${${"GL\x4f\x42\x41\x4cS"}["\x78\x6b\x6ca\x6cy\x79"]});${${"\x47L\x4fB\x41LS"}["syk\x61\x6fw\x79h"]}=mb_substr(${${"GLO\x42\x41\x4cS"}["\x69\x65\x71\x66\x6e\x77\x69\x67"]}[0],0,1,"\x55T\x46-\x38").mb_substr(${${"\x47\x4c\x4f\x42AL\x53"}["\x79\x65rc\x65f\x77"]}[1],0,1,"UTF-\x38");${${"G\x4c\x4fB\x41LS"}["\x6c\x79\x74l\x72\x6f"]}=0;}${$jbkvhmqnvjo}=$adb->query_result(${${"\x47\x4cO\x42AL\x53"}["e\x6a\x68\x70\x70bt\x72\x71u"]},${${"\x47L\x4fBA\x4cS"}["\x76\x61rbu\x66\x64"]},"me\x73sa\x67\x65\x6c\x6f\x67\x5f\x62\x6fd\x79");${$yiqsefyyxyo}=$adb->query_result(${$izsadmu},${${"\x47LO\x42A\x4c\x53"}["\x70v\x79\x69w\x63\x63\x63hc\x6c\x6e"]},"wh\x61t\x73a\x70plo\x67\x5f\x64\x61t\x65\x74\x69\x6d\x65");${${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x78\x72xf\x7a\x72\x75"]}.="<l\x69\x20cla\x73\x73\x3d\x22w\x68a\x74\x73a\x70\x70\x5fnew_\x6d\x65\x73\x73\x61ges\" \x69d\x3d\x22\x77ha\x74s\x61\x70p\x22 data-re\x63ord\x69\x64=\"".${${"G\x4c\x4fB\x41\x4c\x53"}["\x71w\x6fkt\x77\x77\x63\x62\x74"]}."\" \x64at\x61-\x73e\x74y\x70e\x3d\x22".${${"\x47LOBA\x4cS"}["\x6bp\x61\x69\x66\x7at\x6f\x6a\x6ec"]}."\"\x20st\x79\x6ce=\"width:\x20\x31\x300%;\x64\x69\x73\x70\x6c\x61y: in\x6c\x69\x6e\x65-\x62l\x6f\x63\x6b\x3b\x66lo\x61\x74: left\x3bb\x6f\x72\x64\x65\x72-\x62ot\x74\x6f\x6d: 1p\x78 \x73olid r\x67b(4\x34 59\x207\x33 /\x201\x35\x25)\x3b\x22\x3e\n\x20\x20 \x20   \x20\x20 \x20\x20 \x20   \x20 \x20\x20 \x20\x20\x3ca \x68\x72e\x66=\x22#\x22\x20\x73\x74\x79le\x3d\x22p\x61ddin\x67:\x201\x30px\x201\x30\x70\x78\x20\x21i\x6d\x70o\x72t\x61n\x74\x3bc\x6f\x6cor: \x233\x333\x20\x21\x69\x6dp\x6f\x72t\x61n\x74;\x64\x69\x73p\x6ca\x79:\x20\x69n\x6cine-\x62\x6c\x6fc\x6b;f\x6co\x61t:\x20\x6ce\x66t\x3bw\x69\x64t\x68: \x310\x30\x25;\x22\x3e\n   \x20 \x20\x20\x20\x20\x20\x20  \x20 \x20\x20 \x20\x20\x20\x20\x20 <di\x76 c\x6c\x61ss=\"p\x69c\x22 s\x74y\x6c\x65=\x22d\x69\x73p\x6c\x61y:\x20inl\x69\x6ee-b\x6co\x63k;fl\x6fa\x74:\x20l\x65\x66t\x3b width: 36\x70\x78;\x68e\x69\x67\x68t: \x336\x70\x78;b\x6fr\x64\x65r-rad\x69u\x73:\x20\x35\x30\x25;\x62\x6fx-sh\x61\x64ow:\x200 \x30\x205px rgb(6\x38 \x38\x30\x20\x31\x30\x30 /\x20\x30.\x32\x35); ".${${"\x47LOB\x41L\x53"}["jy\x6f\x6b\x72\x66x\x71"]}." \x74\x65x\x74-\x61\x6c\x69\x67n:\x20c\x65n\x74e\x72\x3b c\x6flo\x72:\x20\x23\x34\x65\x62\x6246;\x22\x3e";if(${${"\x47LO\x42\x41\x4c\x53"}["jl\x62\x68\x78\x6d\x6dv"]}==1){${${"\x47L\x4fBALS"}["f\x78rx\x66\x7a\x72\x75"]}.="\x3c\x69m\x67 sr\x63\x3d\x22".${${"GL\x4f\x42\x41L\x53"}["sy\x6b\x61\x6f\x77\x79\x68"]}."\"\x20s\x74yle=\"\x20\x77i\x64th:\x2010\x30\x25;\x6d\x61\x72\x67in:\x200;h\x65\x69\x67h\x74:\x20\x31\x300\x25;\x62\x6frder-r\x61dius: 5\x30%\x3b\x22/\x3e";}else{${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62koc\x65\x66e"]="pr\x6ff\x69\x6ceI\x6d\x61\x67e";${${"G\x4cO\x42\x41\x4c\x53"}["\x66xr\x78\x66\x7aru"]}.="\x3c\x73\x70\x61\x6e\x20\x63\x6cas\x73\x3d\"i\x6d\x61\x67ename\x22\x20i\x64\x3d\x22i\x6d\x61ge\x6eame\"\x20\x73\x74y\x6ce\x3d\x22\x66on\x74-siz\x65: \x315\x70\x78;li\x6ee-h\x65i\x67ht:\x2036p\x78;\"\x3e<b>".${${"\x47\x4cO\x42\x41LS"}["bk\x6fcef\x65"]}."\x3c/\x62\x3e\x3c/\x73\x70an\x3e";}${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x6c\x7alp\x75\x67"]="\x74\x69\x6d\x65\x53\x74y\x6c\x65";${${"GL\x4fB\x41L\x53"}["j\x73rwy\x73p\x66\x69k"]}.="</di\x76>\n   \x20 \x20\x20 \x20\x20\x20\x20\x20  \x20\x20\x20\x20\x20 \x20\x20 <\x64iv\x20\x20".${$yyhmyrjp}."\x3e\n\x20 \x20  \x20\x20\x20\x20\x20\x20 \x20   \x20\x20      \x3c\x73\x70\x61\x6e\x20\x63\x6c\x61s\x73\x3d\x22\x22\x3e<\x62\x20\x73\x74y\x6c\x65\x3d\x22\x66\x6fn\x74-\x73\x69ze:\x20\x31\x34px\x3b\x20\x21\x69m\x70ort\x61\x6et\x3b\x66o\x6et-\x73i\x7a\x65:\x2014px;ove\x72flow:\x20\x68i\x64\x64en;tex\x74-\x6f\x76\x65\x72\x66\x6cow:\x20e\x6clipsis\x3b\x64is\x70lay: \x69\x6e\x6cine-b\x6co\x63k\x3b\x70\x6f\x73i\x74\x69\x6fn:\x20\x72\x65\x6ca\x74\x69\x76e\x3btop:\x206\x70\x78;wi\x64\x74\x68:\x20\x3230\x70\x78\x3b\x22\x3e".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78k\x6ca\x6c\x79\x79"]}."</b\x3e\x3c/sp\x61\x6e\x3e\n\x20\x20\x20  \x20\x20\x20\x20\x20   \x20  \x20   \x20 \x20\x20<p st\x79\x6ce\x3d\"\x6d\x61\x78-w\x69dth: 300px;font-s\x69\x7a\x65: \x31\x32px\x3bmax-w\x69\x64t\x68: 20\x30\x70\x78;ov\x65\x72\x66\x6cow: h\x69d\x64\x65\x6e;\x74e\x78\x74-o\x76\x65r\x66lo\x77:\x20\x65l\x6ci\x70\x73\x69s;whi\x74\x65-sp\x61\x63\x65:\x20\x6eo\x77\x72a\x70\x3b\x22\x3e";if(${${"\x47LO\x42\x41L\x53"}["\x71ynwvl\x77\x66i\x6ak"]}=="U\x6e\x72ea\x64"){${"GL\x4f\x42\x41L\x53"}["\x70o\x77\x77o\x66y\x6c"]="\x6c\x61stB\x6f\x64\x79";${${"G\x4c\x4f\x42A\x4cS"}["\x66\x78\x72\x78\x66\x7a\x72\x75"]}.="\x3cb\x3e".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x6f\x77\x77\x6ffyl"]}."\x3c/b>";}else{${${"\x47\x4cOB\x41L\x53"}["f\x78\x72\x78\x66\x7a\x72\x75"]}.=${${"GL\x4fB\x41\x4c\x53"}["i\x72x\x62\x7argowk\x61"]};}${${"GLO\x42\x41LS"}["\x66\x78r\x78f\x7a\x72\x75"]}.="</\x70\x3e\n   \x20      \x20\x20\x20\x20    \x20\x20\x20\x20 \x20\x3c/p\x3e\n\x20    \x20  \x20\x20\x20 \x20\x20\x20\x20\x20\x20  \x20\x20\x20 <\x73\x70a\x6e\x20\x63las\x73\x3d\x22\" \x73\x74\x79le\x3d\x22fon\x74-siz\x65:\x20\x31\x32px;li\x6ee-h\x65i\x67ht:\x20\x31\x36\x70x\x3b\x66\x6f\x6et-\x77eig\x68t: \x3400;dis\x70\x6cay:\x20\x62l\x6fc\x6b\x3b".${${"\x47\x4c\x4f\x42\x41\x4cS"}["cl\x7al\x70\x75g"]}."\">".Vtiger_Util_Helper::formatDateDiffInStrings(${$dqdmgsj})."\x3c/s\x70\x61\x6e\x3e\n \x20\x20\x20 \x20 \x20  \x20 \x20 \x20\x20   \x20  \x20\x20\x3c/d\x69\x76>\n\x20     \x20 \x20  \x20\x20\x20  \x20  \x20 \x20  </\x61>\n\x20\x20\x20    \x20\x20\x20 \x20    \x20  \x20\x20\x20  \x3c/li\x3e";}}}}$wymxhnhb="d\x61\x74e";${"G\x4c\x4f\x42A\x4c\x53"}["\x79ou\x6d\x6c\x75\x75\x6a\x6c"]="\x6c\x69\x63\x65n\x73\x65Key";${$vyxbnndinjz}=date("Y-\x6d-d");${${"\x47\x4c\x4fBA\x4cS"}["\x75\x67d\x74\x76s\x78\x73\x66y\x68\x6c"]}=$adb->pquery("SE\x4c\x45C\x54\x20* FR\x4f\x4d\x20v\x74i\x67er\x5f\x63twha\x74s\x61\x70\x70\x5fl\x69c\x65n\x73\x65\x5fs\x65tti\x6e\x67");${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66w\x6ff\x65b\x6d\x72\x79\x77\x69"]}=$adb->query_result(${${"\x47\x4c\x4f\x42AL\x53"}["\x74\x72\x77k\x74\x6c\x76"]},0,"e\x78pir\x79\x64at\x65");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79o\x75\x6d\x6c\x75\x75\x6a\x6c"]}=$adb->query_result(${${"G\x4cO\x42\x41\x4cS"}["\x74r\x77\x6bt\x6c\x76"]},0,"\x6ci\x63ens\x65\x5f\x6b\x65y");${${"\x47\x4c\x4fBAL\x53"}["wsl\x74\x6e\x6d\x65\x6b\x6d\x68"]}=Settings_CTWhatsApp_ConfigurationDetail_View::encrypt_decrypt(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66w\x6f\x66e\x62\x6d\x72\x79w\x69"]},${${"\x47\x4cOBA\x4c\x53"}["x\x74s\x73\x73t\x77\x6a\x6f"]}="\x64");${$zlbxekjr}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"G\x4c\x4fB\x41\x4cS"}["\x76nr\x6d\x78d\x6ee\x68\x74k\x68"]});${${"\x47\x4c\x4f\x42AL\x53"}["defgv\x75w"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["n\x6fbk\x68\x6f\x68p"]}["\x72o\x77s"];${${"GLO\x42ALS"}["\x67\x67\x71k\x76rosff\x62"]}=${${"G\x4c\x4f\x42\x41L\x53"}["uxfo\x71b\x72v\x62c"]}["\x6d\x6fdule\x49\x63\x6fn\x41ctive"];${${"\x47\x4c\x4fB\x41\x4cS"}["\x73nti\x69\x70\x79\x68\x6ad"]}=${${"\x47\x4c\x4fB\x41L\x53"}["\x73k\x79\x71a\x73\x67\x75\x76e\x6b"]}["\x70h\x6f\x6e\x65\x46\x69eld"];if(strtotime(${$wymxhnhb})<strtotime(${${"\x47\x4c\x4fBA\x4cS"}["k\x70\x72\x74\x70\x67k\x6b"]})){$jezfhscugbn="\x6c\x69\x63\x65\x6e\x73\x65E\x78\x70\x69\x72\x65";${$jezfhscugbn}="\x79\x65s";}else{${${"G\x4cO\x42A\x4c\x53"}["\x65\x6d\x61\x68b\x72t"]}="\x6e\x6f";}${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x7a\x6c\x66m\x6d\x64xyv\x67"]}=CTWhatsApp_Record_Model::whatsappUserBeepSettingQuery(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x6b\x62cp\x6e\x6d\x70p\x70\x65"]});${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x67\x64\x6a\x6bk\x63\x6a\x76\x64\x69\x71"]}=Settings_CTWhatsApp_Record_Model::getMassMessageAccessUsers();${${"\x47L\x4fB\x41\x4c\x53"}["n\x6bj\x79\x66\x65\x76\x6f\x6a"]}=in_array(${${"G\x4c\x4fB\x41\x4c\x53"}["eg\x77u\x78n\x6aj\x70\x76"]},${${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x67\x64\x6a\x6b\x6b\x63\x6a\x76\x64\x69\x71"]});if(${$rftgmsx}!=""){${"\x47LO\x42\x41\x4c\x53"}["\x66\x68ku\x68y\x79\x78\x71\x68\x71"]="mo\x64\x75leMa\x73\x73\x4d\x65\x73\x73a\x67e";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ei\x6a\x6a\x62\x68\x79\x78\x6a"]="\x6d\x6f\x64\x75l\x65\x49\x63\x6f\x6e\x41\x63\x74\x69\x76e";${"\x47LO\x42\x41\x4cS"}["g\x79sp\x67\x79"]="a\x70i\x55\x72\x6c";${"\x47\x4cOB\x41\x4c\x53"}["d\x65\x68\x6d\x6f\x6cy"]="\x69\x73A\x64\x6di\x6e";${"\x47LO\x42\x41\x4c\x53"}["\x6a\x74n\x71r\x61\x74"]="\x64at\x65";$gjtosyxhgyx="\x77\x68a\x74sa\x70\x70\x53\x74\x61\x74\x75\x73";${${"\x47LO\x42A\x4cS"}["ei\x69mhhx\x64"]}=array("mo\x64\x75l\x65\x4das\x73Messa\x67e"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66h\x6bu\x68\x79yx\x71\x68q"]},"\x61pi\x55rl"=>${${"\x47L\x4f\x42\x41\x4c\x53"}["g\x79\x73pgy"]},"wh\x61\x74sa\x70\x70ic\x6f\x6e"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x78e\x6b\x6ft\x69\x71"]},"un\x72\x65\x61\x64_cou\x6et"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wxm\x75\x6c\x6dj\x76l\x64"]},"c\x75r\x72e\x6e\x74d\x61\x74\x65"=>strtotime(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x69\x76\x75v\x66\x75\x67\x6a"]}),"l\x69\x63\x65ns\x65dat\x65"=>strtotime(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x74\x6e\x71\x72\x61\x74"]}),"wh\x61t\x73\x61\x70\x70\x53\x74\x61\x74\x75\x73"=>${$gjtosyxhgyx},"mod\x75\x6c\x65Ico\x6e\x41\x63tiv\x65"=>${${"\x47\x4cOBAL\x53"}["\x6ei\x6a\x6a\x62\x68\x79x\x6a"]},"\x70hon\x65Fi\x65ld"=>${${"\x47\x4c\x4f\x42AL\x53"}["sn\x74\x69\x69py\x68\x6a\x64"]},"i\x6ea\x70\x70N\x6f\x74i\x66\x69\x63\x61\x74\x69on"=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6dxp\x73x\x70nysg"]},"notif\x69c\x61ti\x6f\x6e\x48\x54ML"=>${${"G\x4c\x4f\x42A\x4cS"}["\x66xr\x78\x66\x7a\x72\x75"]},"i\x73\x41\x64m\x69\x6e"=>${${"\x47L\x4fBA\x4c\x53"}["d\x65h\x6doly"]},"\x74h\x65meView"=>${${"\x47LO\x42\x41LS"}["pdu\x63\x6c\x6c\x78\x6f\x62\x79\x78t"]},"i\x63on\x61\x63ti\x76\x65"=>${${"G\x4c\x4fBAL\x53"}["\x74\x6d\x65\x65\x72\x63q\x79q\x73rd"]},"l\x69ce\x6eseExpir\x65"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["emahbr\x74"]},"s\x63anW\x68at\x73\x61ppN\x75m\x62\x65r"=>${${"\x47L\x4f\x42A\x4c\x53"}["\x76\x73oh\x6d\x65\x79\x74"]},"wh\x61t\x73app\x55\x73\x65rBe\x65p"=>${${"GL\x4f\x42\x41\x4c\x53"}["\x77\x7alf\x6d\x6d\x64\x78\x79\x76\x67"]},"\x6da\x73s\x4des\x73\x61\x67e\x41c\x63\x65ss"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ekjyf\x65\x76\x6f\x6a"]});}return${${"G\x4c\x4f\x42\x41L\x53"}["eii\x6d\x68\x68\x78\x64"]};}function getScanQRCodeURL(){$ocedmujkdcx="\x69sA\x64\x6d\x69n";$fhmhbg="\x6e\x75m\x52\x6f\x77s\x55s\x65\x72\x73";global$adb,$current_user;$wmswtfsxmsp="\x63ur\x72e\x6e\x74\x55s\x65\x72I\x44";$fbiazidvcmfk="c\x75\x72r\x65\x6e\x74Us\x65\x72I\x44";${$wmswtfsxmsp}=$current_user->id;${"GLOBA\x4c\x53"}["\x70\x6c\x77\x76\x67bix"]="\x73\x63\x61nQ\x52\x43o\x64e";${$ocedmujkdcx}=$current_user->is_admin;${${"G\x4c\x4f\x42\x41LS"}["\x72\x62\x63f\x79\x6d\x6dw"]}=$adb->pquery("\x53\x45\x4cEC\x54 *\x20\x46RO\x4d\x20vt\x69g\x65r_\x63\x74\x77\x68\x61\x74sa\x70\x70\x63\x6f\x6e\x66\x69g\x75\x72\x61t\x69on\x20\x57H\x45\x52E \x63\x75st\x6f\x6dfiel\x64\x33 \x4cIK\x45 \x27\x25".${$fbiazidvcmfk}."%'",array());${$fhmhbg}=$adb->num_rows(${${"\x47\x4c\x4f\x42A\x4cS"}["rbc\x66y\x6d\x6d\x77"]});if(${${"GL\x4f\x42\x41L\x53"}["j\x6c\x6e\x7a\x6c\x67\x73\x63\x78"]}==0){$haknmepnsj="\x71\x75er\x79\x47r\x6f\x75\x70\x45\x78\x69s\x74";${${"\x47\x4c\x4f\x42\x41LS"}["f\x61\x6f\x62n\x72h\x71\x64\x67ot"]}=$adb->pquery("\x53\x45L\x45\x43\x54 * \x46ROM\x20v\x74\x69\x67\x65\x72_g\x72\x6f\x75p\x32r\x6fle\x20INNER \x4aOIN\x20v\x74\x69\x67\x65r\x5f\x75ser\x32\x72\x6fl\x65 \x4f\x4e\x20v\x74\x69g\x65r\x5f\x75s\x65\x72\x32\x72\x6f\x6ce.\x72ole\x69d \x3d \x76tig\x65r_g\x72\x6f\x75p2\x72\x6f\x6ce.\x72\x6f\x6ce\x69\x64 WH\x45\x52E \x76t\x69\x67\x65\x72_\x75\x73e\x72\x32\x72\x6fle.u\x73e\x72id = ?",array(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x6bfe\x67c\x62v\x61\x79w"]}));${${"\x47LO\x42\x41\x4c\x53"}["h\x78\x65\x7a\x76\x71n\x77m"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x61\x6f\x62n\x72\x68q\x64\x67\x6f\x74"]},0,"\x67\x72oup\x69\x64");if(${${"\x47L\x4f\x42\x41L\x53"}["\x68\x78\x65\x7a\x76q\x6ew\x6d"]}!=""){$enzspff="gr\x6f\x75p\x69d";${${"GLO\x42\x41\x4c\x53"}["\x63\x66\x6ax\x64\x74\x6e"]}=$adb->pquery("S\x45\x4cE\x43T\x20*\x20FRO\x4d \x76\x74\x69ger\x5fc\x74\x77\x68at\x73appc\x6fnfi\x67u\x72\x61ti\x6fn \x57HE\x52E cu\x73t\x6fm\x66iel\x643\x20\x4cIKE '\x25".${$enzspff}."\x25\x27",array());}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6cn\x7al\x67\x73c\x78"]}=$adb->num_rows(${$haknmepnsj});}if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["h\x73db\x78d"]}=="\x6f\x6e"){${"G\x4cOBA\x4cS"}["\x78\x6a\x77\x6cro\x7a\x77"]="sc\x61\x6e\x51\x52\x43\x6f\x64\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x6aw\x6c\x72\x6f\x7a\x77"]}="\x69n\x64\x65x\x2e\x70\x68\x70?\x6d\x6fd\x75\x6c\x65=C\x54\x57ha\x74s\x41\x70\x70\x26\x70aren\x74\x3d\x53e\x74\x74ing\x73&\x76\x69\x65w\x3d\x43o\x6e\x66\x69gu\x72ati\x6f\x6eDe\x74\x61il";}else{${"\x47\x4c\x4fBA\x4c\x53"}["\x67be\x63\x74\x78\x6a"]="\x73c\x61\x6e\x51\x52\x43\x6f\x64e";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x62e\x63t\x78\x6a"]}="ind\x65x.\x70\x68p?\x6d\x6f\x64\x75l\x65=C\x54What\x73\x41pp\x26\x76ie\x77=\x44a\x73\x68\x42oard\x26m\x6f\x64\x65=\x6d\x6f\x64u\x6c\x65D\x61s\x68\x42\x6f\x61rd\x26\x73\x68\x6fwq\x72\x63\x6fde\x3d1";}return${${"\x47\x4c\x4f\x42A\x4cS"}["p\x6c\x77vg\x62ix"]};}function getWhatsappAllowModules(){$stpgyjoxsm="\x72o\x77s";$exntosgan="\x77\x68\x61\x74\x73a\x70p\x4dod\x75\x6c\x65\x51u\x65r\x79";global$adb;${"\x47\x4cO\x42\x41\x4cS"}["rq\x6et\x74\x64\x65s\x73\x67"]="i";${${"G\x4c\x4f\x42A\x4c\x53"}["jj\x6b\x69\x72\x76\x65"]}=$adb->pquery("SEL\x45CT * FROM\x20\x76t\x69\x67e\x72_\x63tw\x68\x61\x72\x73a\x70\x70\x61\x6clow_w\x68\x61\x74sap\x70\x6d\x6f\x64ul\x65\x20\x57HERE \x61ct\x69\x76e\x20\x3d\x20\x31");${$stpgyjoxsm}=$adb->num_rows(${$exntosgan});${${"\x47\x4cO\x42\x41\x4c\x53"}["s\x6a\x6b\x63\x73\x61\x73\x73i\x79\x6f"]}=array();for(${${"\x47\x4c\x4f\x42ALS"}["\x76\x61r\x62u\x66d"]}=0;${${"\x47\x4c\x4f\x42AL\x53"}["\x76\x61\x72\x62u\x66\x64"]}<${${"G\x4c\x4fBA\x4c\x53"}["\x78\x64\x6cz\x6ch\x64\x71oc\x77p"]};${${"G\x4c\x4f\x42\x41\x4cS"}["\x72qn\x74\x74\x64e\x73\x73\x67"]}++){${"GL\x4f\x42A\x4c\x53"}["\x63\x66\x67\x68p\x71\x6flu\x6f\x7a\x76"]="\x77h\x61\x74\x73\x61\x70\x70M\x6f\x64\x75l\x65Qu\x65\x72\x79";${"\x47\x4c\x4f\x42A\x4c\x53"}["d\x6b\x6bv\x79f\x72\x6cln\x79"]="\x64\x61t\x61";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x77\x61\x62bm"]="\x6d\x6fdu\x6c\x65";$saubmtogvr="i";${${"GLOB\x41\x4cS"}["p\x6ff\x78\x79\x69\x77\x6f\x65"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4cS"}["\x63\x66\x67\x68\x70qo\x6cu\x6f\x7a\x76"]},${$saubmtogvr},"\x6dod\x75le");${${"GLO\x42AL\x53"}["\x64\x6b\x6b\x76\x79\x66\x72\x6cln\x79"]}=CTWhatsApp_Record_Model::checkPermissionModule(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73wabb\x6d"]});if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x6b\x68jd\x70rmt"]}==1){$rpyjuhtbp="\x6dodu\x6c\x65\x49\x73\x45n\x61b\x6c\x65";$zkkgddzcm="\x73o\x75\x72\x63\x65\x4d\x6f\x64\x75\x6c\x65\x4do\x64\x75\x6c\x65\x4do\x64e\x6c";${"\x47LO\x42\x41L\x53"}["\x72t\x6fk\x6cs\x6f\x69"]="mo\x64\x75\x6ce";${$rpyjuhtbp}=CTWhatsApp_Record_Model::getmoduleIsEnable(${${"\x47\x4cO\x42A\x4c\x53"}["\x72\x74\x6fk\x6cso\x69"]});${${"\x47L\x4f\x42\x41\x4c\x53"}["iu\x73wo\x67i\x66"]}=Users_Privileges_Model::getCurrentUserPrivilegesModel();${"\x47\x4c\x4fB\x41\x4cS"}["\x64\x76p\x64\x67\x6cn\x64\x6d\x6bi"]="\x6do\x64\x75\x6c\x65";${$zkkgddzcm}=Vtiger_Module_Model::getInstance(${${"G\x4c\x4f\x42A\x4c\x53"}["d\x76\x70\x64\x67\x6c\x6e\x64\x6dk\x69"]});if($currentUserModel->hasModuleActionPermission($sourceModuleModuleModel->getId(),"Cr\x65\x61te\x56i\x65\x77")){${"G\x4cO\x42ALS"}["\x71eh\x72pxcwg\x65"]="\x6d\x6f\x64\x75\x6c\x65\x49\x73Ena\x62le";if(${${"G\x4cO\x42A\x4c\x53"}["\x71\x65\x68\x72px\x63\x77g\x65"]}==0){${"\x47\x4cO\x42A\x4c\x53"}["\x66\x72dwxj\x6f\x71"]="wha\x74\x73aa\x70\x70Mo\x64\x75\x6c\x65\x44at\x61";$ajjcmebd="r\x6fw";$edmejxn="\x77\x68\x61\x74\x73\x61\x61pp\x4dod\x75\x6ce";${"GLOB\x41L\x53"}["\x65\x66\x74\x6d\x65ufj\x68\x76"]="wh\x61\x74s\x61\x61\x70\x70\x4d\x6f\x64\x75\x6c\x65\x44\x61\x74a";${${"G\x4c\x4f\x42\x41L\x53"}["\x65\x66\x74\x6d\x65u\x66\x6ah\x76"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"G\x4cO\x42\x41\x4c\x53"}["\x70\x6f\x66xy\x69\x77\x6f\x65"]});$ddthrsmiobzt="m\x6f\x64\x75l\x65";${${"\x47L\x4fBA\x4c\x53"}["\x73\x6e\x74\x69\x69\x70yh\x6ad"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x72\x64\x77x\x6a\x6f\x71"]}["\x70\x68\x6f\x6eeFie\x6c\x64"];${$edmejxn}[]=array("\x6d\x6f\x64ul\x65"=>${$ddthrsmiobzt},"\x72\x6fws"=>${$ajjcmebd},"\x70ho\x6e\x65\x46i\x65\x6c\x64"=>${${"\x47\x4c\x4fB\x41LS"}["sn\x74i\x69\x70\x79\x68\x6a\x64"]});}}}}return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73j\x6b\x63\x73\x61s\x73i\x79o"]};}function getmoduleIsEnable($moduleName){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x6c\x6ephl\x68\x78\x62\x63"]="\x6d\x6f\x64u\x6c\x65\x51u\x65\x72y";${"\x47L\x4f\x42A\x4cS"}["\x68\x6f\x6ch\x6b\x79\x6el\x6dzd"]="p\x72\x65s\x65n\x63\x65";global$adb;$lvsjxce="mo\x64\x75l\x65\x4ea\x6d\x65";${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x6cn\x70\x68lh\x78\x62\x63"]}=$adb->pquery("S\x45LE\x43\x54 *\x20\x46R\x4f\x4d \x76\x74\x69\x67\x65\x72\x5ft\x61b WH\x45RE\x20\x6e\x61\x6de \x3d ?",array(${$lvsjxce}));return${${"\x47\x4c\x4fB\x41L\x53"}["\x68o\x6c\x68\x6b\x79nl\x6d\x7a\x64"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4cS"}["\x77\x74\x67p\x71\x65i"]},0,"pre\x73e\x6e\x63\x65");}function getWhatsappAllowModuleFields($sourceModule){global$adb;${"\x47L\x4f\x42\x41\x4c\x53"}["\x70mh\x66mn\x6doc"]="\x67\x65tAl\x6cow\x4d\x6f\x64\x75\x6ce";$ynuvmqvi="m\x6fd\x75l\x65\x49c\x6f\x6eA\x63\x74\x69\x76e";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6e\x72\x7a\x76\x6f\x79\x6b\x69\x6fr\x64"]}=$adb->pquery("\x53ELE\x43\x54\x20* \x46R\x4f\x4d\x20\x76\x74\x69\x67e\x72_\x63t\x77\x68a\x72sa\x70\x70\x61l\x6cow\x5f\x77h\x61\x74s\x61\x70\x70m\x6fdule \x57\x48ER\x45 mo\x64\x75\x6ce =\x20?",array(${${"\x47LO\x42\x41LS"}["\x76\x6e\x72\x6d\x78\x64neh\x74k\x68"]}));${"GL\x4fB\x41\x4c\x53"}["nlw\x68\x66t\x67"]="\x61\x6c\x6c\x77\x4d\x6f\x64\x75\x6c\x65s";${${"\x47\x4c\x4f\x42ALS"}["\x78dlz\x6ch\x64\x71\x6f\x63\x77\x70"]}=$adb->num_rows(${${"\x47\x4c\x4fB\x41L\x53"}["n\x72\x7a\x76oy\x6b\x69\x6frd"]});$ktorotos="r\x6f\x77s";${$ynuvmqvi}=$adb->query_result(${${"\x47L\x4fB\x41L\x53"}["pmh\x66\x6dn\x6d\x6f\x63"]},0,"\x61\x63tiv\x65");${${"G\x4c\x4fB\x41\x4c\x53"}["\x73\x6e\x74i\x69p\x79h\x6a\x64"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4c\x53"}["n\x72\x7a\x76o\x79\x6bi\x6fr\x64"]},0,"\x70\x68one_f\x69e\x6cd");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x6cwhftg"]}=array("module\x49\x63\x6f\x6e\x41ct\x69\x76e"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["g\x67\x71k\x76r\x6f\x73\x66\x66b"]},"\x70\x68\x6f\x6e\x65Fi\x65l\x64"=>${${"\x47\x4c\x4fBA\x4c\x53"}["s\x6e\x74i\x69\x70\x79hj\x64"]},"\x72ows"=>${$ktorotos});return${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6eo\x62\x6b\x68o\x68\x70"]};}function moduleQuery($modulename,$phoneField,$searchValue){$bbxdiwlxo="\x6d\x6f\x64\x75\x6c\x65na\x6de";$rqwpctvnv="\x6d\x6f\x64\x75\x6c\x65\x6e\x61\x6d\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["f\x65\x7ac\x66\x6f\x71\x72g\x6f\x70\x75"]="\x61\x73\x73i\x67\x6eQ\x75e\x72\x79";$ikqicglmo="\x63ur\x72en\x55\x73\x65\x72\x49\x44";$ushmkkpxxud="i\x6eNu\x6db\x65r\x51u\x65r\x79";$doawsxgv="\x74\x61\x62\x69d";${"\x47\x4c\x4fB\x41L\x53"}["\x6b\x66\x75\x6e\x79i\x79\x75\x70\x68\x74\x62"]="\x70h\x6f\x6e\x65Fi\x65\x6c\x64";global$adb,$current_user;$ysjcqybwkm="\x63\x75\x72\x72\x65\x6eU\x73er\x49\x44";${$ikqicglmo}=$current_user->id;${${"G\x4c\x4f\x42\x41L\x53"}["\x62\x66\x6eh\x75q\x6ae"]}=CRMEntity::getInstance(${$rqwpctvnv});${${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x71p\x69\x6d\x6ab\x66\x72m\x62"]}=Vtiger_Module::getInstance(${$bbxdiwlxo});${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x78\x78\x70\x75y\x75\x68ey\x6d\x71"]="p\x68\x6fn\x65T\x61\x62\x6c\x65\x51ue\x72\x79";$yokmmkpgxq="\x69\x73A\x64\x6d\x69n";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x6fx\x67tg\x79\x75\x63k\x6f\x62"]="\x62\x61\x73\x65T\x61b\x6c\x65";${${"\x47\x4cO\x42\x41LS"}["\x6fo\x78\x67\x74\x67\x79\x75\x63k\x6f\x62"]}=$moduleInstance->basetable;$krqceicvqfo="\x70\x68o\x6eeFie\x6c\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x72nb\x70\x70u\x67\x6b"]="t\x61b\x6c\x65n\x61m\x65";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66xo\x64\x74\x6fu\x64\x72l"]}=$moduleInstance->basetableid;${${"\x47L\x4fB\x41L\x53"}["p\x72agmj\x66\x65\x6f"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${$ysjcqybwkm});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["kg\x61\x6e\x62\x74\x6c\x6d\x72s\x69"]="b\x61se\x54a\x62\x6c\x65";if(${${"\x47LOB\x41\x4c\x53"}["\x73\x6d\x66\x63\x77f"]}){$fveghsswmfy="\x73\x65\x61\x72\x63\x68Va\x6cue";$dqeliyw="\x70\x68\x6f\x6eeF\x69\x65\x6c\x64";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74\x77\x70jd\x69\x64l"]}="\x20\x41\x4eD (\x76\x74i\x67e\x72_\x63\x72\x6d\x65nti\x74\x79\x2e\x6ca\x62\x65l\x20\x4cIKE \x27%".${${"GL\x4fB\x41\x4c\x53"}["smfc\x77\x66"]}."%\x27\x20OR childT\x61\x62\x6c\x65.".${$dqeliyw}." \x4c\x49\x4bE '\x25".${$fveghsswmfy}."%\x27)";}else{${"GLOB\x41LS"}["\x65\x6adv\x67\x6bu\x79qv\x72"]="sea\x72ch\x51u\x65\x72\x79";${${"\x47L\x4f\x42\x41\x4c\x53"}["e\x6ad\x76g\x6b\x75y\x71\x76\x72"]}="";}${${"G\x4c\x4f\x42A\x4cS"}["h\x73\x64\x62\x78\x64"]}=$current_user->is_admin;${$doawsxgv}=getTabid(${${"GLOBA\x4c\x53"}["\x62\x64\x6b\x6a\x70\x6d\x79"]});if(${$yokmmkpgxq}!="\x6fn"){if(${${"\x47L\x4f\x42\x41LS"}["\x77\x69h\x66\x64\x74j\x78\x72\x66"]}){${"G\x4c\x4f\x42\x41L\x53"}["\x6e\x75\x6fo\x62d\x67\x66"]="g\x65t\x52\x65co\x72\x64Pe\x72\x6d\x69\x73s\x69\x6f\x6eQ\x75\x65\x72\x79";${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x75\x6f\x6f\x62\x64\x67f"]}=$adb->pquery("SELECT * F\x52\x4f\x4d\x20vt\x69g\x65r_d\x65\x66\x5f\x6f\x72g\x5fs\x68a\x72\x65 W\x48ERE\x20\x74\x61bi\x64\x20= ?",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x69\x68\x66d\x74\x6a\x78r\x66"]}));${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x64y\x63\x6b\x72x\x6b\x6b"]}=$adb->query_result(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6b\x6bo\x6cxia\x74\x65\x6a"]},0,"\x70ermiss\x69\x6f\x6e");if(${${"G\x4cO\x42AL\x53"}["\x6f\x64\x79c\x6brx\x6bk"]}=="3"){$urpeyihsv="\x61\x73\x73\x69\x67\x6e\x51\x75e\x72\x79";${$urpeyihsv}="\x20\x41\x4e\x44 \x76ti\x67\x65\x72_cr\x6d\x65nt\x69ty\x2e\x73\x6do\x77n\x65rid\x20\x3d '$currenUserID'";}}}${${"\x47\x4c\x4f\x42A\x4cS"}["ym\x71\x74\x78\x66\x65"]}=$adb->pquery("\x53ELE\x43T\x20*\x20FRO\x4d\x20v\x74\x69\x67\x65r\x5ff\x69\x65ld\x20W\x48\x45RE\x20\x66i\x65\x6c\x64n\x61me =\x20?\x20AN\x44\x20t\x61bid \x3d ?",array(${$krqceicvqfo},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wi\x68f\x64t\x6a\x78\x72f"]}));${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x72\x6e\x62p\x70ugk"]}=$adb->query_result(${${"\x47LO\x42\x41\x4cS"}["\x71\x78\x78\x70\x75y\x75\x68e\x79\x6d\x71"]},0,"\x74a\x62l\x65na\x6de");${${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x61r\x78\x65\x76\x68\x6e\x6d\x79v"]}=$moduleModel->tab_name_index[${${"\x47\x4c\x4f\x42ALS"}["qh\x62\x74i\x6f\x6e\x75\x6b"]}];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ovt\x74y\x79o"]}="\x53\x45L\x45C\x54 * \x46ROM v\x74\x69\x67er_wha\x74\x73a\x70\x70l\x6fg ";${${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x76\x74\x74\x79\x79o"]}.=" L\x45FT\x20JO\x49\x4e\x20".${${"G\x4c\x4f\x42\x41\x4c\x53"}["k\x67\x61\x6e\x62\x74\x6c\x6d\x72\x73\x69"]}."\x20O\x4e ".${${"\x47\x4cOBA\x4c\x53"}["\x67kq\x6c\x62\x71\x77"]}.".".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66xo\x64\x74\x6f\x75\x64r\x6c"]}." = \x76\x74\x69g\x65\x72\x5fwh\x61t\x73ap\x70l\x6fg.\x77ha\x74s\x61p\x70\x6cog\x5fco\x6eta\x63\x74\x69d ";${${"\x47\x4c\x4fBA\x4cS"}["o\x76\x74\x74\x79\x79\x6f"]}.=" L\x45F\x54\x20\x4a\x4fIN ".${${"\x47\x4cOB\x41\x4cS"}["\x71\x68bt\x69onu\x6b"]}." c\x68i\x6c\x64\x54ab\x6c\x65 ON child\x54a\x62\x6ce\x2e".${${"G\x4cO\x42\x41\x4cS"}["\x72\x61\x72\x78evh\x6e\x6d\x79\x76"]}." \x3d ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["gkqlb\x71w"]}.".".${${"G\x4c\x4fBA\x4c\x53"}["f\x78\x6fd\x74\x6f\x75d\x72l"]}."\n   \x20 \x20   \x20\x20\x20  \x20\x20\x49\x4e\x4eE\x52 \x4aO\x49\x4e\x20\x76\x74\x69ger_\x63\x72m\x65n\x74\x69\x74y\x20ON \x76t\x69\x67er_\x63rment\x69\x74y.cr\x6did =\x20v\x74i\x67er_wh\x61\x74sa\x70\x70l\x6f\x67.\x77h\x61t\x73\x61pp\x6c\x6fg\x69\x64 \n \x20  \x20\x20 \x20 \x20   \x20 \x20WHERE \x76\x74ig\x65r\x5f\x63\x72m\x65n\x74\x69\x74\x79\x2ed\x65lete\x64\x20\x3d \x30\x20".${$ushmkkpxxud}." AN\x44 \x63hi\x6c\x64T\x61\x62\x6ce.".${${"GLO\x42\x41LS"}["k\x66\x75\x6e\x79i\x79\x75p\x68\x74\x62"]}."\x20!=\x20''".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x77p\x6adidl"]}.${${"\x47LO\x42\x41\x4c\x53"}["\x66\x65\x7a\x63\x66o\x71r\x67\x6f\x70\x75"]}."\x20G\x52\x4fU\x50 B\x59 \x63\x68\x69\x6cdTa\x62\x6ce\x2e".${${"G\x4c\x4f\x42\x41L\x53"}["\x73n\x74\x69i\x70y\x68\x6ad"]};return${${"GLOBA\x4c\x53"}["\x6f\x76\x74\x74\x79\x79o"]};}function moduleQueryCount($modulename,$phoneField,$searchValue){global$adb,$current_user;${${"G\x4cO\x42A\x4c\x53"}["\x65\x67w\x75x\x6e\x6a\x6a\x70v"]}=$current_user->id;$bnszbhrjin="\x62aseT\x61\x62\x6c\x65";${"\x47\x4c\x4f\x42\x41LS"}["\x75\x65\x67\x79\x67r\x79"]="\x62a\x73e\x54ab\x6c\x65\x69\x64";$mqvtypbkxeq="\x6d\x6f\x64\x75\x6c\x65n\x61m\x65";${"G\x4cO\x42\x41\x4c\x53"}["\x69\x6ad\x6bc\x65\x75y\x7a\x61\x79"]="b\x61\x73eT\x61\x62\x6ce";${${"\x47\x4cOB\x41\x4c\x53"}["\x62\x66n\x68\x75\x71je"]}=CRMEntity::getInstance(${$mqvtypbkxeq});${${"\x47L\x4f\x42A\x4c\x53"}["\x6d\x71\x70i\x6d\x6a\x62\x66\x72\x6db"]}=Vtiger_Module::getInstance(${${"\x47\x4c\x4fBALS"}["\x62\x64k\x6a\x70m\x79"]});${$bnszbhrjin}=$moduleInstance->basetable;${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x78o\x64\x74\x6f\x75\x64\x72\x6c"]}=$moduleInstance->basetableid;if(${${"\x47\x4cOB\x41LS"}["\x73\x6d\x66\x63\x77\x66"]}){${${"G\x4cOB\x41\x4c\x53"}["\x74w\x70\x6adid\x6c"]}=" \x41\x4eD v\x74i\x67\x65\x72\x5f\x63\x72m\x65nt\x69ty\x2el\x61b\x65\x6c \x4cIKE\x20'\x25".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x6d\x66c\x77\x66"]}."\x25\x27";}else{${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x77pj\x64\x69\x64\x6c"]}="";}${"\x47\x4cO\x42AL\x53"}["\x68\x78\x69i\x78\x77\x68"]="\x71u\x65\x72\x79";${${"\x47\x4cO\x42\x41\x4cS"}["\x69\x72\x7ape\x63\x73\x67\x78g"]}=0;${"G\x4cO\x42\x41\x4c\x53"}["\x71\x74r\x73\x6d\x6a\x68\x76\x7ag"]="\x71u\x65ry";${${"GLO\x42\x41L\x53"}["\x71\x74\x72\x73\x6dj\x68v\x7a\x67"]}="\x53E\x4cEC\x54\x20\x63\x6fun\x74(*)\x20\x61s r\x6f\x77\x731\x20F\x52\x4f\x4d\x20".${${"\x47\x4c\x4f\x42\x41LS"}["gk\x71\x6cb\x71\x77"]}." \n   \x20  \x20     I\x4e\x4e\x45\x52 \x4a\x4fIN \x76tige\x72\x5fcrm\x65n\x74\x69\x74y ON v\x74\x69ger_\x63\x72m\x65\x6et\x69\x74y\x2ecrmi\x64 \x3d ".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69j\x64\x6b\x63\x65\x75\x79\x7a\x61\x79"]}."\x2e".${${"G\x4c\x4fBA\x4cS"}["\x75eg\x79g\x72\x79"]}." \n\x20\x20 \x20 \x20   \x20\x20 WH\x45RE\x20\x76ti\x67e\x72_\x63rm\x65\x6e\x74\x69t\x79\x2ed\x65l\x65t\x65\x64\x20=\x200";return${${"G\x4c\x4f\x42\x41L\x53"}["\x68\x78\x69\x69\x78wh"]};}public function unreadQuery(){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x66em\x78\x77\x61z\x70"]="\x71\x75\x65r\x79";${"GL\x4fBA\x4cS"}["\x74\x64k\x79\x66kr\x62\x67\x75j"]="\x75s\x65\x72ID";${"\x47\x4c\x4fBA\x4c\x53"}["\x74\x76\x67d\x76\x74\x70\x6a\x68\x64b"]="i\x6e\x4eumb\x65\x72\x51\x75\x65r\x79";global$adb,$current_user;${${"G\x4cO\x42AL\x53"}["\x74\x64\x6b\x79f\x6b\x72\x62\x67uj"]}=$current_user->id;${${"GL\x4f\x42\x41\x4cS"}["\x74v\x67\x64\x76t\x70\x6a\x68db"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"\x47LO\x42AL\x53"}["x\x6b\x66eg\x63\x62va\x79\x77"]});${${"G\x4c\x4fBA\x4c\x53"}["\x6fvt\x74y\x79\x6f"]}="\x53E\x4cECT\x20*\x20\x46\x52\x4fM\x20\x76\x74i\x67e\x72_\x63t\x77h\x61tsa\x70\x70\x20\n \x20\x20\x20\x20\x20 \x20\x20 I\x4eN\x45\x52\x20J\x4f\x49N \x76t\x69\x67\x65\x72_\x63r\x6den\x74\x69ty\x20ON \x76\x74\x69\x67e\x72_c\x72\x6dent\x69t\x79.cr\x6d\x69d = v\x74\x69\x67\x65r\x5f\x63twha\x74sap\x70.\x63\x74\x77h\x61\x74sa\x70p\x69d \n \x20\x20\x20  \x20\x20 \x20WH\x45\x52E v\x74i\x67e\x72_\x63r\x6den\x74it\x79.del\x65\x74\x65d \x3d\x200";return${${"\x47LOBAL\x53"}["\x6e\x66\x65mx\x77\x61zp"]};}public function unreadQueryCount(){$nsvrhqrvygrh="i\x6e\x4e\x75\x6dbe\x72\x51u\x65ry";$vbquuvneop="query";global$adb,$current_user;${"\x47\x4cO\x42A\x4c\x53"}["\x74b\x6e\x65aq\x67\x73h"]="\x75\x73\x65\x72I\x44";${"GL\x4f\x42\x41L\x53"}["\x77\x6cyqp\x77\x67t\x6e\x71\x72"]="\x69\x6e\x4e\x75\x6d\x62\x65\x72\x51\x75e\x72y";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x62\x6ee\x61\x71\x67\x73\x68"]}=$current_user->id;$xfoaqwflrhf="q\x75e\x72\x79";${$nsvrhqrvygrh}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GL\x4f\x42\x41L\x53"}["\x78\x6bfegc\x62\x76a\x79\x77"]});${$vbquuvneop}="\x53ELEC\x54 c\x6f\x75n\x74(*)\x20F\x52O\x4d \x76\x74ig\x65\x72\x5fct\x77ha\x74\x73\x61\x70p\x20\n\x20   \x20 \x20\x20\x20\x20\x49\x4eN\x45R J\x4fI\x4e v\x74\x69\x67\x65r\x5f\x63r\x6dentit\x79\x20O\x4e \x76\x74i\x67er_cr\x6de\x6e\x74it\x79.\x63r\x6di\x64\x20\x3d vt\x69\x67er\x5f\x63\x74w\x68a\x74s\x61\x70p\x2e\x63\x74\x77h\x61tsap\x70i\x64\x20\n   \x20 \x20 \x20  WH\x45RE \x76tige\x72\x5fc\x72me\x6etity.\x64e\x6ce\x74e\x64 = 0 ".${${"\x47\x4cOB\x41\x4cS"}["wl\x79\x71p\x77\x67\x74\x6e\x71r"]};return${$xfoaqwflrhf};}public function getUnreadMessagesCount(){${"GL\x4f\x42AL\x53"}["\x67\x6ei\x71c\x64\x6eu\x6fe\x65"]="row\x73";global$adb;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fy\x75pril\x73"]}=CTWhatsApp_Record_Model::unreadQuery();${"\x47\x4cO\x42\x41\x4cS"}["\x72\x6a\x73\x65\x6b\x74uc\x6d"]="q\x75\x65r\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x6a\x73ekt\x75c\x6d"]}=$adb->pquery(${${"\x47\x4cO\x42ALS"}["o\x79\x75\x70r\x69\x6cs"]}." \x41N\x44\x20v\x74i\x67\x65\x72\x5fc\x74\x77ha\x74sa\x70\x70.\x77\x68a\x74sapp_unrea\x64read =\x20\x27U\x6e\x72e\x61d\x27\x20\x41\x4e\x44 \x76\x74\x69ger\x5fctw\x68at\x73\x61p\x70\x2e\x6de\x73sag\x65\x5ft\x79\x70\x65\x20=\x20\x27\x52e\x63\x69\x65v\x65d\x27 \x41\x4eD \x76t\x69ger_c\x74\x77h\x61t\x73\x61p\x70\x2ewh\x61\x74\x73a\x70p\x5f\x77i\x74h\x63\x63\x6f\x64e\x20\x21= '\x47\x72\x6f\x75\x70s\x27");${${"\x47LOB\x41LS"}["\x78d\x6c\x7a\x6chd\x71\x6fc\x77\x70"]}=$adb->num_rows(${${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x76\x74t\x79\x79o"]});return${${"GL\x4f\x42\x41\x4c\x53"}["\x67\x6e\x69q\x63d\x6e\x75o\x65e"]};}public function getImportantMessagesCounts(){${"G\x4cOBA\x4c\x53"}["\x62\x61\x6b\x71\x67\x71\x6f\x6c\x64"]="\x69";global$adb,$current_user;${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x72w\x69\x71\x76\x6c"]="\x63u\x72\x72\x65\x6e\x74\x55se\x72\x49D";${${"\x47\x4c\x4fB\x41LS"}["oy\x75p\x72i\x6c\x73"]}=CTWhatsApp_Record_Model::unreadQuery();${"\x47L\x4fB\x41LS"}["eb\x64\x6a\x6fb\x78\x6bsnj"]="\x72\x6fw\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x72\x77\x69\x71v\x6c"]}=$current_user->id;${${"\x47\x4cO\x42\x41L\x53"}["pra\x67\x6d\x6a\x66\x65o"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"G\x4c\x4f\x42A\x4cS"}["\x78\x6b\x66\x65\x67\x63\x62v\x61\x79\x77"]});$qbnfxrdpm="\x69";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fv\x74\x74\x79y\x6f"]}=$adb->pquery("\x53\x45LECT * \x46\x52\x4fM \x76\x74\x69g\x65r_\x77\x68\x61ts\x61\x70\x70\x6c\x6f\x67\x20\n\x20   \x20\x20 \x20 \x20INN\x45R\x20\x4a\x4fIN\x20vt\x69\x67er_\x63\x72\x6d\x65\x6eti\x74\x79\x20\x4f\x4e \x76\x74\x69\x67er\x5fcr\x6denti\x74\x79.\x63rm\x69d =\x20vt\x69\x67e\x72\x5f\x77\x68a\x74\x73a\x70pl\x6f\x67.what\x73ap\x70\x6c\x6fgi\x64\x20\n\x20\x20 \x20\x20\x20\x20\x20\x20\x20WHER\x45\x20\x76t\x69\x67e\x72\x5fcr\x6d\x65\x6eti\x74\x79.\x64e\x6c\x65t\x65\x64 \x3d\x20\x30 \x41ND \x76\x74\x69ge\x72\x5fwh\x61\x74sa\x70\x70lo\x67.\x77\x68\x61\x74sapp\x6c\x6fg\x5fi\x6dpo\x72\x74an\x74\x20\x3d\x20\x31\x20".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x72\x61\x67\x6d\x6a\x66\x65\x6f"]}." \x47R\x4f\x55\x50 \x42\x59\x20vt\x69\x67\x65\x72_\x77ha\x74\x73applog.w\x68at\x73\x61ppl\x6f\x67\x5f\x63o\x6e\x74a\x63\x74id,\x20vti\x67\x65r_\x77ha\x74\x73ap\x70\x6co\x67.wh\x61\x74\x73applo\x67\x5f\x77\x69\x74h\x63c\x6f\x64\x65",array());${${"\x47LO\x42A\x4cS"}["\x65b\x64\x6a\x6f\x62x\x6b\x73\x6e\x6a"]}=$adb->num_rows(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6fv\x74\x74y\x79\x6f"]});${"\x47L\x4f\x42ALS"}["k\x67\x6clm\x68"]="i";${${"GLOBAL\x53"}["\x75q\x76\x6a\x73e\x69"]}=0;$gygflnpfv="\x64e\x6cet\x65";for(${${"\x47\x4c\x4f\x42\x41L\x53"}["v\x61r\x62ufd"]}=0;${${"\x47\x4c\x4f\x42\x41\x4cS"}["b\x61\x6b\x71\x67q\x6f\x6c\x64"]}<${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x64\x6c\x7a\x6c\x68\x64\x71\x6fc\x77\x70"]};${$qbnfxrdpm}++){${"\x47\x4cOB\x41\x4c\x53"}["\x70w\x72\x66b\x6frp\x71b"]="\x72\x65l\x61\x74\x65d\x52\x65\x63\x6fr\x64Id";$ezuplma="\x71\x75\x65r\x79";$dbdwnq="\x69";$huotdnnnxd="re\x6c\x61\x74\x65\x64R\x65c\x6fr\x64\x49\x64";${${"\x47LO\x42\x41L\x53"}["\x70\x77\x72fb\x6f\x72p\x71b"]}=$adb->query_result(${$ezuplma},${$dbdwnq},"\x77ha\x74\x73\x61pplo\x67\x5fc\x6f\x6eta\x63\x74id");if(${$huotdnnnxd}!=""){${"GL\x4f\x42\x41L\x53"}["\x69ity\x6a\x78\x65\x74\x6a"]="\x64\x65let\x65\x52\x65\x63o\x72\x64";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x69ty\x6ax\x65t\x6a"]}=CTWhatsApp_Record_Model::recordDelete(${${"G\x4c\x4fBA\x4cS"}["\x6crs\x71o\x70eo\x74\x68l"]});if(${${"\x47L\x4fB\x41\x4c\x53"}["jv\x6cx\x70\x71y\x78\x74b"]}==1){${"\x47\x4c\x4fBA\x4cS"}["a\x61y\x6a\x69\x6cl\x74"]="\x64\x65\x6c\x65\x74\x65";${${"\x47\x4c\x4f\x42\x41L\x53"}["u\x71\x76\x6as\x65\x69"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["a\x61\x79\x6a\x69l\x6c\x74"]}+1;}}}${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x6c\x6bb\x6b\x61\x79e\x6f\x77"]}=0;for(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bg\x6c\x6c\x6dh"]}=0;${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x61r\x62\x75\x66d"]}<${${"G\x4c\x4f\x42\x41\x4cS"}["\x78d\x6c\x7a\x6c\x68\x64\x71\x6f\x63\x77\x70"]};${${"\x47L\x4fB\x41\x4c\x53"}["v\x61\x72\x62\x75\x66d"]}++){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74m\x74\x67yr\x64u"]="\x72\x65\x6c\x61te\x64\x52ec\x6fr\x64\x49d";${${"\x47LO\x42\x41\x4cS"}["\x74\x6dt\x67\x79\x72du"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x76\x74\x74\x79\x79\x6f"]},${${"\x47L\x4fBA\x4c\x53"}["\x76\x61\x72\x62ufd"]},"w\x68\x61\x74s\x61ppl\x6f\x67\x5fcon\x74a\x63ti\x64");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6bpa\x69f\x7a\x74\x6fj\x6ec"]}=VtigerCRMObject::getSEType(${${"GLOB\x41\x4c\x53"}["\x6c\x72s\x71\x6f\x70\x65\x6f\x74h\x6c"]});if(Users_Privileges_Model::isPermitted(${${"G\x4c\x4f\x42\x41\x4c\x53"}["kp\x61i\x66\x7a\x74oj\x6e\x63"]},"E\x64\x69t\x56\x69ew",${${"\x47\x4c\x4fB\x41L\x53"}["\x6crs\x71o\x70e\x6f\x74\x68\x6c"]})){$kdxyfpbgeq="n\x75\x6d\x52\x6fw\x73";${$kdxyfpbgeq}=${${"G\x4c\x4f\x42\x41L\x53"}["\x76\x6ck\x62k\x61\x79\x65o\x77"]}+1;}}${${"G\x4cO\x42\x41L\x53"}["l\x72\x66\x79\x6a\x70\x63"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6c\x6b\x62\x6b\x61\x79e\x6fw"]}-${$gygflnpfv};return${${"\x47L\x4f\x42A\x4c\x53"}["\x6cr\x66yj\x70\x63"]};}public function getNewMessagesCounts(){${"\x47L\x4fB\x41\x4cS"}["\x73\x71k\x6d\x71\x77jj\x68\x6f\x64"]="\x61\x6c\x6c\x4ee\x77\x4de\x73\x73\x61\x67\x65\x43ou\x6e\x74\x71\x75\x65\x72\x79";${"\x47\x4cO\x42\x41\x4cS"}["\x76\x68p\x6cx\x6a\x6c\x65\x67\x78"]="a\x6clR\x6f\x77\x73";${"GLO\x42A\x4c\x53"}["m\x6cm\x75\x6f\x6f\x68\x73en\x6d"]="\x71\x75e\x72\x79";${"\x47\x4c\x4f\x42AL\x53"}["\x6e\x72\x74r\x75k\x63\x63\x79"]="\x75\x6e\x72ea\x64\x51\x75\x65\x72\x79";global$adb,$current_user;$qqhyvhlbo="\x69n\x4e\x75\x6d\x62\x65\x72Que\x72\x79";${${"G\x4cO\x42\x41\x4c\x53"}["\x78\x6b\x66\x65g\x63\x62\x76\x61\x79\x77"]}=$current_user->id;${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6er\x74r\x75\x6bcc\x79"]}=CTWhatsApp_Record_Model::unreadQueryCount();${$qqhyvhlbo}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"\x47\x4c\x4f\x42\x41LS"}["\x78\x6b\x66e\x67c\x62v\x61y\x77"]});$txuqwxoq="\x69\x6eN\x75\x6dbe\x72Q\x75\x65\x72y";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x64\x67\x75q\x72rh"]="r\x65\x73\x75\x6c\x74";${${"G\x4c\x4f\x42\x41\x4cS"}["m\x6cm\x75\x6f\x6f\x68se\x6e\x6d"]}=$adb->pquery("\x53E\x4c\x45CT\x20* F\x52\x4f\x4d\x20\x76tig\x65r\x5f\x77\x68at\x73ap\x70lo\x67 \n\x20\x20\x20 \x20\x20 \x20  INN\x45\x52 \x4aOI\x4e \x76\x74\x69ge\x72\x5f\x63r\x6d\x65n\x74\x69\x74\x79 \x4f\x4e\x20vtig\x65\x72\x5fcrm\x65\x6et\x69\x74\x79.\x63\x72m\x69\x64 \x3d \x76\x74\x69\x67\x65\x72\x5f\x77h\x61t\x73app\x6c\x6f\x67\x2e\x77\x68\x61\x74s\x61\x70\x70\x6co\x67\x69d\x20\n\x20\x20\x20  \x20\x20\x20 \x20WHERE\x20\x76\x74i\x67er\x5f\x63\x72\x6de\x6etit\x79.d\x65\x6ce\x74e\x64 \x3d\x20\x30\x20\x41\x4e\x44 vtige\x72\x5f\x77hatsa\x70\x70l\x6f\x67\x2ewhatsap\x70lo\x67_withcco\x64\x65 !=\x20\x27'\x20\x41\x4e\x44 \x76t\x69\x67\x65\x72\x5fwh\x61\x74\x73ap\x70l\x6f\x67.w\x68\x61tsapplog_\x75\x6ere\x61\x64re\x61\x64 = 'Unr\x65ad'\x20\x20\x41\x4eD\x20\x76\x74\x69\x67\x65\x72_w\x68\x61ts\x61pplo\x67.m\x65s\x73ag\x65\x6c\x6f\x67\x5ft\x79\x70e \x3d\x20\x27R\x65\x63i\x65ve\x64\x27 AN\x44 vtige\x72\x5f\x77h\x61\x74\x73\x61p\x70log.wh\x61tsa\x70plog\x5f\x77ithc\x63ode\x20!\x3d\x20'Gro\x75\x70s' ".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70ra\x67\x6d\x6a\x66\x65\x6f"]}."\x20\x47\x52O\x55\x50\x20\x42\x59 v\x74ige\x72_\x77\x68at\x73app\x6cog\x2e\x77hatsa\x70\x70l\x6fg\x5fc\x6f\x6e\x74act\x69\x64, v\x74iger\x5f\x77h\x61\x74s\x61p\x70\x6c\x6fg\x2ewh\x61t\x73\x61\x70pl\x6fg_w\x69\x74hc\x63od\x65\x20O\x52\x44ER\x20B\x59\x20\x76t\x69\x67er\x5fc\x72m\x65nt\x69\x74y.cr\x65at\x65dti\x6d\x65",array());${${"G\x4c\x4f\x42A\x4cS"}["x\x64\x6cz\x6c\x68d\x71\x6f\x63\x77\x70"]}=$adb->num_rows(${${"\x47\x4cO\x42ALS"}["\x6f\x76t\x74\x79yo"]});$pcpskxohorc="\x61llNe\x77\x4d\x65\x73\x73a\x67e\x43\x6fu\x6e\x74\x71\x75ery";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x68\x70\x62mp\x68\x71\x73s\x67"]="\x61\x6c\x6c\x52ow\x73";${$pcpskxohorc}=$adb->pquery("\x53EL\x45C\x54\x20* FRO\x4d vt\x69\x67\x65\x72\x5fw\x68a\x74\x73\x61\x70p\x6cog\x20\n \x20\x20  \x20 \x20\x20 \x49\x4e\x4eE\x52\x20\x4aO\x49\x4e vt\x69ger_c\x72m\x65n\x74it\x79\x20ON \x76\x74\x69ger_\x63r\x6de\x6etity.c\x72mi\x64 = \x76\x74\x69\x67e\x72_\x77\x68\x61tsa\x70p\x6c\x6f\x67\x2e\x77ha\x74s\x61\x70plogid\x20\n\x20 \x20\x20 \x20\x20\x20 \x20W\x48\x45\x52E\x20vt\x69\x67e\x72_\x63\x72\x6den\x74i\x74\x79\x2e\x64\x65le\x74ed\x20=\x200 AND\x20\x76t\x69\x67e\x72_\x77ha\x74sap\x70log.\x77\x68\x61\x74\x73\x61p\x70log_wi\x74\x68c\x63od\x65\x20!=\x20''\x20\x41N\x44 vt\x69g\x65\x72_w\x68\x61t\x73ap\x70log\x2ew\x68atsap\x70l\x6fg_\x75\x6e\x72e\x61d\x72ea\x64 =\x20\x27\x55nr\x65a\x64'\x20 AN\x44\x20\x76tig\x65r\x5f\x77h\x61ts\x61ppl\x6f\x67.mes\x73agel\x6fg_type = \x27Recieved'\x20\x41\x4e\x44\x20v\x74i\x67\x65\x72_\x77ha\x74\x73\x61p\x70lo\x67\x2e\x77h\x61ts\x61p\x70l\x6f\x67_w\x69\x74hc\x63o\x64\x65 !\x3d\x20'\x47r\x6f\x75p\x73'\x20".${$txuqwxoq}."",array());${${"\x47\x4cOB\x41\x4cS"}["\x70h\x70b\x6d\x70\x68\x71s\x73g"]}=$adb->num_rows(${${"\x47\x4c\x4fB\x41\x4c\x53"}["s\x71\x6b\x6d\x71w\x6aj\x68\x6fd"]});${${"\x47\x4cO\x42ALS"}["\x63\x64g\x75q\x72r\x68"]}=array("\x72ows"=>${${"\x47L\x4fB\x41LS"}["\x78\x64\x6cz\x6ch\x64\x71\x6fc\x77\x70"]},"all\x52ows"=>${${"GLO\x42AL\x53"}["v\x68\x70\x6c\x78\x6aleg\x78"]});return${${"\x47L\x4fB\x41L\x53"}["\x79\x73\x69\x77j\x75\x72uz\x64"]};}public function getAllMessagesCounts(){${"G\x4cOBA\x4c\x53"}["xw\x71oiy\x75\x79\x66a\x73"]="\x75\x73erI\x44";$ywnrksgmev="\x75\x6ere\x61\x64\x51\x75\x65\x72\x79";global$adb,$current_user;${"G\x4cOBALS"}["\x62\x69cg\x6b\x65"]="\x61\x6c\x6c\x55\x6e\x72\x65\x61dC\x6f\x75nt";${${"\x47L\x4fBA\x4cS"}["\x6fy\x75\x70r\x69\x6cs"]}=CTWhatsApp_Record_Model::unreadQuery();$ngxvdnwfujc="ro\x77s";$hiqdjrc="\x61l\x6c\x51\x75\x65\x72y";${${"GL\x4fB\x41\x4c\x53"}["x\x77q\x6f\x69\x79\x75yf\x61s"]}=$current_user->id;$emohvxdoqer="\x61\x6c\x6c\x55\x6e\x72\x65\x61\x64\x43\x6f\x75n\x74";${${"\x47LO\x42\x41L\x53"}["\x70\x72\x61\x67mj\x66e\x6f"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x6b\x66egc\x62v\x61y\x77"]});$pndtdrpmporg="\x61\x6c\x6c\x51\x75er\x79";${"GLO\x42\x41\x4cS"}["\x6cbl\x65m\x65\x6bd\x7a\x6bl\x68"]="\x64\x65\x6c\x65te";$gfsflitqgtcg="\x69\x6e\x4eu\x6d\x62e\x72\x51u\x65ry";${$hiqdjrc}="\x53\x45\x4c\x45C\x54 * F\x52OM\x20\x76\x74ig\x65\x72\x5f\x77h\x61\x74\x73app\x6cog \n    \x20\x20 \x20 \x20I\x4eNE\x52 \x4a\x4f\x49\x4e vti\x67er\x5fcrm\x65\x6eti\x74\x79 ON \x76\x74i\x67e\x72_cr\x6den\x74ity.c\x72\x6did \x3d\x20v\x74\x69\x67\x65r_\x77\x68at\x73ap\x70\x6c\x6f\x67.w\x68at\x73\x61\x70p\x6cog\x69d \n\x20   \x20  \x20  WH\x45\x52\x45\x20v\x74\x69\x67er\x5f\x63\x72me\x6e\x74i\x74\x79.de\x6c\x65t\x65\x64 \x3d\x200\x20\x41N\x44 vti\x67er\x5fwh\x61\x74\x73\x61\x70\x70\x6c\x6f\x67\x2e\x77h\x61ts\x61\x70\x70\x6cog\x5fw\x69th\x63\x63\x6fd\x65 \x21\x3d '\x27 ".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70r\x61\x67\x6dj\x66\x65o"]}."\x20\x41\x4e\x44\x20\x76t\x69ger_\x77\x68a\x74sa\x70\x70\x6c\x6fg\x2e\x77\x68atsa\x70p\x6c\x6f\x67_\x77\x69t\x68c\x63o\x64e\x20!\x3d\x20'Gr\x6f\x75\x70s'\x20GR\x4f\x55\x50\x20\x42\x59 v\x74i\x67\x65r\x5f\x77\x68\x61t\x73\x61\x70\x70l\x6fg\x2ew\x68ats\x61\x70\x70\x6c\x6f\x67_con\x74a\x63tid,\x20vti\x67\x65r_w\x68at\x73a\x70pl\x6f\x67\x2e\x77\x68\x61\x74s\x61p\x70\x6c\x6fg\x5f\x77i\x74hc\x63o\x64\x65";${${"G\x4c\x4f\x42\x41L\x53"}["o\x79\x75\x70\x72i\x6cs"]}="\x53E\x4c\x45\x43\x54\x20* FR\x4fM \x76t\x69g\x65r\x5fwha\x74\x73ap\x70\x6c\x6fg \n\x20\x20     \x20 \x20\x49N\x4eE\x52 JOIN\x20\x76\x74ig\x65\x72_\x63\x72mentit\x79 O\x4e \x76t\x69\x67\x65r\x5fcrm\x65\x6e\x74\x69\x74y.c\x72\x6di\x64 = \x76\x74\x69ge\x72\x5f\x77\x68\x61ts\x61\x70\x70l\x6fg\x2e\x77h\x61ts\x61p\x70\x6c\x6fg\x69\x64\x20\n\x20 \x20\x20 \x20    WH\x45\x52E\x20v\x74i\x67\x65\x72_crm\x65ntity\x2edelete\x64 \x3d\x200\x20A\x4e\x44 v\x74\x69\x67er_whats\x61\x70p\x6c\x6fg\x2ew\x68at\x73\x61\x70\x70lo\x67\x5fwi\x74\x68\x63\x63\x6fde\x20\x21=\x20''\x20AND \x76ti\x67\x65r_\x77\x68\x61t\x73applo\x67.m\x65\x73\x73a\x67\x65\x6cog_\x74y\x70e\x20= \x27\x52\x65ciev\x65\x64'\x20AN\x44 \x76tiger\x5fw\x68at\x73app\x6cog.\x77\x68\x61\x74\x73\x61pplog_unr\x65adr\x65a\x64\x20\x3d 'U\x6e\x72\x65a\x64' ".${$gfsflitqgtcg}." \x41ND vti\x67\x65\x72\x5f\x77\x68at\x73a\x70pl\x6f\x67.wh\x61ts\x61\x70pl\x6fg\x5f\x77\x69t\x68c\x63\x6f\x64e\x20\x21= \x27Gr\x6fu\x70\x73'\x20\x47\x52\x4f\x55\x50\x20BY\x20\x76t\x69\x67er\x5f\x77\x68a\x74s\x61\x70p\x6cog.w\x68a\x74\x73a\x70pl\x6f\x67\x5fcon\x74a\x63ti\x64,\x20\x76t\x69g\x65r\x5fwh\x61ts\x61p\x70\x6co\x67\x2ewh\x61t\x73a\x70plo\x67\x5f\x77\x69t\x68c\x63o\x64\x65";${${"G\x4cO\x42\x41L\x53"}["\x61s\x65\x76\x6c\x66\x76\x77\x7ay"]}=$adb->pquery(${$pndtdrpmporg});$gfnxhgctz="a\x6clUn\x72eadMe\x73sa\x67\x65\x43\x6f\x75n\x74";${"\x47LO\x42\x41\x4c\x53"}["\x63\x74aj\x67de\x71\x66"]="\x72o\x77";${"\x47\x4cO\x42A\x4c\x53"}["\x79\x75\x70\x77\x62bi\x6fo\x63\x6c"]="\x72\x6f\x77\x73";${${"GL\x4f\x42\x41\x4cS"}["\x65\x69d\x7a\x68j\x69"]}=$adb->num_rows(${$gfnxhgctz});$chnczqaunoix="\x61llR\x6f\x77\x73";$gsvrfy="r\x6f\x77";${${"\x47\x4cO\x42\x41L\x53"}["l\x62\x6c\x65\x6d\x65kdzk\x6ch"]}=0;for(${${"\x47LOB\x41\x4cS"}["va\x72\x62uf\x64"]}=0;${${"G\x4c\x4fB\x41\x4c\x53"}["v\x61\x72bu\x66d"]}<${${"\x47LOB\x41L\x53"}["c\x74\x61\x6a\x67d\x65\x71\x66"]};${${"GLOB\x41\x4cS"}["\x76\x61r\x62uf\x64"]}++){$pqdueytofrrx="r\x65\x6c\x61\x74\x65\x64\x52\x65\x63or\x64\x49\x64";${"G\x4c\x4f\x42\x41L\x53"}["kx\x68\x65l\x72o\x69a"]="re\x6c\x61\x74\x65\x64R\x65c\x6f\x72\x64Id";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x78\x68\x65l\x72oia"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41\x4cS"}["\x61\x73\x65\x76\x6cfv\x77\x7a\x79"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x61rb\x75\x66d"]},"w\x68\x61\x74\x73ap\x70log\x5f\x63\x6fn\x74a\x63t\x69d");if(${$pqdueytofrrx}!=""){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x75\x79\x71t\x63\x73"]="de\x6ce\x74\x65\x52\x65\x63\x6f\x72\x64";${${"\x47\x4cOBA\x4cS"}["\x6euy\x71t\x63\x73"]}=CTWhatsApp_Record_Model::recordDelete(${${"GL\x4fB\x41L\x53"}["\x6c\x72\x73\x71\x6fp\x65\x6f\x74\x68\x6c"]});${"G\x4cOB\x41\x4cS"}["\x64\x77f\x6b\x66u\x61\x6d"]="\x64\x65\x6c\x65\x74eR\x65\x63o\x72\x64";if(${${"G\x4c\x4fB\x41\x4c\x53"}["d\x77\x66\x6b\x66\x75a\x6d"]}==1){${"\x47L\x4f\x42\x41L\x53"}["\x75\x64\x74\x70\x71\x75\x69\x68\x75"]="\x64elete";${${"G\x4c\x4f\x42A\x4c\x53"}["u\x71\x76\x6a\x73e\x69"]}=${${"GL\x4f\x42\x41L\x53"}["\x75dtpq\x75i\x68\x75"]}+1;}}}${$ngxvdnwfujc}=${$gsvrfy}-${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x71\x76\x6a\x73\x65\x69"]};$uqyompjjbn="\x61\x6c\x6cR\x6fw\x73";${${"\x47\x4cO\x42A\x4c\x53"}["b\x69c\x67\x6be"]}=$adb->pquery(${$ywnrksgmev});${$uqyompjjbn}=$adb->num_rows(${$emohvxdoqer});${${"\x47\x4cO\x42\x41LS"}["\x79\x73\x69\x77j\x75\x72\x75\x7a\x64"]}=array("\x72\x6f\x77s"=>${$chnczqaunoix},"\x61\x6c\x6cR\x6f\x77s"=>${${"\x47\x4cO\x42\x41\x4c\x53"}["y\x75\x70\x77b\x62\x69\x6foc\x6c"]});return${${"GL\x4f\x42A\x4c\x53"}["\x79\x73\x69wj\x75r\x75\x7a\x64"]};}public function getUnknownMessagesCounts(){${"\x47LO\x42ALS"}["\x72\x72t\x71\x70\x70\x64"]="a\x6c\x6c\x55\x6e\x6bn\x6f\x77\x6e\x71\x75\x65\x72\x79";$wqotnuxnkcu="\x69nNu\x6dbe\x72\x51\x75\x65\x72\x79";${"\x47\x4c\x4f\x42\x41LS"}["\x73\x78\x69\x77\x76\x63d"]="\x63\x75r\x72\x65\x6et\x55s\x65r\x49D";$kbsaucwgov="\x72\x65\x73u\x6c\x74";global$adb,$current_user;$ucvsjtd="\x72e\x73\x75\x6c\x74";$wecdzajhvqg="\x63\x75\x72\x72e\x6et\x55se\x72\x49\x44";${$wecdzajhvqg}=$current_user->id;$xmrdfq="\x69\x6e\x4eu\x6d\x62\x65r\x51\x75er\x79";${$wqotnuxnkcu}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"\x47\x4c\x4fBALS"}["\x73\x78\x69wv\x63\x64"]});${"G\x4c\x4fB\x41\x4c\x53"}["w\x69d\x6d\x71\x6a\x6b\x73"]="\x75\x6e\x6b\x6e\x6f\x77\x6eR\x6f\x77s";${"G\x4cO\x42AL\x53"}["\x67cy\x6d\x73s\x63\x6d\x73\x6b\x74"]="\x61l\x6cUn\x6b\x6eo\x77\x6eRo\x77\x73";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6f\x79u\x70\x72\x69l\x73"]}=CTWhatsApp_Record_Model::unreadQueryCount();$kbquskqt="\x75n\x6b\x6e\x6f\x77\x6e\x52o\x77\x73";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x76tt\x79\x79o"]}=$adb->pquery("SELEC\x54 *\x20\x46R\x4fM\x20v\x74i\x67e\x72_\x77h\x61ts\x61\x70p\x6c\x6f\x67\x20\n\x20   \x20\x20\x20  \x20INNE\x52 \x4a\x4f\x49\x4e\x20\x76\x74ig\x65r_\x63\x72\x6d\x65\x6e\x74i\x74\x79\x20\x4f\x4e vt\x69g\x65r_\x63rm\x65\x6e\x74ity.\x63\x72\x6did = \x76\x74i\x67\x65r_\x77hats\x61\x70pl\x6f\x67.\x77h\x61t\x73app\x6cog\x69d\x20\n  \x20 \x20 \x20\x20  WHE\x52\x45\x20\x76\x74\x69\x67\x65r\x5fc\x72\x6de\x6e\x74ity\x2e\x64\x65l\x65\x74ed\x20=\x20\x30 \x20\x41\x4eD\x20vt\x69\x67\x65r\x5fw\x68\x61tsap\x70lo\x67.w\x68a\x74\x73a\x70plo\x67\x5f\x63o\x6e\x74a\x63\x74i\x64 =\x20\x27\x27 AN\x44\x20v\x74ig\x65\x72\x5f\x77h\x61t\x73\x61\x70\x70l\x6fg.w\x68atsa\x70plo\x67_\x75\x6er\x65\x61dre\x61\x64\x20= \x27\x55n\x72ead'\x20A\x4e\x44\x20\x76\x74ig\x65r\x5f\x77\x68\x61\x74s\x61p\x70\x6co\x67.\x77\x68atsa\x70\x70\x6c\x6f\x67_\x77\x69\x74\x68\x63c\x6fd\x65 \x21=\x20\x27\x47\x72o\x75\x70s' \x41N\x44\x20\x76\x74\x69ger\x5fw\x68a\x74sapp\x6cog\x2em\x65\x73\x73\x61\x67\x65\x6cog\x5f\x74\x79p\x65 = \x27\x52ec\x69e\x76ed'\x20".${$xmrdfq}." \x47\x52\x4fUP BY vtige\x72\x5fwhatsa\x70plo\x67\x2e\x77hat\x73a\x70\x70\x6co\x67\x5f\x77i\x74h\x63cod\x65",array());${$kbquskqt}=$adb->num_rows(${${"\x47\x4cO\x42\x41\x4cS"}["ov\x74\x74\x79y\x6f"]});if(${${"G\x4c\x4fB\x41L\x53"}["\x77i\x64mq\x6a\x6b\x73"]}==""){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75e\x65n\x75\x69i\x69g"]="\x75\x6e\x6b\x6eown\x52\x6f\x77s";${${"G\x4c\x4fBA\x4c\x53"}["\x75\x65e\x6e\x75\x69\x69i\x67"]}=0;}${${"GL\x4fB\x41LS"}["\x72\x72\x74\x71\x70p\x64"]}=$adb->pquery("\x53E\x4cECT * \x46\x52\x4fM \x76\x74\x69\x67er_\x77\x68atsa\x70pl\x6fg \n\x20\x20\x20 \x20\x20  \x20 \x49\x4e\x4e\x45\x52\x20\x4a\x4f\x49\x4e\x20v\x74\x69\x67e\x72_c\x72men\x74\x69t\x79\x20\x4fN\x20\x76\x74ig\x65\x72_cr\x6d\x65nt\x69\x74y\x2ecr\x6d\x69d\x20= v\x74\x69g\x65r\x5fw\x68\x61\x74\x73ap\x70\x6c\x6f\x67\x2e\x77h\x61\x74\x73\x61\x70p\x6co\x67id\x20\n\x20   \x20\x20\x20  \x20W\x48\x45R\x45\x20\x76t\x69g\x65r_\x63r\x6de\x6e\x74i\x74\x79.del\x65te\x64 \x3d \x30\x20\x20A\x4eD \x76ti\x67\x65r\x5f\x77\x68a\x74\x73ap\x70\x6cog.wh\x61\x74s\x61p\x70\x6cog\x5fc\x6fnt\x61\x63tid\x20\x3d \x27\x27\x20\x41ND\x20\x76\x74ig\x65\x72_\x77h\x61tsapplo\x67\x2e\x77\x68at\x73a\x70p\x6c\x6fg_un\x72ea\x64\x72ead\x20= \x27\x55\x6eread\x27\x20A\x4e\x44 vt\x69ge\x72\x5fwh\x61\x74sa\x70\x70\x6c\x6fg.\x77\x68\x61t\x73\x61\x70pl\x6f\x67\x5fwit\x68c\x63\x6fd\x65\x20!=\x20'Grou\x70\x73\x27 ".${${"G\x4cO\x42\x41\x4c\x53"}["\x70r\x61\x67\x6d\x6a\x66eo"]}."\x20\x47\x52\x4f\x55\x50\x20\x42Y v\x74ig\x65\x72_w\x68at\x73ap\x70log.w\x68at\x73a\x70plog\x5fw\x69\x74\x68cc\x6fde",array());${${"\x47\x4cO\x42AL\x53"}["lv\x61\x72uw\x64\x66\x73"]}=$adb->num_rows(${${"G\x4cOB\x41\x4c\x53"}["\x66m\x79bgx\x72\x74"]});if(${${"\x47L\x4f\x42\x41\x4c\x53"}["g\x63\x79\x6d\x73scm\x73\x6b\x74"]}==""){${"\x47L\x4f\x42A\x4cS"}["xb\x79\x74\x6b\x71\x6f\x6b"]="\x61\x6cl\x55\x6ek\x6eo\x77\x6e\x52\x6f\x77\x73";${${"\x47\x4c\x4fBA\x4cS"}["x\x62\x79\x74\x6b\x71\x6fk"]}=0;}${$kbsaucwgov}=array("\x75\x6ek\x6eown\x52\x6fw\x73"=>${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x77\x77\x6b\x78\x6a"]},"a\x6cl\x55nknow\x6e\x52ow\x73"=>${${"G\x4c\x4f\x42\x41\x4cS"}["l\x76a\x72u\x77\x64\x66\x73"]});return${$ucvsjtd};}public function getModuleRecrods($request){${${"\x47LO\x42ALS"}["\x63\x63\x72llu\x73x\x75o\x79o"]}=$request->getModule();$rvpxyphtavl="\x73earc\x68\x56\x61\x6c\x75\x65";${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x62j\x68r\x67\x63v"]="\x73\x74\x61\x72\x74";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x62\x6bg\x6cf\x71kkn\x61\x65"]}=$request->get("wha\x74sa\x70\x70\x6d\x6fdu\x6c\x65");$emykjcwikur="\x65\x6e\x64";${$rvpxyphtavl}=$request->get("\x73\x65a\x72chV\x61l\x75e");${"\x47\x4c\x4fB\x41LS"}["\x76\x65j\x72\x6fl\x67t\x62\x6b\x6c"]="\x67r\x6fu\x70W\x68\x61\x74\x73a\x70\x70\x4e\x75\x6d\x62\x65\x72";${"\x47L\x4fBAL\x53"}["u\x65\x75\x76\x6b\x72k"]="\x72\x65\x73\x70o\x6e\x73\x65\x43u\x73\x74\x6fm\x65\x72";${${"\x47\x4c\x4f\x42A\x4c\x53"}["ibj\x68\x72gc\x76"]}=$request->get("\x73\x74\x61r\x74");${"\x47\x4c\x4fBALS"}["jy\x75\x79\x73\x70e"]="\x68\x74m\x6c";${"G\x4cO\x42A\x4cS"}["\x6e\x70j\x68\x6d\x6ep\x78\x6c\x77"]="\x69\x6e\x64\x65\x78";${$emykjcwikur}=$request->get("\x65nd");${${"\x47L\x4f\x42A\x4c\x53"}["\x76e\x6a\x72\x6flgt\x62\x6b\x6c"]}=$request->get("gr\x6f\x75pW\x68ats\x61\x70pNu\x6d\x62\x65r");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x65\x75v\x6b\x72k"]}=$request->get("\x72es\x70o\x6es\x65C\x75\x73to\x6d\x65\x72");${${"GLO\x42AL\x53"}["\x6ay\x75\x79sp\x65"]}="";${"\x47\x4cOB\x41\x4c\x53"}["te\x70\x77v\x6d\x68h"]="\x68\x74\x6dl";if(${${"\x47L\x4f\x42A\x4c\x53"}["\x6ab\x6b\x67\x6cf\x71\x6bk\x6e\x61\x65"]}=="Im\x70\x6f\x72\x74\x61\x6e\x74"){${"G\x4c\x4fB\x41L\x53"}["\x67\x7am\x78\x6d\x76\x79\x75\x64"]="i\x6d\x70o\x72\x74\x61\x6e\x74\x4de\x73\x73a\x67\x65\x73";${"\x47LO\x42\x41\x4cS"}["uop\x67i\x72\x6c"]="\x77\x68at\x73\x61p\x70\x6d\x6fdu\x6c\x65";${"\x47\x4c\x4f\x42AL\x53"}["v\x76q\x70\x66\x77\x68"]="\x6d\x6f\x64ule\x4d\x65s\x73\x61g\x65s";$nquikfhk="\x72\x65\x73p\x6fns\x65Cu\x73t\x6f\x6d\x65\x72";$jrakuy="\x65nd";${"\x47L\x4f\x42A\x4cS"}["uk\x65v\x6f\x69\x6f\x61"]="\x73\x74\x61\x72\x74";${${"\x47\x4c\x4fBA\x4cS"}["\x67\x7a\x6d\x78m\x76\x79\x75d"]}="\x79\x65\x73";${${"G\x4cO\x42\x41\x4c\x53"}["v\x76q\x70\x66w\x68"]}=CTWhatsApp_Record_Model::getNewMessagesData(${${"\x47\x4c\x4fB\x41L\x53"}["x\x71\x69\x71\x72\x78\x6f\x69"]},${${"\x47\x4cO\x42\x41LS"}["\x75k\x65\x76oi\x6fa"]},${$jrakuy},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73mfc\x77\x66"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x6f\x70\x67i\x72\x6c"]},${$nquikfhk});}else if(${${"GL\x4f\x42ALS"}["\x6a\x62\x6bg\x6c\x66\x71\x6b\x6b\x6ea\x65"]}=="Ne\x77Mes\x73ages"){$rhfqgeofgrgv="\x69\x6d\x70\x6f\x72t\x61nt\x4d\x65\x73\x73\x61g\x65\x73";${"\x47L\x4fB\x41L\x53"}["\x73j\x77\x74\x63\x70\x64\x68y"]="\x73ear\x63\x68V\x61\x6cu\x65";${"\x47\x4c\x4fBAL\x53"}["\x75\x6dro\x72sh"]="st\x61\x72\x74";${$rhfqgeofgrgv}="\x6eo";$xysxexkhtz="\x72\x65\x73p\x6f\x6e\x73\x65\x43\x75\x73t\x6f\x6d\x65r";$viwttkouni="\x69\x6d\x70ort\x61n\x74\x4d\x65s\x73a\x67es";$iuhpscqcoup="\x65\x6e\x64";${${"\x47\x4c\x4f\x42A\x4c\x53"}["z\x69\x6cmlfq\x7a"]}=CTWhatsApp_Record_Model::getNewMessagesData(${$viwttkouni},${${"\x47L\x4fBAL\x53"}["\x75\x6d\x72\x6fr\x73\x68"]},${$iuhpscqcoup},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6a\x77\x74cp\x64\x68\x79"]},${${"G\x4c\x4f\x42A\x4c\x53"}["\x6a\x62\x6bg\x6cf\x71\x6bkn\x61e"]},${$xysxexkhtz});}else if(${${"\x47\x4c\x4f\x42AL\x53"}["\x6ab\x6bglf\x71\x6bk\x6ea\x65"]}=="Un\x6b\x6e\x6f\x77n"){${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x62k\x79xc\x6a\x74\x78gs"]="\x73\x74art";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x69\x6cmlf\x71\x7a"]}=CTWhatsApp_Record_Model::getUnknownMessagesData(${${"G\x4cO\x42A\x4c\x53"}["\x62\x62\x6b\x79\x78\x63\x6a\x74xgs"]},${${"\x47\x4cO\x42\x41\x4cS"}["h\x70q\x68ye"]},${${"\x47L\x4fB\x41\x4cS"}["smfc\x77\x66"]});}else if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6ab\x6b\x67\x6c\x66q\x6b\x6b\x6ea\x65"]}=="A\x6cl\x4d\x65s\x73\x61\x67\x65s"){$odbwwphb="\x65n\x64";$ubimlzzkfj="\x69\x6d\x70\x6f\x72\x74\x61\x6e\x74\x4d\x65s\x73a\x67es";${"G\x4c\x4f\x42A\x4c\x53"}["\x68\x69\x6d\x67p\x62z\x67c\x73"]="r\x65\x73\x70\x6fns\x65\x43u\x73\x74\x6f\x6d\x65\x72";${$ubimlzzkfj}="\x6e\x6f";${"\x47\x4c\x4fBA\x4cS"}["\x79\x69\x65\x68\x6d\x6ey\x69\x64"]="\x69m\x70\x6f\x72\x74\x61\x6e\x74\x4d\x65s\x73a\x67\x65\x73";$zpwjxebh="\x77\x68\x61t\x73\x61p\x70\x6do\x64u\x6c\x65";${${"\x47\x4c\x4fBAL\x53"}["\x7a\x69\x6cm\x6cf\x71\x7a"]}=CTWhatsApp_Record_Model::getNewMessagesData(${${"\x47LO\x42A\x4cS"}["\x79i\x65h\x6dny\x69d"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x6a\x70\x6a\x6e\x66\x64"]},${$odbwwphb},${${"\x47\x4c\x4fBA\x4cS"}["s\x6d\x66c\x77\x66"]},${$zpwjxebh},${${"GL\x4f\x42\x41L\x53"}["\x68i\x6d\x67\x70\x62\x7a\x67\x63\x73"]});}else if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6a\x62\x6bg\x6c\x66\x71\x6b\x6bn\x61\x65"]}=="G\x72\x6fup\x73"){${${"\x47\x4c\x4fBA\x4c\x53"}["\x7a\x69\x6cm\x6c\x66\x71z"]}=CTWhatsApp_Record_Model::getWhatsappGroup(${${"G\x4cOBA\x4c\x53"}["yeu\x6c\x79\x6fp\x77\x61\x79\x69"]});}else{${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x64\x70\x73gz\x73\x79"]="\x6d\x6f\x64\x75\x6c\x65M\x65s\x73\x61\x67\x65\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x6b\x79\x63\x6f\x6c\x71"]="\x73ta\x72\x74";$sdukbq="\x77\x68a\x74\x73\x61p\x70\x6do\x64\x75\x6c\x65";$unghwljf="\x6do\x64\x75\x6ceQ\x75\x65\x72\x79";${"\x47L\x4f\x42\x41LS"}["u\x6f\x61\x78\x6ernim\x77i"]="\x73\x65r\x61\x63\x68";${${"\x47\x4c\x4f\x42AL\x53"}["s\x64\x70s\x67\x7a\x73\x79"]}=CTWhatsApp_Record_Model::getModuleMessagesData(${${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x62\x6b\x67\x6cf\x71\x6b\x6b\x6e\x61\x65"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x6b\x79\x63\x6f\x6c\x71"]},${${"\x47LO\x42\x41\x4c\x53"}["\x68p\x71\x68y\x65"]},${${"GL\x4f\x42\x41\x4c\x53"}["\x73m\x66\x63\x77\x66"]});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70e\x63\x68k\x6dcnv"]="w\x68\x61\x74s\x61\x70\x70\x6dodu\x6ce";${"\x47\x4cOBA\x4c\x53"}["s\x70\x69\x65\x68\x76\x69\x63\x6e"]="\x72o\x77";global$adb;$xfoegtswhto="ph\x6f\x6e\x65\x46i\x65l\x64";${${"G\x4c\x4f\x42\x41\x4cS"}["f\x6d\x79\x73js\x65"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${$sdukbq});$jturplfyex="\x72o\x77";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71\x66\x72x\x6dy\x6b\x6dkl\x64\x67"]="\x6d\x6fdu\x6c\x65\x51u\x65\x72y";${${"\x47\x4c\x4f\x42A\x4cS"}["\x73\x6e\x74i\x69p\x79hj\x64"]}=${${"\x47\x4c\x4f\x42\x41L\x53"}["f\x6dysj\x73\x65"]}["\x70\x68\x6fn\x65F\x69\x65ld"];${${"\x47L\x4f\x42AL\x53"}["\x75\x6fax\x6e\x72\x6e\x69\x6d\x77i"]}="";${${"G\x4c\x4fB\x41L\x53"}["qf\x72\x78\x6dy\x6b\x6dk\x6c\x64\x67"]}=CTWhatsApp_Record_Model::moduleQueryCount(${${"\x47L\x4fB\x41L\x53"}["\x70\x65ch\x6bm\x63\x6ev"]},${$xfoegtswhto},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x63\x76g\x75w\x61\x72\x69"]});${${"\x47\x4c\x4f\x42A\x4cS"}["o\x76\x74\x74y\x79o"]}=$adb->pquery(${$unghwljf});${$jturplfyex}=$adb->query_result(${${"\x47LO\x42\x41L\x53"}["ovtty\x79\x6f"]},0,"\x72ows1");${${"\x47LOB\x41L\x53"}["\x73\x70\x69\x65\x68\x76\x69\x63\x6e"]}=count(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x69\x6c\x6d\x6c\x66\x71\x7a"]});}$hetvikpjgxn="k\x65\x79";${${"\x47\x4c\x4fBAL\x53"}["n\x70jh\x6dn\x70\x78\x6c\x77"]}=0;foreach(${${"\x47\x4c\x4fB\x41LS"}["\x7a\x69\x6c\x6d\x6c\x66\x71\x7a"]} as${$hetvikpjgxn}=>${${"G\x4c\x4fB\x41LS"}["\x79\x78\x6b\x73\x75\x6dx"]}){$pbyoproifm="in\x64\x65\x78";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x65\x7a\x79fc\x69\x6a\x6ai\x68a"]="\x77\x68a\x74\x73app\x6d\x6f\x64\x75l\x65";if(${${"GL\x4f\x42A\x4c\x53"}["yx\x6bs\x75\x6d\x78"]}["u\x6e\x72\x65\x61\x64Mess\x61\x67\x65\x43o\x75\x6e\x74"]==0){${"\x47\x4c\x4f\x42\x41L\x53"}["pbg\x6a\x74\x67\x7a\x65"]="\x72e\x61\x64";${${"\x47\x4cO\x42\x41\x4cS"}["p\x62\x67\x6a\x74\x67\x7a\x65"]}="";${${"G\x4cO\x42AL\x53"}["f\x79m\x69\x6d\x71w"]}="";}else{$pojbynui="r\x65a\x64";${$pojbynui}="\x75nR\x65a\x64";${${"G\x4c\x4f\x42\x41L\x53"}["\x66\x79m\x69\x6dqw"]}="<\x73\x70an cl\x61s\x73\x3d\x22c\x6funte\x72\x4d\x73g\x22\x20\x73\x74yl\x65=\x22top: \x30px\x20!\x69mpor\x74\x61\x6e\x74;\x22\x3e".${${"\x47L\x4f\x42\x41LS"}["\x79\x78\x6bs\x75\x6dx"]}["u\x6e\x72e\x61dM\x65s\x73ageCo\x75nt"]."\x3c/\x73\x70\x61\x6e>";}$iebcfqo="\x69\x6e\x64\x65\x78";if(${$pbyoproifm}==0){${${"\x47\x4cO\x42AL\x53"}["n\x62\x63xfx\x70"]}="\x62\x79\x64e\x66a\x75l\x4fpenC\x68at";}else{$zonvimd="\x62\x79\x64ef\x61\x75l\x4f\x70e\x6e\x43h\x61t";${$zonvimd}="";}if(${${"GL\x4f\x42\x41\x4c\x53"}["c\x65\x7a\x79\x66ci\x6a\x6a\x69\x68a"]}=="\x47\x72o\x75\x70\x73"){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x6f\x67\x7a\x74\x6b\x72s\x76"]="\x76\x61\x6cu\x65";${"\x47L\x4f\x42ALS"}["y\x76\x68\x67\x79\x63v"]="\x76\x61\x6cu\x65";${"\x47\x4c\x4fBA\x4c\x53"}["\x69g\x6f\x6ccf\x69\x71"]="\x68\x74\x6d\x6c";$pplzqvziflqo="\x76alue";$euytxyjwv="\x62\x79d\x65fa\x75\x6cO\x70\x65\x6e\x43\x68at";${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x70ti\x68\x6an\x78"]="v\x61\x6c\x75\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x65m\x71\x6f\x61\x6f\x61\x6dx"]="\x76a\x6cu\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69g\x6fl\x63\x66i\x71"]}.="\x3c\x64i\x76 cla\x73s\x3d\"\x70ro\x66\x69l\x65 s\x68o\x77Ch\x61t\x4dessage\x73\x20".${$euytxyjwv}."\"\x20d\x61\x74\x61-\x72e\x63or\x64\x69d=\"".${${"\x47\x4cO\x42\x41\x4cS"}["p\x70\x74i\x68j\x6e\x78"]}["re\x63\x6frdId"]."\"\x20\x64\x61\x74\x61-\x6cabel\x3d\x22".${${"\x47\x4c\x4f\x42A\x4cS"}["\x79v\x68g\x79c\x76"]}["\x6ca\x62\x65\x6c"]."\" \x64a\x74\x61-gro\x75\x70id\x3d\"".${$pplzqvziflqo}["groupi\x64"]."\"\x20\x64a\x74\x61-\x67\x72o\x75\x70\x4d\x65\x6db\x65r=\x22".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6ao\x67z\x74\x6b\x72s\x76"]}["\x67\x72\x6f\x75p\x4de\x6d\x62\x65r"]."\x22\x20\x64\x61t\x61-\x73e\x6e\x64m\x65\x73\x73a\x67\x65\x69\x6egro\x75p=\"".${${"GL\x4fB\x41L\x53"}["y\x78\x6b\x73\x75\x6dx"]}["\x69\x73\x52e\x61d\x4f\x6el\x79"]."\x22\x20s\x74yle\x3d\"\x63\x75rso\x72: pointe\x72;\"\x3e";$iauoxvcx="\x63o\x75\x6et";if(${${"\x47\x4cO\x42\x41LS"}["yx\x6bs\x75m\x78"]}["im\x61\x67e\x74a\x67"]==1){$igjhsupq="\x76alu\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x74l\x76\x65\x6b"]}.="<d\x69\x76\x20clas\x73=\"pi\x63\"\x3e<\x69\x6d\x67\x20\x73rc\x3d\x22".${$igjhsupq}["p\x72o\x66\x69l\x65\x49mag\x65"]."\" st\x79\x6ce\x3d\"\x77idth:\x2010\x30%\x3b\"/></\x64\x69\x76>";}else{${"\x47\x4cO\x42\x41\x4cS"}["\x73\x65\x66\x78fh\x61\x75\x73rk"]="\x68\x74m\x6c";${${"\x47LO\x42\x41\x4c\x53"}["se\x66\x78f\x68a\x75\x73r\x6b"]}.="<di\x76 \x63\x6cas\x73\x3d\"p\x69\x63\"><\x73\x70an c\x6cas\x73\x3d\"i\x6d\x61gena\x6d\x65\"\x20\x69\x64=\"\x69m\x61\x67e\x6e\x61\x6de\" \x73\x74y\x6c\x65\x3d\"margin:\x20\x37px\x3b\x66\x6fnt-s\x69z\x65: \x32\x38px;\x6dar\x67i\x6e: 2p\x78;c\x6flor:\x20tea\x6c;\"\x3e\x3c\x62\x3e".${${"\x47\x4cO\x42A\x4c\x53"}["y\x78ksu\x6d\x78"]}["pr\x6ff\x69\x6c\x65\x49mage"]."</\x62>\x3c/s\x70\x61n\x3e</\x64\x69v\x3e";}${${"\x47L\x4fBA\x4c\x53"}["stl\x76\x65\x6b"]}.="<di\x76\x20\x63l\x61s\x73\x3d\x22\x70\x54\x65\x78\x74\">\n \x20 \x20\x20 \x20\x20  \x20 \x20   \x20\x20\x20\x20\x20 \x20 \x3c\x73pan>".${${"GLO\x42\x41LS"}["\x65\x6d\x71\x6f\x61oa\x6d\x78"]}["l\x61b\x65\x6c"]."\x3c/s\x70\x61\x6e>".${$iauoxvcx}."\n \x20 \x20\x20\x20   \x20\x20  \x20 \x20 \x20\x20  \x20\x3c/div\x3e\n\x20 \x20 \x20   \x20\x20\x20\x20  \x20\x20\x20 \x20 \x3c/\x64iv\x3e";}else{${"\x47\x4cO\x42A\x4c\x53"}["\x62\x63h\x66\x77\x67\x76to"]="\x62y\x64\x65\x66a\x75lO\x70e\x6eCh\x61t";$ysyntppnbib="\x76a\x6c\x75e";${"G\x4c\x4f\x42\x41L\x53"}["q\x6fu\x74\x68\x75\x63\x72\x69\x6a"]="ht\x6d\x6c";${${"GL\x4fBA\x4c\x53"}["qo\x75t\x68\x75c\x72\x69j"]}.="<di\x76 \x63las\x73\x3d\x22\x70r\x6ff\x69\x6ce sh\x6f\x77\x43h\x61t\x4dessage\x73 ".${${"\x47L\x4fB\x41L\x53"}["b\x63h\x66w\x67\x76\x74\x6f"]}."\"\x20d\x61ta-re\x63\x6frdi\x64\x3d\x22".${$ysyntppnbib}["\x72ec\x6f\x72\x64Id"]."\x22 s\x74y\x6ce=\x22c\x75\x72\x73\x6f\x72:\x20p\x6f\x69\x6et\x65\x72\x3b\">";$ssypggxzk="\x68\x74\x6d\x6c";if(${${"\x47LO\x42A\x4cS"}["\x79\x78\x6b\x73u\x6dx"]}["imag\x65\x74ag"]==1){${"G\x4c\x4f\x42AL\x53"}["r\x6el\x6a\x68\x6c\x6ay\x78\x70\x6a"]="ht\x6d\x6c";${${"G\x4c\x4f\x42\x41\x4cS"}["\x72nl\x6a\x68\x6cj\x79\x78p\x6a"]}.="<\x64i\x76 cl\x61\x73\x73=\"\x70i\x63\x22\x3e<img\x20\x73\x72\x63=\"".${${"GL\x4fB\x41LS"}["\x79\x78\x6b\x73\x75mx"]}["p\x72\x6f\x66il\x65I\x6dage"]."\" s\x74yle=\"\x77id\x74h: 1\x30\x30%;\"/\x3e</\x64iv>";}else{$tbhrbjfqos="\x76a\x6c\x75e";$xcnhjkdj="\x68tml";${$xcnhjkdj}.="\x3c\x64i\x76\x20\x63l\x61ss=\"p\x69\x63\x22\x3e\x3cs\x70\x61n \x63\x6cass=\x22\x69m\x61\x67\x65\x6e\x61\x6de\" \x69\x64\x3d\"\x69mag\x65n\x61\x6d\x65\x22 s\x74y\x6ce=\"m\x61\x72g\x69\x6e: 7\x70x\x3b\x66\x6fnt-size: 28\x70x\x3bmar\x67\x69\x6e: 2px\x3b\x63olo\x72: t\x65\x61l\x3b\x22>\x3cb>".${$tbhrbjfqos}["\x70r\x6ffil\x65Image"]."\x3c/b\x3e</s\x70\x61\x6e\x3e</di\x76\x3e";}${$ssypggxzk}.="\x3c\x64iv \x63\x6c\x61\x73\x73=\x22pT\x65\x78t\x22>\n \x20\x20   \x20   \x20\x20     \x20\x20 \x20\x20 \x20<s\x70an>".${${"GL\x4f\x42A\x4c\x53"}["\x79\x78ks\x75\x6d\x78"]}["\x6c\x61b\x65\x6c"]."\x3c/span>".${${"\x47\x4c\x4f\x42A\x4cS"}["\x66y\x6d\x69m\x71\x77"]}."<p\x3e".${${"\x47\x4c\x4fBA\x4cS"}["\x79x\x6bsum\x78"]}["\x6c\x61\x73\x74B\x6f\x64\x79"]."\x3c/p>\n \x20\x20\x20  \x20\x20      \x20\x20\x20 \x20 \x20\x20\x3c/div>\n\x20\x20  \x20   \x20\x20\x20 \x20   \x20\x20\x20 \x20\x20<div \x63las\x73=\x22\x64\x61\x74e\x54\x69m\x65\">".${${"\x47LO\x42ALS"}["yx\x6b\x73u\x6d\x78"]}["l\x61s\x74\x44\x61t\x65\x54i\x6d\x65"]."\x3c/div>\n    \x20\x20    \x20    \x20\x20 \x20 \x3c/d\x69\x76\x3e";}${$iebcfqo}=${${"\x47\x4cOB\x41\x4c\x53"}["\x75w\x71n\x63\x72\x71\x70"]}+1;}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x65\x70\x77\x76m\x68\x68"]}.="</d\x69\x76\x3e\n  \x20\x20\x20\x20\x20\x20\x3c/di\x76\x3e";if(empty(${${"\x47\x4cO\x42\x41\x4cS"}["\x7ai\x6c\x6d\x6cf\x71\x7a"]})){${${"\x47LOB\x41\x4c\x53"}["\x61\x6e\x67\x66xwt"]}=new Vtiger_Response();$response->setResult(array("\x61l\x6cM\x65ss\x61geshtm\x6c"=>"","\x72\x6fw\x73"=>0));$response->emit();}else{${"GLOBA\x4c\x53"}["\x66\x62x\x6f\x70\x63uu"]="\x68t\x6d\x6c";$lwyvulzp="\x72o\x77";$dgccopjfg="r\x65\x73\x70on\x73e";${$dgccopjfg}=new Vtiger_Response();$response->setResult(array("\x61l\x6c\x4de\x73sa\x67\x65\x73\x68\x74\x6dl"=>${${"\x47\x4cO\x42\x41LS"}["fb\x78opc\x75u"]},"ro\x77\x73"=>${$lwyvulzp}));$response->emit();}}public function recordDelete($recordId){global$adb;${${"GL\x4f\x42\x41L\x53"}["\x6f\x76t\x74\x79y\x6f"]}=$adb->pquery("\x53\x45L\x45\x43\x54\x20*\x20FR\x4f\x4d vt\x69g\x65r_\x63rm\x65\x6e\x74ity\x20\x57\x48E\x52\x45\x20c\x72\x6d\x69d\x20\x3d\x20?",array(${${"G\x4cO\x42A\x4c\x53"}["\x71\x77\x6fk\x74\x77w\x63\x62\x74"]}));${${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x67\x6b\x75\x72vrg"]}=$adb->query_result(${${"GL\x4fB\x41\x4c\x53"}["ov\x74t\x79\x79\x6f"]},0,"d\x65let\x65d");return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67g\x6b\x75\x72\x76r\x67"]};}public function getNewMessagesData($importantMessages,$start,$end,$searchValue,$whatsappmodule,$responseCustomer){$gwasddal="s\x65\x61\x72\x63h\x56a\x6c\x75\x65";$wgvfby="\x6b\x65\x79";$nuxnqnfjmb="\x63o\x6e\x66\x69\x67\x75r\x61\x74\x69\x6f\x6e\x44\x61\x74a";${"\x47\x4c\x4f\x42\x41L\x53"}["bb\x79\x64kv\x67"]="\x72\x6f\x77\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71hnr\x65\x6a"]="r\x6fw\x73";$swdmxejve="a\x6c\x6cn\x75m\x62er";${"\x47L\x4fBA\x4cS"}["bmu\x63\x77vl\x6bf"]="\x77\x68a\x74\x73ap\x70\x6d\x6f\x64\x75\x6c\x65";${"GLO\x42\x41\x4cS"}["\x79o\x77\x65o\x67\x76\x72\x6b\x67"]="a\x6clnu\x6d\x62e\x72";${"G\x4cO\x42\x41\x4c\x53"}["\x6d\x70\x70\x72\x64\x78\x66"]="r\x65\x73\x70o\x6e\x73\x65\x43\x75\x73\x74\x6f\x6d\x65\x72";$bkrohoo="i\x6d\x70o\x72\x74\x61\x6e\x74\x4de\x73\x73ages";global$adb,$current_user;${${"GLOBAL\x53"}["x\x6b\x66\x65gc\x62\x76\x61\x79\x77"]}=$current_user->id;if(${$bkrohoo}=="\x79\x65s"){$drgkjlhxh="\x69mp\x6fr\x74\x61\x6et";${$drgkjlhxh}=" A\x4eD\x20\x76\x63\x2ewhats\x61\x70plog_i\x6dpor\x74\x61\x6et\x20\x3d\x20\x31 ";}if(${$gwasddal}){if(is_numeric(${${"G\x4c\x4f\x42\x41LS"}["s\x6d\x66cw\x66"]})){$yydesan="\x73\x65arc\x68V\x61lu\x65";${${"GL\x4fBA\x4c\x53"}["tw\x70\x6a\x64\x69d\x6c"]}="\x20AN\x44\x20vc\x2ewhat\x73\x61\x70\x70\x6co\x67_wit\x68c\x63ode LI\x4bE \x27\x25".${$yydesan}."%\x27";}else{${${"G\x4cOBA\x4cS"}["\x74\x77\x70\x6a\x64i\x64\x6c"]}="\x20\x41N\x44\x20cw.\x6cabel \x6ci\x6be '\x25".${${"GL\x4f\x42A\x4c\x53"}["smf\x63wf"]}."\x25\x27";${${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x66\x6d\x61\x62\x62j\x74"]}="\x20INNER JOI\x4e \x76t\x69\x67\x65\x72\x5fcrm\x65\x6e\x74ity\x20\x63\x77 on c\x77\x2ec\x72m\x69d\x20\x3d \x76c\x2ew\x68a\x74s\x61\x70p\x6co\x67\x5fcon\x74\x61c\x74\x69\x64 ";}}$fxazhppv="\x71\x75er\x79";if(${${"\x47\x4cOBA\x4c\x53"}["b\x6d\x75\x63\x77\x76\x6c\x6bf"]}=="\x4e\x65\x77Me\x73sag\x65s"){${${"\x47\x4cOB\x41\x4c\x53"}["x\x6as\x78hq"]}="\x20\x41ND\x20v\x63.\x77ha\x74s\x61\x70p\x6c\x6f\x67_\x75\x6er\x65\x61\x64\x72\x65ad\x20=\x20'\x55\x6e\x72\x65\x61d'\x20\x41N\x44\x20vc.\x6d\x65\x73s\x61\x67e\x6cog\x5f\x74\x79\x70\x65 =\x20'\x52\x65c\x69\x65ved\x27";}else{${${"\x47\x4c\x4f\x42\x41LS"}["r\x6e\x6f\x62\x79\x72ow"]}="\x49NN\x45\x52\x20JOIN \x63t_what\x73\x61pp\x5ftem\x70_t\x61\x62l\x65_tim\x65\x6c\x69\x6ee\x20\x4fN\x20vc\x2e\x77h\x61\x74\x73ap\x70\x6c\x6f\x67\x69\x64 \x3d\x20\x63t_wh\x61t\x73app_\x74em\x70\x5f\x74\x61\x62\x6c\x65_timeli\x6e\x65\x2e\x77\x68\x61ts\x61ppl\x6f\x67\x69d\x20";}${$nuxnqnfjmb}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"G\x4cOB\x41L\x53"}["xk\x66e\x67\x63\x62\x76a\x79w"]});${${"\x47\x4c\x4f\x42\x41L\x53"}["v\x73o\x68\x6d\x65\x79\x74"]}=${${"\x47\x4cO\x42\x41L\x53"}["\x69\x69\x6d\x79\x6b\x67\x6e"]}["\x77\x68\x61t\x73\x61pp\x6eo"];${${"GLO\x42\x41L\x53"}["\x64jr\x66\x6e\x63\x66n\x79v\x75"]}=CTWhatsApp_Record_Model::getAllConnectedWhatsappNumber(${${"G\x4cOB\x41\x4c\x53"}["\x78\x6b\x66\x65\x67\x63\x62\x76a\x79\x77"]});$vqxickvjvg="\x69n\x4e\x75\x6d\x62\x65\x72\x5fQu\x65ry";${${"\x47\x4c\x4fBA\x4c\x53"}["\x66k\x78\x78\x76\x6c"]}="";foreach(${${"GL\x4fB\x41\x4cS"}["\x64\x6a\x72f\x6e\x63\x66\x6e\x79\x76\x75"]} as${$wgvfby}=>${${"\x47L\x4f\x42A\x4c\x53"}["yx\x6b\x73\x75\x6d\x78"]}){${${"GL\x4f\x42\x41\x4c\x53"}["\x66\x6b\x78x\x76\x6c"]}.="\x27".${${"\x47\x4cOB\x41\x4cS"}["\x79xk\x73\x75m\x78"]}["\x77h\x61ts\x61\x70\x70no"]."',";}${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70ha\x6f\x6f\x62c"]}=rtrim(${${"\x47LO\x42\x41L\x53"}["f\x6b\x78x\x76\x6c"]},",");${${"GL\x4f\x42\x41\x4c\x53"}["p\x72\x61gm\x6a\x66\x65\x6f"]}=" \x41ND\x20vc.w\x68\x61t\x73ap\x70log_\x79\x6f\x75\x72_\x6eum\x62\x65r\x20I\x4e (".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79o\x77\x65o\x67\x76r\x6bg"]}.")\x20";${$vqxickvjvg}=" A\x4e\x44\x20vc\x5f\x69nn\x65\x72.what\x73\x61pplo\x67_y\x6f\x75\x72\x5fn\x75\x6db\x65\x72\x20IN (".${$swdmxejve}.") ";if(${${"\x47LO\x42ALS"}["m\x70p\x72\x64\x78\x66"]}==1){$wplcshmhjtn="\x71\x75\x65\x72\x79";$yjmloizoqxt="\x69";${"\x47L\x4fB\x41LS"}["\x65c\x6a\x77uq\x65\x70\x67\x69"]="\x72e\x73\x70\x6f\x6e\x73\x65\x63u\x73\x74\x6f\x6d\x65r\x4eu\x6db\x65\x72";${"\x47\x4cO\x42\x41\x4cS"}["\x76\x68s\x67z\x71l\x69"]="\x72\x65sp\x6f\x6e\x73\x65Q\x75\x65r\x79";${${"G\x4c\x4f\x42\x41LS"}["yc\x64si\x70\x7a\x6d"]}=$adb->pquery("\x53\x45\x4cECT\x20*\x20\x46\x52\x4fM\x20\x77\x68\x61\x74sap\x70\x62ot\x5f\x70\x72e_que");${"G\x4c\x4f\x42A\x4c\x53"}["mxv\x72\x6dq"]="r\x65\x73po\x6ese\x63u\x73\x74\x6f\x6d\x65\x72N\x75\x6dber";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x6a\x61\x61\x64\x77\x76t\x6c"]="\x69";${"G\x4cO\x42\x41\x4c\x53"}["\x71\x78\x66n\x78\x65"]="\x72\x65\x73\x70\x6f\x6es\x65\x52\x6f\x77\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x6bu\x61l\x70\x73\x79\x74"]}=$adb->num_rows(${${"\x47LOB\x41\x4c\x53"}["\x76\x68s\x67\x7a\x71\x6c\x69"]});$iuxmvgsjkhyg="\x73\x65a\x72\x63h\x49\x6en\x65rQu\x65\x72\x79";${${"GL\x4f\x42ALS"}["\x6d\x78v\x72\x6d\x71"]}="";$wsioutbn="\x69\x6d\x70\x6f\x72\x74\x61\x6et";for(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x61rbu\x66\x64"]}=0;${$yjmloizoqxt}<${${"G\x4c\x4f\x42A\x4c\x53"}["\x71x\x66nxe"]};${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ej\x61\x61\x64\x77v\x74l"]}++){$vucwszpbymd="\x72\x65s\x70\x6fnse\x51u\x65\x72y";${${"GLO\x42A\x4cS"}["\x6d\x74\x6bp\x71ep\x6br"]}.="\x22".$adb->query_result(${$vucwszpbymd},${${"\x47L\x4fB\x41\x4c\x53"}["\x76\x61r\x62\x75\x66\x64"]},"\x70req\x75\x65m\x6fb\x69\x6ce\x6e\x75\x6dbe\x72")."\",";}${$wplcshmhjtn}=$adb->pquery("\x53\x45L\x45\x43T\x20\x76\x63.w\x68\x61tsa\x70pl\x6f\x67\x5fwi\x74h\x63\x63\x6f\x64e,\x20\x76c\x2e\x6dess\x61gel\x6f\x67_\x62o\x64\x79,\x20\x76\x63.w\x68\x61t\x73\x61pp\x6cogi\x64, vc\x2ew\x68atsa\x70p\x6cog\x5fdat\x65\x74\x69\x6d\x65,\x20\x76\x63.\x77\x68\x61\x74\x73ap\x70\x6c\x6fg\x5f\x63\x6f\x6eta\x63t\x69\x64\n\x20  \x20   \x20 \x20\x20\x20\x20  \x20FRO\x4d\x20vti\x67\x65r_\x77h\x61ts\x61pp\x6cog\x20\x76\x63\x20IN\x4e\x45\x52 \x4a\x4fIN\x20v\x74iger\x5f\x63\x72\x6d\x65\x6e\x74i\x74\x79 c\x72\x20\x4fN\x20cr.crmid\x20\x3d\x20\x76\x63.\x77\x68at\x73\x61p\x70l\x6fgi\x64\n \x20\x20 \x20 \x20\x20  \x20 \x20 \x20\x20".${$iuxmvgsjkhyg}."\n\x20\x20\x20\x20 \x20   \x20\x20\x20 \x20 \x20AND \x76\x63.whats\x61ppl\x6f\x67\x5fwit\x68\x63\x63\x6fd\x65 \x21\x3d\x20'\x27\x20\x20\x20\n \x20\x20  \x20 \x20\x20 \x20 \x20 \x20 ".${${"G\x4c\x4fB\x41\x4c\x53"}["p\x72\x61gm\x6a\x66eo"]}."\n \x20\x20\x20\x20  \x20\x20 \x20 \x20 \x20 ".${$wsioutbn}."\n\x20\x20 \x20  \x20 \x20\x20\x20 \x20\x20\x20 ".${${"\x47\x4c\x4fB\x41\x4cS"}["\x74\x77\x70j\x64\x69d\x6c"]}."\n   \x20\x20 \x20\x20   \x20    ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x6a\x73\x78\x68\x71"]}."\n\x20\x20\x20\x20  \x20\x20 \x20\x20\x20\x20\x20\x20\x20\x41\x4eD \x76c.w\x68\x61\x74\x73\x61pp\x6c\x6f\x67\x5f\x77\x69\x74hc\x63\x6fde\x20!\x3d 'G\x72ou\x70s' \n    \x20   \x20 \x20\x20\x20\x20 \x20A\x4e\x44\x20\x63r\x2ed\x65\x6c\x65t\x65d =\x200\x20\n       \x20 \x20   \x20\x20\x20AND\x20wh\x61tsap\x70l\x6f\x67_\x77it\x68c\x63od\x65\x20\x49\x4e (".rtrim(${${"GLO\x42A\x4c\x53"}["\x65c\x6aw\x75q\x65pg\x69"]},",").")\n   \x20   \x20 \x20  \x20 \x20 O\x52DER \x42Y\x20v\x63\x2ewh\x61tsap\x70l\x6fg\x5fd\x61te\x74ime D\x45S\x43\x20\x4c\x49\x4d\x49\x54\x20\x30,".${${"G\x4c\x4fB\x41\x4cS"}["p\x6apj\x6e\x66\x64"]});}else{$pauluvrcgnaj="\x73\x65\x61\x72ch\x51\x75\x65\x72y";${"G\x4cO\x42\x41L\x53"}["\x76\x62\x72\x72j\x63\x70o\x78"]="\x63\x75\x73to\x6d\x55n\x72\x65\x61d\x51\x75\x65\x72y";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x6dw\x61m\x74ivb"]="\x71\x75\x65\x72\x79";$lxrzrqqo="\x69\x6e\x4e\x75\x6d\x62e\x72\x51\x75\x65\x72\x79";${"\x47L\x4f\x42\x41\x4cS"}["tt\x79\x78\x61\x6e\x73d"]="\x73\x74\x61\x72\x74";${${"\x47L\x4f\x42A\x4c\x53"}["\x79m\x77a\x6d\x74\x69v\x62"]}=$adb->pquery("\x53EL\x45\x43T v\x63.w\x68\x61\x74s\x61pplo\x67\x5fw\x69thcc\x6fd\x65, vc.message\x6cog_\x62od\x79,\x20vc.w\x68\x61\x74\x73\x61\x70\x70\x6co\x67\x69d,\x20v\x63.wh\x61t\x73applo\x67\x5f\x64\x61t\x65\x74\x69m\x65,\x20\x76c.w\x68\x61\x74\x73appl\x6f\x67_co\x6et\x61\x63\x74i\x64\n  \x20\x20  \x20\x20\x20 \x20\x20    \x46\x52OM\x20v\x74\x69ger\x5f\x77\x68a\x74s\x61pplog \x76\x63\x20INN\x45R JO\x49N\x20\x76ti\x67\x65\x72\x5fcr\x6dent\x69t\x79\x20c\x72 O\x4e\x20\x63r.\x63\x72\x6d\x69\x64 \x3d\x20\x76\x63.whatsap\x70\x6co\x67i\x64\n\x20\x20 \x20  \x20\x20        ".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x66\x6da\x62\x62jt"]}."\n\x20 \x20   \x20  \x20\x20 \x20\x20\x20 A\x4e\x44 vc\x2e\x77h\x61t\x73ap\x70\x6c\x6fg\x5fw\x69\x74h\x63c\x6f\x64e\x20\x21=\x20\x27'\x20\x20 \n  \x20\x20   \x20\x20     \x20 ".${$lxrzrqqo}."\n\x20 \x20 \x20\x20 \x20\x20\x20 \x20  \x20 ".${${"GL\x4fB\x41LS"}["\x67\x73\x69\x64\x71u\x6b\x73\x6a\x62"]}."\n \x20   \x20     \x20\x20 \x20\x20".${$pauluvrcgnaj}."\n\x20 \x20 \x20 \x20\x20     \x20 \x20".${${"GLOB\x41\x4cS"}["\x76\x62\x72\x72\x6acp\x6f\x78"]}."\n \x20 \x20\x20  \x20\x20 \x20 \x20\x20\x20 A\x4e\x44 vc.whatsa\x70\x70log\x5f\x77i\x74h\x63co\x64e != \x27G\x72\x6fu\x70s' \n      \x20\x20\x20   \x20\x20\x20 A\x4eD cr.del\x65\x74e\x64\x20\x3d 0 \n  \x20\x20\x20\x20\x20\x20 \x20  \x20\x20\x20 O\x52\x44ER\x20\x42Y vc\x2ewha\x74\x73a\x70pl\x6fg\x5f\x64\x61te\x74\x69\x6d\x65\x20D\x45\x53C\x20\x4c\x49\x4dIT \x30,".${${"\x47L\x4f\x42A\x4c\x53"}["tty\x78\x61n\x73\x64"]});}${${"\x47L\x4f\x42\x41\x4cS"}["\x71\x68\x6er\x65j"]}=$adb->num_rows(${$fxazhppv});${${"\x47\x4c\x4f\x42AL\x53"}["\x77\x7aq\x62\x73\x63\x76jj"]}=array();for(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76a\x72bu\x66d"]}=0;${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x61rb\x75\x66\x64"]}<${${"\x47LO\x42\x41\x4cS"}["\x62\x62\x79\x64\x6bvg"]};${${"\x47LO\x42\x41\x4c\x53"}["\x76\x61\x72b\x75f\x64"]}++){$rjtmpbgzqy="\x72\x65\x63\x6fr\x64\x49\x64";${"\x47LO\x42\x41L\x53"}["i\x65k\x77\x76\x7ax\x75\x75"]="r\x65\x63or\x64\x49\x64";${${"\x47L\x4fB\x41\x4c\x53"}["\x6a\x66\x6f\x75\x6d\x77msddw\x7a"]}="";${$rjtmpbgzqy}=$adb->query_result(${${"\x47\x4cO\x42AL\x53"}["ov\x74\x74\x79\x79\x6f"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x61\x72b\x75\x66d"]},"what\x73applog\x5fco\x6e\x74act\x69\x64");if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69e\x6b\x77\x76\x7a\x78\x75\x75"]}==""){${"\x47LOBA\x4cS"}["\x66\x64fd\x71dpw"]="\x6c\x61\x62\x65\x6c";$optkkfpm="prof\x69l\x65I\x6d\x61g\x65";$pyovjepdqtto="i";${"G\x4c\x4f\x42A\x4cS"}["\x6e\x6b\x69\x62\x78\x63\x71\x6c"]="\x72\x65co\x72\x64\x49\x64";${"\x47LO\x42A\x4c\x53"}["\x70\x72\x70\x78\x67\x74\x6c\x6e"]="re\x63\x6f\x72\x64I\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x6f\x66\x6ai\x63\x65m\x79\x66"]="\x6ca\x62\x65\x6c";${"G\x4c\x4f\x42\x41\x4c\x53"}["tyo\x6e\x77\x71\x70\x69v"]="\x69";$yxeahbdhyl="i";${${"G\x4c\x4f\x42A\x4c\x53"}["xkl\x61\x6c\x79\x79"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41\x4cS"}["\x6f\x76\x74\x74\x79y\x6f"]},${$yxeahbdhyl},"\x77ha\x74sa\x70plog\x5fw\x69\x74h\x63co\x64e");${"\x47L\x4f\x42A\x4cS"}["\x6b\x77\x76\x68\x6eug\x74w\x75\x6e"]="\x6c\x61\x73\x74\x44\x61t\x65T\x69me";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x7a\x76\x6a\x65\x6f\x79\x70ps\x71\x64"]="\x61\x76\x67\x4de\x73\x73a\x67eD\x61\x79";$hzduhcikl="\x71\x75\x65\x72y";$pxzffnpvtw="u\x6e\x72ea\x64\x4d\x65ssag\x65C\x6f\x75n\x74";$ozldpeq="la\x73tB\x6f\x64y";$ckldltddbon="\x71u\x65r\x79";${$ozldpeq}=$adb->query_result(${$hzduhcikl},${$pyovjepdqtto},"\x6de\x73s\x61\x67el\x6fg_bod\x79");${${"G\x4c\x4fBA\x4cS"}["\x6b\x77vh\x6e\x75\x67t\x77u\x6e"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${$ckldltddbon},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x79o\x6ew\x71piv"]},"wh\x61\x74s\x61\x70\x70\x6cog\x5f\x64\x61t\x65time"));${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x72p\x78g\x74\x6c\x6e"]}=${${"\x47\x4c\x4f\x42\x41LS"}["\x78\x6b\x6c\x61\x6cyy"]};${$optkkfpm}="\x6cay\x6f\x75t\x73/v7/mo\x64ules/\x43\x54\x57ha\x74s\x41\x70p/\x69m\x61\x67e/\x41\x76\x74\x61\x72\x49co\x6e.\x70ng";${"\x47\x4cO\x42\x41L\x53"}["\x62\x6a\x6c\x64\x73\x76c\x75"]="me\x73\x73ag\x65\x44a\x74\x61";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x64\x62\x74u\x76\x6b\x64\x6c\x6b"]}=1;${${"\x47\x4c\x4fB\x41LS"}["\x62\x72\x7a\x73\x72\x6dt\x63z\x76"]}=CTWhatsApp_Record_Model::getWhatsappUnReadNewMessageCounts(${${"G\x4c\x4f\x42\x41\x4c\x53"}["xk\x6c\x61l\x79\x79"]});${${"GL\x4f\x42AL\x53"}["\x6afo\x75\x6dwm\x73\x64dw\x7a"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x72\x7as\x72\x6d\x74\x63\x7a\x76"]}["unre\x61\x64Co\x75nt"];${${"\x47\x4cOBAL\x53"}["z\x76\x6ae\x6f\x79\x70\x70\x73qd"]}=${${"\x47\x4c\x4fB\x41L\x53"}["\x62j\x6c\x64sv\x63u"]}["\x61v\x67\x4d\x65\x73s\x61\x67\x65\x44ay"];${${"\x47\x4c\x4fB\x41LS"}["\x77z\x71\x62sc\x76\x6aj"]}[${${"G\x4c\x4f\x42A\x4c\x53"}["\x66d\x66d\x71dpw"]}]=array("re\x63\x6f\x72\x64\x49d"=>${${"\x47LO\x42A\x4c\x53"}["\x6e\x6bi\x62x\x63q\x6c"]},"\x6ca\x62e\x6c"=>${${"G\x4c\x4fB\x41\x4c\x53"}["\x66o\x66\x6a\x69\x63\x65my\x66"]},"\x70ro\x66\x69le\x49\x6dage"=>${${"\x47\x4c\x4fBALS"}["s\x79k\x61\x6f\x77\x79\x68"]},"i\x6d\x61g\x65\x74ag"=>${${"\x47\x4cOB\x41\x4cS"}["\x69\x64\x62\x74\x75v\x6b\x64\x6ck"]},"u\x6erea\x64\x4des\x73\x61\x67\x65Co\x75\x6e\x74"=>${$pxzffnpvtw},"a\x76g\x4d\x65\x73\x73\x61geD\x61y"=>${${"\x47L\x4fB\x41\x4c\x53"}["h\x6b\x72iod"]},"las\x74\x42ody"=>${${"G\x4cOBA\x4cS"}["\x69\x72xb\x7a\x72g\x6fw\x6ba"]},"la\x73\x74Dat\x65\x54\x69\x6d\x65"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63cea\x75\x78\x69k"]});}else{$nwdrzvpauxf="\x61\x63\x74i\x6f\x6e\x4e\x61me";$ddrisuu="\x73e\x74yp\x65";$rwachi="r\x65\x63\x6f\x72\x64\x49\x64";${$ddrisuu}=VtigerCRMObject::getSEType(${${"\x47\x4c\x4f\x42ALS"}["\x71\x77\x6fktw\x77\x63\x62\x74"]});${$nwdrzvpauxf}="\x44\x65\x74a\x69lVi\x65w";if(!Users_Privileges_Model::isPermitted(${${"\x47LO\x42ALS"}["k\x70a\x69\x66\x7at\x6fj\x6e\x63"]},${${"\x47\x4cOB\x41\x4c\x53"}["\x65m\x77\x6b\x71\x79\x68a\x79\x73"]},${$rwachi})){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x73v\x6b\x76g\x72\x63\x6c\x79b"]}="0";}else{${${"\x47\x4c\x4fB\x41\x4cS"}["o\x73\x76\x6b\x76\x67rcl\x79b"]}="\x31";}if(${${"G\x4cOB\x41LS"}["\x6f\x73v\x6b\x76\x67r\x63\x6cyb"]}==1){$yhigxsrdj="\x6d\x6fd\x75\x6c\x65\x49s\x45\x6ea\x62\x6c\x65";${"G\x4cO\x42\x41LS"}["w\x65u\x63\x76ju\x79"]="m\x6fd\x75le\x49\x73E\x6e\x61\x62\x6c\x65";${"\x47LOB\x41\x4cS"}["s\x71k\x6dm\x78w\x76\x6cs"]="\x73\x65\x74\x79p\x65";${$yhigxsrdj}=CTWhatsApp_Record_Model::getmoduleIsEnable(${${"\x47L\x4fB\x41L\x53"}["\x73\x71\x6b\x6d\x6d\x78\x77v\x6c\x73"]});if(${${"G\x4c\x4f\x42\x41L\x53"}["weuc\x76j\x75\x79"]}==0){${${"\x47L\x4f\x42\x41\x4cS"}["\x6av\x6c\x78p\x71y\x78\x74b"]}=CTWhatsApp_Record_Model::recordDelete(${${"\x47\x4c\x4f\x42A\x4cS"}["qw\x6f\x6bt\x77\x77\x63bt"]});${"G\x4c\x4f\x42A\x4c\x53"}["u\x61mm\x62\x62\x67\x64f"]="\x64\x65\x6c\x65t\x65\x52ec\x6f\x72\x64";if(${${"\x47\x4cOB\x41\x4cS"}["\x75\x61\x6d\x6d\x62\x62\x67d\x66"]}==0){${"\x47\x4cO\x42\x41\x4cS"}["\x71tkexom\x78\x63"]="\x72e\x63\x6f\x72d\x49\x64";${"G\x4cO\x42\x41\x4cS"}["\x6btpfty\x75\x6a\x6c"]="\x71\x75\x65\x72y";${"\x47L\x4f\x42A\x4c\x53"}["\x70\x75g\x66\x65tm"]="\x75\x6er\x65\x61\x64\x4dess\x61\x67\x65\x43\x6f\x75\x6et";${"\x47\x4c\x4f\x42A\x4cS"}["h\x6d\x71\x67\x75\x66\x79\x66xr\x69"]="\x72e\x63or\x64I\x64";if(${${"\x47\x4cO\x42\x41L\x53"}["\x71\x74\x6b\x65\x78o\x6d\x78\x63"]}){${"\x47\x4c\x4f\x42\x41L\x53"}["\x73pc\x72\x61ri"]="\x72\x65\x63o\x72\x64\x49\x64";${${"\x47L\x4f\x42A\x4c\x53"}["t\x6a\x6a\x78l\x61"]}=Vtiger_Record_Model::getInstanceById(${${"G\x4cOB\x41\x4c\x53"}["\x73\x70cr\x61ri"]},${${"\x47\x4c\x4fBA\x4cS"}["\x6b\x70\x61\x69\x66\x7a\x74o\x6an\x63"]});${${"\x47L\x4f\x42\x41\x4c\x53"}["x\x6b\x6c\x61l\x79\x79"]}=$recordModel->get("\x6cabe\x6c");}$ylxrkx="\x6d\x65\x73\x73\x61\x67\x65\x44\x61ta";$nowspyw="\x6c\x61\x62\x65\x6c";${"G\x4cO\x42\x41\x4cS"}["\x77\x6f\x63\x74\x6c\x61\x68x\x6ai\x61"]="\x75\x6e\x72eadM\x65ss\x61g\x65\x43\x6f\x75\x6e\x74";${"GL\x4f\x42\x41L\x53"}["bv\x75lf\x6c"]="\x73\x65\x74y\x70e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x6egb\x63c\x65h\x66"]="\x6c\x61\x73\x74\x42\x6f\x64\x79";${${"G\x4cO\x42\x41\x4c\x53"}["sy\x6b\x61\x6f\x77yh"]}=CTWhatsApp_Record_Model::getImageDetails(${${"\x47\x4c\x4f\x42A\x4cS"}["q\x77o\x6b\x74w\x77\x63\x62\x74"]},${${"\x47\x4cO\x42\x41LS"}["\x62\x76\x75l\x66l"]});$grnfll="l\x61\x62\x65\x6c";${"G\x4c\x4f\x42A\x4c\x53"}["q\x62\x79\x67\x70\x79\x64\x66\x63\x6a\x66"]="i";${${"G\x4cO\x42A\x4c\x53"}["\x69\x64\x62t\x75\x76\x6b\x64l\x6b"]}=1;${"\x47\x4c\x4fB\x41L\x53"}["\x63\x65wnd\x64\x6e\x71"]="a\x76g\x4d\x65\x73sag\x65\x44\x61\x79";if(${${"\x47\x4c\x4f\x42AL\x53"}["s\x79k\x61\x6fw\x79\x68"]}==""){$mvetjsevwhvc="\x70\x72\x6f\x66\x69\x6c\x65\x49\x6d\x61\x67\x65";${"G\x4c\x4f\x42\x41\x4cS"}["\x78ux\x6fq\x6dl\x65\x68w"]="\x6ca\x62\x65l";${"G\x4c\x4f\x42A\x4c\x53"}["\x62m\x71j\x6a\x73rgev"]="l\x61\x62\x65\x6cE\x78p\x6c\x6fde";${"GL\x4fBA\x4cS"}["\x73n\x64\x74v\x67o"]="\x69\x6d\x61g\x65\x74\x61g";${${"\x47\x4c\x4f\x42\x41\x4cS"}["b\x6dq\x6a\x6a\x73\x72\x67\x65\x76"]}=explode("\x20",${${"G\x4c\x4f\x42A\x4c\x53"}["x\x75x\x6f\x71\x6d\x6c\x65\x68w"]});${$mvetjsevwhvc}=mb_substr(${${"\x47L\x4f\x42\x41L\x53"}["\x69\x65\x71\x66\x6ew\x69\x67"]}[0],0,1,"UTF-8").mb_substr(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69e\x71f\x6e\x77\x69\x67"]}[1],0,1,"\x55\x54\x46-8");${${"\x47\x4cO\x42A\x4c\x53"}["\x73\x6e\x64\x74\x76g\x6f"]}=0;}${$ylxrkx}=CTWhatsApp_Record_Model::getWhatsappUnReadMessageCounts(${${"\x47\x4c\x4fBA\x4cS"}["h\x6dqgu\x66\x79\x66\x78\x72\x69"]});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x75\x67\x66et\x6d"]}=${${"GL\x4f\x42\x41\x4c\x53"}["b\x72\x7a\x73\x72\x6d\x74\x63z\x76"]}["\x75n\x72\x65\x61\x64\x43ou\x6et"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63e\x77\x6edd\x6e\x71"]}=${${"\x47LO\x42ALS"}["\x62\x72\x7a\x73\x72\x6d\x74\x63\x7a\x76"]}["av\x67\x4d\x65\x73\x73\x61\x67\x65\x44\x61\x79"];${${"\x47L\x4fBA\x4cS"}["\x69\x72\x78\x62z\x72g\x6fw\x6b\x61"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x76\x74\x74\x79y\x6f"]},${${"\x47LO\x42A\x4c\x53"}["v\x61\x72\x62uf\x64"]},"m\x65\x73s\x61\x67e\x6co\x67_\x62\x6f\x64y");${${"GL\x4fBA\x4c\x53"}["\x63\x63\x65\x61\x75\x78\x69\x6b"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"GLO\x42\x41\x4c\x53"}["\x6b\x74\x70\x66t\x79\x75\x6a\x6c"]},${${"\x47\x4cOB\x41\x4c\x53"}["\x71\x62y\x67pydfcj\x66"]},"\x77\x68\x61\x74\x73app\x6c\x6f\x67_\x64a\x74eti\x6de"));${${"\x47L\x4f\x42A\x4c\x53"}["\x77\x7a\x71b\x73\x63\x76jj"]}[${$grnfll}]=array("\x72eco\x72\x64I\x64"=>${${"G\x4cO\x42ALS"}["\x71w\x6f\x6bt\x77\x77\x63\x62\x74"]},"\x6c\x61\x62e\x6c"=>${$nowspyw},"pr\x6ffile\x49\x6da\x67\x65"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x79\x6b\x61\x6fwy\x68"]},"im\x61\x67e\x74ag"=>${${"G\x4c\x4f\x42AL\x53"}["\x69\x64\x62t\x75\x76\x6b\x64\x6c\x6b"]},"u\x6e\x72ea\x64Mess\x61g\x65\x43\x6fun\x74"=>${${"G\x4cO\x42\x41\x4cS"}["\x77\x6fct\x6c\x61\x68x\x6aia"]},"a\x76gM\x65\x73sa\x67eDa\x79"=>${${"\x47\x4c\x4f\x42AL\x53"}["hk\x72i\x6fd"]},"\x6cas\x74\x42\x6f\x64\x79"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x6eg\x62\x63\x63\x65hf"]},"\x6c\x61\x73t\x44\x61te\x54\x69\x6de"=>${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x63e\x61\x75\x78\x69\x6b"]});}}}}}return${${"G\x4cO\x42\x41\x4c\x53"}["wz\x71\x62sc\x76\x6aj"]};}public function getWhatsappUnReadNewMessageCounts($phonenumber){global$adb;$laudce="\x72\x65\x73u\x6c\x74";${${"\x47L\x4f\x42A\x4c\x53"}["\x6f\x79u\x70ril\x73"]}=CTWhatsApp_Record_Model::unreadQuery();${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77c\x62\x72\x62\x6f\x68j\x78"]="\x72\x6f\x77\x73";$nsuloomefz="a\x6c\x6c\x4d\x65\x73\x73\x61\x67\x65\x51\x75\x65\x72\x79";$rpvhbmjcqk="t\x6fta\x6c\x44\x61y\x73";${${"G\x4cO\x42A\x4cS"}["\x6f\x76\x74\x74\x79yo"]}=$adb->pquery(${${"GLO\x42\x41\x4cS"}["o\x79\x75\x70\x72\x69\x6cs"]}." A\x4eD vtig\x65r_ctwha\x74\x73ap\x70\x2ewhat\x73\x61\x70p_\x75nreadre\x61\x64 \x3d 'Unre\x61d\x27 AN\x44 \x76\x74\x69ge\x72\x5fc\x74\x77h\x61ts\x61p\x70.wh\x61t\x73\x61pp\x5f\x77\x69t\x68ccode\x20\x3d\x20? \x41\x4e\x44 \x76\x74ig\x65r\x5fc\x74\x77\x68\x61t\x73a\x70p\x2em\x65s\x73\x61\x67\x65\x5ftyp\x65\x20=\x20'Reci\x65\x76e\x64\x27",array(${${"G\x4c\x4fBA\x4c\x53"}["\x6ev\x71\x65\x61\x6c\x73\x68\x6f\x6b\x76\x6b"]}));${${"\x47L\x4f\x42A\x4c\x53"}["\x79\x6db\x78\x71\x70d"]}=$adb->num_rows(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6f\x76tt\x79\x79\x6f"]});${${"\x47\x4c\x4fBA\x4cS"}["\x6a\x70\x6b\x78i\x6dzmw"]}=$adb->pquery(${${"\x47\x4c\x4fB\x41\x4cS"}["\x6fyu\x70\x72ils"]}."\x20AND v\x74\x69\x67er\x5f\x63\x74wh\x61\x74\x73\x61\x70\x70\x2e\x77hat\x73a\x70\x70_w\x69t\x68cc\x6fd\x65 = ?",array(${${"\x47LO\x42\x41\x4c\x53"}["\x6ev\x71\x65\x61\x6c\x73\x68o\x6bv\x6b"]}));${${"\x47\x4cO\x42\x41\x4cS"}["w\x63\x62r\x62\x6fhj\x78"]}=$adb->num_rows(${$nsuloomefz});${${"GL\x4f\x42\x41\x4c\x53"}["ru\x78\x63\x78x\x69\x62"]}=30;${${"G\x4cO\x42\x41L\x53"}["h\x6br\x69\x6fd"]}=${${"\x47L\x4f\x42A\x4cS"}["\x78\x64\x6c\x7a\x6c\x68d\x71ocwp"]}/${$rpvhbmjcqk};${"\x47L\x4f\x42ALS"}["\x74m\x72oe\x61"]="\x75\x6ere\x61\x64\x43\x6fu\x6e\x74";${$laudce}=array("\x75\x6e\x72\x65adC\x6f\x75\x6e\x74"=>${${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x6d\x72\x6f\x65a"]},"\x61\x76gMes\x73\x61\x67eD\x61\x79"=>number_format(${${"\x47LOB\x41\x4c\x53"}["\x68\x6b\x72\x69\x6f\x64"]},2));return${${"\x47\x4c\x4f\x42\x41\x4cS"}["ysi\x77\x6a\x75\x72u\x7ad"]};}public function getLastWhatsappNewMessageData($phonenumber){${"G\x4cO\x42\x41L\x53"}["g\x66w\x6fv\x62\x6e\x76\x69\x6d"]="\x64\x61\x74\x65\x54\x69\x6d\x65";global$adb,$current_user;${"\x47\x4c\x4f\x42AL\x53"}["\x73t\x72\x70b\x66\x74\x67q\x72\x6a"]="curr\x65\x6e\x74\x55s\x65\x72I\x44";${${"\x47L\x4fBA\x4c\x53"}["s\x74\x72\x70bf\x74\x67\x71\x72j"]}=$current_user->id;${${"\x47LO\x42\x41\x4c\x53"}["\x70\x72a\x67m\x6a\x66e\x6f"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GLO\x42\x41\x4c\x53"}["\x78\x6b\x66e\x67cbv\x61\x79\x77"]});$rxvovrkj="\x69\x6e\x4e\x75m\x62\x65\x72\x51\x75e\x72\x79";$bdnxpzea="\x77h\x61\x74s\x61\x70p\x44ata";${${"\x47L\x4f\x42AL\x53"}["\x6f\x79\x75\x70\x72i\x6c\x73"]}=CTWhatsApp_Record_Model::unreadQuery();${"\x47LOBA\x4c\x53"}["g\x72\x71\x66y\x65\x7ak\x70g"]="\x75\x6er\x65\x61\x64\x51\x75\x65r\x79";${${"\x47L\x4fB\x41\x4c\x53"}["\x6fv\x74t\x79\x79\x6f"]}=$adb->pquery(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67rq\x66yez\x6b\x70\x67"]}."\x20\x41N\x44 \x76\x74ig\x65\x72\x5fctwha\x74\x73ap\x70.\x77\x68\x61\x74\x73app_\x77i\x74h\x63\x63o\x64e\x20\x3d ? ".${$rxvovrkj}." \x4f\x52\x44\x45R \x42Y v\x74ig\x65\x72\x5fct\x77h\x61tsa\x70\x70.\x77\x68\x61\x74sapp\x5fd\x61\x74e\x74\x69m\x65\x20\x44ESC \x4c\x49MI\x54 0,1",array(${${"\x47L\x4f\x42ALS"}["nv\x71e\x61\x6cs\x68\x6f\x6b\x76k"]}));${"\x47\x4c\x4fBA\x4cS"}["\x73\x6e\x69d\x6d\x73\x76\x6a\x62"]="\x71uery";${${"\x47\x4c\x4fB\x41L\x53"}["\x6en\x69\x65p\x65\x62k\x73t"]}=$adb->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x73\x6e\x69\x64\x6ds\x76\x6a\x62"]},0,"me\x73\x73ag\x65\x5f\x62od\x79");if($adb->query_result(${${"\x47L\x4f\x42\x41LS"}["\x6f\x76t\x74y\x79\x6f"]},0,"\x77h\x61ts\x61p\x70_d\x61te\x74ime")){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x72\x6ce\x68b\x6b\x63th\x62s"]="\x71\x75\x65ry";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x79\x71c\x68\x6f\x70\x64\x63\x79\x6b"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"\x47LO\x42\x41\x4c\x53"}["tr\x6c\x65\x68\x62k\x63\x74\x68\x62\x73"]},0,"\x77\x68a\x74sapp\x5fd\x61\x74\x65\x74i\x6de"));}else{${"\x47\x4cO\x42\x41L\x53"}["\x78\x75\x68\x74j\x75kjt\x69\x6f"]="\x64\x61t\x65\x54i\x6d\x65";${${"\x47\x4cO\x42A\x4c\x53"}["\x78\x75\x68t\x6a\x75\x6bj\x74\x69\x6f"]}=="";}${$bdnxpzea}=array("b\x6fdy"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x6e\x69\x65p\x65b\x6bs\x74"]},"\x64a\x74\x65\x54i\x6d\x65"=>${${"\x47\x4cO\x42A\x4c\x53"}["\x67\x66\x77\x6f\x76\x62\x6e\x76i\x6d"]});return${${"\x47LO\x42ALS"}["\x68i\x78z\x65\x6fc\x6c"]};}public function getImageDetails($recordId,$setype){${"\x47LO\x42AL\x53"}["q\x69\x71\x6d\x67\x63"]="\x72\x65c\x6f\x72dI\x64";$tlsgshrgjhec="\x64\x62";global$root_directory;${$tlsgshrgjhec}=PearDatabase::getInstance();${${"\x47L\x4fB\x41\x4c\x53"}["l\x65s\x6ceh\x66\x66\x6ff"]}=array();if(${${"G\x4cO\x42\x41\x4cS"}["\x71iqm\x67\x63"]}){${"GL\x4fB\x41\x4c\x53"}["\x77\x64wr\x6esg"]="r\x65\x63o\x72d\x49\x64";${${"G\x4c\x4f\x42AL\x53"}["\x6a\x78i\x6fr\x73a\x62e\x69\x6e"]}="\x53EL\x45\x43\x54\x20v\x74\x69\x67\x65\x72\x5fatt\x61ch\x6den\x74\x73\x2e*, vtig\x65\x72_crm\x65n\x74\x69t\x79.s\x65t\x79\x70\x65 \x46\x52\x4f\x4d vti\x67e\x72_a\x74\x74\x61c\x68\x6den\x74\x73\n  \x20\x20\x20   \x20\x20\x20\x20\x20 \x20 \x49N\x4e\x45R\x20J\x4f\x49N\x20v\x74ig\x65\x72\x5f\x73\x65\x61\x74tac\x68\x6de\x6e\x74s\x72e\x6c\x20\x4fN\x20\x76t\x69\x67\x65\x72\x5fsea\x74t\x61\x63\x68ments\x72\x65l.atta\x63\x68\x6den\x74\x73i\x64\x20=\x20v\x74i\x67\x65\x72_\x61tt\x61c\x68\x6dent\x73.a\x74t\x61c\x68\x6den\x74\x73\x69\x64\n \x20  \x20\x20  \x20 \x20  \x20 \x20\x49N\x4eE\x52\x20\x4aO\x49\x4e\x20vt\x69ge\x72\x5f\x63rm\x65nt\x69\x74\x79 \x4f\x4e\x20\x76\x74ige\x72\x5f\x63rme\x6e\x74\x69ty\x2ecr\x6d\x69\x64\x20=\x20\x76t\x69\x67e\x72_\x61tta\x63\x68\x6den\x74\x73.at\x74ac\x68\x6de\x6ets\x69d\n  \x20\x20 \x20  \x20     \x20\x20\x57\x48E\x52\x45\x20vti\x67e\x72\x5fse\x61tta\x63hm\x65n\x74\x73r\x65l\x2e\x63r\x6d\x69d\x20=\x20?";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x6e\x69\x72t\x7a\x75\x6c\x65"]="im\x61ge\x4ea\x6d\x65";$afxyedx="\x72e\x73ult";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x69jiaj\x79z"]="\x69\x6d\x61\x67e\x49\x64";${"G\x4cOB\x41\x4cS"}["x\x6b\x6ai\x6e\x64\x69\x74u\x6c"]="\x69m\x61\x67\x65\x50a\x74h";$vrtllqogo="\x73\x71\x6c";${${"G\x4cO\x42ALS"}["\x79\x73\x69\x77\x6au\x72\x75\x7a\x64"]}=$db->pquery(${$vrtllqogo},array(${${"\x47L\x4fBA\x4c\x53"}["\x77\x64\x77\x72\x6e\x73g"]}));${${"\x47LO\x42\x41\x4cS"}["\x6ei\x6a\x69a\x6a\x79\x7a"]}=$db->query_result(${$afxyedx},0,"\x61\x74ta\x63hme\x6et\x73i\x64");$rqwennhkr="\x72\x65\x73\x75\x6c\x74";${${"G\x4cO\x42\x41\x4cS"}["\x78\x6b\x6a\x69\x6e\x64i\x74u\x6c"]}=$db->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x79\x73\x69\x77\x6a\x75r\x75\x7a\x64"]},0,"\x70\x61th");${${"\x47L\x4f\x42\x41L\x53"}["\x72n\x69\x72\x74\x7a\x75\x6c\x65"]}=$db->query_result(${$rqwennhkr},0,"n\x61me");${"\x47LO\x42\x41L\x53"}["\x75ha\x69sld\x63\x64"]="ima\x67eNam\x65";${${"\x47\x4cOB\x41\x4c\x53"}["r\x76\x78\x74\x63\x70\x66\x72\x6b\x78\x78\x63"]}=urlencode(decode_html(${${"\x47\x4cO\x42A\x4c\x53"}["\x75h\x61\x69s\x6cd\x63\x64"]}));if(!empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75o\x75wue\x6f\x6e"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x68\x6ep\x66oeo"]="i\x6d\x61\x67\x65\x50\x61th";${"\x47L\x4f\x42\x41LS"}["\x6c\x70\x66uk\x69m\x63t\x71"]="\x69\x6dag\x65\x49d";${"\x47\x4cO\x42\x41\x4cS"}["\x69\x76\x6euou"]="\x69\x6d\x61\x67eO\x72\x69\x67\x69n\x61lN\x61\x6de";${"\x47LO\x42\x41\x4cS"}["g\x62\x75\x6e\x67\x67d\x6e"]="\x69\x6d\x61\x67\x65\x50\x61t\x68";$fqykjojmy="i\x6da\x67\x65\x4e\x61\x6d\x65";$pekhddg="\x69\x6da\x67\x65\x49\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64s\x71\x69g\x71z\x76"]="\x69\x6d\x61geP\x61\x74h";$wngiquhdrzht="i\x6da\x67\x65\x4ea\x6de";${${"G\x4c\x4f\x42\x41L\x53"}["l\x65s\x6c\x65h\x66fof"]}[]=array("\x69d"=>${$pekhddg},"o\x72\x67\x6e\x61me"=>${${"\x47\x4c\x4fB\x41L\x53"}["\x69v\x6e\x75\x6f\x75"]},"p\x61t\x68"=>${${"G\x4cO\x42\x41LS"}["\x64sqig\x71\x7a\x76"]}.${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x6d\x79\x69\x6b\x63j\x62"]},"na\x6de"=>${$wngiquhdrzht});${${"GL\x4fB\x41\x4c\x53"}["\x67\x62\x75n\x67\x67d\x6e"]}=${${"G\x4cOB\x41\x4cS"}["\x6f\x68\x6e\x70\x66\x6fe\x6f"]}.${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cpf\x75k\x69m\x63tq"]}."\x5f".${$fqykjojmy};}}return${${"GL\x4fB\x41\x4c\x53"}["fn\x66\x73jp\x75\x68"]};}public function getWhatsappUnReadMessageCounts($recordId){${"\x47LO\x42\x41L\x53"}["rw\x75\x65\x6ce\x65\x6cw\x62"]="q\x75\x65r\x79";$upfplcsetoq="\x72e\x63o\x72dId";$ctdkyj="\x75nr\x65\x61d\x51\x75\x65r\x79";${"G\x4cOB\x41\x4cS"}["sq\x78k\x6a\x67i\x75ui\x71n"]="\x75\x6e\x72\x65\x61\x64\x51\x75e\x72\x79";global$adb;$rdmmpbx="r\x6f\x77\x73";${${"G\x4c\x4f\x42AL\x53"}["\x73\x71\x78\x6b\x6a\x67\x69\x75\x75\x69\x71\x6e"]}=CTWhatsApp_Record_Model::unreadQuery();$qwwwrbjgvfnx="a\x6c\x6c\x4d\x65\x73\x73age\x51u\x65r\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rw\x75\x65\x6c\x65\x65\x6c\x77\x62"]}=$adb->pquery(${$ctdkyj}." \x41N\x44 \x76t\x69ge\x72_\x63t\x77h\x61t\x73ap\x70\x2ew\x68\x61\x74\x73ap\x70_unre\x61d\x72\x65\x61\x64 = \x27\x55n\x72ead\x27\x20AN\x44\x20v\x74i\x67\x65\x72_\x63twh\x61ts\x61p\x70.what\x73\x61pp\x5f\x63o\x6etact\x69\x64 =\x20?\x20\x41ND\x20vtig\x65r\x5fc\x74\x77\x68atsap\x70\x2e\x6d\x65s\x73\x61g\x65\x5f\x74yp\x65\x20= \x27Re\x63\x69ev\x65\x64'",array(${$upfplcsetoq}));$efwjii="a\x76\x67\x4d\x65\x73s\x61\x67\x65\x44\x61\x79";${${"G\x4c\x4fBA\x4c\x53"}["\x79m\x62\x78\x71pd"]}=$adb->num_rows(${${"G\x4cO\x42ALS"}["\x6f\x76\x74\x74\x79\x79\x6f"]});${"\x47L\x4f\x42A\x4c\x53"}["\x6fngb\x68\x62oue"]="\x74\x6f\x74a\x6c\x44\x61\x79\x73";${$qwwwrbjgvfnx}=$adb->pquery(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x79u\x70r\x69ls"]}." AND \x76tige\x72_\x63t\x77h\x61\x74s\x61p\x70\x2ew\x68at\x73a\x70\x70\x5fc\x6f\x6etac\x74id\x20=\x20?",array(${${"\x47LO\x42A\x4c\x53"}["qw\x6f\x6bt\x77\x77\x63\x62\x74"]}));${${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x64\x6c\x7a\x6c\x68\x64\x71\x6fcw\x70"]}=$adb->num_rows(${${"G\x4c\x4f\x42\x41LS"}["j\x70\x6b\x78im\x7a\x6dw"]});${"\x47L\x4f\x42AL\x53"}["\x74qm\x74\x76\x75\x78"]="res\x75l\x74";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x6eg\x62h\x62\x6f\x75\x65"]}=30;${$efwjii}=${$rdmmpbx}/${${"G\x4cO\x42AL\x53"}["\x72u\x78\x63\x78x\x69b"]};${${"\x47\x4cO\x42\x41LS"}["\x74\x71\x6dt\x76\x75x"]}=array("u\x6e\x72ea\x64\x43o\x75nt"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["ymb\x78q\x70\x64"]},"\x61\x76gM\x65\x73s\x61\x67\x65\x44\x61\x79"=>number_format(${${"G\x4cO\x42\x41L\x53"}["h\x6br\x69o\x64"]},2));return${${"G\x4cOB\x41\x4c\x53"}["\x79\x73i\x77ju\x72\x75\x7ad"]};}public function getLastWhatsappMessageData($recordId){$unhavm="\x63\x75\x72\x72\x65\x6etU\x73\x65\x72\x49D";global$adb,$current_user;${"GL\x4f\x42\x41LS"}["u\x6an\x76\x67\x79w\x6c\x75"]="\x64at\x65T\x69\x6d\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x68\x63g\x6d\x6a\x64t"]="\x69\x6e\x4eum\x62\x65\x72\x51\x75\x65r\x79";${$unhavm}=$current_user->id;${${"G\x4c\x4fB\x41\x4c\x53"}["o\x79u\x70\x72i\x6c\x73"]}=CTWhatsApp_Record_Model::unreadQuery();${${"\x47L\x4f\x42\x41\x4c\x53"}["p\x68\x63\x67mjdt"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"GL\x4f\x42AL\x53"}["xk\x66\x65\x67\x63bv\x61yw"]});$kpygtwlfhyjh="\x62o\x64y";${${"\x47\x4cOB\x41\x4cS"}["ovtty\x79\x6f"]}=$adb->pquery(${${"\x47L\x4fB\x41\x4cS"}["\x6fyu\x70\x72\x69\x6c\x73"]}."\x20\x41ND\x20\x76\x74i\x67e\x72\x5f\x63\x74\x77\x68\x61t\x73ap\x70\x2ewhat\x73app_\x63\x6f\x6e\x74\x61c\x74id\x20\x3d\x20? ".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x72a\x67m\x6af\x65\x6f"]}." O\x52\x44ER \x42Y\x20vt\x69\x67\x65r\x5fctw\x68\x61tsa\x70\x70\x2e\x77hats\x61pp\x5f\x64a\x74\x65\x74\x69me\x20D\x45\x53\x43 LIMI\x54\x20\x30,1",array(${${"G\x4c\x4fBA\x4c\x53"}["\x71wokt\x77\x77\x63bt"]}));${${"\x47L\x4fB\x41\x4cS"}["\x6e\x6ei\x65p\x65bk\x73t"]}=$adb->query_result(${${"G\x4cO\x42\x41\x4c\x53"}["o\x76\x74\x74\x79\x79\x6f"]},0,"m\x65\x73\x73\x61ge\x5f\x62o\x64\x79");${"G\x4c\x4f\x42\x41LS"}["a\x6c\x71j\x74\x67wrx\x69"]="\x77\x68\x61\x74s\x61\x70\x70\x44\x61\x74a";if($adb->query_result(${${"G\x4c\x4f\x42\x41L\x53"}["o\x76t\x74\x79\x79\x6f"]},0,"w\x68\x61\x74sa\x70p\x5f\x64\x61\x74eti\x6de")){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fg\x76\x76e\x62pd\x72"]="\x71\x75\x65\x72\x79";${${"\x47\x4cO\x42AL\x53"}["\x6d\x79q\x63hop\x64c\x79\x6b"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"\x47L\x4f\x42\x41\x4cS"}["o\x67\x76ve\x62p\x64\x72"]},0,"\x77\x68\x61t\x73\x61\x70\x70\x5f\x64ate\x74\x69m\x65"));}else{${${"\x47\x4cO\x42\x41LS"}["m\x79\x71\x63\x68o\x70\x64\x63\x79\x6b"]}=="";}${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x61\x6cqj\x74\x67wrxi"]}=array("b\x6f\x64y"=>${$kpygtwlfhyjh},"\x64a\x74\x65T\x69me"=>${${"\x47L\x4fBAL\x53"}["\x75\x6anv\x67y\x77l\x75"]});return${${"\x47\x4cO\x42\x41\x4cS"}["h\x69\x78z\x65\x6f\x63\x6c"]};}public function getUnknownMessagesData($start,$end,$searchValue){${"\x47L\x4f\x42\x41\x4c\x53"}["\x75y\x76g\x6b\x72y\x6c\x77"]="\x69\x6e\x4e\x75\x6d\x62e\x72\x51\x75\x65r\x79";global$adb,$current_user;$fnxyauqisw="s\x74\x61\x72\x74";$djdxsjzoire="c\x75\x73\x74\x6f\x6d\x51\x75\x65r\x79";${${"G\x4c\x4f\x42\x41L\x53"}["x\x6b\x66eg\x63b\x76\x61\x79\x77"]}=$current_user->id;${${"\x47LO\x42\x41L\x53"}["\x6f\x79\x75\x70\x72i\x6c\x73"]}=CTWhatsApp_Record_Model::unreadQuery();${"\x47\x4cO\x42A\x4cS"}["ow\x6f\x70\x70\x68si"]="\x71\x75\x65ry";${${"\x47\x4c\x4f\x42AL\x53"}["\x75\x79\x76\x67k\x72y\x6c\x77"]}=CTWhatsApp_Record_Model::getLogInNumberQuery(${${"\x47LO\x42ALS"}["\x78kf\x65\x67\x63\x62\x76\x61yw"]});$xaocuvuloqk="\x73ea\x72\x63h\x51ue\x72\x79";$rqchsfqjcm="\x73\x65\x61rc\x68\x56\x61\x6cue";if(${$rqchsfqjcm}){$xsunyfa="\x73\x65\x61\x72\x63h\x51\x75\x65\x72\x79";${$xsunyfa}="\x20AND\x20v\x74\x69\x67\x65\x72_wh\x61\x74sap\x70l\x6f\x67\x2e\x77\x68at\x73ap\x70l\x6f\x67_\x77\x69t\x68\x63\x63\x6f\x64e\x20LIK\x45 '%".${${"\x47LO\x42\x41\x4cS"}["\x73\x6df\x63\x77\x66"]}."\x25'";}${${"\x47\x4cO\x42\x41\x4cS"}["\x6fwo\x70p\x68\x73\x69"]}=$adb->pquery("\x53\x45L\x45\x43\x54\x20vt\x69\x67\x65r_w\x68\x61\x74\x73ap\x70log\x2ewha\x74\x73a\x70p\x6c\x6fg\x5fwi\x74\x68cco\x64e, \x76tig\x65r_\x77\x68ats\x61\x70plo\x67.\x6d\x65\x73\x73\x61\x67el\x6fg_b\x6f\x64\x79,\x20v\x74\x69ger\x5fw\x68\x61\x74\x73a\x70pl\x6fg\x2e\x77h\x61\x74\x73appl\x6f\x67\x5fd\x61teti\x6d\x65\x20\x46R\x4f\x4d\x20v\x74\x69\x67\x65\x72\x5fw\x68at\x73\x61\x70\x70l\x6fg \n   \x20\x20   \x20  \x20\x49NNER J\x4f\x49N\x20\x76\x74i\x67e\x72\x5fcrme\x6et\x69ty \x4f\x4e\x20\x76\x74i\x67er\x5fcrm\x65\x6et\x69\x74\x79\x2ec\x72mi\x64 =\x20\x76t\x69\x67\x65\x72\x5f\x77hats\x61pp\x6cog\x2e\x77\x68\x61t\x73\x61\x70p\x6co\x67\x69\x64 \n\x20\x20 \x20        W\x48ERE \x76t\x69ge\x72_crme\x6et\x69\x74y.del\x65t\x65d\x20= \x30\x20\x41\x4eD\x20(v\x74i\x67e\x72\x5fwhat\x73\x61p\x70\x6c\x6fg.\x77\x68at\x73app\x6co\x67\x5f\x77ithccode\x20!\x3d\x20'\x47r\x6f\x75\x70\x73'\x20\x41ND\x20\x76t\x69\x67e\x72_\x77\x68\x61\x74s\x61\x70pl\x6fg.\x77ha\x74s\x61\x70\x70\x6cog_\x77i\x74hcc\x6fde\x20\x21= '\x27)\x20\x41ND \x76ti\x67\x65r_\x77ha\x74\x73\x61p\x70\x6cog\x2e\x77h\x61t\x73\x61\x70\x70\x6co\x67\x5fc\x6f\x6e\x74ac\x74i\x64 = \x27\x27\x20".${${"\x47L\x4f\x42\x41LS"}["p\x72a\x67\x6d\x6af\x65\x6f"]}.${$djdxsjzoire}.${$xaocuvuloqk}."\x20\x47\x52OU\x50\x20B\x59\x20\x76\x74\x69ge\x72_w\x68ats\x61pp\x6cog.\x77\x68at\x73app\x6c\x6f\x67\x5f\x77\x69\x74hc\x63od\x65 OR\x44ER\x20\x42Y \x76\x74\x69g\x65\x72\x5f\x63r\x6denti\x74\x79\x2ec\x72e\x61tedt\x69me D\x45S\x43 LIMI\x54\x20\x30,\x20".${$fnxyauqisw},array());${${"\x47\x4c\x4f\x42\x41LS"}["\x78\x64\x6c\x7al\x68d\x71\x6f\x63w\x70"]}=$adb->num_rows(${${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x76t\x74\x79\x79\x6f"]});${${"\x47L\x4f\x42A\x4cS"}["wz\x71bscvj\x6a"]}=array();for(${${"G\x4c\x4fB\x41\x4cS"}["\x76ar\x62u\x66\x64"]}=0;${${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x61\x72\x62\x75f\x64"]}<${${"\x47\x4c\x4fB\x41LS"}["\x78dlz\x6c\x68d\x71\x6f\x63w\x70"]};${${"G\x4cO\x42\x41L\x53"}["v\x61r\x62\x75\x66d"]}++){${"\x47L\x4fB\x41L\x53"}["gobt\x76\x73\x77\x69\x7a"]="\x75nr\x65\x61d\x4dessa\x67\x65\x43\x6f\x75nt";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77n\x6dcl\x6b\x74\x77\x73\x74\x68"]="\x75\x6e\x72\x65\x61\x64\x4d\x65\x73\x73ag\x65\x43\x6f\x75\x6e\x74";${"G\x4c\x4fBA\x4c\x53"}["\x63\x78\x71b\x68\x6c\x78"]="\x71\x75\x65r\x79";$dqrnevd="\x6c\x61\x62\x65\x6c";${"\x47LO\x42\x41\x4cS"}["\x72\x62\x75t\x78\x6ax\x63\x62\x63"]="\x6ca\x62e\x6c";${"\x47\x4cO\x42A\x4c\x53"}["xm\x75\x70\x69\x6a\x62"]="\x6d\x65\x73\x73\x61\x67\x65\x44a\x74a";${"\x47LO\x42A\x4c\x53"}["\x69r\x77w\x72fn\x62c\x74\x63\x71"]="\x69\x6d\x61ge\x74\x61g";$edmymqzgnftx="\x70r\x6f\x66\x69\x6ce\x49ma\x67\x65";$smrcrjxfqx="\x70\x72\x6ff\x69le\x49\x6d\x61\x67\x65";${$dqrnevd}=$adb->query_result(${${"\x47L\x4f\x42\x41LS"}["\x63xqbh\x6c\x78"]},${${"G\x4c\x4fB\x41LS"}["v\x61rb\x75fd"]},"wh\x61\x74s\x61p\x70\x6cog_\x77ith\x63\x63\x6fde");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x77\x6f\x6b\x74\x77\x77\x63\x62\x74"]}=${${"G\x4c\x4f\x42ALS"}["xk\x6c\x61\x6cy\x79"]};${$smrcrjxfqx}="l\x61yo\x75ts/\x76\x37/\x6d\x6fdu\x6c\x65\x73/\x43TWh\x61ts\x41\x70\x70/\x69\x6d\x61ge/\x41\x76ta\x72Icon\x2e\x70n\x67";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x69\x67e\x79\x6dhi\x71"]="\x71\x75\x65\x72y";$luhrylehse="\x61\x76\x67\x4d\x65\x73\x73a\x67\x65\x44a\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x74\x6eq\x63\x6fqdu\x77"]="qu\x65r\x79";${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x72w\x77\x72fn\x62\x63t\x63\x71"]}=1;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x6d\x75\x70\x69\x6a\x62"]}=CTWhatsApp_Record_Model::getWhatsappUnReadNewMessageCounts(${${"G\x4c\x4fBA\x4cS"}["\x78\x6b\x6c\x61\x6c\x79y"]});${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67ob\x74\x76\x73\x77\x69\x7a"]}=${${"GL\x4f\x42A\x4c\x53"}["b\x72\x7a\x73rm\x74\x63z\x76"]}["un\x72e\x61\x64C\x6funt"];${$luhrylehse}=${${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x72\x7a\x73r\x6d\x74c\x7av"]}["a\x76\x67Me\x73s\x61\x67\x65Day"];${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x72\x78\x62\x7a\x72\x67\x6f\x77\x6b\x61"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41LS"}["\x69\x74\x6eq\x63\x6fq\x64\x75w"]},${${"\x47LO\x42\x41\x4cS"}["va\x72\x62\x75\x66d"]},"\x6d\x65ssagel\x6fg_b\x6fd\x79");$vtyrklkxlim="\x69";$glxnfaiq="l\x61s\x74B\x6fdy";$ytgksec="\x61vgMes\x73\x61ge\x44\x61\x79";${"G\x4c\x4fB\x41\x4cS"}["\x6e\x75qq\x6f\x79\x6d\x78"]="\x72\x65c\x6f\x72d\x49\x64";${${"\x47LOB\x41L\x53"}["\x63\x63\x65a\x75\x78\x69k"]}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${${"\x47LO\x42ALS"}["g\x69ge\x79\x6d\x68i\x71"]},${$vtyrklkxlim},"w\x68\x61t\x73\x61\x70pl\x6f\x67\x5f\x64atetim\x65"));${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x7a\x71\x62\x73cv\x6a\x6a"]}[${${"\x47\x4cO\x42\x41\x4c\x53"}["r\x62\x75\x74x\x6a\x78\x63\x62\x63"]}]=array("r\x65c\x6f\x72\x64Id"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["n\x75\x71\x71oym\x78"]},"\x6c\x61bel"=>${${"GL\x4fB\x41\x4c\x53"}["\x78\x6bl\x61\x6c\x79\x79"]},"pro\x66i\x6ceI\x6dage"=>${$edmymqzgnftx},"\x69mage\x74ag"=>${${"G\x4c\x4f\x42\x41\x4cS"}["\x69\x64\x62\x74\x75\x76\x6b\x64\x6ck"]},"u\x6erea\x64Mes\x73\x61\x67\x65C\x6f\x75\x6e\x74"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x6e\x6dcl\x6b\x74\x77sth"]},"avg\x4d\x65ss\x61g\x65\x44a\x79"=>${$ytgksec},"la\x73\x74B\x6f\x64\x79"=>${$glxnfaiq},"l\x61\x73tD\x61t\x65T\x69\x6de"=>${${"\x47L\x4f\x42\x41L\x53"}["c\x63e\x61\x75x\x69k"]});}return${${"\x47\x4c\x4fB\x41\x4cS"}["\x77z\x71\x62\x73\x63\x76j\x6a"]};}public function getModuleMessagesData($whatsappmodule,$start,$end,$searchValue){${"\x47\x4c\x4f\x42\x41LS"}["\x77n\x6en\x78\x6cc"]="w\x68\x61\x74s\x61\x70p\x6d\x6fd\x75\x6c\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x78\x73\x68\x76\x71\x77p\x64\x64"]="\x69";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x76\x6fdy\x6apj"]="wha\x74sa\x61p\x70\x4do\x64\x75le\x44at\x61";$gcoxoshe="\x6d\x6f\x64u\x6ce\x51\x75e\x72y";$tsvund="\x70\x68\x6f\x6e\x65\x46\x69el\x64";global$adb;${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x76\x6f\x64\x79jp\x6a"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${${"\x47\x4cO\x42A\x4cS"}["\x6abk\x67\x6cf\x71\x6b\x6b\x6e\x61\x65"]});${${"\x47\x4c\x4f\x42A\x4c\x53"}["s\x6e\x74\x69\x69pyh\x6ad"]}=${${"\x47\x4c\x4f\x42ALS"}["\x66mys\x6a\x73\x65"]}["p\x68\x6fne\x46\x69eld"];${$gcoxoshe}=CTWhatsApp_Record_Model::moduleQuery(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77n\x6e\x6ex\x6c\x63"]},${$tsvund},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x6d\x66\x63\x77f"]});if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6d\x66\x63\x77f"]}){${"\x47\x4c\x4f\x42A\x4cS"}["\x69m\x76c\x79\x65hn\x62\x6b\x77v"]="m\x6fd\x75l\x65\x51u\x65r\x79";${${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x76\x74\x74\x79y\x6f"]}=$adb->pquery(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x6dvc\x79\x65\x68\x6e\x62\x6b\x77\x76"]});}else{${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fv\x74\x74yy\x6f"]}=$adb->pquery(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77t\x67\x70qe\x69"]}."\x20O\x52DE\x52 \x42Y v\x74ige\x72\x5f\x77hats\x61\x70p\x6c\x6fg.\x77\x68a\x74sappl\x6fg_datetime\x20\x44ESC\x20\x4cIM\x49\x54\x20\x30, ".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x6ap\x6an\x66\x64"]});}${${"\x47L\x4fBA\x4c\x53"}["\x78dl\x7a\x6c\x68dq\x6f\x63\x77\x70"]}=$adb->num_rows(${${"\x47\x4cOB\x41\x4c\x53"}["\x6fv\x74\x74\x79y\x6f"]});${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x72\x69\x72f\x71\x69\x62"]="mo\x64ul\x65\x52\x65\x63\x6f\x72\x64Da\x74a";$ymatsdscuh="m\x6fd\x75l\x65R\x65c\x6frd\x44\x61t\x61";${${"\x47\x4c\x4fB\x41L\x53"}["m\x72\x69\x72f\x71\x69\x62"]}=array();for(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76a\x72b\x75\x66d"]}=0;${${"\x47\x4c\x4fB\x41\x4cS"}["\x75\x78s\x68vq\x77\x70\x64d"]}<${${"GLO\x42\x41L\x53"}["x\x64\x6c\x7a\x6c\x68d\x71o\x63\x77\x70"]};${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76a\x72\x62\x75fd"]}++){${"\x47\x4cO\x42A\x4c\x53"}["\x69v\x70j\x64\x66\x70"]="\x69";$ffgtqhzry="\x69";${"\x47L\x4f\x42AL\x53"}["\x64\x6b\x74llsd\x7a"]="\x73e\x74y\x70\x65";${"\x47L\x4f\x42A\x4c\x53"}["n\x74\x64\x79\x6b\x71b\x6a\x61j"]="\x6c\x61\x62\x65\x6c";${"\x47L\x4fBA\x4cS"}["c\x77h\x63\x76j\x6b\x65\x78\x78"]="\x6c\x61\x62\x65\x6c";$gnnwngqqfk="\x6c\x61\x73t\x42\x6f\x64\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x77o\x6b\x74\x77\x77\x63\x62\x74"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["o\x76\x74\x74\x79\x79\x6f"]},${${"\x47L\x4f\x42\x41\x4cS"}["\x69\x76\x70j\x64fp"]},"whatsapp\x6cog_c\x6f\x6e\x74a\x63\x74i\x64");$qmthtpz="\x72ec\x6f\x72\x64\x49d";$hvxkhmxiqved="s\x65ty\x70\x65";${"\x47LO\x42A\x4c\x53"}["bl\x6di\x6blz"]="\x75\x6e\x72\x65\x61\x64M\x65\x73\x73\x61\x67\x65C\x6f\x75\x6e\x74";${"\x47\x4c\x4fB\x41L\x53"}["\x6a\x77\x78\x6f\x6c\x65\x79"]="\x71\x75e\x72y";$oenkoecdaxf="p\x72\x6ff\x69\x6c\x65I\x6da\x67\x65";${"\x47\x4cOB\x41L\x53"}["wm\x63\x64\x65\x6cd\x6d"]="pr\x6f\x66i\x6c\x65\x49\x6dag\x65";${${"G\x4c\x4fB\x41\x4cS"}["\x63w\x68\x63\x76\x6ak\x65\x78\x78"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["jwx\x6fley"]},${$ffgtqhzry},"\x77\x68\x61tsappl\x6fg_dis\x70\x6ca\x79nam\x65");${$hvxkhmxiqved}=$adb->query_result(${${"GLO\x42\x41\x4c\x53"}["ov\x74t\x79\x79o"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76arb\x75\x66\x64"]},"\x73\x65t\x79\x70\x65");$znmwgygp="\x6ca\x73tDa\x74\x65\x54\x69me";${"G\x4cOB\x41L\x53"}["lm\x7a\x73\x6e\x65\x71\x78\x70x\x6d"]="r\x65\x63\x6f\x72\x64I\x64";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6d\x63d\x65ld\x6d"]}=CTWhatsApp_Record_Model::getImageDetails(${${"G\x4cO\x42\x41\x4cS"}["\x6cm\x7asneq\x78p\x78m"]},${${"G\x4c\x4fBA\x4cS"}["\x64\x6bt\x6c\x6csd\x7a"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x64\x62t\x75\x76\x6b\x64\x6c\x6b"]}=1;${"\x47L\x4fB\x41\x4c\x53"}["\x6bph\x73r\x66\x72"]="\x6c\x61\x73\x74Bo\x64\x79";if(${${"\x47\x4cO\x42\x41\x4c\x53"}["s\x79k\x61\x6f\x77y\x68"]}==""){${"\x47\x4c\x4f\x42\x41L\x53"}["x\x64\x77y\x6d\x69\x76\x75\x70"]="\x6ca\x62\x65\x6c";$dohfchxyq="\x6ca\x62\x65\x6cEx\x70l\x6f\x64\x65";${${"GL\x4f\x42A\x4c\x53"}["\x69\x65q\x66n\x77\x69\x67"]}=explode("\x20",${${"\x47\x4cO\x42A\x4cS"}["\x78\x64\x77\x79m\x69v\x75\x70"]});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x79k\x61\x6f\x77yh"]}=mb_substr(${${"\x47\x4cO\x42A\x4c\x53"}["\x69e\x71f\x6ew\x69g"]}[0],0,1,"U\x54F-8").mb_substr(${$dohfchxyq}[1],0,1,"\x55T\x46-8");${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x64\x62\x74\x75\x76\x6bd\x6c\x6b"]}=0;}$wcswrgvlevo="\x71\x75\x65\x72\x79";${${"\x47\x4c\x4fBAL\x53"}["b\x72\x7as\x72\x6d\x74\x63\x7av"]}=CTWhatsApp_Record_Model::getWhatsappUnReadMessageCounts(${$qmthtpz});${${"\x47\x4c\x4fB\x41L\x53"}["\x6a\x66o\x75\x6d\x77\x6ds\x64dw\x7a"]}=${${"\x47LO\x42\x41\x4c\x53"}["\x62r\x7as\x72m\x74\x63z\x76"]}["\x75\x6er\x65\x61dC\x6funt"];$geovratfrq="qu\x65r\x79";${${"\x47L\x4f\x42\x41L\x53"}["\x68\x6br\x69\x6fd"]}=${${"\x47L\x4fB\x41LS"}["\x62\x72z\x73r\x6d\x74\x63\x7a\x76"]}["av\x67\x4des\x73a\x67\x65D\x61y"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x70\x68s\x72f\x72"]}=$adb->query_result(${$wcswrgvlevo},${${"\x47\x4c\x4f\x42A\x4cS"}["v\x61r\x62u\x66\x64"]},"\x6d\x65s\x73a\x67elog\x5f\x62\x6f\x64\x79");${$znmwgygp}=Vtiger_Util_Helper::formatDateDiffInStrings($adb->query_result(${$geovratfrq},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76a\x72\x62\x75f\x64"]},"w\x68atsap\x70\x6c\x6fg_\x64\x61t\x65\x74\x69\x6d\x65"));${${"\x47LOB\x41L\x53"}["\x77\x65c\x63\x79v\x78\x71\x6c\x75"]}[]=array("re\x63\x6fr\x64\x49\x64"=>${${"GL\x4f\x42A\x4c\x53"}["\x71\x77\x6fkt\x77w\x63\x62\x74"]},"la\x62el"=>${${"\x47\x4cO\x42AL\x53"}["\x6etd\x79\x6b\x71bjaj"]},"\x70\x72\x6ffileI\x6dage"=>${$oenkoecdaxf},"i\x6d\x61g\x65\x74\x61\x67"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x64\x62t\x75vk\x64\x6c\x6b"]},"\x75\x6e\x72ea\x64M\x65\x73\x73a\x67\x65C\x6f\x75\x6e\x74"=>${${"\x47L\x4f\x42\x41\x4cS"}["bl\x6d\x69\x6bl\x7a"]},"a\x76g\x4d\x65s\x73\x61\x67e\x44ay"=>${${"\x47LO\x42\x41\x4c\x53"}["\x68\x6b\x72\x69o\x64"]},"la\x73tB\x6f\x64\x79"=>${$gnnwngqqfk},"\x6castD\x61\x74e\x54\x69\x6de"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x63\x65a\x75\x78\x69k"]});}return${$ymatsdscuh};}public function getImportantMessageDetail($phone){global$adb;${"\x47\x4c\x4fB\x41\x4cS"}["qx\x6bkl\x6a\x66f"]="\x71\x75e\x72\x79";${"\x47L\x4fB\x41\x4c\x53"}["\x6er\x66s\x65\x6d\x70"]="\x71\x75\x65\x72\x79";${${"GL\x4fBA\x4c\x53"}["\x71\x78\x6b\x6b\x6cj\x66\x66"]}=$adb->pquery("\x53E\x4cE\x43\x54\x20* \x46ROM vt\x69\x67\x65\x72_w\x68atsap\x70\x6c\x6f\x67\x20\n\x20  \x20   \x20 \x20  \x49N\x4e\x45\x52\x20\x4a\x4f\x49N\x20\x76\x74ige\x72\x5fcrme\x6e\x74it\x79\x20\x4fN\x20\x76\x74\x69g\x65r\x5fcrm\x65\x6eti\x74\x79.cr\x6d\x69d\x20\x3d v\x74\x69\x67\x65\x72\x5fwhatsa\x70pl\x6fg\x2e\x77h\x61\x74\x73\x61pp\x6c\x6f\x67id \n  \x20 \x20\x20 \x20\x20\x20\x20\x20W\x48\x45RE \x76\x74\x69ger\x5f\x77\x68\x61t\x73applo\x67\x2e\x77h\x61\x74s\x61p\x70\x6co\x67\x5fw\x69th\x63c\x6fde\x20= ?\x20AND \x76tig\x65\x72\x5f\x63\x72\x6d\x65\x6e\x74\x69ty\x2e\x64\x65l\x65ted\x20= \x30",array(${${"\x47\x4cO\x42AL\x53"}["w\x6e\x73kh\x64\x79y\x6a\x67l"]}));${${"G\x4cO\x42A\x4c\x53"}["\x67\x73i\x64q\x75k\x73jb"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x72\x66se\x6d\x70"]},0,"w\x68ats\x61\x70\x70\x6c\x6f\x67\x5f\x69\x6d\x70o\x72ta\x6e\x74");return${${"\x47LOB\x41LS"}["g\x73i\x64q\x75\x6bs\x6ab"]};}public function getModuleRecordData($recordId,$setype,$whatsappModule,$groupid,$groupWhatsappNumber){$gxrqqz="\x72e\x63\x6f\x72\x64\x49\x64";$qilctkmy="\x69\x6d\x61ge\x74\x61\x67";${"G\x4cO\x42\x41\x4c\x53"}["q\x72\x69\x61\x66w\x68\x77\x68\x65"]="a\x63t\x69\x6f\x6eN\x61\x6d\x65";global$adb;${"\x47\x4c\x4fB\x41L\x53"}["j\x75m\x74\x77\x64\x74l\x68\x6b"]="\x70\x72o\x66\x69\x6c\x65\x49\x6d\x61g\x65";$rveqsmok="\x70\x72\x6f\x66\x69\x6c\x65\x49\x6d\x61\x67e";${"G\x4c\x4f\x42A\x4c\x53"}["\x7a\x66ip\x6b\x61\x77"]="\x4do\x64\x43om\x6d\x65\x6e\x74\x73\x45\x6e\x61\x62\x6ce";${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x63\x75\x68\x75fy\x61n"]="\x6c\x61\x62\x65\x6c";$ukbxsrqtbx="\x73e\x74\x79\x70\x65";$epoivurrfw="re\x63\x6f\x72\x64\x49d";${"\x47\x4cO\x42\x41LS"}["sxp\x6cds\x6e"]="s\x65\x74\x79\x70e";$agmftbb="\x73\x65\x74y\x70\x65";$lpuhbln="re\x63e\x6e\x74\x43o\x6d\x6d\x65\x6et\x73";${"G\x4c\x4f\x42A\x4c\x53"}["\x79zh\x78\x75\x6bh\x6e\x75"]="p\x65\x72m\x69\x73\x73i\x6f\x6e\x52ec\x6frd";${"G\x4c\x4fBA\x4cS"}["\x71k\x6eui\x66"]="tot\x61\x6c\x53\x65\x6e\x74";${"G\x4cO\x42\x41\x4c\x53"}["\x68\x7a\x77y\x6d\x77w\x6ck"]="\x67\x65tW\x68\x61\x74\x73ap\x70\x4de\x73sag\x65\x73";${"G\x4c\x4fBA\x4cS"}["\x67\x6f\x78\x63\x62\x6e\x71w\x79"]="\x73\x65ty\x70\x65";$wimwomzhdpvw="\x74\x6f\x74a\x6cR\x65\x63e\x69\x76e\x64";$hjbfvsbunlu="\x72\x65c\x6frd\x49\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x71lu\x66\x76\x77\x78\x71"]="\x67r\x6fup\x57h\x61\x74sa\x70\x70\x4e\x75m\x62er";${${"\x47L\x4fBA\x4c\x53"}["\x74jj\x78\x6c\x61"]}=Vtiger_Record_Model::getInstanceById(${$gxrqqz},${${"GL\x4f\x42ALS"}["\x67o\x78c\x62\x6e\x71w\x79"]});${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x6agsx\x6e\x64\x66\x6f\x77\x68"]="t\x68e\x6d\x65V\x69\x65\x77";${${"\x47\x4c\x4f\x42\x41L\x53"}["dc\x75\x68u\x66ya\x6e"]}=$recordModel->get("l\x61b\x65l");$ryobij="r\x6f\x77\x73";${${"\x47\x4cOB\x41\x4cS"}["\x69\x6b\x67\x78d\x69\x66"]}=CTWhatsApp_Record_Model::getWhatsappAllowModuleFields(${$ukbxsrqtbx});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x6c\x62\x6a\x7akt\x73q\x64"]="\x6d\x61n\x75a\x6c\x74\x72\x61n\x73f\x65r";$fxpjjcufdpuv="\x67\x65\x74\x42\x6f\x74\x4d\x6f\x62\x69\x6c\x65";$yqwpkvyi="g\x65\x74\x57\x68\x61\x74\x73\x61\x70\x70\x4d\x65s\x73\x61\x67\x65\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73n\x74\x69\x69\x70y\x68\x6ad"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69\x6b\x67\x78\x64\x69\x66"]}["\x70\x68o\x6ee\x46ie\x6c\x64"];$ohdhjss="t\x61b\x69\x64";${"GLO\x42\x41\x4cS"}["\x6dl\x63\x62s\x63\x79\x62\x68"]="\x72\x65\x6c\x61\x74ed\x4d\x6f\x64u\x6c\x65HT\x4d\x4c";$pjtrfiwfvmit="\x73e\x74yp\x65";$sozissqfo="qu\x65\x72\x79";$helvfcqi="\x76a\x6c\x75\x65";${${"\x47LO\x42\x41\x4c\x53"}["\x77\x6e\x73k\x68\x64yy\x6a\x67l"]}=$recordModel->get(${${"G\x4c\x4fBA\x4c\x53"}["\x73n\x74\x69\x69\x70y\x68jd"]});${$rveqsmok}=CTWhatsApp_Record_Model::getImageDetails(${${"\x47\x4cOB\x41L\x53"}["\x71w\x6f\x6b\x74\x77\x77\x63bt"]},${$pjtrfiwfvmit});${$qilctkmy}=1;${"\x47\x4cO\x42AL\x53"}["\x75\x76\x6cb\x74\x64n\x65m"]="\x74\x6ft\x61lR\x65\x63e\x69\x76\x65d";${"\x47LO\x42AL\x53"}["kw\x69\x66b\x65\x66\x6a"]="\x67e\x74\x57\x68\x61\x74s\x61\x70p\x4d\x65\x73\x73\x61\x67\x65\x73";if(${${"\x47L\x4fB\x41\x4cS"}["\x6a\x75\x6d\x74\x77d\x74l\x68k"]}==""){$cdusvmhgsi="la\x62\x65\x6cE\x78p\x6c\x6fde";${"\x47LO\x42\x41L\x53"}["\x66\x72jb\x6fx"]="\x70rof\x69\x6c\x65\x49\x6dag\x65";${${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x65q\x66\x6ewi\x67"]}=explode("\x20",${${"GL\x4fB\x41\x4c\x53"}["\x78k\x6c\x61\x6c\x79\x79"]});${${"\x47L\x4fB\x41\x4c\x53"}["\x66\x72j\x62\x6f\x78"]}=mb_substr(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x65q\x66\x6e\x77\x69\x67"]}[0],0,1,"UT\x46-8").mb_substr(${$cdusvmhgsi}[1],0,1,"\x55TF-\x38");${${"\x47\x4cO\x42\x41LS"}["\x69\x64\x62\x74\x75vk\x64lk"]}=0;}${${"\x47LOBA\x4cS"}["k\x77i\x66b\x65f\x6a"]}=CTWhatsApp_Record_Model::getWhatsappMessages(${$hjbfvsbunlu},${${"G\x4cO\x42\x41L\x53"}["\x6b\x70\x61i\x66zt\x6f\x6a\x6e\x63"]},${${"\x47LO\x42A\x4c\x53"}["\x6a\x6cr\x66\x67h\x69"]},${${"G\x4c\x4f\x42\x41\x4cS"}["h\x78\x65\x7a\x76qn\x77m"]},${${"\x47\x4c\x4fBA\x4cS"}["\x6eql\x75f\x76w\x78\x71"]});${${"G\x4c\x4fBAL\x53"}["\x6c\x77\x72\x73\x6e\x78\x76"]}=${${"\x47\x4cOB\x41LS"}["\x68\x7aw\x79m\x77wl\x6b"]}["w\x68\x61\x74\x73\x61\x70pM\x65\x73\x73\x61ge\x48TM\x4c"];${"\x47\x4c\x4f\x42\x41L\x53"}["su\x6ebw\x77\x66"]="\x61\x63\x74\x69\x76\x65\x42o\x74";${"\x47\x4c\x4f\x42A\x4cS"}["\x79\x69\x69\x6bp\x63\x76\x6fe\x6c"]="k\x65\x79\x46\x69\x65\x6c\x64s\x48T\x4d\x4c";${"GL\x4f\x42AL\x53"}["\x65\x6c\x73b\x73m\x67\x74"]="ge\x74\x42o\x74Mob\x69\x6c\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ek\x61\x6ft\x7afs\x73\x63\x79"]="\x6d\x6f\x64\x75\x6ceRe\x63r\x6f\x64\x44\x61\x74\x61";${${"G\x4c\x4f\x42\x41L\x53"}["gi\x72\x68\x76\x73"]}=${$yqwpkvyi}["\x74\x6ft\x61\x6cS\x65\x6et"];${$wimwomzhdpvw}=${${"G\x4cO\x42\x41\x4c\x53"}["\x66l\x68\x70\x79\x70\x78v\x6ef\x6e"]}["\x74\x6f\x74\x61lRec\x65\x69v\x65d"];$xzjatf="\x6d\x65\x73\x73ag\x65\x49\x6dp\x6f\x72\x74an\x74";$qnebjvjqmzf="\x6dod\x75\x6ce\x49sE\x6e\x61\x62le";${$lpuhbln}=${${"G\x4cO\x42AL\x53"}["\x66\x6c\x68\x70y\x70\x78\x76nf\x6e"]}["c\x6f\x6d\x6d\x65n\x74\x48TML"];${"\x47LO\x42\x41\x4c\x53"}["\x64\x6d\x66\x76\x68\x6f\x67"]="\x6da\x6eu\x61\x6c\x74r\x61\x6e\x73f\x65\x72";${"\x47\x4cOB\x41LS"}["\x6c\x75\x69uis\x72\x7a\x70\x67\x6a"]="\x73e\x74\x79\x70\x65";${$qnebjvjqmzf}=${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x6c\x68\x70y\x70\x78\x76n\x66n"]}["\x6do\x64u\x6c\x65\x49\x73E\x6eab\x6ce"];${${"\x47LOB\x41\x4c\x53"}["r\x7afn\x63\x6f\x70xx\x78"]}=CTWhatsApp_Record_Model::getImportantMessageDetail(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77n\x73\x6bh\x64\x79y\x6a\x67l"]});${$ohdhjss}=getTabid(${$agmftbb});${$sozissqfo}=$adb->pquery("SEL\x45\x43\x54\x20* F\x52OM\x20vtiger\x5f\x66i\x65\x6c\x64 \x57H\x45R\x45\x20t\x61\x62\x69d\x20\x3d ? \x41ND s\x75mmaryf\x69\x65l\x64 \x3d\x20?\x20\x41ND uit\x79\x70\x65 N\x4f\x54 I\x4e ('1\x30\x27, \x27\x351')",array(${${"GLOB\x41L\x53"}["\x77\x69h\x66\x64\x74\x6ax\x72f"]},1));${"G\x4c\x4f\x42\x41LS"}["\x66\x68\x71\x77y\x70\x70"]="\x6be\x79Fie\x6cd\x73\x48\x54M\x4c";${$ryobij}=$adb->num_rows(${${"G\x4cO\x42\x41\x4c\x53"}["ov\x74t\x79\x79o"]});${${"\x47\x4cOB\x41LS"}["\x6b\x65p\x79\x63s\x66\x79\x6ch"]}=array();${${"G\x4c\x4f\x42\x41LS"}["\x74\x6ajx\x6ca"]}=Vtiger_Record_Model::getInstanceById(${$epoivurrfw},${${"\x47\x4c\x4fB\x41\x4cS"}["\x6b\x70\x61\x69f\x7at\x6f\x6a\x6ec"]});${"\x47\x4cOB\x41\x4c\x53"}["k\x74b\x6c\x72\x78\x6c\x78\x63\x6a"]="\x4do\x64C\x6fmm\x65n\x74\x73\x45\x6e\x61b\x6c\x65";${${"\x47LO\x42\x41\x4c\x53"}["\x7a\x70\x65us\x66kwe"]}=CTWhatsApp_Record_Model::checkCommentModuleEnable(${${"G\x4cO\x42A\x4c\x53"}["\x6bp\x61\x69f\x7a\x74\x6f\x6an\x63"]});$hdgdpntyk="r\x65\x6c\x61t\x65\x64M\x6f\x64\x75\x6ces";$evjeenud="r\x65\x63e\x6e\x74\x43\x6f\x6d\x6d\x65nt\x73";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x66\x69\x70\x6b\x61\x77"]}=CTWhatsApp_Record_Model::checkPermissionModule("Mo\x64C\x6f\x6d\x6de\x6ets");${${"\x47\x4cO\x42AL\x53"}["\x65\x6d\x77\x6bq\x79h\x61\x79\x73"]}="Ed\x69\x74\x56i\x65\x77";if(!Users_Privileges_Model::isPermitted(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x78p\x6c\x64\x73\x6e"]},${${"\x47L\x4f\x42\x41L\x53"}["qriaf\x77\x68\x77h\x65"]},${${"\x47\x4cO\x42\x41\x4cS"}["q\x77o\x6b\x74\x77\x77c\x62\x74"]})){${"GL\x4f\x42\x41L\x53"}["t\x64v\x79\x72l\x78\x74\x77k\x6a"]="per\x6d\x69s\x73i\x6f\x6e\x52\x65\x63\x6f\x72\x64";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x74d\x76y\x72lxt\x77k\x6a"]}="0";}else{${"G\x4cO\x42A\x4c\x53"}["\x79ex\x68\x76\x64t\x6d\x6d"]="p\x65\x72\x6dis\x73\x69\x6f\x6eR\x65co\x72\x64";${${"\x47LO\x42\x41\x4cS"}["\x79\x65\x78\x68\x76\x64\x74\x6d\x6d"]}="\x31";}$cjrjskep="\x6ca\x62\x65\x6c";${${"\x47L\x4f\x42\x41LS"}["k\x6a\x67\x73\x78\x6ed\x66\x6f\x77h"]}=CTWhatsApp_Record_Model::getWhatsappTheme();${${"\x47\x4cO\x42\x41L\x53"}["\x66hq\x77\x79\x70\x70"]}="";if(${${"\x47\x4cO\x42A\x4c\x53"}["o\x73\x76\x6bv\x67r\x63l\x79\x62"]}==1){${"\x47L\x4fBAL\x53"}["qp\x6d\x77\x6d\x74jq\x6e\x69\x77"]="i";$yhwsvwwzacn="i";$nvtyusrifnm="i";for(${${"\x47\x4c\x4f\x42\x41LS"}["q\x70m\x77\x6d\x74j\x71\x6ei\x77"]}=0;${$yhwsvwwzacn}<${${"GL\x4fB\x41LS"}["xdl\x7al\x68\x64\x71o\x63\x77p"]};${$nvtyusrifnm}++){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x6f\x7au\x6b\x79h\x6e\x65\x77r"]="\x69";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x6fzu\x6b\x79\x68\x6e\x65wr"]}<4){${"\x47\x4cOB\x41LS"}["nlx\x65c\x72\x6e\x65vxw"]="\x69";${"\x47L\x4fB\x41\x4c\x53"}["u\x79\x77\x63\x6f\x6b\x63wd"]="\x73e\x74\x79pe";$tfxifvc="\x69";$xpysldgshybk="\x66ie\x6cd\x6ea\x6de";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dq\x77\x76t\x76r\x71g"]="qu\x65\x72y";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76b\x76\x6b\x74\x71wl\x6ca"]}=vtranslate($adb->query_result(${${"\x47\x4c\x4fBA\x4c\x53"}["ovt\x74\x79y\x6f"]},${$tfxifvc},"f\x69eldla\x62e\x6c"),${${"G\x4c\x4f\x42A\x4c\x53"}["u\x79\x77\x63ok\x63\x77\x64"]});${$xpysldgshybk}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6d\x71\x77\x76t\x76r\x71g"]},${${"GLO\x42\x41L\x53"}["nl\x78\x65crnev\x78\x77"]},"\x66\x69eldna\x6de");$foljdbd="\x66i\x65\x6c\x64na\x6d\x65";$weirukk="\x66\x69\x65\x6cd\x6e\x61\x6d\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x6d\x76\x65\x6eb\x6b\x6c\x6a\x65\x69"]}=$recordModel->get(${$weirukk});if(${$foljdbd}=="\x61\x73\x73\x69gned\x5f\x75ser\x5fid"){$brevzgxyxsz="u\x73e\x72r\x6f\x77\x73";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x69yf\x64\x65\x79"]}=$adb->pquery("S\x45\x4cECT\x20* \x46\x52\x4fM\x20\x76\x74\x69\x67e\x72_u\x73\x65r\x73 \x57\x48ER\x45\x20\x69\x64\x3d?",array(${${"G\x4cO\x42\x41\x4c\x53"}["\x6dm\x76\x65n\x62\x6b\x6c\x6a\x65\x69"]}));$efmkvlpdlrc="\x75\x73err\x6f\x77s";$shkmqpwoi="\x67\x65\x74\x75\x73\x65\x72n\x61m\x65";${$brevzgxyxsz}=$adb->num_rows(${$shkmqpwoi});if(${$efmkvlpdlrc}==0){$tdihoodrx="g\x65\x74g\x72\x6f\x75\x70";$esdgxmdr="\x66\x69\x65ld\x76a\x6cu\x65";${$tdihoodrx}=$adb->pquery("SEL\x45\x43\x54\x20* \x46\x52O\x4d\x20\x76\x74\x69ger\x5f\x67r\x6f\x75\x70\x73 WH\x45\x52\x45\x20\x67rou\x70id\x3d?",array(${$esdgxmdr}));${${"\x47\x4c\x4f\x42\x41LS"}["\x78\x74\x6d\x70\x68i\x6cns\x67"]}=$adb->num_rows(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6aur\x62\x69ts\x67zg"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x6dv\x65\x6e\x62k\x6c\x6a\x65i"]}=$adb->query_result(${${"\x47LO\x42\x41\x4c\x53"}["\x6au\x72\x62\x69\x74\x73g\x7a\x67"]},0,"\x67r\x6fupn\x61me");}else{$oktgsc="\x66\x69\x65ldva\x6c\x75\x65";${$oktgsc}=$adb->query_result(${${"\x47\x4cO\x42\x41LS"}["\x6b\x69\x79\x66\x64\x65y"]},0,"f\x69\x72s\x74_\x6eam\x65")."\x20".$adb->query_result(${${"\x47L\x4f\x42\x41L\x53"}["\x6bi\x79\x66\x64\x65y"]},0,"\x6c\x61\x73\x74\x5fna\x6de");}}if(${${"GL\x4fB\x41\x4c\x53"}["\x70d\x75\x63\x6c\x6cx\x6f\x62\x79\x78\x74"]}=="R\x54\x4c"){${"GL\x4fBA\x4c\x53"}["\x6c\x74l\x6f\x74\x63\x76"]="\x66\x69e\x6c\x64l\x61\x62el";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x7akqu\x6ct\x6cznn\x62"]}.="<p>\x3cspa\x6e\x20cla\x73s=\x22\x22\x3e".${${"GL\x4f\x42ALS"}["\x6d\x6d\x76\x65\x6eb\x6b\x6cj\x65\x69"]}."</\x73\x70a\x6e\x3e\x20: ".${${"\x47L\x4f\x42A\x4c\x53"}["ltl\x6f\x74\x63\x76"]}."</\x70>";}else{${"\x47L\x4fBA\x4c\x53"}["\x64\x6fz\x69l\x77\x77"]="f\x69\x65l\x64\x76a\x6c\x75\x65";$hqxtdfloyt="\x66\x69\x65l\x64l\x61\x62\x65\x6c";${${"\x47\x4c\x4f\x42A\x4c\x53"}["o\x7a\x6b\x71\x75\x6c\x74\x6c\x7a\x6e\x6e\x62"]}.="\x3cp\x3e".${$hqxtdfloyt}." : <\x73\x70\x61n \x63\x6c\x61ss=\"\"\x3e".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64o\x7ai\x6c\x77\x77"]}."</spa\x6e>\x3c/p>";}}}}${${"\x47\x4c\x4fB\x41\x4c\x53"}["we\x77\x6f\x70\x74m"]}=CTWhatsApp_Record_Model::getRelatedModules(${${"\x47\x4cOBA\x4cS"}["\x6bp\x61\x69\x66\x7at\x6f\x6an\x63"]});${${"\x47\x4c\x4fB\x41LS"}["m\x6c\x63\x62s\x63\x79\x62h"]}="";foreach(${$hdgdpntyk} as${${"G\x4cO\x42AL\x53"}["\x6b\x70v\x75\x63\x6abc\x6e\x65"]}=>${$helvfcqi}){$okjjvalpwg="\x72\x65\x63\x6fr\x64\x49\x64";${"\x47\x4c\x4fBA\x4c\x53"}["rg\x6ap\x72\x68\x6d\x61\x66"]="\x76al\x75e";${${"\x47\x4c\x4f\x42AL\x53"}["\x74eo\x64\x7a\x6c\x65"]}=vtranslate(${${"\x47\x4c\x4f\x42A\x4cS"}["y\x78\x6b\x73umx"]}["r\x65la\x74\x65\x64\x4do\x64ule"],${${"\x47\x4cOB\x41L\x53"}["\x72\x67j\x70\x72\x68ma\x66"]}["\x72\x65l\x61tedMo\x64ul\x65"]);$xqbxiyy="\x76\x61\x6c\x75\x65";${"\x47\x4cOB\x41LS"}["oc\x78\x63\x70\x70\x71\x71c"]="\x76al\x75e";${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x68\x75yn\x62j\x73\x76"]="\x6d\x6f\x64u\x6ce\x55\x52\x4c";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x68u\x79\x6e\x62\x6a\x73\x76"]}="index\x2e\x70hp?mo\x64ul\x65\x3d".${${"\x47LO\x42\x41\x4c\x53"}["\x79xk\x73umx"]}["\x72\x65\x6c\x61\x74ed\x4d\x6f\x64u\x6c\x65"]."&v\x69\x65w=Q\x75ickC\x72\x65\x61te\x41ja\x78\x26".${${"\x47LO\x42\x41\x4c\x53"}["\x79\x78\x6b\x73um\x78"]}["\x72e\x6c\x61ted\x46ieldName"]."\x3d".${$okjjvalpwg};${${"GLO\x42A\x4c\x53"}["\x78h\x74\x69\x68oi\x6a\x62\x71\x6a"]}.="\x3c\x61\x20\x69\x64=\x22\x6denuba\x72\x5f\x71\x75ic\x6bCre\x61\x74\x65\x5f".${${"\x47L\x4f\x42\x41\x4c\x53"}["oc\x78c\x70\x70\x71\x71\x63"]}["rel\x61te\x64Mod\x75le"]."\" cl\x61ss=\"drop\x64\x6fw\x6e-ite\x6d\x20\x71u\x69ckCre\x61\x74e\x4do\x64\x75le\x22\x20h\x72e\x66\x3d\"\x23\"\x20d\x61\x74\x61-n\x61\x6d\x65\x3d\x22".${$xqbxiyy}["r\x65\x6c\x61t\x65\x64Modu\x6c\x65"]."\" data-\x75r\x6c\x3d\"".${${"\x47\x4cO\x42A\x4c\x53"}["\x76jsl\x66\x6cq\x76\x75h\x75"]}."\">".${${"\x47LO\x42AL\x53"}["t\x65o\x64\x7a\x6c\x65"]}."</a\x3e";}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x75ffs\x68ep\x6e\x6c"]}=CTWhatsApp_Record_Model::getPreQuestionDetail(${${"GL\x4f\x42A\x4cS"}["w\x6esk\x68d\x79yj\x67l"]});${${"GL\x4f\x42\x41L\x53"}["\x77\x6c\x71f\x70\x64xc\x79\x61\x6c"]}=${$fxpjjcufdpuv}["ac\x74i\x76eB\x6f\x74"];${${"\x47LO\x42\x41L\x53"}["\x64\x6d\x66\x76h\x6f\x67"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["e\x6csb\x73\x6d\x67t"]}["\x6danual\x74r\x61\x6es\x66e\x72"];${${"\x47\x4cOBAL\x53"}["i\x73\x6e\x68q\x76\x68n\x73a\x62"]}=array("re\x63\x6fr\x64Id"=>${${"\x47\x4cOB\x41L\x53"}["q\x77o\x6b\x74w\x77\x63\x62t"]},"\x6ca\x62\x65l"=>${$cjrjskep},"\x70\x68\x6fn\x65"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["wnsk\x68\x64yy\x6ag\x6c"]},"\x70\x72of\x69\x6c\x65\x49\x6d\x61ge"=>${${"\x47LO\x42\x41\x4c\x53"}["\x73\x79\x6b\x61ow\x79\x68"]},"\x69\x6d\x61\x67e\x74\x61\x67"=>${${"\x47L\x4f\x42\x41\x4cS"}["\x69\x64\x62t\x75\x76k\x64l\x6b"]},"\x77\x68\x61\x74\x73ap\x70\x4d\x65ssa\x67e\x73"=>${${"G\x4cO\x42\x41\x4c\x53"}["\x6cw\x72sn\x78\x76"]},"k\x65yFiel\x64s\x48\x54\x4dL"=>${${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x69i\x6bpc\x76\x6f\x65l"]},"\x74o\x74\x61lS\x65n\x74"=>${${"\x47\x4c\x4fB\x41LS"}["q\x6bn\x75\x69\x66"]},"\x74ot\x61\x6cR\x65\x63\x65\x69v\x65d"=>${${"G\x4cO\x42\x41\x4c\x53"}["u\x76\x6c\x62\x74d\x6e\x65\x6d"]},"\x72\x65\x63\x65n\x74C\x6f\x6dments"=>${$evjeenud},"\x72\x65\x6ca\x74ed\x4dodu\x6c\x65HTML"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x68\x74i\x68\x6fi\x6a\x62\x71\x6a"]},"mes\x73\x61\x67eImpo\x72tan\x74"=>${$xzjatf},"\x73\x65\x74\x79\x70\x65"=>${${"G\x4c\x4fBA\x4c\x53"}["\x6cuiui\x73\x72\x7a\x70gj"]},"comme\x6etM\x6fdu\x6ce"=>${${"\x47\x4c\x4f\x42A\x4cS"}["zp\x65u\x73f\x6b\x77\x65"]},"\x6dodule\x49sEna\x62le"=>${${"GLO\x42\x41\x4c\x53"}["\x67\x62i\x71\x6a\x67m"]},"ModCo\x6dmen\x74\x73E\x6e\x61b\x6ce"=>${${"GL\x4fBALS"}["\x6b\x74b\x6cr\x78l\x78\x63j"]},"p\x65\x72m\x69s\x73i\x6f\x6eRecord"=>${${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x7a\x68\x78u\x6b\x68\x6e\x75"]},"m\x61\x6e\x75\x61\x6c\x74r\x61n\x73\x66er"=>${${"\x47\x4cO\x42\x41LS"}["\x6b\x6c\x62jz\x6b\x74s\x71d"]},"\x61c\x74iv\x65Bot"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x75\x6ebw\x77f"]});return${${"G\x4c\x4fBA\x4c\x53"}["\x6ek\x61\x6f\x74z\x66s\x73\x63\x79"]};}public function getPreQuestionDetail($phone){${"\x47LO\x42\x41\x4c\x53"}["\x66\x77hwc\x65\x6c\x73\x6bq\x6d"]="m\x61\x6e\x75a\x6c\x74ra\x6esfer";$wicpnmsgamhc="r\x6f\x77\x73";${"\x47L\x4f\x42A\x4c\x53"}["r\x6c\x72jj\x6a\x70\x6a\x74ct\x73"]="\x72\x6f\x77s";${"\x47L\x4fB\x41L\x53"}["\x61\x72\x6ep\x73\x66qqm\x66ve"]="\x72\x6fbo\x74\x69\x63\x6d\x6f\x64\x65Q\x75e\x72\x79";global$adb;${${"G\x4c\x4fB\x41LS"}["\x79\x68v\x6d\x74v\x64u\x71\x62"]}=$adb->pquery("SEL\x45\x43\x54\x20*\x20FR\x4f\x4d\x20w\x68ats\x61pp\x62ot_pr\x65\x5f\x71ue\x20WHER\x45 p\x72\x65q\x75em\x6fb\x69le\x6e\x75\x6d\x62e\x72 = ?",array(${${"\x47\x4cOB\x41\x4cS"}["\x77\x6es\x6bh\x64\x79\x79\x6agl"]}));${${"\x47\x4c\x4fB\x41LS"}["rl\x72j\x6a\x6a\x70\x6at\x63ts"]}=$adb->num_rows(${${"G\x4c\x4f\x42\x41L\x53"}["arn\x70\x73\x66\x71q\x6d\x66\x76e"]});${"G\x4cO\x42\x41L\x53"}["k\x6ap\x6d\x79\x6bms\x69\x6d\x71a"]="m\x61\x6e\x75a\x6c\x74\x72\x61\x6es\x66\x65r";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6bj\x70my\x6b\x6d\x73i\x6d\x71a"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4cS"}["\x79\x68v\x6d\x74\x76\x64u\x71b"]},0,"\x6dan\x75al\x74ransf\x65\x72");${"GLOB\x41\x4c\x53"}["a\x6f\x75r\x65d\x72l\x64o"]="p\x72\x65Q\x75e\x73\x74\x69\x6f\x6e\x44eta\x69\x6c";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x74z\x6c\x6d\x77\x61ro"]}=array("ma\x6eua\x6ctra\x6es\x66\x65\x72"=>${${"\x47L\x4fB\x41\x4cS"}["\x66\x77\x68\x77c\x65\x6c\x73kq\x6d"]},"ac\x74i\x76e\x42ot"=>${$wicpnmsgamhc});return${${"\x47\x4c\x4f\x42AL\x53"}["\x61\x6f\x75r\x65\x64\x72\x6c\x64o"]};}public function getWhatsAppRelatedRecord($recordId,$setype,$whatsappModule,$groupid,$nextWhatsappRelatedMessage){$kvhwwb="\x77\x68a\x74\x73\x61\x70p\x4do\x64\x75\x6c\x65";$jmdfuepkh="\x67et\x57\x68\x61t\x73\x61pp\x4d\x65\x73\x73\x61\x67\x65s";$rytqbirptn="\x6e\x65xtWha\x74\x73\x61\x70pRe\x6c\x61\x74\x65d\x4de\x73\x73\x61g\x65";$fwtmorozjb="\x73\x65\x74\x79\x70\x65";${${"\x47\x4c\x4fBALS"}["\x66\x6ch\x70\x79\x70x\x76n\x66n"]}=CTWhatsApp_Record_Model::getRelatedModuleWhatsappMessages(${${"\x47\x4cOB\x41L\x53"}["\x71w\x6f\x6bt\x77\x77c\x62\x74"]},${$fwtmorozjb},${$kvhwwb},${${"\x47L\x4f\x42\x41L\x53"}["h\x78\x65\x7a\x76\x71\x6e\x77\x6d"]},${$rytqbirptn});$eogggucfqjg="\x6d\x6fdu\x6c\x65\x52\x65\x63\x72\x6f\x64\x44\x61t\x61";${"\x47\x4cO\x42AL\x53"}["td\x6a\x70\x65\x6d\x78p"]="mod\x75\x6c\x65\x52\x65\x63\x72\x6fd\x44\x61\x74\x61";${${"GL\x4f\x42\x41L\x53"}["\x6c\x77r\x73\x6e\x78v"]}=${$jmdfuepkh}["\x77\x68\x61\x74\x73a\x70\x70\x4dess\x61\x67eHTM\x4c"];${${"G\x4c\x4fBAL\x53"}["\x74d\x6a\x70\x65\x6d\x78p"]}=array("w\x68at\x73\x61\x70p\x4d\x65ssag\x65s"=>${${"\x47L\x4fB\x41\x4cS"}["\x6c\x77rs\x6e\x78\x76"]});return${$eogggucfqjg};}public function getRelatedModuleWhatsappMessages($recordId,$setype,$whatsappModule,$groupid,$nextWhatsappRelatedMessage){${"\x47\x4cO\x42\x41L\x53"}["\x79g\x62\x79\x68x\x67\x63"]="c\x6fnf\x69\x67\x75r\x61\x74\x69\x6f\x6eD\x61\x74\x61";${"GLO\x42\x41\x4c\x53"}["r\x67\x72\x78\x71\x74\x72\x6e\x72\x75\x77"]="u\x6er\x65\x61\x64Q\x75\x65\x72\x79";${"G\x4c\x4fB\x41\x4cS"}["\x71\x6f\x6b\x74\x68\x6e\x74\x6d\x65"]="\x69";$znqwyhkq="\x6e\x65\x78\x74\x57\x68\x61ts\x61\x70p\x52\x65\x6ca\x74ed\x4d\x65s\x73\x61g\x65";${"\x47L\x4fB\x41\x4c\x53"}["xk\x6bhf\x74"]="r\x65\x63\x6f\x72\x64I\x64";$pvtprvgvmw="w\x68\x61\x74\x73\x61p\x70\x4d\x65s\x73\x61\x67\x65\x48\x54\x4d\x4c";${"GL\x4f\x42\x41\x4c\x53"}["\x76gm\x69\x62n\x6b\x79j\x76\x77b"]="\x71\x75\x65\x72y";$heeldfeo="\x63\x6f\x6e\x66i\x67ura\x74ionD\x61t\x61";$miaqgen="f\x69le\x45xt\x73";global$adb,$current_user;${"\x47\x4c\x4fB\x41\x4cS"}["p\x6ffpsve"]="\x77\x68\x61\x74s\x61pp\x53c\x61\x6e\x4e\x6f";${${"\x47\x4c\x4fB\x41L\x53"}["\x78ee\x70\x76\x6cd\x73\x77"]}=$current_user->id;${"\x47\x4cO\x42A\x4cS"}["pu\x71a\x63\x64\x71\x71x\x64"]="\x72\x6f\x77\x73";${${"\x47\x4c\x4f\x42AL\x53"}["\x79\x67\x62\x79\x68\x78\x67\x63"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x65\x65p\x76\x6c\x64s\x77"]});${"GL\x4f\x42\x41\x4c\x53"}["\x66\x6c\x65\x74\x6f\x6f\x72\x64w"]="n\x65x\x74W\x68\x61\x74s\x61\x70\x70\x52\x65\x6c\x61\x74\x65\x64\x4d\x65\x73\x73ag\x65";$ebhytu="\x75se\x72I\x44";${${"G\x4cO\x42A\x4c\x53"}["pofp\x73\x76e"]}=${$heeldfeo}["\x77\x68at\x73\x61p\x70no"];${${"\x47L\x4f\x42\x41\x4cS"}["pr\x61gm\x6a\x66e\x6f"]}=CTWhatsApp_Record_Model::getInNumberQuery(${$ebhytu});if(${$znqwyhkq}==""){${"\x47L\x4fB\x41LS"}["\x63\x71c\x78\x77xu"]="\x6e\x65\x78\x74\x57\x68a\x74s\x61\x70\x70R\x65\x6c\x61\x74\x65\x64M\x65\x73\x73a\x67\x65";${${"G\x4c\x4f\x42AL\x53"}["\x63\x71c\x78wxu"]}=0;}${${"G\x4cO\x42\x41L\x53"}["\x72\x67\x72\x78\x71\x74\x72\x6e\x72u\x77"]}=CTWhatsApp_Record_Model::unreadQuery();$wxqsrmfup="\x63u\x73tomQ\x75\x65\x72y";$lulyut="wh\x61t\x73ap\x70M\x65s\x73\x61\x67\x65\x48\x54M\x4c";$qgowdmrxcy="\x6de\x73\x73\x61\x67e\x44ata";${$wxqsrmfup}=" \x41N\x44 wh\x61\x74\x73\x61p\x70\x5f\x63o\x6e\x74a\x63ti\x64\x20= ?\x20OR\x44\x45R\x20\x42\x59 wh\x61\x74sa\x70p_da\x74\x65ti\x6de ASC LI\x4dIT ".${${"GL\x4f\x42AL\x53"}["\x66l\x65t\x6fo\x72\x64w"]}.",\x205";$iuvcmxtb="\x65\x78\x63\x65\x6c\x45\x78ts";${${"\x47LO\x42\x41L\x53"}["\x6f\x76tt\x79\x79o"]}=$adb->pquery(${${"\x47LOBA\x4c\x53"}["\x6f\x79\x75\x70r\x69\x6c\x73"]}.${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62i\x6ex\x62\x64\x69\x64"]},array(${${"\x47L\x4f\x42\x41\x4c\x53"}["x\x6b\x6b\x68f\x74"]}));${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x64l\x7a\x6c\x68dq\x6fc\x77\x70"]}=$adb->num_rows(${${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x67\x6d\x69\x62\x6e\x6b\x79\x6a\x76\x77\x62"]});${$pvtprvgvmw}="";${${"\x47\x4c\x4fB\x41L\x53"}["\x6c\x70\x67sn\x74\x62\x6d\x71\x65"]}=array("\x67\x69\x66","\x6a\x70g","j\x70eg","p\x6e\x67","\x74\x69\x66f","\x74if");${"\x47\x4c\x4fB\x41LS"}["\x64balw\x6ay\x6fr\x77\x6a"]="\x72ow\x73";${${"GL\x4fB\x41L\x53"}["j\x6e\x79\x70\x6ex\x62s\x72\x6f\x78p"]}=array("\x70\x64f");${$miaqgen}=array("\x74xt","p\x68\x70","\x7ai\x70","\x63s\x76","\x68\x74\x74p\x73");${${"\x47\x4cOB\x41\x4cS"}["\x73\x67\x6ck\x6ck"]}=array("\x6dp\x33");${$iuvcmxtb}=array("\x78\x6cs");$pscsscj="\x6de\x73\x73\x61\x67\x65\x44at\x61";${${"\x47\x4cO\x42ALS"}["j\x6e\x78\x66q\x71\x6cek\x70"]}=array("\x64\x6f\x63x","\x64o\x63");for(${${"\x47L\x4f\x42A\x4cS"}["\x71\x6fkt\x68\x6et\x6de"]}=0;${${"G\x4cO\x42\x41LS"}["va\x72\x62\x75\x66\x64"]}<${${"\x47L\x4f\x42AL\x53"}["\x70\x75\x71\x61cdqq\x78d"]};${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x61r\x62\x75\x66\x64"]}++){$woaforsod="f\x69le\x45\x78\x74\x73";$xtqhedfcq="\x69";${"\x47\x4cO\x42A\x4cS"}["\x6e\x68\x69\x6cvt\x74"]="\x75r\x6c\x45\x78\x74";$vwlsbakre="m\x703\x45\x78\x74\x73";$trkfjkihsl="\x69";$jgqhfsda="qu\x65\x72\x79";${"GL\x4f\x42\x41\x4cS"}["\x67i\x6a\x63s\x71fm\x62"]="\x71\x75e\x72y";$tgxtpal="\x75\x72\x6c\x45\x78\x74";$gdqirnx="\x75\x72\x6c\x45\x78\x74";$crmgwwhu="ge\x74\x4eu\x6d\x62\x65\x72\x44\x65\x74\x61\x69\x6c\x73";$pljsemz="\x79\x6f\x75\x72\x5f\x6e\x75\x6d\x62er";$luuiverm="me\x73\x73\x61g\x65S\x65\x6e\x64\x65\x72am\x65";${"\x47\x4c\x4f\x42\x41LS"}["\x6d\x72\x71\x69\x6b\x69z"]="\x71u\x65\x72\x79";$dstplmxsk="qu\x65\x72\x79";$ybjwwehlmmcf="\x69";$ubrfrv="\x66il\x65\x45x\x74\x73";${"G\x4c\x4fB\x41\x4cS"}["\x68\x68j\x6ay\x65\x6a"]="i";$adidichnj="\x63\x74W\x68\x61\x74\x73\x61\x70\x70\x49\x64";${"\x47\x4c\x4fB\x41L\x53"}["g\x62x\x76a\x71\x62\x70\x77\x78zy"]="qu\x65ry";$xfbqlwczyv="\x71uot\x65m\x65\x73\x73age";${$adidichnj}=$adb->query_result(${$jgqhfsda},${${"\x47L\x4fB\x41LS"}["v\x61r\x62\x75\x66d"]},"ctw\x68a\x74\x73a\x70p\x69\x64");${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x62wsh\x79d\x78"]="m\x65ss\x61\x67eI\x6d\x70\x6f\x72\x74a\x6e\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["li\x65\x76p\x77k\x79e"]="\x65\x78\x63\x65lEx\x74s";$tyktqkxyzjjb="i";$nfspnis="i";$qfenpndos="\x6d\x65\x73s\x61\x67e\x54\x79p\x65";${${"\x47LOBA\x4c\x53"}["tb\x77\x73\x68y\x64x"]}=$adb->query_result(${$dstplmxsk},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68h\x6a\x6a\x79\x65j"]},"what\x73a\x70\x70\x5f\x69\x6d\x70\x6f\x72\x74\x61\x6e\x74");$jrnrtinr="\x75\x72l\x45\x78\x74";${"\x47L\x4fB\x41\x4cS"}["\x73h\x69vbhv\x63\x78\x68\x70"]="\x6de\x73\x73a\x67e\x54\x79\x70e";${"\x47\x4c\x4fBA\x4cS"}["\x77\x79q\x64\x77\x73\x73\x6b"]="me\x73\x73a\x67\x65\x52e\x61\x64\x55n\x52\x65ad";${$qfenpndos}=$adb->query_result(${${"GL\x4f\x42ALS"}["\x6f\x76\x74t\x79\x79\x6f"]},${$ybjwwehlmmcf},"mes\x73\x61g\x65\x5ft\x79\x70\x65");${${"G\x4c\x4fBA\x4c\x53"}["\x77y\x71\x64\x77\x73s\x6b"]}=$adb->query_result(${${"GLO\x42\x41\x4cS"}["\x6fv\x74ty\x79\x6f"]},${${"\x47L\x4fB\x41L\x53"}["\x76\x61\x72bu\x66\x64"]},"w\x68\x61\x74\x73ap\x70_un\x72\x65a\x64\x72e\x61\x64");${$luuiverm}=$adb->query_result(${${"GLOBA\x4cS"}["m\x72\x71\x69k\x69\x7a"]},${$xtqhedfcq},"wh\x61ts\x61p\x70\x5f\x73end\x65r\x6e\x61me");$zoqwrmuwvkw="\x6d\x65\x73\x73ag\x65\x42o\x64\x79";${${"\x47LO\x42\x41\x4c\x53"}["zd\x6a\x73\x65\x6e\x6eq"]}=$adb->query_result(${${"\x47L\x4fB\x41LS"}["o\x76\x74\x74y\x79\x6f"]},${$nfspnis},"\x77h\x61\x74sa\x70p\x5f\x77\x69\x74h\x63c\x6fd\x65");$yxisgxohqsrl="w\x6fr\x64\x6c\x45\x78t\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x76g\x6d\x6e\x6cxopo"]="\x69\x6dg\x45\x78\x74\x73";${"GL\x4fBA\x4c\x53"}["\x62\x62zx\x69\x66\x64f\x63m"]="\x75\x72\x6c\x45x\x74";${$pljsemz}=$adb->query_result(${${"G\x4c\x4f\x42A\x4c\x53"}["o\x76\x74\x74\x79y\x6f"]},${${"G\x4c\x4f\x42\x41LS"}["\x76\x61\x72\x62ufd"]},"yo\x75\x72\x5fnu\x6d\x62\x65r");${$crmgwwhu}=CTWhatsApp_Record_Model::getWhatsAppDetailWithMobileNo(${${"\x47\x4c\x4fBAL\x53"}["\x71o\x75r\x78\x76\x65"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x79j\x6fb\x76\x6c\x65"]}=${${"\x47LO\x42\x41L\x53"}["\x6b\x78ht\x62\x71he"]}["u\x73ern\x61\x6de"];${$xfbqlwczyv}=$adb->query_result(${${"G\x4c\x4fBAL\x53"}["\x67i\x6ac\x73\x71f\x6db"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76ar\x62\x75f\x64"]},"\x77\x68atsapp_\x71\x75\x6f\x74\x65\x6d\x65\x73\x73\x61\x67\x65");$zlqohatchw="\x75r\x6c\x45\x78\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x7a\x79nm\x69\x66\x68ui"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4cS"}["g\x62x\x76a\x71\x62\x70w\x78z\x79"]},${${"G\x4cO\x42\x41L\x53"}["va\x72\x62\x75\x66\x64"]},"m\x73\x67\x69\x64");${${"\x47\x4c\x4f\x42\x41LS"}["\x77\x79\x71\x6d\x6cw\x6b"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6fv\x74t\x79\x79\x6f"]},${${"\x47\x4cO\x42A\x4c\x53"}["\x76\x61\x72\x62u\x66\x64"]},"me\x73s\x61ge\x5fb\x6f\x64y");${$zoqwrmuwvkw}=nl2br(preg_replace("#\\*([^*]+)\\*\x23","\x3cb\x3e\$1\x3c/b>",$adb->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x76\x74ty\x79\x6f"]},${$tyktqkxyzjjb},"me\x73\x73\x61\x67e\x5f\x62o\x64y")));${$gdqirnx}=pathinfo(${${"\x47\x4cOBA\x4c\x53"}["l\x79\x6e\x6d\x6f\x75v\x77"]},PATHINFO_EXTENSION);$queibym="\x75\x72\x6c\x45x\x74";${"\x47LOB\x41\x4cS"}["\x77\x67\x70\x6aqn\x76"]="\x75r\x6c\x45\x78\x74";$uclqlev="me\x73s\x61\x67\x65Ty\x70\x65";if(in_array(${$zlqohatchw},${${"\x47L\x4fBA\x4c\x53"}["l\x70g\x73\x6et\x62\x6dq\x65"]})){$hndswpvgxvt="messa\x67e\x42od\x79";${"G\x4cO\x42\x41LS"}["\x73n\x62\x70\x6b\x68\x72\x6a\x68\x63"]="\x6d\x65\x73s\x61g\x65B\x6f\x64\x79";${$hndswpvgxvt}="\x3ci\x6d\x61\x67\x65 s\x72\x63\x3d\x22".${${"\x47\x4cOB\x41LS"}["s\x6eb\x70k\x68\x72jh\x63"]}."\" s\x74\x79le\x3d\x22\x68\x65igh\x74: 60\x70\x78\x20\x21i\x6d\x70\x6f\x72t\x61nt;cu\x72\x73or:\x20p\x6f\x69nter;\x22>";}else if(in_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cbau\x6f\x79nd\x78"]},${$ubrfrv})){$eucnmeqqx="me\x73\x73\x61ge\x42\x6f\x64\x79";${$eucnmeqqx}="\x3c\x61 \x68\x72\x65\x66=\"".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x79\x6e\x6do\x75v\x77"]}."\" ta\x72\x67e\x74=\"_\x62\x6c\x61\x63k\"\x3e\x3ci\x6dg s\x72\x63=\"la\x79\x6f\x75ts/\x767/mo\x64\x75\x6ce\x73/CT\x57\x68at\x73App/imag\x65/\x66i\x6c\x65\x69\x63o\x6e\x2e\x70\x6eg\"></\x61\x3e";}else if(in_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x62\x61\x75\x6f\x79n\x64x"]},${${"G\x4c\x4f\x42\x41L\x53"}["j\x6e\x79p\x6e\x78bs\x72oxp"]})){$auwpjfv="\x6d\x65s\x73a\x67\x65\x42\x6f\x64\x79";${${"\x47\x4c\x4fB\x41LS"}["\x6cy\x6e\x6do\x75v\x77"]}="\x3ca\x20\x68r\x65\x66\x3d\x22".${$auwpjfv}."\x22 target=\"\x5fb\x6c\x61\x63k\x22><\x69\x6dg \x73\x72c\x3d\"\x6c\x61youts/\x767/m\x6fd\x75\x6ces/C\x54\x57\x68\x61\x74\x73A\x70\x70/\x69\x6d\x61g\x65/p\x64\x66\x69\x63on\x2ep\x6e\x67\x22\x3e\x3c/a>";}else if(in_array(${$queibym},${${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x69\x65\x76\x70\x77\x6bye"]})){${"\x47\x4c\x4f\x42\x41L\x53"}["ki\x62f\x72l\x6e\x6e"]="\x6d\x65s\x73\x61\x67e\x42\x6fd\x79";${${"\x47\x4cOB\x41LS"}["\x6bi\x62\x66\x72\x6cnn"]}="\x3ca\x20\x68r\x65\x66\x3d\x22".${${"G\x4c\x4fB\x41L\x53"}["l\x79\x6em\x6fu\x76w"]}."\x22\x20t\x61\x72\x67et\x3d\"\x5fbla\x63\x6b\x22><i\x6d\x67\x20\x73\x72c=\x22la\x79outs/v\x37/modu\x6c\x65s/CTW\x68ats\x41\x70p/i\x6dage/\x65\x78c\x65\x6cico\x6e.\x70n\x67\"></a\x3e";}else if(in_array(${${"\x47L\x4f\x42\x41\x4c\x53"}["l\x62\x61\x75oy\x6edx"]},${${"\x47\x4c\x4f\x42\x41LS"}["\x6a\x6ex\x66\x71\x71le\x6bp"]})){$txpqdxrb="\x6d\x65\x73\x73\x61g\x65B\x6f\x64\x79";${$txpqdxrb}="\x3ca h\x72\x65f\x3d\"".${${"\x47L\x4f\x42\x41\x4cS"}["\x6c\x79\x6e\x6d\x6f\x75vw"]}."\x22 t\x61\x72g\x65\x74=\x22\x5fbla\x63\x6b\"><i\x6d\x67\x20s\x72c=\"\x6c\x61\x79\x6fut\x73/\x767/\x6dodu\x6ces/C\x54\x57\x68\x61\x74\x73App/imag\x65/\x77\x6fr\x64\x69\x63\x6fn\x2ejpg\"\x3e</a>";}else if(in_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x62\x61\x75\x6f\x79\x6e\x64x"]},${${"\x47\x4cOB\x41\x4c\x53"}["\x73g\x6c\x6b\x6ck"]})){$xwjgjsgvle="m\x65\x73\x73\x61\x67\x65\x42o\x64y";${$xwjgjsgvle}=" \x3ca\x75d\x69o\x20c\x6f\x6etr\x6f\x6c\x73>\n\x20 \x20\x20\x20\x20   \x20 \x20 \x20\x20\x20  \x20\x20\x20\x20\x20 \x3cs\x6f\x75rc\x65 \x73r\x63\x3d\"".${${"\x47\x4cO\x42ALS"}["\x6c\x79\x6e\x6d\x6fuv\x77"]}."\" \x74y\x70\x65=\"\x61\x75\x64\x69\x6f/\x6fgg\x22\x3e\n\x20\x20\x20\x20 \x20   \x20  \x20 \x20\x20 \x20\x20 \x20  \x20<s\x6fu\x72\x63\x65\x20\x73\x72c=\x22".${${"\x47LOB\x41\x4c\x53"}["\x6cy\x6e\x6d\x6fu\x76\x77"]}."\x22\x20t\x79\x70e=\"a\x75\x64i\x6f/\x6dpeg\x22>\n\x20\x20\x20\x20   \x20\x20 \x20   \x20\x20 \x20 \x20\x20 \x59o\x75r \x62\x72\x6f\x77\x73er d\x6f\x65s \x6e\x6ft s\x75\x70\x70o\x72\x74 t\x68e\x20a\x75di\x6f\x20e\x6ce\x6d\x65\x6et.\n   \x20 \x20  \x20\x20\x20\x20\x20  \x20  \x20 \x3c/\x61\x75di\x6f> ";}if(in_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x67p\x6a\x71\x6e\x76"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67v\x67\x6dnl\x78\x6fp\x6f"]})||in_array(${${"\x47L\x4f\x42A\x4cS"}["\x6e\x68\x69lvt\x74"]},${$woaforsod})||in_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x62au\x6f\x79\x6e\x64\x78"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x6e\x79\x70\x6e\x78\x62\x73\x72\x6fx\x70"]})||in_array(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x62b\x7a\x78\x69\x66\x64fcm"]},${$vwlsbakre})||in_array(${$tgxtpal},${${"GL\x4f\x42A\x4c\x53"}["\x62\x68\x70\x71\x79uy\x67\x71"]})||in_array(${$jrnrtinr},${$yxisgxohqsrl})){${"\x47\x4c\x4fB\x41LS"}["e\x6eh\x6cc\x64\x64in"]="what\x73A\x70p\x46\x69leNa\x6de";$oedaiaw="\x72e\x70\x6c\x79\x4d\x65\x73\x73\x61\x67\x65H\x54\x4dL";$twuomsrisu="\x6e\x6f\x74R\x65\x70lyW\x68a\x74sapp";${"\x47L\x4f\x42A\x4c\x53"}["\x77\x77\x6b\x72\x64\x74\x72\x74\x72\x67\x62"]="\x64\x6f\x63\x75\x6den\x74\x42o\x64\x79";${$oedaiaw}="";${${"\x47L\x4fB\x41\x4c\x53"}["\x65\x6eh\x6cc\x64\x64i\x6e"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GL\x4f\x42\x41\x4c\x53"}["\x77\x77\x6b\x72\x64\x74\x72t\x72\x67\x62"]});${$twuomsrisu}="\x30";}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x65lm\x6b\x72\x6e\x6a\x69\x77\x79"]="\x77\x68\x61\x74\x73\x61\x70pM\x6fdul\x65";if(${${"\x47\x4cO\x42AL\x53"}["\x69el\x6d\x6b\x72n\x6a\x69w\x79"]}!="Gr\x6f\x75p\x73"){$khltkvv="\x6e\x6f\x74R\x65pl\x79\x57h\x61\x74s\x61pp";${"G\x4c\x4f\x42\x41L\x53"}["\x71\x72b\x6d\x72\x71\x68\x69\x75"]="m\x65\x73\x73ag\x65B\x6fd\x79";${${"G\x4cO\x42\x41\x4cS"}["\x65\x6cx\x72\x62c\x6c\x71c\x6d\x66"]}="&\x6ebsp;&\x6e\x62sp\x3b\n\x20  \x20  \x20  \x20\x20 \x20\x20 \x20\x20 \x20  \x20\x20 <\x73p\x61\x6e\x20c\x6c\x61\x73s\x3d\"co\x70\x79Mes\x73\x61geB\x6fd\x79\"\x20\x64\x61\x74\x61-co\x70ym\x65s\x73a\x67e\x3d\"".strip_tags(${${"\x47\x4c\x4f\x42\x41LS"}["\x71\x72\x62mrq\x68i\x75"]})."\">\n\x20\x20  \x20  \x20 \x20 \x20 \x20\x20 \x20\x20   \x20\x20   \x3ci\x6d\x67 s\x74yle=\x22flo\x61t:\x20\x6c\x65ft;\x6dargi\x6e-rig\x68\x74:\x20\x310px\x3bw\x69\x64\x74h: 15p\x78; \x21\x69m\x70\x6f\x72\x74\x61\x6et\x22 \x73\x72c=\x22\x6c\x61yo\x75ts/\x76\x37/mo\x64\x75\x6ces/C\x54W\x68a\x74\x73\x41p\x70/i\x6da\x67\x65/\x63o\x70y.\x70ng\" ti\x74l\x65\x3d\x22".vtranslate("L\x42\x4c_\x43O\x50Y","C\x54Wh\x61ts\x41p\x70")."\"\x3e<\x70>".vtranslate("\x4c\x42L_CO\x50\x59","\x43\x54W\x68\x61t\x73Ap\x70")."\x3c/p>\n \x20 \x20 \x20\x20\x20\x20\x20    \x20    \x20 \x20 \x20</sp\x61\x6e\x3e";${$khltkvv}="\x31";}${${"\x47\x4cOB\x41\x4cS"}["xlug\x61\x66\x6b\x77\x77\x67w"]}="";}${${"\x47\x4c\x4f\x42A\x4c\x53"}["s\x6a\x70\x63\x76\x72p\x77\x6f\x74\x6a"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${${"G\x4c\x4f\x42A\x4cS"}["ov\x74ty\x79\x6f"]},${$trkfjkihsl},"wha\x74\x73ap\x70\x5fd\x61t\x65\x74\x69me"));if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x73h\x69v\x62\x68\x76\x63xhp"]}=="Send"||${${"\x47\x4cO\x42\x41\x4c\x53"}["gk\x62\x72m\x62\x64e\x6b\x70"]}=="Mas\x73\x20Messag\x65"){${"\x47L\x4f\x42\x41\x4c\x53"}["w\x6erm\x62\x66\x79"]="wha\x74\x73ap\x70\x4d\x65s\x73a\x67\x65\x48\x54\x4d\x4c";$oqhxrnitpbc="\x77\x68a\x74\x73\x61p\x70\x4d\x65\x73\x73\x61ge\x48\x54\x4d\x4c";$uqijplekdl="\x74\x6f\x74\x61\x6c\x53en\x74";$vbjotbiebi="c\x74W\x68a\x74sa\x70\x70Id";${${"\x47\x4c\x4f\x42\x41L\x53"}["gi\x72\x68v\x73"]}=${$uqijplekdl}+1;${"\x47\x4c\x4fBA\x4c\x53"}["\x68\x68qkh\x6fbf\x63d\x6ea"]="\x6e\x6f\x74\x52ep\x6c\x79W\x68a\x74\x73a\x70\x70";${${"\x47L\x4f\x42\x41L\x53"}["\x6c\x77r\x73\x6ex\x76"]}.="\x3c\x64iv \x63la\x73\x73=\x22\x73\x65\x6ed\x43\x68at\">\n\x20\x20 \x20\x20\x20\x20 \x20   \x20 \x20\x20 \x20  \x20\x20 \x20 \x20\x3c\x64i\x76\x20\x63la\x73\x73=\"\x63\x6fl-\x78\x73-\x312\x20co\x6c-sm-\x32\x20\x63\x6f\x6c-\x6dd-\x32 \x63o\x6c-l\x67-\x32\">\n\x20 \x20\x20\x20\x20 \x20 \x20 \x20  \x20 \x20\x20\x20\x20\x20\x20  \x20\x20\x3c/div>\n  \x20\x20 \x20\x20\x20\x20 \x20 \x20\x20\x20\x20 \x20  \x20\x20  \x20\x20\x3cd\x69\x76 class=\"\x63\x6f\x6c-xs-1\x32 \x63o\x6c-sm-\x32\x20c\x6f\x6c-\x6dd-2 \x63o\x6c-\x6c\x67-2\"\x3e\n\x20\x20\x20\x20  \x20\x20\x20   \x20\x20   \x20  \x20 \x20\x20  </d\x69v\x3e\n\x20 \x20\x20\x20\x20\x20\x20 \x20 \x20  \x20\x20\x20\x20  \x20\x20\x20   <\x64i\x76\x20\x63l\x61s\x73\x3d\x22c\x6f\x6c-\x78\x73-\x31\x30\x20\x63ol-sm-8\x20c\x6fl-\x6d\x64-8\x20\x63ol-l\x67-\x38\x22\x3e\n\x20   \x20  \x20\x20\x20  \x20\x20  \x20 \x20 \x20 \x20 \x20\x20 \x20<d\x69\x76 cl\x61s\x73=\x22m\x61\x69\x6eMes\x73ageD\x69\x76\x22>";if(${${"\x47\x4cO\x42AL\x53"}["\x68\x68\x71\x6b\x68ob\x66\x63dn\x61"]}!="0"){${"\x47\x4cOBA\x4c\x53"}["\x61wo\x77\x61k\x63n\x72\x63"]="\x77h\x61t\x73\x61\x70\x70\x4d\x65\x73\x73\x61g\x65\x48\x54M\x4c";$zdymcblmr="w\x68at\x73\x61\x70\x70\x4d\x65\x73sa\x67e\x48TM\x4c";$vnfpekp="wh\x61\x74\x73\x61\x70p\x4d\x65\x73\x73\x61\x67\x65H\x54\x4d\x4c";${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x6ca\x6eb\x73r\x6e\x6f\x74"]="\x77\x68a\x74\x73\x61ppM\x65\x73s\x61\x67\x65\x48T\x4d\x4c";$lgejfbcjeiy="w\x68\x61\x74sa\x70\x70\x4d\x65\x73\x73\x61\x67e\x48T\x4d\x4c";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x61wo\x77\x61\x6b\x63\x6erc"]}.="\x3c\x64\x69\x76 cla\x73s\x3d\x22\x64r\x6fpdown\x22>\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\x3c\x64\x69\x76\x20cl\x61\x73s=\"d\x72o\x70d\x6f\x77n-t\x6f\x67gl\x65\" i\x64=\x22\x64r\x6f\x70\x64\x6f\x77n\x4den\x75\x42\x75\x74t\x6fn\x22\x20d\x61ta-\x74o\x67g\x6c\x65\x3d\x22\x64ropdown\x22 \x61ri\x61-ex\x70ande\x64=\x22\x74r\x75\x65\x22 sty\x6ce\x3d\"float: rig\x68\x74\x20\x21\x69mpor\x74\x61\x6e\x74\x3b\x22\x3e\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 <i class=\"fa\x20f\x61-\x65\x6cl\x69\x70s\x69s-\x76 \x69\x63\x6f\x6e\"\x20\x73t\x79\x6ce=\x22\x77\x69dt\x68:\x208p\x78\x3bmarg\x69n: \x35\x70\x78\x3bc\x75r\x73or:\x20\x70oin\x74\x65\x72\x3b\">\x3c/i>\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 \x20 \x20\x3c/\x64i\x76>\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 \x20    \x20\x20  \x20 \x20 \x3cdi\x76 \x63\x6c\x61ss=\"dr\x6fpd\x6fwn-me\x6eu\x22\x20aria-l\x61\x62el\x6c\x65d\x62y=\x22d\x72\x6f\x70\x64\x6fwnMe\x6eu\x42\x75t\x74on\x22\x3e\n\x20\x20   \x20  \x20    \x20  \x20 \x20     \x20\x20\x20\x20   \x20\x20     \x20 \x20     \x20 \x20\x20\x20 \x20\x20\x3c\x64iv\x20\x63lass\x3d\x22dro\x70\x64\x6fwn\x49n\x6e\x65\x72\x4de\x6eu\"\x3e\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<\x61\x3e";${"G\x4c\x4fB\x41\x4cS"}["\x67\x73\x72\x74p\x6b"]="\x63\x6f\x70\x79M\x65\x73s\x61\x67\x65";${$zdymcblmr}.=${${"\x47\x4c\x4f\x42\x41L\x53"}["fh\x70y\x70\x63\x66\x73\x75\x70\x63"]}."";${$lgejfbcjeiy}.="\x3c/\x61\x3e\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 \x20\x20 \x20\x20\x20\x3c\x61>";${$vnfpekp}.=${${"\x47L\x4f\x42\x41L\x53"}["\x67\x73\x72\x74pk"]}."";${${"GL\x4f\x42\x41L\x53"}["\x69\x6c\x61\x6e\x62\x73\x72\x6e\x6f\x74"]}.="</a\x3e\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 \x3c/\x64\x69v>\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 </div>\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 \x20\x20 \x3c/\x64iv>";}${"G\x4cO\x42\x41L\x53"}["\x6cq\x77\x66t\x69b\x6b\x64"]="\x63\x72ea\x74\x65\x64T\x69\x6d\x65";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6cw\x72\x73\x6e\x78\x76"]}.="<div \x63\x6c\x61\x73s\x3d\"\x62\x75\x62\x62\x6ce sen\x64\"\x20\x64\x61ta-w\x68a\x74\x73\x61ppid=".${${"\x47\x4c\x4fBA\x4c\x53"}["l\x6fz\x69i\x62\x67sm\x67"]}."\x3e";if(${${"\x47L\x4f\x42\x41L\x53"}["\x6d\x6f\x6b\x66\x65cs\x79\x78w\x64"]}!=""){${${"\x47L\x4f\x42\x41\x4c\x53"}["l\x77\x72\x73nxv"]}.="\x3cdiv\x20\x63lass\x3d\"\x73\x65nd\x51uo\x74eMe\x73\x73\x61g\x65\">\x3c\x70 st\x79\x6ce\x3d\x22w\x6f\x72\x64-wr\x61\x70:\x20bre\x61k-\x77\x6fr\x64\x3b\x22>".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6do\x6b\x66e\x63\x73\x79\x78\x77d"]}."\x3c/\x70></\x64\x69v\x3e";}if(${${"\x47L\x4f\x42\x41L\x53"}["\x7a\x64j\x73\x65\x6e\x6eq"]}=="G\x72o\x75p\x73"){$cthdcrdjr="m\x65\x73\x73a\x67\x65Send\x65\x72a\x6d\x65";${"G\x4c\x4f\x42\x41\x4cS"}["bz\x61a\x69i\x70"]="w\x68\x61\x74\x73\x61pp\x4d\x65\x73\x73\x61\x67\x65H\x54\x4d\x4c";${${"GL\x4f\x42\x41\x4cS"}["\x62\x7aa\x61\x69\x69\x70"]}.="<\x73pa\x6e><\x62>".${$cthdcrdjr}."\x3c/\x62\x3e</spa\x6e\x3e";}${${"G\x4c\x4fB\x41\x4c\x53"}["\x77\x6er\x6d\x62\x66y"]}.="<p \x73t\x79\x6ce\x3d\"\x77\x6f\x72\x64-\x77rap:\x20\x62\x72\x65ak-w\x6fr\x64\x3b\">".${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x79\x6e\x6d\x6f\x75\x76\x77"]}."\x3c\x62\x72\x3e ".urldecode(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x6c\x75\x67a\x66\x6b\x77wg\x77"]})." \x3c/\x70\x3e\n   \x20\x20 \x20\x20\x20 \x20 \x20\x20\x20\x20\x20  \x20   \x20 \x20  \x3c/\x64i\x76>\n\x20  \x20 \x20\x20\x20 \x20\x20\x20 \x20 \x20   \x20\x20\x20\x20 \x20\x20\x20\x20</\x64i\x76\x3e\n \x20\x20\x20\x20\x20    \x20   \x20\x20\x20\x20\x20 \x20  \x20\x20 \x20 \x3cs\x70an \x63\x6c\x61ss\x3d\"ch\x61\x74Time\"\x3e\x3cb><\x61 \x63\x6c\x61\x73\x73=\x22f\x61 \x66\x61-\x65\x79e\x22\x20\x68r\x65f\x3d\"\x69\x6e\x64ex\x2e\x70hp?mo\x64u\x6ce\x3d\x43TWha\x74sA\x70\x70&view\x3dDe\x74a\x69l\x26\x72\x65c\x6frd=".${$vbjotbiebi}."\" targ\x65\x74\x3d\x22_\x62\x6cack\"\x3e</\x61\x3e\x26n\x62\x73\x70;".${${"\x47L\x4fBA\x4c\x53"}["\x71\x6f\x75\x72\x78\x76e"]}."(".${${"\x47\x4cOB\x41L\x53"}["\x66y\x6a\x6fb\x76\x6c\x65"]}.")\x20-\x20</\x62>".${${"G\x4c\x4f\x42A\x4c\x53"}["l\x71w\x66\x74ib\x6bd"]}."";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x75\x6ao\x68\x7a\x63e\x6d"]}=="\x52\x65\x61d"){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6fl\x71\x61\x73v"]="\x77\x68a\x74s\x61p\x70\x4d\x65ss\x61\x67\x65HTML";${${"\x47\x4c\x4f\x42AL\x53"}["\x6f\x6cqa\x73v"]}.="<i\x6d\x67 src=\"la\x79\x6fu\x74s/\x767/m\x6fd\x75les/\x43\x54Wha\x74s\x41pp/\x69\x6da\x67\x65/\x72\x65\x61\x64\x2e\x70ng\"\x3e";}else{$iotdqnpvw="\x77h\x61\x74s\x61\x70p\x4des\x73\x61g\x65H\x54\x4dL";${$iotdqnpvw}.="<im\x67 sr\x63\x3d\"l\x61\x79o\x75\x74\x73/v\x37/m\x6fd\x75le\x73/\x43TW\x68\x61t\x73\x41\x70\x70/\x69\x6d\x61ge/\x75n\x72\x65ad\x2e\x70n\x67\x22>";}${$oqhxrnitpbc}.="</s\x70an\x3e\x3c/d\x69\x76\x3e\n  \x20\x20\x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20  \x20\x20\x20 \x20</\x64i\x76\x3e";}else if(${$uclqlev}=="\x52\x65ciev\x65d"){${${"\x47\x4c\x4f\x42\x41L\x53"}["b\x7ad\x6af\x70"]}=${${"\x47L\x4fBA\x4c\x53"}["bzd\x6afp"]}+1;$ckqmggoctih="\x69\x73\x47r\x6fup";$caylmfa="w\x68\x61\x74\x73app\x4d\x65s\x73\x61g\x65\x48TM\x4c";${"\x47L\x4f\x42\x41L\x53"}["y\x72\x71b\x6e\x69n\x72\x6c\x78\x64\x65"]="\x6d\x65\x73s\x61\x67\x65Bo\x64\x79";$skhumqqn="\x77hat\x73\x61\x70\x70\x4d\x65s\x73\x61\x67eH\x54M\x4c";$bcbksirbmke="\x73e\x74ype";${${"\x47LO\x42AL\x53"}["\x6c\x77\x72s\x6e\x78\x76"]}.="\x3cdiv\x20c\x6cas\x73\x3d\"\x72epl\x79Chat\">\n   \x20  \x20\x20         \x20\x20\x20   \x20\x20 \x3c\x64iv \x63l\x61ss\x3d\x22\x63ol-x\x73-1\x30\x20\x63o\x6c-\x73m-\x38\x20c\x6f\x6c-\x6dd-8\x20\x63\x6fl-\x6c\x67-8\x22\x3e";${$skhumqqn}.="<\x64\x69\x76 \x63lass\x3d\"bub\x62\x6ce re\x70l\x79\"\x20data-\x77\x68atsa\x70pid\x3d".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6f\x7a\x69ib\x67\x73\x6d\x67"]}."\x3e";$qyvglrj="wha\x74sap\x70\x4des\x73\x61\x67e\x48\x54ML";$gihfsiedr="q\x75\x6f\x74\x65\x6d\x65\x73sa\x67\x65";if(${$gihfsiedr}!=""){${${"\x47\x4c\x4f\x42\x41\x4cS"}["l\x77\x72\x73\x6ex\x76"]}.="<d\x69v\x20cl\x61\x73s\x3d\x22sen\x64QuoteM\x65s\x73\x61g\x65\"\x3e\x3c\x70\x20\x73\x74y\x6c\x65=\"w\x6f\x72\x64-\x77rap: \x62re\x61\x6b-\x77or\x64;\x22>".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x6f\x6bfe\x63sy\x78wd"]}."</\x70></\x64\x69\x76\x3e";}if(${$ckqmggoctih}=="Gro\x75\x70\x73"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x65r\x67\x7a\x7a\x64f"]="\x6d\x65\x73\x73\x61\x67\x65S\x65\x6e\x64\x65\x72\x61\x6d\x65";${${"\x47\x4cOB\x41\x4cS"}["\x6cwrs\x6ex\x76"]}.="<\x73p\x61\x6e>\x3cb\x3e".${${"G\x4c\x4f\x42\x41LS"}["k\x65\x72\x67\x7a\x7a\x64f"]}."</b>\x3c/\x73pa\x6e\x3e";}${$caylmfa}.="<\x70 s\x74\x79le\x3d\"w\x6f\x72\x64-w\x72\x61p: bre\x61\x6b-\x77or\x64\x3b\"\x3e".${${"GL\x4f\x42\x41LS"}["yr\x71\x62n\x69\x6e\x72\x6cx\x64\x65"]}."<\x62r\x3e\x20".urldecode(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x6c\x75ga\x66\x6b\x77\x77\x67\x77"]})." \x3c/p>\x3c/\x64i\x76\x3e";${"\x47\x4cOBA\x4cS"}["\x65\x67\x63\x69\x6ed\x68\x6d"]="w\x68\x61\x74\x73\x61\x70\x70\x4d\x65\x73\x73\x61g\x65\x48T\x4d\x4c";$btwzfot="\x77\x68a\x74\x73app\x4d\x65ss\x61\x67\x65HT\x4d\x4c";if(${$bcbksirbmke}){${"GLO\x42\x41\x4c\x53"}["s\x71\x64\x6c\x64i\x6d"]="f\x69\x6c\x65\x45x\x74\x73";$ogdlhjrqw="i\x6d\x67Ext\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["dq\x64\x79d\x6f\x67v"]="\x75\x72\x6c\x45x\x74";$vygcmkhi="\x70\x64\x66\x45\x78\x74\x73";${"\x47L\x4f\x42\x41L\x53"}["\x6ff\x74\x77o\x6fe\x75no"]="\x75rlE\x78\x74";$cwyupz="url\x45xt";$lzqytqnqulnx="\x75\x72lE\x78t";$ijuxhtsquf="\x6d\x70\x33\x45\x78\x74\x73";if(in_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["o\x66tw\x6fo\x65\x75\x6eo"]},${$ogdlhjrqw})||in_array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6cb\x61\x75\x6f\x79\x6edx"]},${${"\x47LOB\x41LS"}["sqd\x6c\x64\x69\x6d"]})||in_array(${${"G\x4c\x4fB\x41L\x53"}["d\x71\x64ydogv"]},${$vygcmkhi})||in_array(${${"\x47L\x4f\x42\x41L\x53"}["\x6c\x62a\x75\x6fy\x6ed\x78"]},${$ijuxhtsquf})||in_array(${$lzqytqnqulnx},${${"\x47\x4cO\x42\x41\x4c\x53"}["b\x68\x70\x71\x79\x75\x79\x67\x71"]})||in_array(${$cwyupz},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6anx\x66\x71\x71\x6ce\x6bp"]})){$mlhekdjjmcq="w\x68at\x73\x61p\x70\x4d\x65\x73\x73\x61\x67\x65\x48\x54\x4d\x4c";${$mlhekdjjmcq}.="";}else{if(Users_Privileges_Model::isPermitted(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6b\x70a\x69f\x7a\x74\x6fj\x6ec"]},"E\x64\x69\x74\x56ie\x77",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x77ok\x74w\x77c\x62\x74"]})){${"GL\x4f\x42A\x4c\x53"}["\x78\x70c\x73l\x6b\x6fb\x63"]="\x73\x65\x74\x79\x70\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rmhjs\x73\x62\x63d"]="w\x68\x61\x74s\x61\x70\x70\x4d\x65s\x73\x61g\x65\x48\x54\x4d\x4c";${${"G\x4cO\x42\x41\x4c\x53"}["\x72m\x68j\x73s\x62\x63\x64"]}.="&n\x62\x73p\x3b\x26nbs\x70;\n  \x20 \x20   \x20\x20 \x20  \x20 \x20\x20  \x20 \x20\x20\x20  \x20     \x20 \x20 \x20 \x20\x20     <\x73p\x61n\x20\x63\x6c\x61s\x73=\x22\x65d\x69t\x46\x69\x65\x6c\x64\" \x73ty\x6c\x65\x3d\"\x63u\x72\x73\x6fr: \x70\x6fint\x65\x72;\x22>\n\x20 \x20 \x20    \x20 \x20  \x20 \x20\x20\x20\x20\x20\x20\x20 \x20\x20  \x20 \x20\x20      \x20    \x20  \x20\x20\x3cim\x67\x20s\x74y\x6ce=\x22\x66\x6coa\x74:\x20\x6c\x65f\x74\x3b\x77idth: 1\x35p\x78;\x20!\x69\x6dp\x6fr\x74\x61\x6e\x74\"\x20\x73\x72c=\"la\x79ou\x74\x73/v\x37/\x6d\x6fd\x75\x6ce\x73/\x43T\x57ha\x74\x73A\x70\x70/i\x6da\x67\x65/\x65\x64it\x63ontent\x2ep\x6eg\x22\x20t\x69\x74\x6c\x65\x3d\"".vtranslate("LBL\x5f\x45DI\x54\x46\x49ELD","\x43TWhatsAp\x70")."\x20".vtranslate(${${"\x47\x4cOBA\x4c\x53"}["k\x70\x61\x69fz\x74\x6f\x6a\x6e\x63"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6bpa\x69fz\x74\x6f\x6a\x6e\x63"]})."\x22><p\x3e".vtranslate("\x4cB\x4c_EDI\x54FI\x45\x4c\x44","\x43\x54W\x68\x61\x74sA\x70\x70")." ".vtranslate(${${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x70\x61\x69fz\x74oj\x6ec"]},${${"\x47L\x4f\x42\x41L\x53"}["\x78\x70\x63\x73l\x6b\x6f\x62c"]})."</p>\n   \x20 \x20\x20 \x20  \x20 \x20    \x20\x20 \x20\x20\x20\x20\x20  \x20    \x20\x20\x20    \x20  \x20  </\x73\x70an>";}}}if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["x\x68\x6b\x77hhw"]}!="\x30"){${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x77\x72\x73\x6ex\x76"]}.="<\x64\x69v \x63las\x73\x3d\"d\x72\x6f\x70\x64o\x77\x6e\x22 st\x79le=\x22dis\x70la\x79:\x20inli\x6e\x65-b\x6co\x63\x6b !i\x6dp\x6f\x72t\x61nt;\x6da\x72\x67in:\x20\x30\x70x \x30p\x78 0\x70x\x20\x312p\x78\x3b\">\n\x20 \x20\x20\x20  \x20\x20\x20\x20\x20\x20   \x20\x20\x20\x20<\x64i\x76 c\x6cas\x73\x3d\"\x64r\x6f\x70\x64o\x77n-tog\x67\x6c\x65\x22\x20i\x64\x3d\"dr\x6fpd\x6f\x77\x6eM\x65nu\x42\x75tt\x6f\x6e\x22 data-\x74o\x67\x67\x6c\x65=\"\x64\x72o\x70\x64\x6fw\x6e\x22 \x61\x72i\x61-\x65x\x70anded\x3d\"tru\x65\x22>\n \x20\x20     \x20   \x20 \x20\x20   \x20<i\x20cl\x61\x73\x73=\x22\x66a \x66a-\x65l\x6cip\x73i\x73-\x76\x20\x69co\x6e\x22\x20styl\x65=\x22w\x69\x64\x74h: \x38\x70\x78\x3bm\x61rg\x69\x6e:\x205\x70\x78;c\x75r\x73\x6fr: \x70oint\x65r;\x22\x3e\x3c/\x69\x3e\n\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20\x20\x20  \x20\x20\x20 </\x64iv>\n  \x20 \x20  \x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20<\x64i\x76 \x63\x6cas\x73\x3d\x22dropdo\x77\x6e-\x6de\x6eu\x22 \x61\x72\x69\x61-\x6c\x61\x62elle\x64\x62y\x3d\"\x64\x72\x6f\x70\x64\x6f\x77nM\x65\x6eu\x42\x75\x74to\x6e\">\n\x20 \x20   \x20   \x20\x20\x20\x20\x20   \x20\x20\x3cd\x69v \x63\x6ca\x73\x73\x3d\x22\x64ro\x70do\x77nIn\x6e\x65rMenu\"\x3e";$abotbxcru="\x72\x65\x70ly\x4de\x73\x73\x61\x67eH\x54\x4dL";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x77\x72\x73n\x78\x76"]}.="\x3ca>".${$abotbxcru}."\x3c/a\x3e<a\x3e".${${"GL\x4fB\x41LS"}["\x65\x6c\x78\x72\x62\x63\x6c\x71\x63m\x66"]}."</\x61\x3e\x3c\x61>".${${"G\x4c\x4f\x42\x41L\x53"}["z\x78c\x67\x75\x6ea\x70\x75"]}."\x3c/\x61>";${${"GL\x4fB\x41\x4cS"}["l\x77\x72sn\x78v"]}.="</\x64\x69\x76\x3e</d\x69v\x3e</\x64\x69v>";}${${"\x47\x4cOBALS"}["e\x67\x63\x69n\x64\x68m"]}.="\x3c\x73pan clas\x73\x3d\x22cha\x74Ti\x6d\x65\x22 st\x79\x6ce=\x22wi\x64\x74\x68: 1\x300%; !\x69mp\x6f\x72\x74a\x6et\x22\x3e<\x62\x3e\x3c\x61 \x63\x6ca\x73\x73\x3d\x22f\x61\x20fa-e\x79\x65\x22\x20h\x72ef=\"in\x64e\x78.\x70\x68p?mo\x64\x75l\x65=\x43\x54\x57\x68\x61t\x73\x41p\x70\x26\x76iew=De\x74a\x69\x6c\x26\x72e\x63ord\x3d".${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x6fzi\x69\x62\x67s\x6d\x67"]}."\x22 \x74\x61r\x67\x65t\x3d\x22\x5f\x62\x6c\x61ck\x22\x3e\x3c/\x61>&\x6ebs\x70\x3b".${${"\x47L\x4fBA\x4c\x53"}["\x71\x6fu\x72\x78v\x65"]}."(".${${"G\x4c\x4f\x42A\x4c\x53"}["\x66\x79\x6aob\x76l\x65"]}.")\x20-\x20\x3c/\x62\x3e".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73j\x70\x63vrp\x77\x6ft\x6a"]}."";if(${${"\x47\x4cO\x42A\x4c\x53"}["uu\x6a\x6f\x68\x7a\x63em"]}=="R\x65\x61d"){$anflorxkqyi="\x77h\x61\x74\x73\x61\x70\x70\x4dessa\x67e\x48\x54M\x4c";${$anflorxkqyi}.="<im\x67\x20s\x72\x63\x3d\"la\x79\x6f\x75t\x73/v7/\x6d\x6f\x64\x75le\x73/\x43\x54Wh\x61t\x73App/i\x6d\x61ge/r\x65ad\x2ep\x6eg\">";}else{${${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x77r\x73\x6e\x78v"]}.="\x3c\x69mg s\x72\x63=\x22\x6c\x61y\x6f\x75\x74\x73/\x767/modu\x6ces/\x43T\x57h\x61t\x73A\x70\x70/i\x6d\x61\x67e/un\x72ead\x2ep\x6e\x67\"\x3e";}${$qyvglrj}.="\x3c/span></div\x3e";${$btwzfot}.="<d\x69\x76 c\x6cas\x73=\"c\x6f\x6c-x\x73-\x312\x20\x63\x6fl-sm-\x32\x20\x63\x6fl-\x6d\x64-\x32 c\x6f\x6c-\x6cg-\x32\x22>\n\x20\x20  \x20\x20    \x20\x20  \x20 </d\x69v\x3e\n\n\x20\x20\x20\x20 \x20 \x20  \x20 \x20   </di\x76>";}}${$lulyut}.="";${$pscsscj}=array("\x77\x68\x61\x74\x73a\x70\x70Me\x73\x73a\x67e\x48T\x4d\x4c"=>${${"\x47LO\x42\x41\x4c\x53"}["\x6c\x77\x72\x73\x6e\x78\x76"]},"\x72o\x77s"=>${${"\x47\x4cO\x42A\x4c\x53"}["db\x61l\x77j\x79o\x72\x77\x6a"]});return${$qgowdmrxcy};}public function getMessagesRecordData($recordId,$whatsappModule,$groupid,$groupWhatsappNumber){$bjptasq="g\x72\x6f\x75\x70\x57\x68\x61t\x73\x61p\x70Nu\x6d\x62\x65r";$offfxcbjs="a\x63\x74\x69v\x65\x42\x6f\x74";${"\x47L\x4f\x42\x41\x4c\x53"}["gc\x6fjl\x6c\x6e\x73\x68g"]="\x63ur\x72en\x74\x55\x73\x65\x72\x49\x44";global$adb,$current_user;$dhnlfrlzewcc="\x61\x63t\x69v\x65\x42\x6f\x74";${"G\x4c\x4fB\x41L\x53"}["nk\x74\x65\x6et\x73\x74o\x76g"]="s\x65\x74ype";$ouhxgdi="\x67ro\x75\x70id";$duttpzivlv="\x6ca\x62el";$kgsuikivxlg="\x74\x6f\x74al\x52\x65\x63e\x69\x76\x65\x64";${${"\x47\x4c\x4fB\x41\x4c\x53"}["g\x63\x6fj\x6c\x6c\x6eshg"]}=$current_user->id;$akqwsar="g\x72\x6f\x75pi\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77w\x75\x6b\x76nxuh\x6bdj"]="m\x61nua\x6c\x74\x72\x61\x6es\x66er";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6e\x76\x6af\x6e\x64"]="\x67\x65t\x57\x68\x61t\x73\x61pp\x4d\x65ss\x61\x67\x65s";${"\x47L\x4fB\x41\x4c\x53"}["\x71ln\x64\x68\x76e\x72\x6ac\x76"]="c\x75\x72\x72\x65\x6et\x55s\x65\x72\x49\x44";${$duttpzivlv}=${${"\x47\x4c\x4fB\x41\x4cS"}["\x71\x77\x6f\x6b\x74w\x77\x63\x62\x74"]};${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6flw\x65gq\x7a"]="m\x6f\x64ul\x65\x52\x65\x63\x72\x6f\x64\x44ata";$yxnrbp="\x77h\x61\x74s\x61\x70\x70\x4d\x65ssa\x67\x65HT\x4d\x4c";$wsmfjsrvam="r\x65c\x6f\x72\x64Id";${"\x47L\x4f\x42\x41L\x53"}["v\x66o\x6dt\x75\x74\x75f\x73"]="\x72\x65\x63\x6fr\x64Id";if(${$ouhxgdi}){${${"\x47LO\x42A\x4c\x53"}["\x73\x79\x6b\x61\x6f\x77y\x68"]}="l\x61\x79\x6f\x75t\x73/v7/mo\x64\x75l\x65s/C\x54\x57\x68at\x73\x41\x70p/\x69m\x61ge/\x67ro\x75\x70\x73.pn\x67";}else{${${"\x47L\x4f\x42A\x4c\x53"}["s\x79\x6b\x61\x6fw\x79\x68"]}="lay\x6f\x75t\x73/\x76\x37/mod\x75l\x65s/\x43\x54\x57ha\x74s\x41\x70p/i\x6d\x61ge/\x41v\x74arIc\x6f\x6e.\x70ng";}$czxgmfr="\x67\x65tW\x68at\x73\x61\x70\x70\x4d\x65\x73s\x61\x67\x65\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["idb\x74uvk\x64l\x6b"]}=1;${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x6c\x68\x70y\x70\x78\x76n\x66n"]}=CTWhatsApp_Record_Model::getWhatsappMessages(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x77\x6f\x6b\x74w\x77\x63\x62\x74"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ekt\x65\x6et\x73\x74\x6f\x76g"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x6c\x72\x66\x67\x68i"]},${$akqwsar},${$bjptasq});$efivxgbf="\x61uth_t\x6f\x6b\x65\x6e";${$yxnrbp}=${${"G\x4cO\x42A\x4cS"}["f\x6chp\x79\x70\x78\x76\x6e\x66\x6e"]}["w\x68a\x74s\x61\x70\x70M\x65\x73sageH\x54M\x4c"];${${"GL\x4f\x42AL\x53"}["\x67\x69\x72\x68\x76s"]}=${${"GL\x4f\x42\x41\x4c\x53"}["f\x6c\x68py\x70x\x76n\x66\x6e"]}["\x74ot\x61l\x53ent"];${"\x47\x4c\x4fB\x41\x4cS"}["\x61swohb\x7aqy"]="\x69m\x61get\x61\x67";$yvcfpyfeji="\x67e\x74G\x72\x6f\x75\x70M\x65\x6d\x62ers";${$kgsuikivxlg}=${$czxgmfr}["\x74o\x74\x61lR\x65\x63e\x69v\x65d"];${"\x47L\x4fB\x41L\x53"}["\x70\x6e\x65\x6f\x71f\x77"]="get\x42\x6f\x74\x4do\x62\x69\x6c\x65";${${"G\x4c\x4fB\x41L\x53"}["\x72\x7a\x66\x6eco\x70xxx"]}=${${"G\x4c\x4f\x42\x41LS"}["\x77\x6ev\x6a\x66\x6e\x64"]}["\x6d\x65ss\x61ge\x49\x6dp\x6fr\x74a\x6e\x74"];${"\x47\x4c\x4fB\x41L\x53"}["\x61\x77sg\x74\x7an"]="\x63\x6f\x6e\x66ig\x75\x72\x61\x74\x69o\x6e\x44ata";${${"GL\x4f\x42\x41\x4c\x53"}["\x67\x62iq\x6a\x67\x6d"]}=${${"G\x4c\x4f\x42\x41LS"}["f\x6c\x68\x70\x79\x70\x78\x76\x6e\x66n"]}["\x6dod\x75\x6ceIsE\x6ea\x62\x6c\x65"];$tlbmtodkny="\x4do\x64C\x6f\x6d\x6den\x74\x73\x45\x6ea\x62l\x65";${${"GLO\x42A\x4c\x53"}["\x6bo\x73i\x6ft\x66\x73r"]}="";$nifeelf="\x70r\x6f\x66i\x6c\x65\x49m\x61\x67e";${${"\x47L\x4f\x42\x41\x4c\x53"}["pdu\x63\x6c\x6c\x78o\x62y\x78\x74"]}=CTWhatsApp_Record_Model::getWhatsappTheme();${"G\x4c\x4fB\x41\x4c\x53"}["h\x6a\x75be\x77\x73\x6e"]="\x74\x6f\x74\x61\x6c\x53\x65\x6et";if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x64u\x63ll\x78\x6f\x62\x79\x78\x74"]}=="R\x54L"){${"\x47L\x4f\x42\x41LS"}["\x63f\x79\x6a\x63\x78\x65\x78"]="\x72e\x63or\x64I\x64";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x7a\x6bqu\x6c\x74\x6c\x7an\x6e\x62"]}="<\x70>\x3cspa\x6e\x20c\x6c\x61\x73\x73=\x22\x22\x3e".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63f\x79\x6a\x63\x78\x65\x78"]}."</spa\x6e\x3e\x20:\x20".vtranslate("\x4c\x42\x4c_\x50H\x4fN\x45_\x4eUM\x42E\x52","V\x74i\x67\x65\x72")."</\x70>";}else{$yqdhdbgxra="\x6b\x65\x79\x46\x69\x65\x6c\x64\x73H\x54\x4d\x4c";${"\x47L\x4f\x42A\x4cS"}["fjp\x6b\x76\x6c\x68\x6e\x76rd"]="\x72\x65\x63\x6frd\x49\x64";${$yqdhdbgxra}="<\x70\x3e".vtranslate("\x4cB\x4c_\x50H\x4fNE\x5f\x4e\x55MB\x45\x52","\x56tige\x72")." :\x20\x3cs\x70\x61\x6e\x20\x63la\x73\x73=\x22\x22\x3e".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x6a\x70\x6b\x76l\x68\x6e\x76\x72\x64"]}."</spa\x6e></p>";}${${"\x47\x4cO\x42A\x4c\x53"}["we\x77\x6f\x70t\x6d"]}=CTWhatsApp_Record_Model::getWhatsappAllowModules();${${"\x47\x4cO\x42\x41\x4c\x53"}["zpeus\x66\x6b\x77\x65"]}=CTWhatsApp_Record_Model::checkCommentModuleEnable(${${"\x47L\x4f\x42\x41\x4cS"}["\x6b\x70ai\x66\x7ato\x6a\x6e\x63"]});${${"G\x4c\x4f\x42A\x4cS"}["\x67l\x77\x6eq\x62g\x62g\x73"]}=CTWhatsApp_Record_Model::checkPermissionModule("Mo\x64C\x6f\x6d\x6d\x65\x6ets");${"\x47\x4c\x4f\x42\x41L\x53"}["\x72w\x76l\x63\x71\x62w\x6d"]="\x67\x65t\x42o\x74Mobi\x6ce";$sopnbkjs="\x61\x70\x69\x5f\x75rl";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78h\x74i\x68\x6f\x69j\x62\x71\x6a"]}="";if(${${"GL\x4f\x42AL\x53"}["\x6a\x6cr\x66\x67\x68i"]}=="Gro\x75p\x73"){${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x6cv\x64t\x64\x67\x73\x65\x64\x74"]="\x72\x65\x6c\x61\x74\x65\x64Mo\x64\x75l\x65H\x54\x4d\x4c";${${"\x47\x4c\x4f\x42\x41\x4cS"}["n\x6c\x76\x64\x74d\x67\x73\x65\x64t"]}.="\x3ca id=\"m\x65nubar\x5fq\x75ickCre\x61t\x65_HelpD\x65s\x6b\" \x63\x6c\x61\x73\x73\x3d\"d\x72\x6fpdow\x6e-\x69te\x6d\x20\x71\x75\x69ck\x43\x72e\x61\x74e\x4dod\x75l\x65\"\x20\x68\x72e\x66\x3d\"\x23\" d\x61ta-n\x61\x6d\x65=\x22He\x6cp\x44\x65\x73\x6b\x22 data-\x75rl\x3d\x22\x69n\x64ex\x2e\x70hp?m\x6fdu\x6c\x65\x3dHe\x6c\x70D\x65sk&\x76iew=\x51\x75\x69ckC\x72\x65ateA\x6aax\x22>".vtranslate("L\x42L_\x43\x52EA\x54\x45","\x43\x54\x57h\x61ts\x41p\x70")."\x20".vtranslate("\x48el\x70D\x65sk","He\x6c\x70\x44es\x6b")."\x3c/\x61>";}else{$rkgepeot="k\x65y";foreach(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x65\x77\x6fp\x74\x6d"]} as${$rkgepeot}=>${${"\x47\x4c\x4fBA\x4c\x53"}["\x79\x78k\x73\x75\x6d\x78"]}){${"\x47\x4c\x4fBAL\x53"}["f\x6by\x70\x78m\x65g"]="\x76\x61\x6c\x75\x65";$uqhkydc="re\x6c\x61\x74\x65\x64Mo\x64\x75le";${"G\x4cOB\x41\x4cS"}["\x78w\x6e\x70\x72\x6c\x6dl\x69\x73"]="\x6d\x6f\x64\x75\x6ce\x55\x52L";$vxntkibyvqpw="\x72el\x61t\x65\x64\x4d\x6f\x64\x75\x6ceHT\x4d\x4c";${$uqhkydc}=vtranslate(${${"\x47\x4cO\x42\x41\x4c\x53"}["yxk\x73\x75m\x78"]}["\x6dod\x75\x6c\x65"],${${"G\x4cOB\x41LS"}["y\x78\x6b\x73\x75\x6d\x78"]}["\x6d\x6f\x64\x75le"]);$xhqysrmrbn="\x76al\x75\x65";${${"\x47L\x4f\x42A\x4cS"}["x\x77nprl\x6dl\x69\x73"]}="in\x64\x65\x78\x2e\x70\x68\x70?m\x6fd\x75le=".${$xhqysrmrbn}["\x6d\x6fd\x75l\x65"]."\x26v\x69ew=Quick\x43re\x61t\x65\x41\x6a\x61x\x26".${${"\x47L\x4fB\x41\x4c\x53"}["\x79\x78ks\x75\x6d\x78"]}["pho\x6eeF\x69\x65\x6cd"]."\x3d".${${"GL\x4fB\x41\x4c\x53"}["q\x77ok\x74ww\x63\x62t"]};${${"\x47\x4cOBA\x4c\x53"}["\x78\x68\x74\x69\x68\x6f\x69\x6a\x62\x71\x6a"]}.="<a i\x64\x3d\x22\x6denu\x62ar\x5f\x71ui\x63kC\x72\x65\x61t\x65_".${${"GL\x4f\x42\x41L\x53"}["\x66\x6b\x79\x70\x78\x6d\x65\x67"]}["m\x6fdul\x65"]."\"\x20\x63\x6ca\x73\x73\x3d\"\x64rop\x64o\x77\x6e-ite\x6d q\x75\x69c\x6bCr\x65\x61t\x65\x4d\x6fd\x75le\" h\x72e\x66\x3d\"\x23\x22 \x64\x61\x74\x61-name=\"".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79x\x6b\x73\x75m\x78"]}["\x6d\x6fd\x75le"]."\" d\x61t\x61-u\x72\x6c=\"".${${"G\x4c\x4f\x42\x41L\x53"}["\x76\x6a\x73\x6cfl\x71v\x75hu"]}."\x22\x3e".vtranslate("\x4c\x42L_CREA\x54\x45","\x56\x74iger")." ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["teo\x64z\x6ce"]}."</\x61>";${$vxntkibyvqpw}.="\x3c\x61\x20i\x64=\x22m\x65\x6eub\x61r\x5f\x71\x75\x69c\x6b\x43\x72eat\x65_".${${"\x47\x4c\x4f\x42A\x4c\x53"}["yxk\x73\x75\x6d\x78"]}["\x6dod\x75\x6ce"]."\x22 \x63\x6ca\x73s=\x22\x64\x72o\x70down-i\x74e\x6d \x71\x75i\x63kUp\x64a\x74\x65\x4do\x64u\x6ce\x22 href=\"\x23\" \x64at\x61-nam\x65=\x22".${${"G\x4cO\x42A\x4c\x53"}["\x79xksu\x6dx"]}["mo\x64u\x6c\x65"]."\x22\x20data-\x75rl\x3d\"".${${"\x47\x4cO\x42\x41\x4cS"}["\x76\x6a\x73\x6c\x66\x6cq\x76\x75hu"]}."\">".vtranslate("L\x42L_UP\x44\x41\x54E\x53","\x43\x54\x57\x68atsA\x70p")." ".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x65o\x64zl\x65"]}."</\x61\x3e";}}$lsrwmleo="rec\x65n\x74\x43\x6f\x6dm\x65\x6et\x73";${${"GL\x4f\x42A\x4cS"}["r\x77\x76\x6cc\x71\x62\x77\x6d"]}=CTWhatsApp_Record_Model::getPreQuestionDetail(${$wsmfjsrvam});${$dhnlfrlzewcc}=${${"G\x4c\x4fBA\x4cS"}["p\x6e\x65\x6f\x71fw"]}["\x61\x63ti\x76\x65\x42o\x74"];${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x77\x75k\x76\x6e\x78uhk\x64\x6a"]}=${${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x75f\x66\x73\x68e\x70\x6el"]}["m\x61n\x75alt\x72\x61nsfe\x72"];$bsdldicjjdj="\x63o\x6e\x66ig\x75r\x61\x74\x69o\x6e\x44\x61\x74\x61";${${"G\x4c\x4fB\x41\x4cS"}["\x61\x77s\x67t\x7an"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"G\x4cO\x42\x41\x4c\x53"}["\x71l\x6e\x64\x68ver\x6acv"]});$iumpheob="\x6cabel";${$sopnbkjs}=${${"\x47L\x4f\x42\x41LS"}["i\x69my\x6b\x67n"]}["\x61\x70\x69_\x75\x72\x6c"];${$efivxgbf}=${$bsdldicjjdj}["a\x75tht\x6f\x6b\x65n"];${"GLO\x42\x41\x4c\x53"}["\x79\x6bmhz\x6el\x76d\x64\x71"]="m\x6f\x64u\x6c\x65\x49s\x45nable";${${"\x47L\x4fBA\x4c\x53"}["ewtp\x62d\x67\x73\x76\x74q"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["\x69\x69m\x79\x6bg\x6e"]}["\x63\x75sto\x6df\x69\x65ld\x31"];if(${${"\x47\x4c\x4f\x42\x41L\x53"}["h\x78e\x7av\x71\x6e\x77m"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["fpu\x78\x6fk\x62"]="\x67\x65t\x47r\x6fup\x4d\x65\x6dber\x73";${${"\x47LO\x42\x41\x4c\x53"}["\x66\x70ux\x6f\x6b\x62"]}=CTWhatsApp_Record_Model::getGroupMembers(${${"G\x4cO\x42A\x4c\x53"}["\x68xez\x76\x71\x6e\x77\x6d"]});}${${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x6c\x77e\x67\x71z"]}=array("la\x62\x65\x6c"=>${$iumpheob},"\x70\x68\x6fn\x65"=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x66\x6f\x6d\x74u\x74uf\x73"]},"\x70\x72\x6ffil\x65\x49m\x61g\x65"=>${$nifeelf},"i\x6dage\x74ag"=>${${"G\x4cOB\x41\x4c\x53"}["\x61\x73\x77\x6f\x68\x62\x7a\x71\x79"]},"what\x73\x61\x70pM\x65\x73s\x61\x67es"=>${${"G\x4c\x4fB\x41\x4c\x53"}["l\x77r\x73n\x78v"]},"\x74\x6f\x74a\x6cSe\x6et"=>${${"G\x4cOBA\x4cS"}["\x68\x6au\x62\x65w\x73\x6e"]},"\x74o\x74\x61l\x52e\x63e\x69ved"=>${${"\x47L\x4fB\x41L\x53"}["\x62zd\x6afp"]},"\x6be\x79\x46\x69\x65l\x64\x73\x48TML"=>${${"\x47\x4cOB\x41L\x53"}["o\x7a\x6b\x71\x75ltl\x7a\x6e\x6e\x62"]},"re\x63en\x74\x43o\x6d\x6d\x65n\x74\x73"=>${$lsrwmleo},"\x72e\x6cated\x4d\x6f\x64\x75l\x65H\x54\x4d\x4c"=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x68t\x69\x68oi\x6ab\x71\x6a"]},"m\x65\x73s\x61g\x65\x49\x6d\x70o\x72\x74an\x74"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x7a\x66\x6e\x63\x6fpx\x78\x78"]},"comm\x65\x6e\x74M\x6fd\x75le"=>${${"\x47\x4c\x4fBA\x4cS"}["\x7a\x70\x65\x75s\x66\x6b\x77\x65"]},"m\x6f\x64\x75\x6ceI\x73E\x6ea\x62\x6ce"=>${${"GL\x4f\x42\x41L\x53"}["\x79\x6b\x6dhz\x6e\x6c\x76\x64\x64\x71"]},"M\x6f\x64\x43omme\x6e\x74sEna\x62l\x65"=>${$tlbmtodkny},"manu\x61\x6ct\x72\x61n\x73fer"=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x66\x78ona\x6ek\x70\x70\x75"]},"a\x63ti\x76eBot"=>${$offfxcbjs},"gro\x75\x70M\x65m\x62e\x72\x73H\x54ML"=>${$yvcfpyfeji},"\x63urr\x65nt\x55\x73\x65\x72I\x44"=>${${"G\x4c\x4f\x42A\x4c\x53"}["x\x6bf\x65\x67\x63\x62\x76\x61yw"]});return${${"\x47\x4cO\x42A\x4cS"}["\x69sn\x68\x71v\x68\x6es\x61\x62"]};}public function getGroupMembers($groupid){${"\x47\x4cO\x42\x41\x4cS"}["\x6cb\x74\x77c\x6c\x65\x79\x75"]="\x71u\x65\x72\x79";${"\x47LOB\x41L\x53"}["\x79\x72nf\x78\x73v\x79jy"]="\x72o\x77\x73";${"\x47L\x4f\x42\x41L\x53"}["n\x6b\x6f\x6a\x72\x6c\x6f\x69\x68yw"]="\x69";global$adb;$tiqcqfen="\x72\x6fw\x73";${${"G\x4cO\x42A\x4c\x53"}["\x6c\x62\x74\x77\x63\x6c\x65\x79\x75"]}=$adb->pquery("\x53ELEC\x54 * \x46RO\x4d v\x74ig\x65r\x5fctw\x68a\x74\x73a\x70p \n\x20 \x20\x20\x20\x20 \x20 \x20\x20 I\x4e\x4e\x45R \x4aO\x49\x4e\x20v\x74\x69ger_cr\x6d\x65nti\x74y\x20\x4f\x4e v\x74ig\x65\x72\x5f\x63r\x6dentit\x79\x2ec\x72\x6d\x69\x64 \x3d vti\x67\x65\x72_\x63\x74\x77h\x61t\x73ap\x70.c\x74w\x68a\x74s\x61\x70\x70\x69\x64 \n \x20 \x20\x20\x20 \x20 \x20\x20\x20\x57\x48ER\x45 vti\x67\x65r_c\x72\x6d\x65\x6eti\x74y\x2ede\x6ceted\x20= \x30 \x41\x4eD v\x74\x69\x67er_\x63\x74w\x68\x61t\x73\x61p\x70.\x77ha\x74\x73\x61\x70\x70_d\x69sp\x6ca\x79\x6e\x61\x6d\x65 \x3d\x20? AN\x44\x20v\x74iger_c\x74\x77h\x61tsa\x70\x70\x2eme\x73sag\x65_\x74\x79\x70e\x20\x3d\x20'\x27",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x78\x65\x7av\x71n\x77\x6d"]}));${$tiqcqfen}=$adb->num_rows(${${"\x47\x4cOB\x41\x4cS"}["ov\x74t\x79\x79\x6f"]});${"\x47\x4c\x4f\x42A\x4cS"}["\x72k\x75\x63\x79x\x71"]="\x67\x72\x6f\x75p\x4d\x65\x6d\x62e\x72\x73H\x54\x4d\x4c";${"GL\x4f\x42\x41L\x53"}["\x70dxkas\x6f"]="i";${"GLO\x42A\x4c\x53"}["\x6ah\x76iz\x70\x76\x6a\x6c\x6eh"]="\x67\x72\x6f\x75\x70\x4d\x65m\x62e\x72\x73\x48\x54\x4dL";${${"\x47LO\x42\x41\x4cS"}["\x72k\x75\x63\x79x\x71"]}="\x3c\x64i\x76 \x63la\x73s\x3d\x22\x77s-g\x72p-c\x74\x63-wra\x70\x22>";for(${${"\x47\x4cOBAL\x53"}["\x76\x61r\x62u\x66d"]}=0;${${"\x47L\x4fB\x41\x4c\x53"}["\x70d\x78kas\x6f"]}<${${"\x47\x4c\x4f\x42\x41LS"}["\x79\x72\x6e\x66x\x73\x76\x79j\x79"]};${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["nk\x6fjrl\x6f\x69\x68y\x77"]}++){$dgpzpcvkgns="\x77h\x61\x74s\x61\x70\x70\x5fc\x6f\x6e\x74a\x63\x74i\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x7a\x74i\x6d\x77\x6a\x79"]="qu\x65ry";${"\x47LO\x42A\x4c\x53"}["\x71\x68d\x71\x70\x75\x71\x70\x77\x77"]="i";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x77\x75\x6bz\x6a\x63d"]="\x69";${"\x47\x4c\x4fBAL\x53"}["\x6ec\x6d\x74e\x6ec\x6ct\x78\x63\x71"]="\x77h\x61\x74\x73ap\x70_c\x68a\x74\x69d";$kcvbwussibt="\x69";${"G\x4cO\x42A\x4cS"}["\x62v\x6e\x78\x74\x67\x68\x61"]="\x77ha\x74\x73\x61\x70p_\x73\x65\x6e\x64\x65rn\x61\x6de";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6an\x76\x72\x79\x74\x71"]="\x73et\x79p\x65";$cvgryvbbs="\x71\x75er\x79";${${"\x47L\x4fB\x41L\x53"}["\x62v\x6e\x78\x74g\x68a"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41L\x53"}["\x75\x7a\x74\x69m\x77j\x79"]},${$kcvbwussibt},"what\x73a\x70p_s\x65\x6ed\x65\x72n\x61\x6de");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x63\x6dt\x65\x6e\x63\x6c\x74x\x63q"]}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x76tt\x79\x79\x6f"]},${${"GLO\x42\x41\x4c\x53"}["q\x68\x64qp\x75q\x70w\x77"]},"\x77\x68\x61\x74s\x61\x70\x70\x5f\x63h\x61\x74i\x64");${$dgpzpcvkgns}=$adb->query_result(${$cvgryvbbs},${${"\x47\x4cO\x42A\x4c\x53"}["b\x77u\x6bz\x6a\x63\x64"]},"what\x73\x61\x70p\x5fc\x6f\x6eta\x63ti\x64");$hdjrwgd="w\x68\x61t\x73\x61\x70p_\x73\x65\x6ed\x65r\x6e\x61\x6de";${${"\x47\x4cOB\x41L\x53"}["j\x6evr\x79t\x71"]}=VtigerCRMObject::getSEType(${${"G\x4c\x4fB\x41\x4c\x53"}["\x73df\x74w\x7a\x75i"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x78h\x76\x79\x75\x6akcu"]}.="\x3cdi\x76 c\x6c\x61s\x73\x3d\"ws-gr\x70-\x63t\x63-d\x69v\"\x3e\n\x20\x20\x20 \x20\x20\x20 \x20\x20\x20\x20     \x20\x20   \x20  \x20 \x20 \x20\x20\x20\x20   <di\x76\x20\x63\x6cass=\"\x67\x72o\x75\x70\x6e\x61\x6d\x65\x57\x72\x61\x70pe\x72\">\n  \x20  \x20\x20\x20\x20\x20\x20\x20\x20    \x20\x20\x20 \x20\x20\x20\x20  \x20  \x20  \x20\x20\x20\x3csp\x61n\x20\x63\x6c\x61ss=\x22ws-gr\x70-c\x74c-\x6eame\">".${$hdjrwgd}."\x3c/spa\x6e\x3e";if(${${"\x47L\x4f\x42A\x4c\x53"}["kpa\x69fz\x74\x6f\x6an\x63"]}){$cnbexcu="se\x74\x79pe";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x71\x69nc\x61\x70\x71\x75\x62\x67"]="\x77h\x61\x74\x73\x61\x70\x70_\x63\x6f\x6e\x74a\x63t\x69\x64";$nkfvtmatvv="grou\x70\x4d\x65\x6d\x62\x65r\x73H\x54ML";${$nkfvtmatvv}.="<\x61\x20\x68r\x65\x66=\"inde\x78\x2e\x70h\x70?module=".${$cnbexcu}."\x26\x76\x69\x65\x77=De\x74\x61i\x6c&reco\x72\x64\x3d".${${"G\x4c\x4f\x42ALS"}["\x73\x71\x69\x6e\x63\x61\x70qubg"]}."\x22 \x74\x61\x72g\x65t\x3d\x22_\x62l\x61nk\"\x3e<\x69\x20\x63las\x73=\x22f\x61 \x66\x61-a\x6e\x67\x6ce-\x72ig\x68t\x22\x3e\x3c/i\x3e</a>";}${${"\x47\x4cO\x42ALS"}["\x6c\x78\x68\x76\x79\x75j\x6b\x63\x75"]}.="</\x64\x69v\x3e<\x73\x70an\x20c\x6cas\x73\x3d\"w\x73-\x67r\x70-\x63\x74\x63-\x6eum\x62\x65r\">".${${"G\x4c\x4f\x42A\x4c\x53"}["\x6dl\x63\x73d\x64\x62\x76u\x67"]}."</s\x70a\x6e\x3e";${${"\x47\x4c\x4f\x42\x41LS"}["lx\x68\x76y\x75\x6a\x6b\x63u"]}.="</\x64\x69\x76\x3e";}${${"G\x4c\x4fB\x41L\x53"}["jhvi\x7a\x70\x76j\x6c\x6e\x68"]}.="\x3c\x64\x69v\x3e";return${${"\x47L\x4f\x42\x41LS"}["\x6cxhv\x79\x75jk\x63u"]};}public function getInNumberQuery($userid){${"G\x4cOB\x41\x4cS"}["\x63w\x65\x71\x63\x65s\x75"]="use\x72\x69\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x74x\x6am\x64\x6f\x67y\x62"]="\x61\x6c\x6c\x6eum\x62\x65r";${"\x47\x4cOB\x41\x4c\x53"}["\x67\x75\x6c\x70\x74s\x6d"]="\x69\x6eNu\x6d\x62\x65\x72";$jvwwffpmly="\x69\x6e\x4e\x75m\x62e\x72\x51uer\x79";${"\x47\x4cOBALS"}["\x6f\x69\x79\x75\x73\x6c\x6c\x79\x68"]="w\x68a\x74\x73Ap\x70\x41\x6clN\x75\x6dbe\x72";${${"\x47L\x4f\x42A\x4c\x53"}["\x64\x6a\x72\x66\x6ecfn\x79v\x75"]}=CTWhatsApp_Record_Model::getAllConnectedWhatsappNumber(${${"G\x4c\x4f\x42\x41\x4cS"}["\x63w\x65\x71\x63\x65\x73\x75"]});${"\x47L\x4fB\x41L\x53"}["w\x63\x64\x73t\x63\x77\x62\x73"]="\x69\x6e\x4e\x75m\x62er";${"\x47\x4c\x4fB\x41L\x53"}["q\x7a\x72\x72z\x74\x76\x6cd\x69q"]="\x76\x61lue";${${"G\x4cO\x42\x41\x4c\x53"}["\x67\x75l\x70\x74\x73\x6d"]}="";${"\x47\x4cO\x42A\x4c\x53"}["\x63\x68\x79u\x76x\x6aa\x67c"]="in\x4e\x75\x6d\x62\x65r\x51\x75\x65ry";foreach(${${"G\x4c\x4fBAL\x53"}["\x6f\x69y\x75\x73\x6c\x6cy\x68"]} as${${"GL\x4fB\x41\x4cS"}["\x6bpvu\x63jbc\x6e\x65"]}=>${${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x7ar\x72\x7a\x74v\x6c\x64\x69q"]}){$dkspgeyh="\x76al\x75e";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66k\x78x\x76l"]}.="\x27".${$dkspgeyh}["\x77h\x61t\x73\x61\x70\x70\x6eo"]."\x27,";}${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x78j\x6d\x64o\x67yb"]}=rtrim(${${"GL\x4fB\x41\x4cS"}["w\x63\x64\x73\x74c\x77\x62s"]},",");${${"G\x4c\x4fB\x41\x4c\x53"}["ch\x79\x75vxj\x61\x67\x63"]}=" \x41N\x44\x20vti\x67er_c\x74w\x68\x61t\x73app\x2e\x79our_num\x62er\x20I\x4e (".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x68\x61\x6f\x6fbc"]}.") ";return${$jvwwffpmly};}public function getLogInNumberQuery($userid){${"G\x4cOB\x41\x4c\x53"}["\x74n\x74z\x6e\x6c\x71\x64\x6d\x77"]="\x69nN\x75\x6d\x62\x65\x72Q\x75er\x79";$pwhvgyqjge="\x75seri\x64";$grhwrsulxev="wh\x61tsAp\x70Al\x6c\x4eum\x62er";${"\x47\x4cO\x42\x41LS"}["\x6b\x66\x6a\x62\x78\x73\x6eq\x67\x6ej"]="\x69nN\x75m\x62\x65\x72";${$grhwrsulxev}=CTWhatsApp_Record_Model::getAllConnectedWhatsappNumber(${$pwhvgyqjge});${"GL\x4f\x42A\x4cS"}["\x69\x70\x64\x70\x70\x79\x62"]="\x6b\x65\x79";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6b\x66jb\x78\x73n\x71\x67\x6ej"]}="";${"\x47L\x4f\x42\x41\x4c\x53"}["e\x71oz\x77\x6et\x64\x6a"]="\x61\x6c\x6c\x6e\x75\x6d\x62\x65\x72";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x6eh\x75\x71\x72\x65\x6e\x76"]="a\x6c\x6cn\x75\x6d\x62\x65\x72";foreach(${${"\x47\x4cOB\x41\x4c\x53"}["dj\x72f\x6ec\x66\x6e\x79vu"]} as${${"\x47L\x4f\x42A\x4cS"}["\x69\x70\x64\x70\x70\x79\x62"]}=>${${"\x47\x4c\x4f\x42A\x4cS"}["\x79\x78\x6b\x73\x75\x6d\x78"]}){${${"G\x4c\x4fB\x41L\x53"}["f\x6b\x78\x78v\x6c"]}.="\x27".${${"G\x4cOB\x41\x4c\x53"}["y\x78k\x73\x75\x6d\x78"]}["wh\x61\x74sa\x70pn\x6f"]."',";}${${"G\x4c\x4f\x42\x41\x4cS"}["e\x71\x6f\x7a\x77\x6e\x74d\x6a"]}=rtrim(${${"\x47\x4c\x4f\x42\x41LS"}["fk\x78\x78v\x6c"]},",");${${"GL\x4fBAL\x53"}["\x70\x72\x61\x67\x6d\x6a\x66eo"]}="\x20AND \x76tig\x65r_what\x73ap\x70log\x2ew\x68\x61tsa\x70\x70\x6c\x6f\x67\x5fyo\x75\x72_numb\x65r \x49\x4e (".${${"GLOB\x41\x4c\x53"}["\x68\x6e\x68uq\x72env"]}.")\x20";return${${"\x47\x4c\x4f\x42A\x4c\x53"}["tn\x74\x7an\x6cq\x64m\x77"]};}public function getFilenameWhatsappMessage($body){$vzdyrvrgfc="\x62\x6fd\x79";${"\x47\x4cO\x42AL\x53"}["\x68\x6c\x77x\x67n\x6c\x74x\x64\x65"]="\x6ce\x6e\x74\x68";$hjqxhjm="\x65\x78\x70ol\x6f\x64eFil\x65\x6e\x61\x6de";${$hjqxhjm}=explode("/",${$vzdyrvrgfc});${${"\x47\x4c\x4fB\x41\x4cS"}["\x6d\x75\x66f\x75\x77j\x6a\x67"]}=count(${${"\x47\x4cOBAL\x53"}["\x77r\x71\x71s\x66\x76\x6ewl\x6e"]})-1;return${${"\x47\x4c\x4f\x42\x41LS"}["\x77\x72\x71\x71s\x66\x76nw\x6c\x6e"]}[${${"\x47\x4c\x4fB\x41L\x53"}["h\x6c\x77x\x67\x6e\x6c\x74xd\x65"]}];}public function getWhatsappMessages($recordId,$setype,$whatsappModule,$groupid,$groupWhatsappNumber){global$adb,$current_user;$otlfrupgvpfe="\x77h\x61\x74s\x61p\x70\x4de\x73\x73\x61g\x65\x48\x54\x4d\x4c";$ktcphbdnco="wo\x72\x64l\x45x\x74\x73";$xcfowvii="\x75\x73er\x49\x44";${"\x47LO\x42\x41LS"}["t\x6cd\x6a\x77y\x69\x69\x79\x73"]="\x75\x6e\x72\x65\x61\x64\x51u\x65\x72\x79";${"\x47L\x4f\x42\x41\x4cS"}["q\x76he\x6dsqj"]="\x74o\x74\x61\x6c\x53e\x6e\x74";$gyayxextknw="\x72\x6fws";${$xcfowvii}=$current_user->id;$naautbwgq="w\x68at\x73\x61\x70pMes\x73\x61\x67\x65\x48\x54\x4d\x4c";${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x78\x7am\x6aqnykdb\x67"]="\x77\x68at\x73\x61\x70\x70\x4d\x6f\x64ul\x65";${${"\x47LO\x42\x41\x4cS"}["i\x69\x6d\x79\x6bgn"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"\x47\x4cOBA\x4c\x53"}["xe\x65p\x76l\x64sw"]});${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65h\x6bsl\x76qk\x79\x75j\x6f"]="\x6d\x6f\x64u\x6c\x65IsEn\x61\x62l\x65";${${"\x47LO\x42\x41\x4c\x53"}["\x65\x62p\x6cpx\x69s\x77t"]}=${${"\x47\x4cO\x42ALS"}["\x69\x69\x6dy\x6b\x67\x6e"]}["\x77\x68\x61\x74\x73\x61\x70\x70no"];${${"\x47\x4c\x4f\x42A\x4c\x53"}["p\x72\x61g\x6d\x6a\x66\x65\x6f"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"\x47\x4c\x4f\x42A\x4c\x53"}["x\x65\x65\x70vl\x64s\x77"]});${"\x47\x4c\x4fBA\x4cS"}["t\x73\x6cj\x68\x6ew\x65q\x67"]="\x77\x68\x61\x74s\x61\x70\x70M\x65\x73sa\x67\x65";${${"\x47\x4c\x4f\x42\x41LS"}["t\x6cd\x6a\x77\x79\x69\x69\x79s"]}=CTWhatsApp_Record_Model::unreadQuery();${"\x47L\x4f\x42\x41\x4c\x53"}["xlr\x65\x66rd\x77\x74\x6d\x6d"]="\x66i\x6ceExt\x73";$lceiidsus="\x65xc\x65l\x45\x78ts";if(${${"G\x4cOB\x41\x4cS"}["\x69\x78z\x6d\x6a\x71n\x79k\x64b\x67"]}=="\x47\x72\x6f\x75\x70s"){$trytffxckgzh="\x67\x72\x6f\x75p\x69\x64";${"G\x4c\x4fB\x41L\x53"}["\x64\x77\x66\x75g\x68wom"]="\x69\x6e\x4eu\x6d\x62e\x72Que\x72\x79";${${"\x47L\x4fB\x41\x4cS"}["\x6f\x76\x74\x74yy\x6f"]}=$adb->pquery("\x53\x45L\x45\x43\x54 * \x46\x52\x4fM (\n \x20 \x20 \x20\x20 \x20  \x20\x20   \x20\x20\x53E\x4cE\x43\x54 * \x46ROM vtiger_ct\x77h\x61\x74s\x61pp \n \x20\x20      \x20\x20 \x20\x20\x20\x20INN\x45\x52 \x4aOI\x4e vt\x69ger_c\x72m\x65\x6etity \x4fN vtiger\x5f\x63r\x6d\x65\x6etit\x79\x2e\x63\x72\x6di\x64 \x3d v\x74\x69ge\x72\x5f\x63\x74\x77\x68\x61ts\x61pp.\x63t\x77\x68\x61\x74sap\x70i\x64\x20\n   \x20 \x20\x20 \x20 \x20   \x20\x20W\x48E\x52E\x20v\x74i\x67er\x5f\x63rm\x65ntit\x79.\x64\x65\x6ce\x74e\x64 = \x30 A\x4e\x44 \x6dsgi\x64\x20=\x20? ".${${"\x47L\x4f\x42ALS"}["\x64\x77f\x75ghw\x6fm"]}."\x20OR\x44ER B\x59\x20\x77hat\x73app_da\x74\x65\x74ime\x20\x44ES\x43\x20\x4c\x49MI\x54\x20\x30,2\x35\n \x20 \x20    \x20 \x20 \x20\x20) \x77p_gr\x6f\x75\x70\n\x20\x20\x20\x20  \x20  \x20 \x20 \x20O\x52DE\x52\x20\x42\x59\x20ctw\x68at\x73a\x70\x70i\x64 \x41\x53\x43",array(${$trytffxckgzh}));}else{if(${${"\x47\x4c\x4fB\x41\x4cS"}["\x6b\x70\x61\x69f\x7ato\x6an\x63"]}){${"\x47L\x4fBAL\x53"}["\x6c\x74\x6d\x62\x6a\x63\x6dr\x70dr"]="\x69n\x4e\x75m\x62\x65\x72\x51u\x65\x72\x79";${"GL\x4f\x42AL\x53"}["\x65\x73\x7a\x6a\x67m"]="\x72\x65c\x6f\x72d\x49\x64";${${"\x47\x4c\x4f\x42AL\x53"}["o\x76\x74t\x79\x79\x6f"]}=$adb->pquery("\x53\x45LECT *\x20\x46R\x4f\x4d (\n  \x20\x20  \x20   \x20\x20\x20\x20\x20   \x53\x45LEC\x54\x20*\x20F\x52\x4fM vt\x69\x67\x65\x72_ctwh\x61\x74s\x61\x70p\x20\n\x20\x20\x20 \x20 \x20  \x20\x20 \x20\x20 \x20\x49\x4eNE\x52\x20\x4aO\x49\x4e\x20\x76\x74iger\x5fcr\x6d\x65nt\x69ty\x20ON\x20vt\x69g\x65\x72_crmentit\x79.\x63\x72\x6did\x20=\x20vti\x67\x65\x72_ct\x77h\x61\x74\x73\x61\x70\x70\x2e\x63t\x77h\x61t\x73\x61\x70\x70i\x64\x20\n\x20\x20\x20 \x20\x20    \x20\x20\x20 \x20 WHE\x52E \x76\x74\x69\x67e\x72\x5f\x63rmen\x74\x69\x74\x79\x2ed\x65\x6cet\x65d =\x200\x20AND\x20wh\x61ts\x61\x70p_\x63\x6f\x6et\x61c\x74i\x64 = ? ".${${"\x47LO\x42A\x4cS"}["\x6ctm\x62\x6a\x63m\x72\x70\x64r"]}."\x20OR\x44E\x52 \x42\x59 \x77\x68ats\x61\x70p_\x64\x61\x74e\x74i\x6d\x65\x20\x44\x45SC \x4cI\x4d\x49T 0,\x325 ) \x77\x70\x5fg\x72oup\x20OR\x44E\x52 \x42\x59\x20\x63\x74wha\x74s\x61ppid\x20\x41\x53\x43",array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["esz\x6a\x67m"]}));}else{${"G\x4cOB\x41LS"}["ta\x76icb\x66\x66\x6az"]="\x72\x65co\x72\x64I\x64";$xsitift="\x72\x65\x63\x6f\x72\x64\x49\x64";${"\x47L\x4fBALS"}["\x72p\x64\x7a\x77i\x73\x75"]="\x69\x6e\x4eu\x6d\x62\x65\x72Q\x75\x65ry";${${"\x47\x4cO\x42\x41\x4cS"}["\x71\x77\x6fk\x74\x77wc\x62\x74"]}=preg_replace("/[^\x41-Za-z0-\x39]/","",${${"\x47L\x4f\x42\x41\x4c\x53"}["t\x61\x76ic\x62\x66\x66\x6a\x7a"]});${${"\x47L\x4f\x42A\x4c\x53"}["o\x76t\x74yy\x6f"]}=$adb->pquery("SEL\x45CT * FROM\x20(\n \x20 \x20 \x20 \x20\x20\x20\x20 \x20   \x20\x20S\x45LEC\x54\x20* FR\x4fM\x20v\x74i\x67e\x72\x5fc\x74\x77hatsa\x70\x70 \n \x20\x20     \x20  \x20  \x20\x20IN\x4eE\x52\x20JO\x49\x4e \x76tiger\x5f\x63\x72\x6den\x74i\x74y ON vti\x67er\x5fc\x72m\x65nt\x69t\x79.cr\x6di\x64 \x3d \x76t\x69\x67e\x72_\x63tw\x68\x61\x74s\x61p\x70.\x63t\x77\x68\x61\x74sapp\x69\x64 \n\x20\x20  \x20\x20\x20\x20\x20 \x20    \x20\x57HER\x45\x20v\x74\x69g\x65r_crm\x65\x6e\x74it\x79.\x64e\x6c\x65ted\x20\x3d\x20\x30 AND wha\x74sa\x70\x70\x5f\x77\x69thcco\x64e \x4cIKE \x22%".${$xsitift}."\x25\x22 ".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72\x70d\x7a\x77i\x73\x75"]}." O\x52\x44\x45\x52\x20B\x59\x20what\x73\x61p\x70_\x64\x61\x74e\x74i\x6de\x20\x44\x45S\x43\x20\x4c\x49M\x49\x54 \x30,2\x35\x20) \x77\x70_gr\x6f\x75p\x20\x4f\x52D\x45\x52\x20\x42Y\x20c\x74w\x68at\x73\x61p\x70i\x64 \x41SC",array());}}${$gyayxextknw}=$adb->num_rows(${${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x76\x74t\x79\x79\x6f"]});$noltkyncb="\x69\x6dg\x45x\x74\x73";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x69\x72\x68v\x73"]}=0;${${"GL\x4fB\x41\x4c\x53"}["\x62\x7a\x64\x6af\x70"]}=0;$dymkorp="ro\x77\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74\x6a\x62\x62\x62\x77jc\x64\x61\x71\x6d"]="\x73\x65t\x79pe";${${"G\x4c\x4f\x42\x41\x4c\x53"}["ts\x6c\x6a\x68n\x77\x65\x71\x67"]}=array();$lqlerxyqli="\x74o\x74a\x6c\x52\x65\x63e\x69\x76e\x64";${"\x47LO\x42\x41LS"}["k\x72k\x63\x65\x73\x6ep\x64\x76"]="mess\x61geDa\x74\x61";${$otlfrupgvpfe}="\x3cdiv\x20cl\x61\x73\x73=\x22\x63\x68a\x74\x44iv\">";${$noltkyncb}=array("gif","\x6apg","\x6a\x70\x65g","p\x6e\x67","\x74iff","\x74\x69\x66");${${"\x47LO\x42\x41L\x53"}["\x6a\x6e\x79\x70\x6ex\x62\x73r\x6f\x78p"]}=array("pdf");${${"\x47\x4cO\x42ALS"}["xlre\x66\x72\x64\x77tm\x6d"]}=array("t\x78t","\x70\x68\x70","zip","\x63s\x76","\x68\x74\x74ps");${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73g\x6ck\x6ck"]}=array("m\x703");$lukcbwxrv="\x69";${$lceiidsus}=array("x\x6cs");${$ktcphbdnco}=array("\x64o\x63x","\x64oc");for(${$lukcbwxrv}=0;${${"\x47\x4cOB\x41LS"}["var\x62\x75\x66d"]}<${$dymkorp};${${"\x47\x4cOBA\x4cS"}["\x76a\x72b\x75\x66\x64"]}++){$gxsfqgc="\x64\x6f\x63\x75m\x65\x6et\x42\x6f\x64\x79";$ophuiseiqd="qu\x65\x72y";${"GL\x4f\x42\x41L\x53"}["x\x6cqj\x66y\x75su\x61\x77"]="\x71\x75e\x72\x79";${"\x47L\x4f\x42\x41L\x53"}["\x76\x62o\x6a\x6fb\x6a\x70d\x68\x63"]="i";$hfqihia="\x71\x75\x65ry";$uovpekyyeti="\x6d\x65\x73s\x61\x67\x65T\x79\x70\x65";$xidxlbqnwp="c\x74\x57\x68at\x73appI\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["t\x68\x67\x65\x68\x76\x75\x67"]="q\x75e\x72\x79";${"GL\x4f\x42A\x4c\x53"}["\x77\x69goe\x62"]="\x69";${"\x47\x4cO\x42AL\x53"}["y\x69\x6cl\x79w\x67\x64"]="\x79\x6f\x75r\x5f\x6e\x75mber";${"\x47LOBA\x4cS"}["\x75\x62\x68d\x61\x6d\x73\x63\x79"]="\x75\x72\x6c\x45\x78\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x6a\x77\x75\x68\x72\x6c\x6bv\x65"]="\x69";$eelvnfmt="\x71\x75\x65r\x79";$kcjowvz="\x75r\x6c\x45x\x74";${"G\x4c\x4fB\x41LS"}["\x62\x65j\x71\x67cybw\x77k"]="m\x65\x73\x73\x61\x67\x65\x42\x6f\x64\x79";${"GLO\x42\x41\x4c\x53"}["\x70\x78ob\x68d\x6b\x71"]="theme\x56\x69e\x77";$pkwkoygp="q\x75\x65r\x79";$rgnbfzu="s\x65\x74\x79p\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["bq\x78\x67\x67b\x6dac\x6b\x72"]="\x77ha\x74\x73a\x70\x70\x5f\x63\x6fn\x74a\x63t\x69d";${"GL\x4f\x42A\x4cS"}["\x6a\x6b\x62ngqx\x65\x71"]="\x69";$gntyguxwodh="m\x73\x67id";${"\x47LO\x42\x41\x4c\x53"}["tpp\x6dkveod"]="\x75r\x6cE\x78t";$snbhpdx="\x75rlE\x78\x74";${"\x47\x4c\x4f\x42\x41\x4cS"}["cl\x6a\x79\x66g\x74\x65r\x6e"]="\x75r\x6c\x45x\x74";${$xidxlbqnwp}=$adb->query_result(${$hfqihia},${${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x62oj\x6f\x62\x6a\x70dh\x63"]},"\x63\x74wh\x61\x74s\x61\x70\x70i\x64");$ybbzrkocr="\x69";${"GLOB\x41L\x53"}["\x62x\x73\x6b\x61\x72\x66\x65\x78s\x70"]="\x69";${"\x47L\x4f\x42\x41\x4cS"}["\x72i\x71\x63hf\x78dg\x71"]="\x69";$nlxyun="i\x6dg\x45x\x74\x73";${"GL\x4f\x42A\x4c\x53"}["d\x64\x62\x68et"]="mp\x33\x45x\x74s";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x7af\x6ec\x6fp\x78\x78\x78"]}=$adb->query_result(${${"\x47LO\x42\x41L\x53"}["\x78\x6c\x71\x6a\x66\x79u\x73u\x61\x77"]},${${"\x47\x4c\x4fB\x41L\x53"}["\x76\x61\x72\x62\x75\x66d"]},"\x77\x68\x61\x74\x73a\x70\x70_i\x6dp\x6fr\x74\x61\x6et");${"GL\x4f\x42\x41\x4c\x53"}["e\x6e\x69\x72\x65u\x6af\x74"]="\x6d\x65s\x73\x61\x67\x65\x54\x79p\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x7au\x62\x79\x70\x71"]="\x71\x75\x65\x72\x79";$uikgtcfhnee="me\x73\x73\x61g\x65\x52\x65\x61\x64U\x6eR\x65\x61d";$wpgoyix="\x71\x75\x65\x72y";${$uovpekyyeti}=$adb->query_result(${${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x76tty\x79o"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["bx\x73ka\x72f\x65\x78\x73p"]},"mes\x73age\x5f\x74\x79p\x65");$uqrglxei="i\x6d\x67E\x78t\x73";$yzdkrqiaptci="m\x65\x73\x73a\x67e\x54yp\x65";${$uikgtcfhnee}=$adb->query_result(${${"GL\x4fBALS"}["t\x68\x67\x65h\x76\x75\x67"]},${${"G\x4c\x4f\x42ALS"}["r\x69\x71\x63\x68\x66\x78\x64gq"]},"wh\x61ts\x61\x70p_\x75\x6er\x65\x61\x64r\x65\x61\x64");$sahniyujkbmy="\x71u\x6f\x74e\x6de\x73\x73\x61g\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62u\x66\x76\x77\x68"]="i";$nspaliield="\x6d\x65\x73s\x61g\x65\x42od\x79";$kwqjulte="\x79o\x75r\x5f\x6e\x75\x6db\x65\x72";${"\x47LO\x42\x41\x4c\x53"}["\x6c\x78f\x7ax\x68\x6a\x72mo\x67\x6e"]="\x67\x65\x74\x4e\x75m\x62e\x72De\x74\x61\x69l\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69\x62v\x76\x78z\x62\x67l\x6e\x61"]}=$adb->query_result(${$wpgoyix},${${"G\x4c\x4f\x42A\x4cS"}["\x6b\x6aw\x75h\x72\x6c\x6b\x76e"]},"\x77h\x61\x74\x73a\x70p\x5fs\x65nd\x65r\x6eame");${"\x47L\x4f\x42\x41\x4cS"}["\x70\x67\x62\x74\x75\x6b\x75\x74\x79l"]="\x67\x65\x74\x4e\x75m\x62e\x72D\x65\x74\x61i\x6cs";${"\x47\x4cO\x42\x41LS"}["w\x74imog"]="u\x72\x6cE\x78\x74";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x7adj\x73e\x6e\x6e\x71"]}=$adb->query_result(${${"\x47L\x4f\x42A\x4c\x53"}["zu\x62y\x70\x71"]},${${"G\x4c\x4f\x42\x41LS"}["\x76a\x72\x62\x75\x66\x64"]},"\x77h\x61\x74s\x61pp_wit\x68c\x63\x6f\x64\x65");${${"\x47\x4c\x4f\x42\x41\x4cS"}["y\x69l\x6c\x79wgd"]}=$adb->query_result(${$ophuiseiqd},${$ybbzrkocr},"you\x72\x5f\x6e\x75\x6d\x62\x65\x72");${"\x47\x4cO\x42A\x4c\x53"}["f\x69w\x63\x68\x75k\x71\x6eh\x71"]="\x67e\x74\x4e\x75\x6d\x62\x65\x72\x55se\x72\x6e\x61\x6d\x65";$vbqidwerazpt="\x71\x75er\x79";${${"G\x4c\x4f\x42ALS"}["\x70\x67\x62t\x75k\x75ty\x6c"]}=CTWhatsApp_Record_Model::getWhatsAppDetailWithMobileNo(${$kwqjulte});${${"G\x4c\x4f\x42\x41\x4cS"}["\x66\x69w\x63\x68\x75\x6b\x71\x6ehq"]}=${${"\x47\x4c\x4f\x42\x41L\x53"}["lx\x66zx\x68\x6arm\x6f\x67\x6e"]}["u\x73\x65rna\x6d\x65"];${"\x47L\x4fB\x41L\x53"}["y\x75\x6c\x61u\x63\x64\x74n\x75"]="fi\x6ce\x45\x78\x74\x73";${"\x47\x4c\x4f\x42\x41LS"}["\x62\x69e\x79n\x6d\x62"]="\x6d\x70\x33\x45\x78t\x73";$ouplhhkhtf="w\x68\x61\x74\x73\x61\x70p_\x63\x6f\x6eta\x63\x74\x69d";$wnmnvhcgefj="\x69";${$sahniyujkbmy}=$adb->query_result(${$eelvnfmt},${${"\x47\x4c\x4fBALS"}["w\x69g\x6fe\x62"]},"w\x68\x61ts\x61p\x70_quo\x74e\x6d\x65s\x73age");${$gntyguxwodh}=$adb->query_result(${$vbqidwerazpt},${${"G\x4c\x4fBA\x4c\x53"}["varb\x75f\x64"]},"\x6d\x73\x67i\x64");$jwyregqoor="qu\x65r\x79";${$gxsfqgc}=$adb->query_result(${$pkwkoygp},${${"\x47\x4cO\x42\x41\x4c\x53"}["jkbn\x67\x71x\x65\x71"]},"mess\x61\x67e\x5fb\x6fdy");${${"\x47\x4c\x4fBA\x4c\x53"}["ml\x63\x73dd\x62\x76\x75g"]}=$adb->query_result(${${"GLO\x42\x41\x4c\x53"}["\x6f\x76\x74t\x79\x79\x6f"]},${$wnmnvhcgefj},"\x77hat\x73a\x70p_\x63hat\x69d");${$ouplhhkhtf}=$adb->query_result(${$jwyregqoor},${${"\x47\x4c\x4fB\x41LS"}["v\x61r\x62\x75\x66\x64"]},"\x77\x68\x61t\x73a\x70\x70_\x63\x6fnt\x61\x63\x74i\x64");${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x77p\x6c\x78\x76w\x62\x75\x6d"]="\x70\x64\x66\x45x\x74\x73";${"\x47\x4cOB\x41L\x53"}["\x61tm\x67m\x6fuhi\x75"]="cr\x65\x61\x74\x65d\x54\x69\x6d\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x70ai\x66z\x74\x6f\x6a\x6e\x63"]}=VtigerCRMObject::getSEType(${${"G\x4c\x4fBA\x4cS"}["b\x71\x78\x67g\x62\x6dac\x6b\x72"]});$dktqxmw="\x75\x72\x6c\x45x\x74";if(${$rgnbfzu}=="\x43o\x6etac\x74\x73"){$siudxrt="\x77\x68\x61\x74s\x61\x70\x70_co\x6e\x74a\x63t\x69\x64";$znchjnjqw="\x72\x65\x6ca\x74e\x64tot\x61\x73k";${$znchjnjqw}="contac\x74_\x69d=".${$siudxrt}."";}else{${"\x47L\x4fB\x41\x4cS"}["\x75l\x77\x62\x73r\x66z\x75"]="wha\x74\x73app\x5f\x63\x6f\x6e\x74\x61\x63t\x69\x64";${"\x47L\x4f\x42AL\x53"}["qg\x71\x71f\x69\x74\x6db\x63\x69"]="\x72\x65\x6c\x61\x74e\x64\x74\x6ftas\x6b";${${"GLO\x42\x41\x4c\x53"}["\x71g\x71qfi\x74m\x62c\x69"]}="\x70a\x72\x65nt_\x69d=".${${"\x47\x4c\x4f\x42AL\x53"}["\x75l\x77bs\x72\x66\x7a\x75"]}."";}if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x6fz\x69\x69bg\x73\x6d\x67"]}){$xjdfvkjm="\x6des\x73ag\x65\x52\x65\x61\x64\x55\x6e\x52\x65\x61\x64";${"\x47L\x4fB\x41\x4c\x53"}["xv\x6cs\x71\x62n\x69y\x6dq"]="\x6d\x65ss\x61geT\x79pe";if(${$xjdfvkjm}=="\x55\x6e\x72\x65ad"&&${${"G\x4cOBAL\x53"}["\x78\x76\x6c\x73qb\x6eiym\x71"]}=="\x52\x65c\x69e\x76ed"){$xiuwdogt="c\x74W\x68a\x74\x73ap\x70\x49\x64";${"\x47\x4c\x4fB\x41\x4c\x53"}["ee\x6f\x73\x6c\x71\x70\x62t\x74"]="\x63\x74W\x68\x61\x74sappI\x64";${${"\x47LO\x42A\x4cS"}["t\x6aj\x78la"]}=Vtiger_Record_Model::getInstanceById(${${"GL\x4fBA\x4c\x53"}["\x65e\x6f\x73\x6c\x71pb\x74t"]},"\x43TW\x68\x61\x74\x73Ap\x70");$recordModel->set("\x6d\x6fd\x65","e\x64it");$recordModel->set("i\x64",${$xiuwdogt});$recordModel->set("w\x68a\x74\x73\x61\x70\x70\x5f\x75nrea\x64r\x65\x61d","\x52e\x61\x64");$recordModel->save();}}$sxtdsho="\x75\x72\x6c\x45x\x74";${${"G\x4c\x4f\x42\x41\x4c\x53"}["p\x64\x75\x63\x6clx\x6fbyx\x74"]}=CTWhatsApp_Record_Model::getWhatsappTheme();$rwrhkbf="u\x72\x6c\x45xt";$vpfggretvch="\x65xcel\x45xts";if(${${"\x47\x4cO\x42AL\x53"}["\x70\x78\x6f\x62\x68\x64k\x71"]}=="RT\x4c"){${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x61\x6a\x6b\x77\x6c\x6d\x6a"]="ta\x73\x6b\x73tyl\x65";$kforegljt="\x6d\x65\x6e\x75ic\x6f\x6e";${${"G\x4cO\x42\x41\x4c\x53"}["\x62\x61\x6a\x6bwlm\x6a"]}="\x73t\x79l\x65\x3d\"f\x6c\x6f\x61\x74: r\x69\x67h\x74\x3bmargin-\x6c\x65\x66\x74:\x201\x30px;w\x69dth:\x20\x31\x35\x70x\x3b\x20!\x69\x6d\x70o\x72\x74\x61nt\x3b\x63ur\x73o\x72:\x20\x70o\x69\x6et\x65r\x3b\"";$ctyxshhfcsda="\x6de\x6e\x75\x6d\x61r\x67i\x6e";${$kforegljt}="\x6dargi\x6e: 0p\x78 \x325\x70x \x30\x70\x78 \x30\x70\x78;";${${"G\x4cO\x42\x41\x4cS"}["ok\x74f\x6e\x73u\x66\x6b\x67"]}="min-\x77\x69\x64\x74\x68: 1\x310p\x78;";${$ctyxshhfcsda}="\x6dar\x67\x69n:\x20\x31p\x78 -8\x31p\x78\x20\x30\x70\x78 \x30px";}else{$ewgblihnynm="m\x65\x6eu\x77\x69\x64t\x68";${"\x47L\x4fB\x41LS"}["\x78m\x62\x6f\x7a\x78\x76dn"]="\x6denu\x6d\x61\x72\x67in";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6ao\x77w\x65\x68\x6co\x61\x63\x62\x71"]}="\x73\x74y\x6c\x65\x3d\"fl\x6fat: l\x65ft;m\x61\x72gi\x6e-\x72i\x67h\x74:\x20\x30\x70x;wid\x74\x68: \x31\x35px\x3b\x20\x21i\x6d\x70\x6f\x72\x74\x61\x6et\x3b\x63u\x72s\x6fr: p\x6fint\x65r;\"";$wcyiybwb="\x6d\x65\x6e\x75\x69\x63\x6fn";${$wcyiybwb}="mar\x67\x69n: 0\x70x\x20\x30p\x78\x20\x30\x70\x78\x20\x318px;";${$ewgblihnynm}="m\x69n-\x77\x69\x64t\x68: 1\x30\x30\x70x;";${${"\x47LO\x42\x41\x4c\x53"}["\x78mbo\x7a\x78v\x64\x6e"]}="\x6dargin: \x32\x70\x78 \x30px\x20\x30\x70x 1\x30px\x3b";}$hsztrdgut="\x6de\x73\x73\x61\x67\x65\x54\x79p\x65";$qswfxhssdeek="\x75\x72\x6c\x45\x78\x74";${${"\x47LO\x42\x41\x4cS"}["\x6c\x79\x6emo\x75\x76\x77"]}=nl2br(preg_replace("\x23\\*([^*]+)\x5c*\x23","<b>\$\x31</\x62>",$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x76t\x74yy\x6f"]},${${"\x47\x4c\x4fBA\x4cS"}["b\x75\x66\x76w\x68"]},"\x6de\x73\x73\x61\x67\x65_body")));${${"\x47\x4cO\x42\x41\x4c\x53"}["tp\x70\x6d\x6bv\x65o\x64"]}=pathinfo(${$nspaliield},PATHINFO_EXTENSION);if(in_array(${${"\x47\x4cO\x42ALS"}["\x63\x6c\x6a\x79f\x67\x74\x65\x72\x6e"]},${$nlxyun})){${"G\x4c\x4fB\x41L\x53"}["\x74\x65es\x6el\x6f"]="mes\x73a\x67e\x42\x6f\x64\x79";${${"\x47\x4cOB\x41L\x53"}["\x74e\x65\x73n\x6c\x6f"]}="<ima\x67\x65 \x73\x72c\x3d\"".${${"G\x4cOBA\x4c\x53"}["ly\x6em\x6f\x75\x76\x77"]}."\x22\x20s\x74y\x6ce\x3d\x22h\x65\x69gh\x74: 60px \x21i\x6dp\x6fr\x74ant\x3b\x63urs\x6f\x72: \x70o\x69nt\x65\x72\x3b\x22>";}else if(in_array(${${"G\x4c\x4fB\x41LS"}["\x6c\x62\x61\x75oy\x6e\x64x"]},${${"\x47LO\x42\x41\x4cS"}["\x7a\x63\x73\x75\x6a\x69\x6b\x7a"]})){${${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x79\x6em\x6f\x75\x76\x77"]}="<\x61 \x68\x72\x65\x66\x3d\x22".${${"\x47L\x4fB\x41LS"}["l\x79\x6emou\x76\x77"]}."\x22\x20\x74\x61\x72\x67e\x74=\x22\x5f\x62lack\x22><im\x67\x20\x73\x72c=\x22\x6c\x61\x79ou\x74\x73/v\x37/m\x6f\x64ul\x65\x73/\x43T\x57\x68at\x73App/ima\x67e/\x66i\x6c\x65i\x63on\x2e\x70\x6e\x67\">\x3c/a\x3e";}else if(in_array(${${"GL\x4fBA\x4c\x53"}["ubh\x64ams\x63\x79"]},${${"G\x4c\x4fB\x41LS"}["\x6a\x6e\x79pn\x78\x62\x73\x72\x6f\x78\x70"]})){${${"GLOBA\x4c\x53"}["\x6cynm\x6fuv\x77"]}="\x3c\x61 \x68\x72\x65\x66=\x22".${${"G\x4cO\x42\x41\x4cS"}["\x6c\x79\x6e\x6d\x6fu\x76\x77"]}."\" \x74arg\x65t=\x22\x5f\x62\x6cack\x22><i\x6dg sr\x63=\"lay\x6fu\x74s/\x767/\x6d\x6f\x64ul\x65s/CTWh\x61\x74sApp/imag\x65/\x70d\x66\x69con.p\x6eg\x22\x3e</\x61>";}else if(in_array(${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x62\x61\x75\x6f\x79\x6e\x64x"]},${${"\x47LO\x42\x41\x4c\x53"}["\x62hpqy\x75\x79\x67\x71"]})){${${"G\x4c\x4fBA\x4cS"}["l\x79\x6em\x6f\x75\x76\x77"]}="\x3c\x61 h\x72e\x66=\x22".${${"\x47L\x4f\x42\x41\x4c\x53"}["ly\x6e\x6d\x6fuv\x77"]}."\x22\x20\x74ar\x67et\x3d\x22\x5fb\x6ca\x63k\x22><\x69\x6dg\x20\x73\x72c\x3d\"l\x61youts/\x767/\x6do\x64\x75\x6ce\x73/\x43T\x57hatsApp/\x69m\x61ge/\x65\x78celi\x63on\x2e\x70\x6e\x67\x22>\x3c/\x61>";}else if(in_array(${$qswfxhssdeek},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6an\x78\x66q\x71l\x65k\x70"]})){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x77\x64h\x70\x69\x6d"]="\x6d\x65\x73\x73a\x67\x65\x42\x6fdy";${${"GLO\x42\x41\x4c\x53"}["l\x79\x6e\x6d\x6fu\x76\x77"]}="<a h\x72e\x66=\"".${${"GLOB\x41\x4cS"}["dwd\x68\x70i\x6d"]}."\x22 t\x61r\x67et\x3d\x22\x5fb\x6c\x61\x63k\"\x3e\x3c\x69mg\x20sr\x63\x3d\"\x6c\x61\x79ou\x74s/v\x37/modul\x65\x73/C\x54W\x68a\x74\x73App/im\x61ge/wordic\x6fn\x2e\x6a\x70g\x22\x3e</\x61>";}else if(in_array(${$kcjowvz},${${"\x47\x4cO\x42\x41\x4c\x53"}["b\x69\x65\x79\x6emb"]})){$dhnfsdsyae="\x6d\x65s\x73\x61geB\x6f\x64\x79";${$dhnfsdsyae}=" \x3c\x61ud\x69\x6f \x63on\x74\x72ols\x3e\n\x20\x20\x20 \x20\x20\x20\x20\x20 \x20\x20  \x20\x20 \x20\x20 <\x73\x6f\x75r\x63e \x73rc=\"".${${"GL\x4fB\x41L\x53"}["l\x79\x6e\x6dou\x76w"]}."\x22 t\x79pe=\x22audi\x6f/\x6fg\x67\x22\x3e\n\x20\x20     \x20\x20\x20\x20\x20\x20\x20\x20     <\x73o\x75\x72ce \x73rc=\"".${${"\x47\x4cOBA\x4c\x53"}["\x6c\x79\x6e\x6do\x75\x76\x77"]}."\"\x20ty\x70\x65=\x22audi\x6f/mp\x65g\"\x3e\n \x20  \x20\x20\x20\x20 \x20 \x20\x20\x20\x20\x20\x20 You\x72\x20\x62r\x6fw\x73\x65r\x20\x64oes\x20no\x74\x20s\x75\x70p\x6f\x72\x74 the\x20\x61\x75di\x6f el\x65m\x65nt\x2e\n \x20 \x20\x20 \x20\x20\x20\x20    \x20\x20</audio\x3e\x20";}if(in_array(${$rwrhkbf},${$uqrglxei})||in_array(${${"\x47LO\x42\x41L\x53"}["\x77\x74i\x6d\x6f\x67"]},${${"\x47LOB\x41\x4cS"}["\x79\x75la\x75\x63\x64\x74\x6e\x75"]})||in_array(${${"\x47\x4cOB\x41\x4c\x53"}["\x6cb\x61u\x6f\x79\x6e\x64\x78"]},${${"G\x4c\x4f\x42A\x4c\x53"}["\x73wp\x6c\x78\x76\x77\x62\x75m"]})||in_array(${$dktqxmw},${${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x64\x62\x68\x65\x74"]})||in_array(${$snbhpdx},${$vpfggretvch})||in_array(${$sxtdsho},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6e\x78\x66\x71\x71l\x65\x6b\x70"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x6c\x72g\x67\x65u"]="wh\x61\x74\x73Ap\x70\x46i\x6c\x65\x4ea\x6d\x65";${"G\x4cO\x42\x41L\x53"}["x\x6b\x79\x6f\x71s\x63h\x68\x6b\x6ch"]="\x72e\x70\x6c\x79\x4des\x73ag\x65\x48TM\x4c";${"\x47L\x4f\x42A\x4c\x53"}["\x72\x77r\x6c\x69w\x68n\x77s"]="\x63\x6fp\x79M\x65s\x73\x61\x67\x65";${${"G\x4cOB\x41\x4cS"}["\x78ky\x6fq\x73ch\x68\x6bl\x68"]}="";$qbrytlyimqb="c\x72\x65ate\x54a\x73\x6bM\x65\x73\x73\x61\x67\x65";${${"\x47\x4c\x4fB\x41L\x53"}["\x72\x77\x72\x6c\x69\x77hn\x77s"]}="";${$qbrytlyimqb}="";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x6c\x72\x67\x67\x65u"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x79qml\x77\x6b"]});${${"G\x4cOB\x41L\x53"}["x\x68k\x77\x68\x68\x77"]}="\x30";}else{if(${${"\x47\x4c\x4f\x42\x41L\x53"}["j\x6crfg\x68\x69"]}!="\x47\x72\x6fups"){$piqrvkkf="m\x65\x73sa\x67\x65\x42\x6f\x64\x79";$ghuccgyjdo="r\x65\x70\x6cy\x4d\x65s\x73\x61g\x65HT\x4d\x4c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x6c\x74\x79\x72t\x6a"]="s\x65\x74y\x70\x65";${$ghuccgyjdo}="\n\x20 \x20 \x20 \x20\x20\x20\x20\x20   \x20 \x20\x20     \x20\x3csp\x61n\x20clas\x73\x3d\x22\x72\x65\x70\x6cy\x4d\x65\x73s\x61g\x65Bo\x64y\x22\x20\x64at\x61-\x72\x65pl\x79\x6d\x65\x73sa\x67e\x3d\"".strip_tags(${$piqrvkkf})."\x22\x20d\x61\x74\x61-\x72\x65pl\x79mes\x73\x61\x67\x65i\x64\x3d\x22".${${"GL\x4f\x42\x41\x4cS"}["\x72\x7a\x79\x6emi\x66\x68\x75i"]}."\"\x3e\n \x20 \x20\x20\x20 \x20\x20\x20\x20\x20  \x20   \x20 \x20\x20 \x20<\x69\x6d\x67\x20st\x79l\x65\x3d\x22f\x6c\x6f\x61\x74: left;w\x69\x64t\x68: \x315\x70x\x3b\x20!\x69mpo\x72\x74ant\x22 s\x72\x63=\x22la\x79o\x75ts/\x767/\x6dodu\x6c\x65\x73/\x43\x54\x57\x68\x61\x74\x73A\x70\x70/im\x61\x67\x65/\x72eply\x2e\x70\x6e\x67\" ti\x74le\x3d\x22".vtranslate("\x4c\x42L\x5f\x52EPLY","\x43\x54What\x73\x41pp")."\"\x3e<p>".vtranslate("\x4c\x42L_R\x45PLY","\x43\x54WhatsAp\x70")."</\x70>\n\x20\x20 \x20\x20    \x20 \x20   \x20\x20\x20\x20 \x20   </spa\x6e\x3e";if(${${"G\x4cOB\x41\x4c\x53"}["\x65lt\x79\x72\x74j"]}){$onefdxcq="w\x68\x61t\x73a\x70p\x5fch\x61\x74\x69\x64";if(${$onefdxcq}){${"\x47L\x4f\x42\x41LS"}["\x74v\x70y\x71\x63"]="\x63\x72\x65\x61\x74\x65\x54as\x6b\x4d\x65\x73\x73a\x67\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ah\x6aksutn\x61\x75"]="\x77\x68\x61\x74\x73\x61\x70\x70\x5fc\x68a\x74\x69\x64";${${"G\x4c\x4fB\x41\x4c\x53"}["\x74\x76\x70y\x71c"]}="\n \x20  \x20 \x20 \x20 \x20\x20\x20\x20  \x20\x20 \x20\x20 \x20 \x20\x20 \x20\x3cs\x70\x61n\x20".${${"\x47\x4c\x4fB\x41\x4cS"}["\x6a\x6f\x77w\x65hl\x6f\x61\x63b\x71"]}."\x3e\n\x20\x20    \x20   \x20 \x20 \x20\x20\x20  \x20\x20       <\x61 \x68r\x65f\x3d\"i\x6e\x64\x65x.\x70hp?mod\x75\x6c\x65\x3d\x43ale\x6eda\x72&\x76\x69e\x77=Det\x61\x69l\x26r\x65cor\x64=".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ah\x6aks\x75t\x6e\x61\x75"]}."\x22 \x74\x61\x72\x67\x65t=\x22_\x62lan\x6b\x22><\x73pa\x6e>\x3ci\x6d\x67\x20c\x6c\x61\x73s\x3d\x22t\x61sk\x69d\" \x73\x74yle=\"\x77\x69\x64\x74\x68: \x315px\x3b\"\x20\x73rc\x3d\"\x6cay\x6f\x75ts/v\x37/mo\x64ul\x65\x73/CT\x57ha\x74sA\x70p/ima\x67e/\x77a\x74\x63\x68.\x6a\x70g\" ti\x74\x6c\x65=\x22".vtranslate("\x4cBL\x5fVI\x45\x57","V\x74ig\x65\x72")."\x22\x3e\x3c\x70\x3e".vtranslate("\x4c\x42L\x5fVIE\x57","Vtig\x65r")."</p></\x73\x70\x61n\x3e</a>\n  \x20 \x20\x20 \x20\x20 \x20\x20 \x20\x20\x20\x20 \x20  \x20 \x20\x20   </s\x70a\x6e\x3e";}else{${"\x47L\x4f\x42A\x4c\x53"}["m\x74\x6d\x73\x72a\x66\x76"]="me\x73sa\x67\x65B\x6f\x64y";$cikqtocza="\x63r\x65\x61\x74e\x54\x61\x73\x6bMes\x73\x61ge";${$cikqtocza}="\n   \x20\x20   \x20\x20\x20\x20\x20   \x20 \x20  \x20\x20\x20 \x20  <spa\x6e\x20cl\x61\x73\x73=\"ta\x73kMes\x73ag\x65Body\x20qu\x69c\x6bCr\x65a\x74\x65T\x61\x73kM\x6f\x64ul\x65\"\x20\x64a\x74a-\x74as\x6b=\"ye\x73\"\x20data-w\x68\x61\x74\x73\x61\x70\x70\x69d\x3d\x22".${${"\x47L\x4f\x42AL\x53"}["\x6c\x6f\x7a\x69\x69\x62\x67s\x6d\x67"]}."\"\x20 da\x74\x61-ur\x6c\x3d\"ind\x65x\x2ephp?m\x6f\x64u\x6ce\x3d\x43\x61\x6c\x65n\x64\x61r\x26v\x69e\x77\x3dQ\x75i\x63\x6bCre\x61\x74\x65Ajax\x26".${${"\x47\x4c\x4f\x42\x41\x4cS"}["j\x6dp\x71d\x77d\x6c"]}."&d\x65\x73\x63\x72\x69p\x74\x69\x6f\x6e\x3d".strip_tags(${${"\x47L\x4fB\x41\x4c\x53"}["l\x79\x6em\x6fu\x76\x77"]})."\x22 \x64at\x61-\x74\x61\x73k\x6d\x65ss\x61\x67\x65\x3d\x22".strip_tags(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6d\x74\x6d\x73ra\x66v"]})."\x22>\n    \x20    \x20\x20  \x20   \x20\x20 \x20\x20 \x20 \x20\x20\x20\x3c\x69\x6dg ".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6f\x77\x77\x65\x68\x6c\x6fa\x63\x62\x71"]}."\x20\x73\x72c=\"\x6cayo\x75ts/v\x37/modu\x6c\x65\x73/C\x54\x57\x68at\x73\x41pp/im\x61\x67\x65/\x77\x61\x74\x63\x68.\x6a\x70\x67\x22 \x74it\x6ce=\x22".vtranslate("\x4cB\x4c\x5f\x43R\x45\x41\x54\x45","\x56t\x69g\x65r")."\x22\x3e\x3c\x70>".vtranslate("\x4cB\x4c\x5fCR\x45ATE","\x56\x74\x69ge\x72")."\x3c/p\x3e\n  \x20      \x20\x20  \x20\x20 \x20 \x20\x20 \x20\x20   \x20 \x3c/s\x70\x61\x6e\x3e";}}}${${"\x47\x4cOB\x41\x4c\x53"}["xl\x75g\x61fkw\x77gw"]}="";${"\x47\x4c\x4f\x42ALS"}["\x75\x72\x76\x68a\x77d\x72\x67uv"]="\x6d\x65s\x73\x61\x67\x65\x42o\x64y";${${"\x47L\x4f\x42A\x4cS"}["\x65\x6c\x78\x72bc\x6c\x71\x63\x6d\x66"]}="\n  \x20   \x20    \x20  \x20\x20 \x20  \x20 \x20 \x3c\x73\x70an c\x6ca\x73\x73=\x22\x63\x6fpyMe\x73s\x61\x67\x65Bo\x64\x79\" \x64\x61\x74\x61-\x63\x6f\x70\x79\x6de\x73\x73\x61ge=\x22".strip_tags(${${"\x47L\x4fB\x41\x4c\x53"}["\x75\x72\x76\x68aw\x64\x72\x67\x75\x76"]})."\">\n  \x20\x20\x20\x20\x20  \x20\x20 \x20\x20  \x20\x20   \x20  <\x69m\x67\x20s\x74yle\x3d\"f\x6c\x6fa\x74:\x20\x6c\x65ft;w\x69d\x74h:\x20\x315px; !\x69m\x70o\x72t\x61\x6e\x74\" s\x72\x63\x3d\"la\x79\x6fu\x74\x73/\x76\x37/\x6dod\x75\x6ce\x73/\x43\x54W\x68\x61tsAp\x70/\x69mage/co\x70y.\x70\x6e\x67\" \x74\x69\x74\x6c\x65=\x22".vtranslate("\x4cBL_\x43\x4f\x50\x59","\x43\x54Wha\x74\x73\x41pp")."\x22\x3e<\x70>".vtranslate("L\x42L\x5fC\x4fPY","\x43T\x57h\x61tsApp")."</p>\n  \x20 \x20\x20   \x20       \x20\x20\x20  \x20 </s\x70a\x6e\x3e";$euqxgfvk="\x6e\x6f\x74R\x65\x70\x6c\x79\x57\x68\x61\x74\x73\x61\x70\x70";${$euqxgfvk}="1";}${${"\x47L\x4f\x42A\x4c\x53"}["atmg\x6do\x75\x68iu"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${${"\x47\x4cO\x42\x41L\x53"}["\x6f\x76\x74t\x79\x79o"]},${${"\x47\x4c\x4f\x42\x41LS"}["\x76\x61\x72\x62\x75\x66\x64"]},"\x77ha\x74\x73\x61pp\x5f\x64\x61te\x74i\x6de"));${${"\x47\x4cO\x42\x41L\x53"}["\x72\x73\x66\x66\x62r\x61f"]}[]=array("mes\x73\x61g\x65Ty\x70\x65"=>${$hsztrdgut},"\x6dess\x61\x67\x65B\x6f\x64\x79"=>${${"\x47LO\x42\x41\x4c\x53"}["b\x65\x6aq\x67cyb\x77w\x6b"]},"\x63reat\x65dTi\x6de"=>${${"\x47L\x4f\x42A\x4c\x53"}["\x73jpc\x76\x72\x70\x77\x6f\x74\x6a"]});if(${$yzdkrqiaptci}=="S\x65\x6e\x64"||${${"G\x4cO\x42\x41L\x53"}["\x67\x6b\x62\x72mbd\x65\x6b\x70"]}=="Mas\x73\x20\x4de\x73\x73\x61g\x65"){$jvqwztnmsk="\x63\x74\x57\x68\x61\x74\x73\x61pp\x49\x64";${"\x47\x4c\x4f\x42A\x4cS"}["bw\x73\x79nt\x65\x73k\x6ab"]="\x77\x68\x61t\x73\x61\x70\x70M\x65s\x73a\x67\x65\x48\x54M\x4c";$ymjgfpx="g\x65\x74N\x75\x6db\x65\x72\x55\x73\x65\x72n\x61\x6d\x65";${"\x47\x4cO\x42A\x4c\x53"}["\x78q\x67\x6f\x64\x78a\x72"]="w\x68\x61ts\x41\x70\x70F\x69\x6c\x65\x4e\x61me";${${"G\x4cO\x42AL\x53"}["\x67i\x72\x68v\x73"]}=${${"G\x4cO\x42ALS"}["\x67ir\x68v\x73"]}+1;${${"GLO\x42A\x4cS"}["\x62wsy\x6e\x74\x65\x73\x6b\x6a\x62"]}.="\x3c\x64iv\x20\x63l\x61ss=\"s\x65ndChat\"\x3e\n\x20\x20\x20\x20\x20\x20\x20\x20  \x20\x20\x20\x20  \x20  \x20<div\x20\x63\x6c\x61s\x73\x3d\x22c\x6fl-x\x73-\x312 \x63\x6fl-s\x6d-2 \x63ol-md-2\x20\x63\x6f\x6c-l\x67-\x32\x22\x3e\n\x20\x20   \x20  \x20\x20\x20\x20\x20  \x20    </d\x69\x76\x3e\n \x20  \x20 \x20 \x20\x20     \x20\x20 \x20\x20<di\x76\x20c\x6cas\x73\x3d\x22col-\x78\x73-\x312 co\x6c-s\x6d-\x32 \x63ol-m\x64-\x32\x20\x63\x6f\x6c-\x6cg-\x32\">\n\x20\x20 \x20\x20 \x20\x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20\x3c/\x64iv\x3e\n\x20\x20 \x20 \x20 \x20 \x20   \x20   \x20\x20 <d\x69v\x20c\x6ca\x73s=\"\x63ol-\x78s-1\x30\x20\x63\x6fl-\x73m-8\x20\x63o\x6c-md-8\x20c\x6fl-\x6c\x67-8\">\n  \x20\x20  \x20\x20\x20    \x20\x20 \x20  \x20\x3cdi\x76\x20\x63\x6c\x61\x73s=\"mainM\x65ssag\x65D\x69v\">";$ouagies="\x77\x68\x61ts\x61\x70\x70\x4de\x73\x73\x61\x67\x65\x48\x54\x4dL";${"\x47\x4cO\x42\x41LS"}["\x75f\x79\x67\x6d\x79k\x71z\x6d"]="\x6de\x73s\x61ge\x42ody";$pinuuxjc="quo\x74\x65m\x65\x73\x73\x61\x67e";if(${${"\x47L\x4f\x42A\x4c\x53"}["\x78h\x6b\x77\x68h\x77"]}!=0){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x63\x70\x65e\x7ah"]="rep\x6c\x79M\x65s\x73\x61\x67e\x48\x54ML";${"GLOB\x41\x4cS"}["\x73\x7a\x66\x7a\x67p\x79"]="\x77\x68a\x74s\x61p\x70\x4de\x73s\x61geH\x54M\x4c";$hruixwlcgw="w\x68\x61\x74sa\x70p\x4de\x73s\x61\x67\x65\x48TM\x4c";$bmxxhnvdnp="\x63\x6fp\x79\x4des\x73a\x67\x65";${$hruixwlcgw}.="\x3c\x64\x69v\x20\x63\x6c\x61\x73s\x3d\x22\x64\x72o\x70d\x6fw\x6e\"\x20\x73\x74yl\x65=\"\x77\x69\x64\x74\x68: m\x61x-\x63o\x6e\x74ent !\x69mport\x61n\x74;\x22\x3e\n \x20\x20  \x20\x20 \x20  \x20 \x20 \x20 \x20\x20  \x20\x20  \x20 \x20\x20  \x20\x20\x20     \x20\x20 \x20  \x20\x3c\x64i\x76\x20\x63\x6c\x61s\x73=\"\x64r\x6f\x70\x64own-to\x67gl\x65\x22 \x69d=\"\x64\x72o\x70\x64\x6fwnM\x65\x6e\x75\x42ut\x74on\x22 \x64\x61ta-t\x6fggl\x65=\"dropdo\x77\x6e\" a\x72\x69\x61-\x65xp\x61\x6eded=\"tru\x65\"\x20st\x79\x6ce=\"f\x6coa\x74:\x20\x72ight\x20\x21im\x70\x6f\x72tan\x74;cur\x73o\x72:\x20p\x6f\x69\x6e\x74\x65r\x3b\">\n\x20   \x20\x20\x20 \x20\x20  \x20   \x20\x20 \x20    \x20\x20\x20 \x20\x20   \x20  \x20\x20  \x20 \x20\x20\x20  \x20\x3ci \x63\x6c\x61s\x73=\x22fa \x66\x61-e\x6c\x6c\x69\x70s\x69s-\x76 \x69con\"\x20\x73tyl\x65\x3d\"wi\x64t\x68:\x20\x38p\x78;\x6da\x72g\x69\x6e: 5\x70x;cu\x72s\x6fr:\x20p\x6fi\x6e\x74\x65\x72\x3b\">\x3c/i\x3e\n  \x20 \x20 \x20\x20     \x20\x20  \x20\x20    \x20 \x20\x20 \x20  \x20\x20\x20\x20   \x20 \x20\x20   \x20</div\x3e\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 <\x64iv c\x6c\x61\x73\x73=\"dr\x6fpd\x6f\x77\x6e-m\x65n\x75\x20r\x65p\x6cy\x44\x72\x6fp\x77ow\x6eMen\x75Se\x6ed\" \x61r\x69a-la\x62\x65\x6cl\x65dby\x3d\"d\x72o\x70\x64\x6fwn\x4den\x75Bu\x74\x74\x6fn\"\x20s\x74yle\x3d\"".${${"GLO\x42A\x4c\x53"}["o\x6bt\x66\x6e\x73\x75\x66\x6bg"]}."\x22\x3e\n \x20\x20 \x20\x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20  \x20  \x20\x20 \x20\x20  \x20    \x20   \x20 \x20\x20 \x20<di\x76 c\x6c\x61s\x73=\x22\x64ro\x70\x64\x6f\x77\x6e\x49\x6e\x6e\x65\x72Men\x75\">\n  \x20\x20\x20\x20  \x20\x20\x20\x20 \x20   \x20\x20  \x20 \x20\x20    \x20 \x20  \x20  \x20\x20\x20 \x20    \x20\x20<\x61\x3e";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6cw\x72\x73n\x78\x76"]}.=${${"\x47\x4c\x4fB\x41L\x53"}["gc\x70eez\x68"]}."";${${"\x47\x4c\x4fBA\x4c\x53"}["\x6c\x77\x72s\x6exv"]}.="\x3c/a\x3e\x3c\x61>";${${"\x47\x4c\x4f\x42A\x4c\x53"}["lwr\x73\x6e\x78\x76"]}.=${$bmxxhnvdnp}."";${${"GLO\x42\x41L\x53"}["\x73\x7a\x66\x7a\x67p\x79"]}.="</a>\n\x20 \x20   \x20   \x20   \x20    \x20    \x20 \x20 \x20  \x20\x20 \x20\x20  \x20\x20\x20\x20\x20  \x20</\x64iv\x3e\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 \x3c/d\x69v>\n\x20 \x20    \x20\x20\x20\x20\x20  \x20 \x20\x20  \x20 \x20\x20\x20\x20\x20  \x20  \x20  \x20 \x20  \x20\x20 \x20\x3c/\x64\x69v\x3e";}${${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x77\x72\x73\x6e\x78v"]}.="<\x64\x69\x76 cl\x61\x73\x73\x3d\"\x62u\x62ble \x73\x65\x6ed\x22\x20\x64at\x61-\x77\x68a\x74sapp\x69\x64\x3d".${$jvqwztnmsk}.">";if(${$pinuuxjc}!=""){$xedjqxi="\x71\x75\x6f\x74\x65\x6de\x73sag\x65";${${"GL\x4f\x42\x41\x4c\x53"}["\x6c\x77\x72s\x6e\x78\x76"]}.="\x3c\x64\x69v \x63\x6ca\x73s=\"\x73e\x6e\x64Q\x75\x6f\x74e\x4des\x73\x61ge\"><\x70 \x73ty\x6ce\x3d\"wor\x64-\x77rap:\x20\x62re\x61\x6b-w\x6f\x72d\x3b\">".${$xedjqxi}."\x3c/\x70\x3e</d\x69v\x3e";}if(${${"G\x4c\x4fBA\x4cS"}["zdj\x73\x65\x6en\x71"]}=="\x47roups"){$mlcswxdrb="m\x65\x73\x73\x61\x67\x65S\x65\x6e\x64e\x72\x61m\x65";${${"GLO\x42\x41\x4c\x53"}["lw\x72\x73\x6e\x78v"]}.="\x3c\x73\x70\x61\x6e><b>".${$mlcswxdrb}."\x3c/\x62\x3e</\x73pa\x6e>";}${${"\x47\x4c\x4fB\x41\x4cS"}["\x6cw\x72\x73nx\x76"]}.="\x3c\x70 s\x74\x79\x6ce=\"w\x6frd-\x77\x72\x61\x70: \x62r\x65a\x6b-\x77ord;\"\x3e".${${"\x47\x4c\x4f\x42A\x4cS"}["uf\x79g\x6dy\x6b\x71\x7am"]}."<\x62\x72>\x20".urldecode(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78q\x67\x6f\x64\x78\x61\x72"]})."\x20</p\x3e\x3c/d\x69v\x3e</\x64\x69\x76\x3e\x3c\x73pa\x6e class=\x22c\x68\x61t\x54ime\x22>\x3cb\x3e".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71o\x75r\x78\x76\x65"]}."(".${$ymjgfpx}.") -\x20\x3c/b\x3e".${${"GLOB\x41L\x53"}["\x73\x6a\x70\x63v\x72p\x77ot\x6a"]}."";if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x75j\x6f\x68\x7a\x63em"]}=="\x52e\x61\x64"){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x77\x72s\x6e\x78\x76"]}.="\x3c\x69mg \x73rc=\"\x6cay\x6fu\x74s/\x767/\x6d\x6f\x64u\x6c\x65s/\x43T\x57h\x61\x74sA\x70\x70/im\x61g\x65/\x72e\x61d\x2e\x70\x6e\x67\"\x3e";}else{$yqyuoczwzm="w\x68\x61\x74\x73a\x70\x70Me\x73s\x61\x67\x65\x48\x54\x4d\x4c";${$yqyuoczwzm}.="\x3ci\x6d\x67 s\x72\x63=\x22la\x79\x6fu\x74\x73/\x767/mod\x75\x6ces/\x43\x54Wh\x61t\x73App/i\x6dage/\x75\x6e\x72\x65ad\x2e\x70ng\">";}${$ouagies}.="\x3c/\x73p\x61\x6e></di\x76></d\x69\x76>";}else if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x6ei\x72eu\x6a\x66\x74"]}=="R\x65\x63i\x65\x76ed"){${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x63\x69u\x78v\x64"]="\x74\x6f\x74\x61\x6cR\x65\x63\x65\x69ved";$xuoggpjrou="\x77\x68\x61t\x73ap\x70\x4d\x65\x73\x73ag\x65\x48TM\x4c";$dniovgr="\x6e\x6f\x74\x52\x65p\x6c\x79\x57\x68a\x74\x73\x61\x70\x70";${"\x47L\x4fB\x41L\x53"}["\x74\x72o\x66d\x67l\x64\x6b\x68"]="\x67\x65\x74\x4eum\x62\x65r\x55\x73\x65\x72\x6eame";${"\x47L\x4f\x42A\x4cS"}["l\x68t\x71\x69\x69d"]="c\x72\x65\x61\x74\x65d\x54\x69m\x65";$judicduwk="wh\x61\x74s\x41\x70\x70\x46\x69\x6ce\x4e\x61\x6d\x65";${${"\x47\x4c\x4fB\x41L\x53"}["\x62\x7ad\x6a\x66\x70"]}=${${"G\x4cOB\x41\x4c\x53"}["\x6ec\x69\x75\x78v\x64"]}+1;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x77\x72s\x6e\x78\x76"]}.="\x3cdiv \x63\x6ca\x73s\x3d\"\x72e\x70l\x79\x43\x68\x61\x74\"\x3e\n\x20\x20\x20\x20\x20   \x20 \x20\x20\x20   \x20 \x20   <\x64i\x76 \x63\x6ca\x73s\x3d\"c\x6f\x6c-x\x73-10 col-sm-8\x20\x63o\x6c-\x6d\x64-8 c\x6fl-l\x67-8\x22\x3e";${"GLO\x42AL\x53"}["\x68\x72\x74\x6bb\x73\x71\x77"]="\x77\x68\x61\x74s\x61\x70p\x4d\x65\x73\x73\x61\x67\x65H\x54M\x4c";$xudmjlhrfzb="w\x68\x61\x74sa\x70pM\x65\x73\x73\x61\x67e\x48\x54\x4d\x4c";${$xuoggpjrou}.="<div cl\x61s\x73\x3d\x22\x62\x75b\x62\x6ce\x20r\x65pl\x79\x22 dat\x61-\x77h\x61t\x73\x61\x70p\x69d=".${${"\x47\x4cOB\x41L\x53"}["\x6c\x6fz\x69\x69\x62\x67\x73\x6d\x67"]}."\x3e";$ndpymdv="w\x68a\x74s\x61\x70\x70\x4des\x73ag\x65\x48T\x4d\x4c";if(${${"\x47\x4cO\x42A\x4cS"}["\x6d\x6f\x6bfe\x63\x73\x79x\x77\x64"]}!=""){${${"\x47\x4c\x4fB\x41\x4cS"}["\x6c\x77rs\x6e\x78v"]}.="<\x64i\x76\x20c\x6c\x61\x73\x73=\x22s\x65\x6ed\x51u\x6f\x74\x65\x4d\x65\x73sag\x65\x22\x3e\x3c\x70 \x73ty\x6ce=\x22\x77or\x64-\x77\x72\x61p: b\x72\x65\x61k-\x77\x6f\x72d;\x22>".${${"\x47\x4cO\x42\x41\x4cS"}["\x6d\x6fk\x66e\x63\x73y\x78\x77\x64"]}."\x3c/p\x3e\x3c/div\x3e";}if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x7adjs\x65n\x6eq"]}=="\x47rou\x70\x73"){${"G\x4cO\x42\x41\x4c\x53"}["\x74\x71\x74n\x7a\x6a\x72\x6d\x73w"]="\x6d\x65ssa\x67eS\x65\x6e\x64er\x61\x6d\x65";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6cw\x72\x73nxv"]}.="<span\x3e<b>".${${"\x47\x4c\x4f\x42\x41LS"}["t\x71t\x6e\x7aj\x72\x6d\x73w"]}."\x3c/b\x3e</\x73p\x61n>";}${${"\x47L\x4f\x42\x41\x4c\x53"}["lw\x72s\x6e\x78\x76"]}.="<p s\x74\x79\x6ce\x3d\x22\x77or\x64-w\x72\x61p:\x20\x62re\x61k-wo\x72\x64\x3b\"\x3e".${${"\x47LO\x42A\x4c\x53"}["\x6c\x79\x6e\x6do\x75\x76\x77"]}."<br> ".urldecode(${$judicduwk})."\x20\x3c/p\x3e</d\x69\x76\x3e";if(${$dniovgr}!=0){$xnsvvmvlq="\x6d\x65\x6e\x75w\x69\x64\x74\x68";$qtzegqfbhs="i\x73\x47ro\x75\x70";${${"\x47\x4cO\x42AL\x53"}["\x6c\x77\x72\x73\x6e\x78v"]}.="<\x64\x69v\x20c\x6cas\x73=\x22d\x72\x6f\x70\x64o\x77n\"\x20s\x74y\x6c\x65=\x22disp\x6ca\x79: \x69n\x6c\x69ne-b\x6c\x6f\x63k\x20!im\x70\x6frt\x61n\x74;\x77\x69d\x74h: max-\x63\x6f\x6ete\x6et\x20\x21\x69\x6dp\x6f\x72tan\x74\x3b".${${"GL\x4fBALS"}["\x73hj\x6e\x6by\x76\x76\x68vn"]}."\"\x3e\n\x20  \x20\x20   \x20 \x20  \x20\x20\x20 \x20  \x20\x20\x20\x20\x20    \x20\x3c\x64\x69v\x20c\x6c\x61\x73\x73\x3d\x22d\x72o\x70d\x6f\x77\x6e-\x74\x6f\x67g\x6c\x65\x22 \x69\x64=\"dr\x6fpd\x6fw\x6e\x4de\x6euB\x75tton\" \x64\x61\x74a-t\x6f\x67g\x6c\x65=\x22d\x72op\x64\x6fwn\"\x20\x61\x72i\x61-e\x78\x70\x61n\x64\x65\x64\x3d\x22tru\x65\x22 s\x74\x79l\x65=\x22c\x75\x72\x73\x6f\x72: po\x69n\x74\x65\x72\x3b\x22\x3e\n\x20\x20\x20\x20     \x20\x20\x20 \x20  \x20\x20\x20\x20\x20  \x20\x20 \x20\x20\x20 \x20 \x3ci c\x6c\x61ss\x3d\x22\x66\x61 \x66\x61-e\x6c\x6ci\x70\x73\x69\x73-\x76\x20i\x63\x6f\x6e\x22\x20\x73\x74yle=\"\x77\x69d\x74\x68:\x208px\x3b\x6dar\x67in:\x20\x35\x70\x78\x3bcu\x72s\x6fr: \x70\x6fin\x74\x65r\x3b\"></i>\n \x20 \x20    \x20\x20\x20\x20\x20      \x20\x20 \x20\x20 \x20    </\x64i\x76\x3e\n\x20  \x20\x20\x20\x20\x20   \x20  \x20 \x20\x20  \x20 \x20    \x20 \x20<d\x69\x76\x20\x63\x6c\x61\x73s\x3d\"dr\x6f\x70\x64\x6f\x77\x6e-m\x65\x6e\x75 re\x70l\x79\x44\x72\x6f\x70\x77ownM\x65nu\" ar\x69a-lab\x65lledby=\x22\x64\x72o\x70\x64ow\x6e\x4d\x65\x6e\x75But\x74\x6fn\"\x20sty\x6ce=\x22".${$xnsvvmvlq}."\x22>\n\x20\x20\x20\x20\x20  \x20 \x20    \x20\x20\x20\x20 \x20\x20\x20 \x20  \x20  \x20<di\x76\x20\x63la\x73s\x3d\x22d\x72\x6f\x70d\x6fw\x6e\x49n\x6e\x65rMenu\">";if(${$qtzegqfbhs}!="\x47\x72\x6f\x75\x70\x73"){$eknjziqd="\x77\x68\x61\x74\x73\x61p\x70\x5f\x63o\x6e\x74a\x63\x74i\x64";if(${$eknjziqd}){${"\x47\x4cO\x42A\x4c\x53"}["\x67\x76\x67o\x6c\x63x\x6fb"]="\x77\x68\x61ts\x61\x70\x70M\x65s\x73\x61g\x65\x48\x54\x4dL";${${"G\x4c\x4f\x42A\x4cS"}["g\x76g\x6f\x6c\x63x\x6fb"]}.="\x3c\x61>".${${"\x47\x4c\x4f\x42A\x4cS"}["\x66h\x70\x79\x70c\x66\x73\x75\x70c"]}."\x3c/a\x3e<a>".${${"\x47L\x4f\x42A\x4c\x53"}["e\x6cx\x72\x62\x63\x6c\x71\x63m\x66"]}."\x3c/a\x3e<a\x3e".${${"GL\x4f\x42A\x4c\x53"}["\x7a\x78\x63\x67\x75n\x61p\x75"]}."\x3c/a>";if(${${"\x47LO\x42AL\x53"}["\x6b\x70\x61i\x66\x7atojnc"]}){${"GL\x4f\x42A\x4c\x53"}["\x71\x6a\x62\x7abfd\x70k\x66"]="\x69\x6d\x67\x45\x78\x74\x73";${"\x47L\x4fBAL\x53"}["\x78\x76j\x65\x61\x6e\x64"]="\x70\x64f\x45\x78\x74\x73";$pcywwmrp="\x75rlEx\x74";$fhxzbhueuh="\x75\x72\x6cE\x78\x74";${"\x47L\x4f\x42\x41L\x53"}["ik\x6b\x6e\x6bz\x6b"]="wo\x72dlEx\x74s";$qflqaybsxy="\x6dp3\x45x\x74\x73";if(in_array(${${"\x47L\x4fBA\x4c\x53"}["\x6c\x62\x61\x75\x6fy\x6ed\x78"]},${${"G\x4c\x4fB\x41\x4c\x53"}["\x71\x6ab\x7ab\x66d\x70\x6b\x66"]})||in_array(${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x62\x61uo\x79\x6ed\x78"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x7a\x63\x73uj\x69\x6b\x7a"]})||in_array(${$fhxzbhueuh},${${"\x47LO\x42\x41L\x53"}["\x78\x76\x6a\x65\x61nd"]})||in_array(${${"\x47\x4cO\x42A\x4c\x53"}["\x6cb\x61\x75\x6f\x79\x6e\x64x"]},${$qflqaybsxy})||in_array(${$pcywwmrp},${${"G\x4c\x4fB\x41\x4cS"}["b\x68pqy\x75\x79\x67\x71"]})||in_array(${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x62au\x6f\x79\x6ed\x78"]},${${"G\x4cOBA\x4c\x53"}["\x69\x6b\x6bn\x6b\x7ak"]})){$vmfmsienjcos="wh\x61\x74s\x61p\x70Mess\x61g\x65HT\x4d\x4c";${$vmfmsienjcos}.="";}else{${"\x47\x4c\x4f\x42\x41\x4cS"}["l\x75yook\x6d\x68"]="i\x73G\x72ou\x70";if(${${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x75y\x6f\x6f\x6bm\x68"]}!="Gr\x6f\x75ps"){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62m\x75\x77f\x6f\x76t\x65\x74"]="w\x68\x61\x74\x73a\x70\x70\x5f\x63\x6f\x6e\x74\x61\x63\x74\x69\x64";if(${${"\x47\x4cO\x42ALS"}["\x62\x6d\x75\x77fo\x76\x74e\x74"]}){$ninbgby="se\x74\x79\x70\x65";if(Users_Privileges_Model::isPermitted(${$ninbgby},"E\x64itView",${${"\x47\x4c\x4f\x42\x41L\x53"}["s\x64\x66\x74\x77\x7a\x75i"]})){$xhmevam="\x77\x68\x61tsa\x70\x70\x4d\x65\x73sa\x67\x65\x48\x54M\x4c";$jsmdhuqqkmtw="set\x79\x70\x65";$jmhfjibuibi="\x73e\x74\x79p\x65";$odmqmnjz="s\x65t\x79\x70\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x76\x6ex\x79\x78\x66\x77"]="\x6d\x65nu\x6da\x72\x67\x69\x6e";$wkroyvppik="m\x65\x73sa\x67\x65\x42\x6f\x64y";${$xhmevam}.="<a\x3e\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  \x20<s\x70\x61n\x20\x63l\x61\x73s\x3d\"\x65di\x74Fi\x65\x6c\x64\" da\x74\x61-me\x73sa\x67\x65b\x6fd\x79=\"".${$wkroyvppik}."\" s\x74yle=\x22c\x75rso\x72:\x20po\x69n\x74er;\"\x3e\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 \x20\x20\x20\x3cimg \x73t\x79l\x65=\x22f\x6c\x6fat: l\x65ft;\x77i\x64\x74h:\x2015\x70x\x3b !impor\x74\x61n\x74;\x20".${${"GL\x4f\x42A\x4c\x53"}["\x73\x76n\x78\x79x\x66\x77"]}."\x22\x20\x73\x72\x63=\x22l\x61yo\x75ts/\x767/\x6d\x6fdul\x65\x73/\x43\x54\x57h\x61\x74\x73Ap\x70/\x69\x6da\x67\x65/\x65dit\x63\x6fn\x74en\x74\x2ep\x6e\x67\"\x20ti\x74\x6c\x65\x3d\"".vtranslate("\x4c\x42\x4c_E\x44\x49\x54FIELD","CTWh\x61\x74s\x41\x70\x70")."\x20".vtranslate(${$jsmdhuqqkmtw},${$odmqmnjz})."\x22\x3e\x3cp\x3e".vtranslate("\x4c\x42L_\x45DI\x54\x46\x49E\x4c\x44","C\x54Wh\x61t\x73A\x70p")."\x20".vtranslate(${${"\x47L\x4f\x42A\x4c\x53"}["\x6b\x70a\x69\x66z\x74\x6fj\x6ec"]},${$jmhfjibuibi})."</p>\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   \x3c/sp\x61\x6e>\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\x20\x20\x3c/\x61\x3e";}}}}}}else{${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x62\x75\x73\x79\x70"]="\x72\x65\x70\x6c\x79Me\x73\x73\x61\x67eH\x54ML";${${"\x47\x4cOBAL\x53"}["l\x77\x72\x73\x6ex\x76"]}.="\x3c\x61\x3e".${${"\x47\x4cO\x42A\x4c\x53"}["\x65bu\x73\x79\x70"]}."\x3c/a\x3e<a>".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x6c\x78rbc\x6c\x71c\x6d\x66"]}."</\x61>";}}else{${"GLO\x42\x41\x4cS"}["\x68\x6d\x70\x71\x72\x6c\x63\x63\x78\x72\x6c"]="\x63o\x70\x79M\x65\x73s\x61g\x65";${"\x47L\x4f\x42\x41LS"}["\x6cg\x66n\x68i\x74\x6bk"]="what\x73\x61\x70p\x4d\x65s\x73\x61\x67\x65\x48\x54\x4d\x4c";${${"GLO\x42\x41\x4c\x53"}["\x6c\x67\x66\x6e\x68i\x74k\x6b"]}.="\x3ca\x3e".${${"\x47\x4c\x4fBALS"}["hm\x70\x71\x72\x6c\x63\x63\x78\x72\x6c"]}."</\x61\x3e<br>";}${${"\x47LO\x42A\x4cS"}["\x6cwrs\x6e\x78\x76"]}.="</div\x3e\x3c/di\x76></d\x69\x76\x3e";}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68r\x74\x6b\x62s\x71\x77"]}.="\x3c\x73p\x61n\x20\x63\x6ca\x73\x73=\"c\x68at\x54\x69\x6de\x22 \x73t\x79\x6ce\x3d\"w\x69\x64\x74h: 1\x300%;\x20!\x69m\x70or\x74a\x6et\x22>\x3cb>".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x6f\x75r\x78v\x65"]}."(".${${"\x47LO\x42\x41LS"}["\x74\x72\x6f\x66dg\x6cdk\x68"]}.") - </b>".${${"\x47L\x4fB\x41\x4c\x53"}["\x6cht\x71\x69\x69\x64"]}."";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["u\x75\x6ao\x68\x7ac\x65m"]}=="R\x65\x61d"){$oltpjprsmnf="\x77\x68\x61\x74\x73ap\x70\x4d\x65\x73\x73\x61g\x65\x48TM\x4c";${$oltpjprsmnf}.="<im\x67\x20\x73\x72c=\x22la\x79out\x73/\x76\x37/mo\x64ule\x73/\x43TWh\x61t\x73\x41\x70\x70/\x69\x6da\x67\x65/\x72\x65\x61d\x2epng\">";}else{${${"\x47LO\x42\x41L\x53"}["\x6c\x77\x72\x73n\x78\x76"]}.="<\x69\x6d\x67\x20src\x3d\x22\x6c\x61yo\x75ts/\x76\x37/\x6do\x64u\x6c\x65\x73/C\x54WhatsA\x70\x70/im\x61ge/\x75n\x72e\x61d.\x70\x6eg\x22>";}${$ndpymdv}.="</\x73\x70\x61n\x3e\x3c/di\x76>";${$xudmjlhrfzb}.="<\x64\x69\x76 c\x6c\x61\x73s=\x22\x63o\x6c-x\x73-\x31\x32 col-s\x6d-\x32 \x63\x6fl-m\x64-\x32 c\x6f\x6c-lg-\x32\x22\x3e\x3c/d\x69\x76\x3e</d\x69v\x3e";}}${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6cw\x72\x73\x6ex\x76"]}.="\x3c/\x64\x69\x76>";${${"GL\x4fB\x41\x4c\x53"}["\x67\x62i\x71j\x67\x6d"]}=CTWhatsApp_Record_Model::getmoduleIsEnable(${${"\x47\x4c\x4f\x42\x41LS"}["\x74\x6a\x62\x62\x62w\x6a\x63daq\x6d"]});if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["k\x70\x61\x69\x66\x7at\x6f\x6an\x63"]}){$yoeuvxyu="\x70a\x67\x69ngM\x6fd\x65l";${"\x47\x4cOB\x41\x4cS"}["\x73\x75\x78y\x70\x71\x74yetm"]="r\x65\x63\x6f\x72\x64I\x64";${${"\x47\x4cO\x42\x41\x4cS"}["\x66\x61\x62\x6e\x74\x66\x6c\x74g\x78"]}=new Vtiger_Paging_Model();${${"GLOB\x41L\x53"}["\x6b\x6f\x73i\x6f\x74\x66\x73r"]}=ModComments_Record_Model::getRecentComments(${${"\x47\x4cO\x42AL\x53"}["\x73\x75xy\x70\x71\x74\x79et\x6d"]},${$yoeuvxyu});${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x74t\x63\x68\x72\x6cf\x6c\x77s"]="\x72\x65\x63e\x6e\x74\x43o\x6dme\x6ets";${${"\x47\x4c\x4fBAL\x53"}["dr\x77\x61w\x61\x74\x66\x75\x65\x62"]}=array();${${"\x47\x4cO\x42\x41LS"}["\x77\x78\x69nv\x65qje\x65"]}="";foreach(${${"\x47LO\x42\x41\x4c\x53"}["\x6bttch\x72l\x66\x6c\x77s"]} as${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x70\x76\x75c\x6a\x62c\x6ee"]}=>${${"\x47\x4c\x4f\x42A\x4cS"}["\x79\x78k\x73\x75\x6dx"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x68\x6c\x65\x6b\x72\x69\x64"]="\x6be\x79";if(${${"GLOBA\x4cS"}["kpv\x75\x63j\x62\x63n\x65"]}<2){$koevvrwummn="s\x6d\x6fw\x6e\x65r\x69\x64";${${"G\x4c\x4f\x42\x41\x4c\x53"}["y\x73\x74b\x76\x67\x77\x76k\x77"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["ko\x73iot\x66\x73r"]}[${${"\x47\x4cOB\x41L\x53"}["\x6b\x70\x76\x75\x63\x6a\x62cne"]}]->get("c\x6fmmen\x74\x63\x6fnte\x6et");${${"G\x4cO\x42\x41LS"}["xaa\x73\x67\x76m\x71k\x78"]}=${${"G\x4cOB\x41L\x53"}["\x6b\x6fs\x69\x6ft\x66\x73r"]}[${${"\x47\x4c\x4fB\x41L\x53"}["k\x70\x76uc\x6a\x62\x63\x6e\x65"]}]->get("c\x72eat\x65dt\x69me");$uxeorlpmhmga="\x63\x6fm\x6d\x65\x6e\x74H\x54M\x4c";${$koevvrwummn}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x6f\x73i\x6ftf\x73\x72"]}[${${"\x47L\x4f\x42\x41L\x53"}["\x6bp\x76\x75\x63j\x62c\x6e\x65"]}]->get("smo\x77ner\x69d");${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x6c\x73\x65\x6e\x71m\x6f"]="c\x72\x65\x61\x74e\x64t\x69m\x65";${$uxeorlpmhmga}.="<di\x76\x20\x63las\x73=\"\x63om\x6d\x65nt1\">\n\x20\x20  \x20\x20  \x20      \x20\x20  \x20\x20 \x20 \x20\x20\x20 \x3c!--\x20\x3c\x64i\x76 c\x6c\x61s\x73=\"p\x69c\x22\x3e<\x69m\x67 s\x72c\x3d\x22\x6c\x61\x79out\x73/\x767/\x6d\x6f\x64\x75\x6c\x65s/\x43TW\x68a\x74s\x41pp/ima\x67\x65/p\x69c4\x2e\x70\x6e\x67\" /\x3e\x3c/di\x76\x3e --\x3e\n\x20\x20\x20\x20    \x20\x20 \x20 \x20 \x20\x20   \x20 \x20    \x20<\x64\x69\x76 class=\"p\x4ea\x6de\">\n\x20    \x20\x20\x20\x20\x20\x20 \x20     \x20  \x20 \x20 \x20\x20   <\x64\x69v c\x6cas\x73=\"pT\x65\x78t\"\x3e\n \x20\x20   \x20\x20\x20\x20 \x20\x20    \x20 \x20 \x20 \x20\x20\x20 \x20    <\x73pa\x6e>".Vtiger_Functions::getUserName(${${"GL\x4f\x42\x41\x4cS"}["mkf\x69hsy\x78\x71\x72\x6f"]})."</span>\n    \x20 \x20\x20\x20\x20   \x20\x20\x20\x20  \x20 \x20    \x20  \x20  <\x73p\x61\x6e\x20\x63la\x73\x73=\x22\x74\x69\x6d\x65\x22\x3e".Vtiger_Util_Helper::formatDateDiffInStrings(${${"GLO\x42ALS"}["\x76\x6c\x73\x65n\x71\x6do"]})."\x3c/\x73pa\x6e\x3e\n\x20 \x20\x20\x20\x20\x20 \x20  \x20\x20\x20 \x20 \x20  \x20      \x20 \x20  \x3cp\x3e".decode_html(${${"G\x4c\x4f\x42ALS"}["\x79\x73\x74b\x76\x67\x77\x76\x6bw"]})."</\x70\x3e\n   \x20\x20\x20 \x20\x20\x20\x20\x20     \x20\x20  \x20      \x20\x20\x3c/\x64\x69\x76\x3e\n \x20\x20\x20\x20 \x20\x20\x20\x20\x20       \x20\x20  \x20   \x20\x20</\x64i\x76\x3e\n\x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x20\x20\x20 \x20\x20 \x20   \x20  </di\x76\x3e";}if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x68\x6ce\x6b\x72id"]}>3){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x6c\x65mfp\x7abv"]="re\x63\x6f\x72d\x49\x64";${"G\x4c\x4fB\x41\x4c\x53"}["wz\x64\x63\x71\x70\x68\x62f"]="\x6do\x72\x65C\x6f\x6d\x6den\x74\x4c\x69n\x6b";${${"G\x4cO\x42\x41\x4c\x53"}["w\x7a\x64\x63q\x70\x68\x62\x66"]}="\x3cs\x70\x61n\x20c\x6cas\x73=\x27\x70ul\x6c-\x72i\x67\x68\x74\x27\x20st\x79l\x65\x3d'\x63\x6f\x6cor: \x62l\x75\x65;\x27\x3e\x3ca \x68re\x66=\x27\x69n\x64\x65x\x2e\x70h\x70?\x6do\x64\x75l\x65=".${${"GLO\x42\x41\x4cS"}["k\x70\x61i\x66z\x74\x6fj\x6ec"]}."&r\x65l\x61\x74\x65\x64M\x6fd\x75\x6c\x65=\x4d\x6f\x64C\x6fm\x6d\x65n\x74\x73&vi\x65w\x3d\x44e\x74\x61il&\x72e\x63\x6fr\x64=".${${"\x47\x4cO\x42\x41L\x53"}["ll\x65\x6d\x66\x70z\x62\x76"]}."&\x6d\x6fd\x65\x3d\x73\x68o\x77\x52\x65la\x74ed\x4c\x69\x73t'\x20t\x61r\x67\x65\x74\x3d'\x5fblac\x6b\x27>".vtranslate("\x4cBL_S\x48OW\x5fMO\x52E","\x56\x74i\x67e\x72")."\x3c/a><sp\x61n>";}}}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x72\x6b\x63\x65\x73\x6e\x70d\x76"]}=array("\x77\x68\x61\x74\x73\x61p\x70\x4dessage\x48\x54ML"=>${$naautbwgq},"\x74\x6f\x74a\x6cSe\x6et"=>${${"GLOB\x41L\x53"}["qvhe\x6d\x73\x71j"]},"tot\x61\x6cR\x65ce\x69\x76ed"=>${$lqlerxyqli},"com\x6d\x65n\x74\x48TM\x4c"=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x78i\x6ev\x65qj\x65\x65"]}.${${"\x47\x4cO\x42\x41\x4cS"}["zn\x6bigm\x6dp\x65"]},"\x6d\x65s\x73\x61\x67\x65Impo\x72\x74an\x74"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x7a\x66\x6e\x63o\x70x\x78\x78"]},"mo\x64u\x6c\x65I\x73En\x61b\x6ce"=>${${"\x47LOB\x41LS"}["\x65\x68\x6bs\x6c\x76\x71\x6by\x75\x6a\x6f"]});return${${"\x47L\x4f\x42A\x4c\x53"}["\x62\x72\x7as\x72\x6dt\x63\x7a\x76"]};}function getRelatedModules($moduleName){global$adb;$zlmuedvhnmj="g\x65\x74\x52e\x6cate\x64M\x6fd\x75\x6c\x65Q\x75\x65\x72\x79";${"\x47\x4c\x4fB\x41\x4cS"}["m\x70y\x78\x64\x69\x73\x6c\x79\x75"]="mo\x64u\x6ceN\x61\x6d\x65";$zqwfzok="\x74\x61\x62\x69d";$ktvltskonsi="\x72\x65\x6c\x61\x74\x65\x64\x4d\x6fd\x75leA\x72\x72\x61\x79";${${"\x47L\x4fB\x41L\x53"}["\x77\x69\x68\x66\x64tjx\x72\x66"]}=getTabid(${${"\x47L\x4fBA\x4c\x53"}["mpy\x78d\x69\x73\x6c\x79u"]});${$zlmuedvhnmj}=$adb->pquery("\x53\x45\x4cE\x43T *\x20\x46R\x4f\x4d\x20v\x74\x69g\x65\x72_r\x65\x6ca\x74ed\x6ci\x73t\x73 WHERE\x20\x74a\x62\x69\x64 \x3d\x20? A\x4eD\x20\x70res\x65nc\x65\x20=\x200 \x41\x4e\x44 \x72\x65\x6ca\x74\x65d\x5f\x74abi\x64\x20NOT\x20\x49\x4e(8,9,1\x30,\x320,\x32\x31,22,\x32\x33,\x33\x35,43) AN\x44 acti\x6f\x6es\x20LI\x4bE '%AD\x44%\x27",array(${$zqwfzok}));${"G\x4cOB\x41\x4cS"}["n\x6a\x65lg\x71\x70\x6b\x79\x66l\x78"]="r\x65\x6c\x61\x74e\x64M\x6f\x64\x75leA\x72\x72\x61\x79";${${"GL\x4f\x42\x41\x4cS"}["\x67i\x6e\x79\x71zg\x66\x75\x74\x75s"]}=$adb->num_rows(${${"\x47LO\x42\x41\x4cS"}["xp\x65\x6e\x79v\x64\x66"]});${$ktvltskonsi}=array();$rqxgergapcz="j";for(${${"GL\x4f\x42A\x4c\x53"}["\x70\x68\x78\x6ejo\x6b\x69\x72\x62gf"]}=0;${$rqxgergapcz}<${${"\x47\x4c\x4f\x42\x41L\x53"}["\x67\x69\x6e\x79\x71\x7a\x67\x66\x75\x74\x75\x73"]};${${"\x47\x4c\x4f\x42A\x4cS"}["\x70\x68\x78\x6e\x6aokirbgf"]}++){${"G\x4cO\x42\x41LS"}["\x75\x63\x62\x61n\x6f\x6b\x6c\x75\x6a\x6ac"]="\x72e\x6ca\x74\x65\x64\x4d\x6fd\x75\x6c\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x6cv\x63wro"]}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78pe\x6e\x79v\x64\x66"]},${${"\x47LO\x42A\x4c\x53"}["\x70\x68\x78\x6e\x6a\x6fki\x72\x62\x67\x66"]},"r\x65late\x64\x5f\x74abi\x64");${${"G\x4cOB\x41\x4c\x53"}["\x65i\x6c\x61\x6bu\x64\x69\x72"]}=$adb->pquery("S\x45L\x45\x43T *\x20FRO\x4d\x20v\x74i\x67er_\x74\x61\x62\x20W\x48ERE\x20\x74\x61\x62\x69d\x20=\x20?\x20AND\x20pres\x65\x6e\x63\x65 \x3d\x200",array(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x6cv\x63\x77r\x6f"]}));${${"GL\x4f\x42\x41\x4cS"}["u\x63b\x61no\x6b\x6cu\x6a\x6a\x63"]}=$adb->query_result(${${"\x47\x4c\x4fBA\x4cS"}["\x65il\x61\x6budi\x72"]},0,"nam\x65");if(${${"G\x4c\x4f\x42\x41\x4cS"}["\x74\x65\x6fdz\x6ce"]}!=""){$wnepwdih="r\x65la\x74\x65\x64M\x6fd\x75l\x65";${"\x47\x4cOB\x41L\x53"}["\x62\x62hqt\x65\x6c\x74"]="d\x61t\x61";${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x75vps\x66i\x67"]="\x64a\x74\x61";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x62h\x71t\x65lt"]}=CTWhatsApp_Record_Model::checkPermissionModule(${$wnepwdih});if(${${"GL\x4f\x42A\x4c\x53"}["\x6f\x75\x76\x70sfig"]}==1){$vxvcbmbm="t\x61b\x69\x64";$olypcwlmswyq="rel\x61t\x65\x64\x4dod\x75\x6c\x65\x41r\x72ay";$fosrwgrq="g\x65\x74R\x65\x6c\x61\x74e\x64\x46i\x65l\x64\x4e\x61\x6d\x65\x51\x75\x65\x72\x79";$qxtpztgujh="\x72\x65\x6cat\x65\x64\x4d\x6fd\x75l\x65\x54a\x62\x69d";${$fosrwgrq}=$adb->pquery("\x53\x45LEC\x54\x20vt\x69g\x65r\x5f\x66i\x65\x6c\x64.\x66ie\x6c\x64\x6e\x61\x6d\x65\x20\x46R\x4f\x4d \x76\x74ig\x65\x72\x5fr\x65l\x61tedlist\x73 I\x4eN\x45R \x4a\x4f\x49N\x20v\x74\x69g\x65\x72_\x66\x69eld ON\x20vt\x69ge\x72\x5f\x66i\x65l\x64\x2efi\x65l\x64\x69d\x20= \x76\x74i\x67e\x72\x5f\x72elat\x65d\x6c\x69\x73t\x73.\x72e\x6c\x61t\x69onfie\x6c\x64\x69\x64\x20WHERE\x20vt\x69\x67\x65r_\x72\x65\x6c\x61\x74e\x64l\x69s\x74\x73.\x72\x65la\x74ed\x5f\x74abi\x64 \x3d ?\x20AND\x20vtig\x65r\x5f\x72\x65l\x61\x74edli\x73t\x73.t\x61bi\x64\x20\x3d\x20?",array(${$qxtpztgujh},${$vxvcbmbm}));${${"\x47\x4cOB\x41LS"}["\x64\x78\x72\x75\x65\x6e\x6eo\x6b\x6cv"]}=$adb->query_result(${${"GL\x4f\x42ALS"}["\x65\x63\x71\x73\x77\x75\x76o\x68"]},0,"\x66iel\x64n\x61\x6de");$iybjxtkgfv="r\x65\x6c\x61\x74e\x64\x4d\x6f\x64ul\x65";${$olypcwlmswyq}[${${"GLO\x42A\x4c\x53"}["\x74e\x6fd\x7a\x6c\x65"]}]=array("r\x65l\x61\x74e\x64\x4do\x64\x75le"=>${$iybjxtkgfv},"rel\x61tedFie\x6c\x64\x4e\x61m\x65"=>${${"\x47\x4c\x4fB\x41LS"}["\x64\x78r\x75enn\x6fk\x6c\x76"]});}}}return${${"GL\x4fB\x41\x4cS"}["\x6ej\x65\x6c\x67\x71\x70\x6b\x79fl\x78"]};}public function checkPermissionModule($moduleName){$fswakemte="m\x6f\x64\x75\x6c\x65\x4e\x61\x6d\x65";${"\x47LOB\x41\x4c\x53"}["\x6bt\x66\x6fk\x6d\x6a\x64\x6d\x75"]="m\x6f\x64\x75l\x65\x4e\x61\x6d\x65";${$fswakemte}=${${"\x47\x4cOB\x41\x4c\x53"}["\x6b\x74\x66\x6f\x6bm\x6a\x64m\x75"]};$rrsdjenk="\x6dodu\x6ce\x4ea\x6de";$dtcnmhcpuybi="r\x65\x63\x6f\x72\x64";${$dtcnmhcpuybi}="";${${"G\x4c\x4f\x42\x41\x4cS"}["\x65m\x77\x6b\x71\x79\x68ay\x73"]}="De\x74\x61\x69lVi\x65w";if(!Users_Privileges_Model::isPermitted(${$rrsdjenk},${${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x6dwkq\x79\x68ays"]},${${"G\x4cO\x42A\x4c\x53"}["l\x67\x75\x71\x68\x66g\x6c"]})){return 0;}else{return 1;}}public function setMessagesImportant($recordId,$messagesImportant){$skyvkg="\x73\x65\x74y\x70e";${"\x47L\x4f\x42\x41\x4cS"}["\x63ka\x61\x69\x72b\x6dzse"]="\x6d\x65\x73\x73ag\x65\x73\x49\x6d\x70\x6fr\x74\x61n\x74";global$adb;${${"\x47L\x4f\x42\x41L\x53"}["k\x70\x61i\x66\x7ato\x6an\x63"]}=VtigerCRMObject::getSEType(${${"GL\x4fB\x41\x4cS"}["\x71\x77\x6f\x6b\x74w\x77\x63b\x74"]});$foeipymll="\x75\x70\x64a\x74\x65\x51\x75\x65ry";${"\x47\x4cO\x42\x41LS"}["\x62\x69\x6f\x6c\x66h"]="cu\x73\x74\x6f\x6d\x51\x75\x65\x72\x79";if(${${"G\x4c\x4f\x42A\x4cS"}["\x63\x6baa\x69r\x62\x6d\x7a\x73\x65"]}==0){${"GLO\x42\x41L\x53"}["\x76u\x64i\x6cy\x6c\x64"]="q\x75er\x79";${${"\x47L\x4fB\x41\x4c\x53"}["\x76\x75\x64\x69\x6c\x79\x6c\x64"]}="U\x50D\x41TE\x20v\x74\x69g\x65r\x5fwh\x61\x74sa\x70plo\x67 SE\x54 w\x68at\x73ap\x70log\x5f\x69\x6dp\x6fr\x74ant\x20\x3d \x31";}else{${${"G\x4c\x4f\x42\x41LS"}["\x6fv\x74\x74\x79\x79\x6f"]}="U\x50\x44A\x54E\x20\x76tig\x65r\x5fwhat\x73\x61\x70pl\x6fg \x53E\x54\x20w\x68\x61\x74\x73a\x70pl\x6f\x67_\x69\x6dpor\x74\x61nt \x3d\x20\x30";}if(${$skyvkg}){${${"\x47LO\x42A\x4c\x53"}["\x62i\x6ex\x62\x64\x69\x64"]}=" \x57HE\x52\x45 w\x68a\x74\x73ap\x70lo\x67\x5fcon\x74\x61\x63t\x69d\x20= ?";}else{$prvatkdylka="\x63\x75\x73\x74\x6f\x6d\x51\x75\x65r\x79";${$prvatkdylka}="\x20WH\x45R\x45 \x77\x68\x61\x74sapp\x6co\x67_\x77\x69\x74hc\x63o\x64e\x20= ?";}${$foeipymll}=$adb->pquery(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6fvt\x74\x79\x79\x6f"]}.${${"\x47\x4c\x4fBA\x4c\x53"}["\x62\x69o\x6cf\x68"]},array(${${"\x47L\x4fB\x41\x4c\x53"}["\x71w\x6fk\x74\x77\x77\x63b\x74"]}));return 1;}public function getAllNewUnreadMessages($recordId,$moduleName,$individulMessage,$lastMessageID){$wnejmmyxn="\x73\x65\x74\x79\x70\x65";global$adb,$current_user;${"\x47\x4c\x4fB\x41L\x53"}["j\x79\x79\x67\x6e\x69tfc"]="pd\x66\x45\x78t\x73";${$wnejmmyxn}=VtigerCRMObject::getSEType(${${"G\x4cOBAL\x53"}["q\x77\x6fk\x74\x77\x77\x63\x62\x74"]});$euajyg="i\x6e\x4eu\x6d\x62e\x72\x51u\x65ry";$jutgohfprtx="i\x6dgE\x78\x74s";${${"\x47LO\x42\x41LS"}["x\x65\x65p\x76\x6cd\x73\x77"]}=$current_user->id;$csjnhpw="record\x49\x64";$tcadrqkq="\x77\x6fr\x64l\x45\x78\x74\x73";${$euajyg}=CTWhatsApp_Record_Model::getInNumberQuery(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78eepv\x6c\x64s\x77"]});if(${${"\x47L\x4f\x42\x41L\x53"}["k\x70\x61i\x66\x7at\x6fjnc"]}){${${"\x47\x4c\x4f\x42A\x4c\x53"}["bi\x6e\x78bdi\x64"]}="\x20\x41\x4e\x44 w\x68\x61\x74s\x61\x70p_c\x6fntac\x74id \x3d\x20?";}else{${"\x47L\x4f\x42\x41LS"}["nt\x76\x64\x64\x6c\x63\x76\x77c"]="\x72e\x63\x6fr\x64\x49\x64";if(strpos(${${"\x47\x4c\x4f\x42\x41LS"}["ntvd\x64\x6c\x63\x76\x77c"]},"\x40g\x2e\x75\x73")!==false){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x69\x6ex\x62\x64i\x64"]}="\x20AND\x20ms\x67id \x3d ?";}else{${${"\x47\x4c\x4fB\x41L\x53"}["\x62\x69\x6e\x78bdid"]}=" AN\x44\x20wh\x61\x74\x73\x61\x70p\x5fw\x69thc\x63\x6fd\x65 =\x20?";}}$cegvivevdr="i\x6ediv\x69\x64u\x6cM\x65\x73\x73a\x67\x65";${"G\x4c\x4fB\x41\x4c\x53"}["\x71\x6a\x6e\x67\x78\x6a\x72y\x73"]="\x75\x6erea\x64\x51u\x65\x72\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["qj\x6e\x67\x78\x6a\x72\x79\x73"]}=CTWhatsApp_Record_Model::unreadQuery();$leoxdahbe="i";if(${$cegvivevdr}==1){${"GL\x4fBAL\x53"}["\x6asg\x68\x72\x73\x79\x69l"]="u\x6er\x65\x61\x64Q\x75\x65\x72\x79";${"\x47\x4cO\x42\x41\x4cS"}["f\x6fd\x73m\x72\x61h\x6d\x6a\x65"]="c\x75\x73\x74\x6f\x6dQ\x75\x65r\x79";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x76\x74t\x79\x79o"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x73\x67\x68r\x73y\x69\x6c"]}.${${"\x47LOB\x41\x4c\x53"}["\x66ods\x6d\x72a\x68\x6dj\x65"]}.${${"G\x4c\x4f\x42\x41\x4c\x53"}["p\x72a\x67\x6dj\x66eo"]}."\x20A\x4e\x44\x20v\x74\x69\x67er_ctwhat\x73\x61pp\x2e\x77\x68a\x74sap\x70_unr\x65\x61\x64r\x65a\x64 =\x20\x27Unre\x61\x64' \x41\x4e\x44 \x76\x74\x69g\x65r\x5fc\x74\x77\x68\x61tsapp\x2em\x65ssa\x67\x65_\x74\x79\x70\x65\x20IN\x20(\x27R\x65\x63\x69eve\x64')\x20OR\x44E\x52 \x42\x59 \x63t\x77\x68a\x74sa\x70pi\x64\x20D\x45SC L\x49MIT \x30,\x31";}else{${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x6a\x6c\x6c\x70\x70\x75\x6eof"]="\x6ca\x73\x74M\x65\x73\x73\x61g\x65I\x44";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x6al\x6cppun\x6f\x66"]}){${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x75\x76\x6f\x6a\x6b\x6et\x69e\x62"]="\x71u\x65\x72\x79";${${"G\x4cO\x42A\x4c\x53"}["ruv\x6f\x6a\x6b\x6e\x74\x69\x65\x62"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x79u\x70\x72\x69ls"]}.${${"GL\x4fBAL\x53"}["bi\x6e\x78\x62\x64\x69d"]}.${${"G\x4cO\x42\x41\x4cS"}["p\x72\x61g\x6dj\x66e\x6f"]}." \x41ND\x20ctw\x68a\x74\x73a\x70\x70\x69\x64 > ".${${"\x47\x4cOB\x41\x4c\x53"}["\x73\x77w\x77\x73m\x77\x6clfl"]};}else{$lhnpslbt="\x75n\x72\x65a\x64\x51\x75\x65\x72y";${"G\x4cO\x42\x41\x4c\x53"}["\x64\x62k\x63w\x6e\x6d"]="\x71\x75\x65r\x79";$uyrdpttykgj="cu\x73\x74o\x6dQ\x75er\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x62\x6bc\x77\x6e\x6d"]}=${$lhnpslbt}.${$uyrdpttykgj}.${${"\x47LO\x42\x41\x4cS"}["\x70\x72\x61\x67\x6d\x6a\x66e\x6f"]};}}$cqdxwppcs="\x69";${"G\x4cO\x42\x41\x4c\x53"}["\x6a\x61nj\x75\x76ro\x6c\x77"]="e\x78\x63el\x45xts";${${"\x47\x4c\x4f\x42A\x4cS"}["\x79x\x66ngo\x73pd\x67jo"]}=$adb->pquery(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6f\x76\x74\x74\x79yo"]},array(${$csjnhpw}));${"G\x4c\x4f\x42A\x4c\x53"}["\x6cvje\x77\x70\x74e\x6e"]="\x71u\x65\x72yRe\x73u\x6c\x74";${"\x47\x4cOB\x41\x4c\x53"}["\x6cx\x6c\x6f\x68\x66k\x67\x75\x64"]="\x75\x6er\x65\x61\x64Ar\x72a\x79";${${"\x47L\x4fB\x41LS"}["\x78\x64\x6c\x7al\x68\x64\x71\x6f\x63\x77\x70"]}=$adb->num_rows(${${"GL\x4fB\x41\x4c\x53"}["\x6cv\x6a\x65w\x70\x74en"]});${${"\x47L\x4f\x42\x41\x4cS"}["lw\x72s\x6e\x78\x76"]}="";${$jutgohfprtx}=array("\x67\x69\x66","\x6a\x70\x67","\x6a\x70\x65\x67","\x70\x6eg","\x74\x69\x66\x66","\x74if");${${"\x47L\x4f\x42A\x4cS"}["j\x79ygni\x74\x66\x63"]}=array("pd\x66");${${"\x47LO\x42\x41\x4cS"}["\x7a\x63\x73u\x6a\x69k\x7a"]}=array("tx\x74","\x70\x68p","zi\x70","\x63s\x76","http\x73");${${"G\x4c\x4f\x42\x41\x4cS"}["sg\x6c\x6b\x6c\x6b"]}=array("m\x703");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x61\x6e\x6auvrol\x77"]}=array("\x78\x6c\x73");${$tcadrqkq}=array("\x64\x6f\x63\x78","d\x6fc");for(${$cqdxwppcs}=0;${$leoxdahbe}<${${"G\x4cO\x42\x41LS"}["x\x64\x6c\x7a\x6c\x68d\x71\x6f\x63\x77\x70"]};${${"\x47L\x4fB\x41\x4c\x53"}["v\x61\x72bu\x66\x64"]}++){${"\x47\x4c\x4f\x42A\x4c\x53"}["xinmo\x75\x74\x70\x75v\x6br"]="\x71\x75e\x72\x79\x52esu\x6c\x74";$ynelauf="\x63\x72\x65\x61\x74\x65\x64\x54\x69\x6d\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["a\x68\x72r\x71o\x71\x62f\x70\x73n"]="\x71uo\x74\x65\x6d\x65\x73s\x61\x67\x65";${"\x47L\x4f\x42\x41L\x53"}["a\x6a\x71\x6f\x66\x6brq"]="i";${"\x47L\x4f\x42A\x4cS"}["dlt\x77\x68\x69w\x64\x65"]="\x71\x75\x65ry\x52esu\x6ct";$cvduxqbdi="q\x75\x65\x72y\x52\x65\x73\x75lt";${"G\x4c\x4f\x42\x41\x4cS"}["\x6f\x6a\x79m\x64celp\x70\x76"]="q\x75\x65\x72\x79\x52e\x73\x75\x6c\x74";$hokfspndgym="\x69";${"\x47L\x4f\x42\x41\x4c\x53"}["q\x70\x66b\x72\x79f\x6ea\x6f"]="\x79o\x75r\x5fnu\x6d\x62\x65r";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x68\x70\x79p\x63\x66s\x75\x70c"]}="";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65l\x78rbclqcm\x66"]}="";${"\x47\x4cOBA\x4c\x53"}["\x75\x78\x6fe\x61\x74\x67\x79\x74\x73"]="\x69";${"G\x4cO\x42\x41L\x53"}["y\x6drf\x63u\x75\x75"]="s\x65t\x79\x70\x65";$poeutqtfcwic="i";${"\x47\x4c\x4f\x42A\x4c\x53"}["hz\x79a\x74\x6a"]="\x71\x75\x65\x72\x79R\x65s\x75\x6c\x74";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x7a\x78cg\x75\x6e\x61p\x75"]}="";${"G\x4c\x4fB\x41\x4c\x53"}["\x77k\x6b\x66g\x66tb"]="\x71ue\x72yR\x65\x73\x75lt";${"GL\x4f\x42A\x4cS"}["\x64uux\x71\x66r\x6c\x6e\x69p"]="i";$pwfbvrife="\x69";${"\x47\x4c\x4f\x42\x41L\x53"}["e\x6a\x64\x69\x77\x70\x61r\x68v\x79"]="i";$lnqgjhlw="\x69";${${"G\x4cOBA\x4cS"}["\x6et\x65\x66\x70\x6f\x77lw\x6c\x78\x79"]}=$adb->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x6aym\x64\x63\x65\x6c\x70\x70\x76"]},${${"G\x4cOB\x41LS"}["va\x72\x62\x75f\x64"]},"c\x74\x77\x68\x61\x74s\x61\x70pi\x64");$ojnmudvqu="qu\x65r\x79\x52\x65\x73u\x6c\x74";${${"GL\x4f\x42\x41\x4c\x53"}["vg\x6frl\x72\x63\x71\x6c\x63\x6e"]}=$adb->query_result(${$ojnmudvqu},${$hokfspndgym},"\x77\x68a\x74\x73a\x70\x70_\x73e\x6eder\x6eam\x65");$myimquwbsehe="\x64oc\x75\x6d\x65n\x74B\x6fdy";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67k\x62\x72\x6db\x64ek\x70"]}=$adb->query_result(${${"\x47LO\x42A\x4c\x53"}["xinmo\x75t\x70u\x76\x6br"]},${$lnqgjhlw},"\x6dess\x61\x67\x65_\x74\x79\x70e");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x75\x6a\x6f\x68zce\x6d"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68z\x79\x61\x74\x6a"]},${${"\x47\x4cO\x42A\x4c\x53"}["\x65jd\x69w\x70\x61\x72h\x76\x79"]},"\x77\x68\x61t\x73app_u\x6e\x72ea\x64\x72\x65a\x64");${${"G\x4c\x4f\x42\x41\x4cS"}["\x7a\x64\x6as\x65\x6en\x71"]}=$adb->query_result(${${"GL\x4fB\x41\x4c\x53"}["w\x6bkf\x67ft\x62"]},${$pwfbvrife},"\x77\x68\x61ts\x61pp\x5f\x77\x69\x74\x68c\x63\x6fde");${${"G\x4c\x4fB\x41LS"}["q\x70\x66bryfnao"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79x\x66ng\x6fs\x70\x64\x67\x6a\x6f"]},${${"\x47\x4c\x4fB\x41\x4cS"}["\x76\x61r\x62u\x66\x64"]},"y\x6fu\x72\x5fnu\x6db\x65r");${${"G\x4c\x4fB\x41\x4cS"}["\x61\x68\x72\x72\x71\x6f\x71\x62\x66\x70\x73n"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x6ct\x77\x68\x69w\x64\x65"]},${${"\x47\x4cO\x42ALS"}["\x75xo\x65\x61\x74\x67\x79t\x73"]},"\x77\x68ats\x61pp_\x71\x75o\x74\x65m\x65\x73sa\x67e");${"\x47L\x4f\x42\x41LS"}["\x6dtz\x70\x7a\x78o\x62\x77\x61f"]="\x73ety\x70e";${$myimquwbsehe}=$adb->query_result(${$cvduxqbdi},${$poeutqtfcwic},"\x6des\x73\x61ge\x5f\x62\x6f\x64\x79");${${"\x47\x4c\x4fB\x41\x4cS"}["\x73d\x66t\x77\x7a\x75\x69"]}=$adb->query_result(${${"G\x4cOB\x41L\x53"}["\x79\x78f\x6e\x67\x6fspd\x67\x6a\x6f"]},${${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x75u\x78q\x66r\x6c\x6ei\x70"]},"w\x68\x61tsa\x70p\x5f\x63on\x74a\x63\x74id");$prcqxqyfe="u\x72\x6cEx\x74";${${"G\x4c\x4fBAL\x53"}["\x79\x6d\x72\x66c\x75\x75u"]}=VtigerCRMObject::getSEType(${${"GL\x4f\x42\x41LS"}["\x73\x64ft\x77z\x75\x69"]});if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x74zp\x7axo\x62\x77a\x66"]}=="Co\x6e\x74a\x63\x74\x73"){$rfpritcnh="\x72\x65\x6c\x61\x74e\x64\x74ot\x61\x73\x6b";${"G\x4cO\x42\x41\x4cS"}["\x6art\x65d\x63l\x68\x7aou"]="\x77\x68\x61\x74\x73\x61\x70\x70\x5fc\x6fnt\x61cti\x64";${$rfpritcnh}="\x63o\x6e\x74\x61c\x74\x5f\x69d=".${${"\x47\x4c\x4f\x42\x41\x4cS"}["j\x72t\x65\x64\x63\x6c\x68\x7a\x6fu"]}."";}else{$ccdxllfwkz="w\x68\x61t\x73\x61\x70p\x5fco\x6e\x74\x61\x63\x74\x69d";${${"G\x4cOBA\x4c\x53"}["j\x6dp\x71d\x77\x64\x6c"]}="\x70arent\x5fid=".${$ccdxllfwkz}."";}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x7a\x79\x6e\x6d\x69\x66\x68\x75\x69"]}=$adb->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x79\x78\x66n\x67\x6f\x73\x70d\x67\x6ao"]},${${"\x47L\x4f\x42A\x4c\x53"}["v\x61r\x62\x75\x66d"]},"\x6d\x73g\x69\x64");${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x79\x6e\x6d\x6f\x75\x76\x77"]}=nl2br(preg_replace("#\x5c*([^*]+)\\*\x23","\x3c\x62>\$1</\x62\x3e",$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79x\x66\x6e\x67\x6f\x73\x70\x64\x67jo"]},${${"\x47L\x4f\x42\x41\x4cS"}["a\x6aq\x6ff\x6br\x71"]},"m\x65\x73sa\x67e\x5fbody")));if(${${"\x47L\x4f\x42\x41L\x53"}["\x6et\x65\x66\x70ow\x6c\x77l\x78\x79"]}){${"GL\x4f\x42\x41\x4c\x53"}["k\x66\x64xvo\x72l"]="\x6d\x65\x73\x73\x61g\x65\x54\x79p\x65";${"\x47L\x4f\x42A\x4c\x53"}["\x65\x66w\x73w\x6a\x6crj\x78\x66"]="\x6d\x65\x73\x73\x61\x67e\x52\x65a\x64\x55n\x52\x65a\x64";if(${${"G\x4cO\x42AL\x53"}["ef\x77s\x77\x6a\x6c\x72\x6a\x78f"]}=="\x55\x6e\x72\x65a\x64"&&${${"GLO\x42\x41\x4c\x53"}["\x6b\x66\x64\x78vo\x72\x6c"]}=="Rec\x69eve\x64"){${"G\x4c\x4f\x42\x41L\x53"}["ih\x6c\x64\x63jb\x74\x64"]="c\x74wh\x61t\x73\x61p\x70\x49d";$ggdfwck="r\x65c\x6f\x72\x64M\x6f\x64e\x6c";${$ggdfwck}=Vtiger_Record_Model::getInstanceById(${${"GL\x4fB\x41\x4c\x53"}["nt\x65f\x70\x6fwlw\x6c\x78y"]},"C\x54\x57\x68\x61\x74\x73\x41\x70p");$recordModel->set("\x6d\x6f\x64\x65","\x65\x64i\x74");$recordModel->set("\x69\x64",${${"\x47LO\x42\x41\x4cS"}["\x69\x68l\x64\x63\x6ab\x74\x64"]});$recordModel->set("w\x68\x61ts\x61pp\x5funre\x61\x64\x72\x65a\x64","\x52ea\x64");$recordModel->save();}}${${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x64\x75\x63\x6cl\x78obyx\x74"]}=CTWhatsApp_Record_Model::getWhatsappTheme();if(${${"\x47\x4cOB\x41\x4c\x53"}["\x70\x64\x75cll\x78\x6f\x62y\x78\x74"]}=="\x52\x54\x4c"){$aiihkj="t\x61s\x6b\x73\x74\x79\x6c\x65";${$aiihkj}="\x73t\x79\x6c\x65\x3d\"\x66\x6co\x61t:\x20\x72ight\x3bwi\x64\x74\x68: 2\x30p\x78; !i\x6dp\x6f\x72tant;c\x75r\x73\x6fr:\x20po\x69nter\x3b\x22";}else{${"GL\x4fBAL\x53"}["b\x67\x6a\x6c\x66uf"]="ta\x73\x6bs\x74\x79l\x65";${${"G\x4c\x4fBA\x4cS"}["\x62\x67\x6a\x6c\x66uf"]}="sty\x6ce=\x22\x66loat:\x20lef\x74\x3bw\x69\x64th:\x202\x30\x70\x78\x3b\x20\x21\x69mpo\x72ta\x6et;\x63ur\x73or:\x20po\x69nt\x65\x72;\"";}${${"\x47LOB\x41\x4cS"}["l\x62au\x6f\x79n\x64\x78"]}=pathinfo(${${"\x47LO\x42\x41\x4c\x53"}["\x6c\x79\x6e\x6d\x6f\x75v\x77"]},PATHINFO_EXTENSION);$xiqhylnh="\x71ue\x72yR\x65s\x75lt";if(${$prcqxqyfe}){${"\x47\x4c\x4fBAL\x53"}["u\x75\x72\x73k\x63\x78"]="u\x72\x6c\x45\x78\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x74\x6an\x74k\x6a\x65"]="\x66\x69\x6c\x65E\x78\x74s";$txqmjcfjmt="\x6d\x70\x33E\x78\x74s";$iusxdf="\x70\x64\x66\x45\x78t\x73";$koibekkjum="wor\x64lE\x78\x74\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cm\x77q\x62rp\x68\x64w"]="\x75r\x6c\x45\x78t";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6fk\x75\x6c\x72\x67\x77\x63\x63"]="\x75r\x6c\x45x\x74";if(in_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cb\x61\x75\x6f\x79\x6e\x64\x78"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x6c\x70gsnt\x62m\x71e"]})){${"G\x4c\x4fB\x41LS"}["j\x66\x62n\x6do\x65\x6b\x69\x73\x68\x7a"]="\x6d\x65s\x73\x61\x67\x65\x42\x6f\x64\x79";${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x78d\x6f\x6ap\x65\x65s\x76\x69\x69"]="\x77h\x61\x74sAp\x70\x46\x69l\x65\x4ea\x6d\x65";${"G\x4cO\x42\x41\x4cS"}["\x6b\x78cgfeg"]="\x6d\x65\x73sa\x67\x65Bo\x64y";${${"\x47LOBA\x4cS"}["\x6a\x66\x62\x6emo\x65\x6b\x69\x73\x68\x7a"]}="\x3c\x69\x6d\x61\x67\x65 sr\x63=\x22".${${"GL\x4f\x42\x41\x4cS"}["\x6bx\x63\x67\x66\x65g"]}."\"\x20s\x74\x79l\x65=\x22\x68\x65ig\x68t:\x2060\x70\x78 !\x69mpo\x72tant;c\x75\x72so\x72:\x20po\x69\x6et\x65\x72;\"\x3e";${${"G\x4c\x4f\x42\x41\x4cS"}["lxdo\x6a\x70\x65e\x73\x76\x69\x69"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"GL\x4fBA\x4cS"}["\x77\x79q\x6d\x6cw\x6b"]});}else if(in_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x62au\x6fynd\x78"]},${${"GL\x4fBA\x4c\x53"}["rt\x6a\x6etkj\x65"]})){${"G\x4c\x4fB\x41\x4c\x53"}["\x68g\x69\x78j\x79\x71\x68\x70\x76"]="\x6d\x65\x73\x73\x61\x67\x65\x42od\x79";$qzqgnqtwcsbf="mes\x73\x61\x67e\x42o\x64y";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68g\x69\x78\x6a\x79\x71h\x70\x76"]}="<a\x20hr\x65\x66=\"".${$qzqgnqtwcsbf}."\"\x20\x74\x61\x72\x67et\x3d\"_bl\x61ck\"\x3e<i\x6d\x67 \x73\x72\x63=\"\x6cay\x6f\x75\x74\x73/\x767/\x6dodul\x65\x73/C\x54\x57\x68a\x74\x73\x41\x70p/\x69m\x61\x67\x65/\x66\x69l\x65i\x63on.p\x6eg\x22>\x3c/a>";${${"G\x4c\x4fB\x41\x4c\x53"}["\x78lu\x67\x61\x66\x6b\x77\x77\x67w"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"\x47L\x4fBAL\x53"}["\x77\x79\x71\x6d\x6c\x77\x6b"]});}else if(in_array(${${"\x47L\x4f\x42ALS"}["\x75u\x72\x73\x6bc\x78"]},${$iusxdf})){${"\x47L\x4fB\x41\x4cS"}["\x6eidv\x69\x6d\x6fh\x6d\x67\x74"]="\x6de\x73\x73\x61g\x65\x42od\x79";${"\x47LO\x42\x41\x4cS"}["\x6d\x63\x67m\x76lmcx\x77\x62\x70"]="\x6des\x73\x61\x67\x65\x42od\x79";${"GL\x4fB\x41L\x53"}["e\x72\x67r\x79\x78\x75\x76"]="\x64\x6f\x63\x75m\x65\x6et\x42\x6f\x64\x79";${${"\x47\x4cOBA\x4cS"}["\x6ei\x64\x76\x69\x6d\x6f\x68m\x67\x74"]}="\x3ca \x68ref\x3d\"".${${"\x47L\x4f\x42\x41\x4cS"}["\x6dc\x67\x6d\x76\x6cm\x63\x78\x77b\x70"]}."\x22 t\x61\x72g\x65t=\"\x5f\x62l\x61\x63\x6b\x22>\x3ci\x6dg\x20src\x3d\"l\x61\x79\x6f\x75\x74s/v7/\x6dod\x75l\x65s/\x43T\x57\x68ats\x41pp/i\x6d\x61ge/\x70dfico\x6e.pn\x67\x22>\x3c/\x61>";${${"GLO\x42AL\x53"}["xl\x75\x67\x61\x66\x6b\x77wg\x77"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x72g\x72y\x78u\x76"]});}else if(in_array(${${"G\x4c\x4fB\x41\x4c\x53"}["l\x62\x61\x75\x6f\x79nd\x78"]},${${"G\x4c\x4f\x42\x41L\x53"}["b\x68\x70\x71\x79\x75\x79\x67\x71"]})){$dggpbvsha="\x6d\x65\x73s\x61\x67eBod\x79";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x63\x72\x73\x71twn"]="\x6d\x65\x73\x73\x61g\x65\x42\x6f\x64y";${${"\x47\x4cOBA\x4c\x53"}["\x6fc\x72sq\x74\x77n"]}="<a\x20h\x72e\x66\x3d\x22".${$dggpbvsha}."\x22 t\x61r\x67e\x74\x3d\"_b\x6c\x61\x63k\">\x3c\x69\x6dg\x20s\x72\x63\x3d\x22l\x61\x79o\x75\x74\x73/\x76\x37/\x6do\x64\x75l\x65\x73/\x43T\x57\x68\x61t\x73Ap\x70/\x69mage/\x65\x78ce\x6c\x69con.\x70ng\x22></a\x3e";${"\x47\x4c\x4fB\x41L\x53"}["\x6fe\x65\x75o\x71\x7ad"]="wha\x74s\x41\x70\x70\x46\x69le\x4e\x61me";${${"\x47\x4c\x4fBA\x4cS"}["\x6fe\x65\x75\x6fq\x7ad"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${${"G\x4cO\x42\x41\x4c\x53"}["w\x79q\x6d\x6c\x77k"]});}else if(in_array(${${"\x47\x4c\x4fB\x41L\x53"}["\x6c\x6dw\x71b\x72\x70\x68\x64w"]},${$koibekkjum})){${"\x47LO\x42\x41\x4c\x53"}["\x63t\x62c\x72\x71\x6c"]="\x77h\x61\x74\x73\x41\x70\x70\x46\x69le\x4e\x61\x6d\x65";${${"G\x4cO\x42\x41\x4cS"}["\x6c\x79nmo\x75v\x77"]}="<a href=\x22".${${"\x47\x4cO\x42\x41\x4cS"}["\x6c\x79n\x6do\x75\x76\x77"]}."\x22 \x74ar\x67e\x74=\x22\x5f\x62\x6cack\x22><i\x6d\x67\x20\x73\x72c=\x22\x6ca\x79\x6fu\x74\x73/\x76\x37/\x6d\x6fd\x75l\x65s/C\x54\x57hatsA\x70p/\x69mage/word\x69con.j\x70g\x22\x3e</a>";$qwxfaugbhoat="\x64\x6f\x63\x75\x6d\x65n\x74\x42\x6f\x64\x79";${${"GL\x4f\x42\x41\x4c\x53"}["\x63t\x62\x63rq\x6c"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${$qwxfaugbhoat});}else if(in_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x6b\x75\x6c\x72g\x77c\x63"]},${$txqmjcfjmt})){${"\x47L\x4f\x42A\x4c\x53"}["\x79\x62s\x63\x70\x73"]="mes\x73\x61g\x65\x42\x6f\x64\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x76\x76jfc\x62\x75\x6a"]="\x6dess\x61\x67\x65\x42o\x64\x79";$hnulio="\x64o\x63\x75\x6d\x65nt\x42\x6f\x64\x79";$kfxwiir="w\x68\x61\x74\x73\x41\x70\x70\x46\x69l\x65N\x61m\x65";$khuykw="me\x73\x73\x61g\x65B\x6fdy";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x76vjf\x63b\x75j"]}="\x20<a\x75d\x69\x6f \x63\x6fn\x74\x72o\x6c\x73>\n\x20\x20\x20\x20 \x20  \x20 \x20\x20       \x20\x3csou\x72ce\x20src\x3d\"".${$khuykw}."\x22 t\x79p\x65\x3d\x22\x61\x75\x64i\x6f/og\x67\"\x3e\n  \x20\x20\x20      \x20\x20\x20\x20\x20\x20 \x20 <\x73ou\x72ce\x20\x73rc\x3d\"".${${"\x47L\x4f\x42A\x4cS"}["\x79\x62\x73c\x70\x73"]}."\x22 \x74ype\x3d\"\x61udi\x6f/\x6dp\x65g\">\n \x20\x20  \x20\x20   \x20\x20  \x20\x20\x20 \x20 You\x72\x20\x62r\x6fws\x65\x72\x20d\x6f\x65s\x20n\x6f\x74\x20su\x70po\x72t\x20t\x68e \x61\x75\x64io\x20e\x6cem\x65n\x74\x2e\n\x20\x20 \x20 \x20\x20\x20 \x20  \x20\x20 \x20 \x20\x20\x20\x3c/audi\x6f\x3e\x20";${$kfxwiir}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage(${$hnulio});}else{${${"\x47\x4cOB\x41L\x53"}["\x78luga\x66\x6b\x77w\x67w"]}="";}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x68\x6b\x77\x68\x68w"]}="0";}else{$vftqxinu="\x75r\x6c\x45\x78t";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x74\x62y\x6e\x75"]="\x6d\x65\x73\x73ageB\x6fdy";$nciybpsslu="m\x65\x73\x73\x61g\x65\x42\x6fd\x79";${"G\x4c\x4fB\x41\x4c\x53"}["\x77a\x78\x65\x69k\x74\x64\x73"]="\x66il\x65\x45x\x74\x73";$jqygrpi="\x69n\x64i\x76i\x64\x75l\x4d\x65\x73\x73\x61g\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x6e\x61\x6a\x6c\x76c"]="\x77o\x72\x64\x6c\x45x\x74\x73";${${"\x47LO\x42\x41LS"}["\x69t\x62\x79n\x75"]}=${$nciybpsslu};$gejqrrv="\x65\x78\x63\x65\x6c\x45\x78\x74\x73";$kymihbsazh="\x70\x64\x66E\x78\x74\x73";$pyojdfudx="ur\x6c\x45\x78\x74";${"GL\x4fB\x41\x4c\x53"}["col\x76\x66l\x66l\x73\x73\x62"]="\x77hat\x73\x41pp\x46\x69\x6ceN\x61\x6de";if(${$jqygrpi}==1){${${"\x47\x4cOB\x41L\x53"}["\x68m\x79\x77\x78ui\x6bqn\x70"]}=" ";}else{${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68myw\x78u\x69\x6b\x71\x6e\x70"]}="s\x74y\x6c\x65=\x27f\x6c\x6f\x61t:\x20lef\x74;\x77idth: \x315px\x3b\x6d\x61r\x67\x69\x6e-ri\x67\x68t: 1\x30px\x3b\x27";}if(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6b\x70\x61if\x7a\x74\x6f\x6a\x6e\x63"]}){$njrohx="\x75r\x6c\x45\x78t";$bmwvsvcl="\x75r\x6c\x45x\x74";${"G\x4c\x4f\x42A\x4c\x53"}["\x73m\x61\x69\x62\x72\x64\x6f"]="\x66i\x6ceE\x78\x74s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ys\x76\x79c\x63x\x74\x74h"]="\x75\x72\x6cE\x78\x74";$dsoutonjf="\x65\x78c\x65l\x45\x78\x74s";$sndsxyhq="\x70\x64\x66\x45xt\x73";$mfxftrw="\x77\x6f\x72\x64\x6cEx\x74\x73";${"GL\x4f\x42A\x4c\x53"}["\x65\x6f\x70\x62c\x79\x71\x6d\x77t\x64"]="\x75\x72l\x45\x78\x74";if(in_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x62\x61\x75\x6fyn\x64\x78"]},${${"\x47\x4cO\x42AL\x53"}["\x6c\x70gsn\x74b\x6dqe"]})||in_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65o\x70\x62\x63\x79q\x6dwtd"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x73maib\x72\x64\x6f"]})||in_array(${$njrohx},${$sndsxyhq})||in_array(${$bmwvsvcl},${${"\x47\x4c\x4fBA\x4cS"}["\x73\x67lk\x6ck"]})||in_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79s\x76\x79cc\x78\x74t\x68"]},${$dsoutonjf})||in_array(${${"\x47L\x4fB\x41LS"}["\x6c\x62\x61\x75\x6f\x79n\x64\x78"]},${$mfxftrw})){${"\x47\x4c\x4fBAL\x53"}["\x70\x62r\x77\x6c\x61u\x70"]="\x77\x68a\x74\x73a\x70\x70\x4de\x73\x73ag\x65H\x54\x4dL";${${"\x47L\x4fBA\x4cS"}["\x70\x62r\x77\x6c\x61\x75p"]}.="";}else{if(Users_Privileges_Model::isPermitted(${${"\x47\x4c\x4fB\x41\x4c\x53"}["k\x70\x61i\x66\x7at\x6f\x6a\x6e\x63"]},"Ed\x69tV\x69e\x77",${${"\x47L\x4f\x42\x41LS"}["sd\x66\x74\x77\x7a\x75\x69"]})){${"\x47\x4cO\x42\x41\x4c\x53"}["\x69zc\x75\x65\x72\x71w"]="\x65\x64\x69tF\x69eldH\x54\x4d\x4c";$wbbfpwt="\x73\x74y\x6c\x65";${"\x47LO\x42\x41LS"}["\x6a\x77f\x7aj\x68\x63\x71xf"]="\x73\x65\x74\x79p\x65";${${"G\x4c\x4f\x42A\x4c\x53"}["i\x7ac\x75e\x72\x71\x77"]}="\x26\x6ebs\x70;&n\x62s\x70;\n\x20\x20\x20   \x20  \x20 \x20  \x20 \x20\x20 \x20\x20  \x20\x20\x20\x20 \x3csp\x61\x6e\x20c\x6ca\x73s='\x65\x64\x69tFie\x6cd'>\n\x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20   \x20\x20\x20\x20\x20   \x20\x20\x20\x3c\x69m\x67\x20src\x3d\x27\x6c\x61youts/\x76\x37/\x6d\x6fdul\x65s/\x43T\x57\x68\x61t\x73App/\x69\x6d\x61\x67e/\x65\x64\x69t\x63\x6f\x6etent\x2epn\x67\x27\x20\x74it\x6c\x65\x3d'".vtranslate("\x4cB\x4c\x5f\x45DI\x54F\x49\x45\x4cD","\x43T\x57ha\x74s\x41pp")." ".vtranslate(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["kpa\x69fz\x74o\x6a\x6e\x63"]},${${"\x47\x4cO\x42A\x4cS"}["\x6b\x70\x61i\x66\x7a\x74\x6f\x6a\x6e\x63"]})."\x27 ".${$wbbfpwt}."\x3e<\x70\x3e'".vtranslate("LBL\x5fEDI\x54\x46I\x45\x4c\x44","\x43\x54\x57h\x61\x74s\x41p\x70")."".vtranslate(${${"\x47L\x4f\x42AL\x53"}["kp\x61\x69\x66zt\x6fj\x6e\x63"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x77\x66z\x6a\x68\x63\x71\x78f"]})."\x27</\x70\x3e\n  \x20 \x20  \x20\x20\x20   \x20 \x20  \x20\x20\x20  \x20\x20 \x20 </\x73p\x61n>";}}}$ppkknxamrig="\x6eo\x74Re\x70ly\x57h\x61\x74s\x61p\x70";$kqdthmsj="u\x72\x6c\x45\x78t";if(in_array(${$vftqxinu},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x70\x67\x73\x6et\x62\x6d\x71\x65"]})||in_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x62\x61\x75\x6fy\x6ed\x78"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["w\x61\x78\x65\x69\x6bt\x64\x73"]})||in_array(${${"GL\x4f\x42\x41\x4cS"}["\x6c\x62\x61u\x6f\x79n\x64\x78"]},${$kymihbsazh})||in_array(${$kqdthmsj},${${"\x47\x4cOB\x41\x4c\x53"}["\x73g\x6c\x6b\x6c\x6b"]})||in_array(${$pyojdfudx},${$gejqrrv})||in_array(${${"\x47L\x4f\x42\x41\x4cS"}["\x6c\x62a\x75\x6fyn\x64\x78"]},${${"\x47L\x4f\x42\x41L\x53"}["\x66n\x61j\x6c\x76\x63"]})){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7ayb\x75a\x68"]="\x72\x65pl\x79\x4de\x73\x73\x61geHTM\x4c";$ixpvkotado="\x63\x6fp\x79M\x65s\x73\x61g\x65";${${"GL\x4f\x42\x41LS"}["z\x79\x62\x75\x61\x68"]}.="";${$ixpvkotado}.="";}else{${"\x47\x4c\x4f\x42\x41L\x53"}["b\x73dyo\x70\x72\x6a"]="c\x72ea\x74\x65\x54\x61s\x6b\x4de\x73\x73a\x67\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x70f\x61o\x6en\x65"]="m\x65\x73\x73a\x67\x65\x42\x6f\x64\x79";$gjhznbvoux="task\x73\x74\x79l\x65";${"G\x4cO\x42\x41\x4c\x53"}["k\x6af\x71\x78c\x64"]="\x63o\x70\x79M\x65s\x73\x61\x67\x65";if(${${"G\x4c\x4f\x42AL\x53"}["\x7a\x64\x6a\x73\x65\x6en\x71"]}!="\x47r\x6f\x75p\x73"){${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x72\x76x\x75i\x71\x67\x64\x64\x6f"]="\x72\x65\x70\x6c\x79\x4de\x73s\x61\x67\x65\x48\x54ML";${${"\x47L\x4fBA\x4c\x53"}["f\x72v\x78\x75\x69q\x67d\x64\x6f"]}.="<\x73p\x61n cla\x73s='\x72\x65plyMessa\x67\x65B\x6fd\x79\x27\x20\x64\x61\x74a-\x72\x65\x70\x6cyme\x73\x73\x61\x67\x65\x3d'".strip_tags(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x79nmou\x76\x77"]})."\x27 \x64a\x74\x61-r\x65\x70\x6cym\x65\x73\x73a\x67eid='".${${"GLO\x42\x41\x4cS"}["\x72z\x79\x6e\x6di\x66\x68u\x69"]}."\x27'\x3e\n   \x20 \x20\x20  \x20\x20\x20\x20\x20\x20\x20\x20\x20  \x20\x20  <i\x6dg s\x72c\x3d'\x6c\x61\x79\x6f\x75\x74s/v\x37/mo\x64\x75\x6c\x65\x73/C\x54W\x68\x61tsA\x70p/\x69\x6d\x61\x67\x65/r\x65\x70\x6c\x79\x2ep\x6e\x67'\x20\x74\x69t\x6c\x65=".vtranslate("\x4cB\x4c\x5fRE\x50L\x59","CT\x57h\x61\x74\x73A\x70\x70")."\x27 ".${${"\x47\x4c\x4f\x42\x41LS"}["hmy\x77x\x75\x69kq\x6e\x70"]}."\x3e".vtranslate("L\x42\x4c_REP\x4cY","C\x54\x57h\x61tsAp\x70")."'\n \x20 \x20  \x20     \x20 \x20 \x20\x20\x20 \x20\x20  </s\x70\x61\x6e\x3e";}${"\x47\x4cOB\x41\x4c\x53"}["\x66l\x68\x6bb\x67\x6c\x65\x6a"]="\x6de\x73\x73\x61\x67\x65\x42\x6fdy";$oolcsxvzldrv="\x73\x74\x79\x6c\x65";${${"\x47LO\x42A\x4c\x53"}["\x6bj\x66q\x78\x63d"]}="\n\x20\x20\x20   \x20\x20 \x20 \x20\x20\x20\x20 \x20\x20\x20 \x3csp\x61\x6e cl\x61\x73\x73\x3d\x22\x63o\x70\x79\x4de\x73s\x61\x67e\x42\x6f\x64y\x22 data-\x63\x6fp\x79\x6des\x73\x61\x67\x65=\"".strip_tags(${${"\x47\x4c\x4fB\x41LS"}["l\x79\x6em\x6f\x75\x76\x77"]})."\x22>\n\x20\x20   \x20 \x20 \x20   \x20   \x20\x20\x20<\x69mg\x20".${$oolcsxvzldrv}."\x20sr\x63\x3d\"la\x79\x6f\x75t\x73/\x76\x37/\x6do\x64\x75\x6c\x65\x73/\x43TW\x68\x61t\x73App/imag\x65/co\x70y\x2e\x70ng\"\x20t\x69\x74\x6c\x65\x3d\"".vtranslate("L\x42\x4c_COP\x59","C\x54\x57hatsAp\x70")."\"\x3e".vtranslate("\x4cBL_CO\x50\x59","C\x54W\x68\x61\x74s\x41p\x70")."\n\x20 \x20\x20    \x20   \x20      \x20</\x73p\x61n\x3e";${${"GL\x4f\x42A\x4cS"}["b\x73\x64y\x6f\x70r\x6a"]}="\n  \x20       \x20 \x20\x20\x20\x20\x20 \x20\x20<\x73p\x61\x6e \x63l\x61\x73s=\x22t\x61\x73kM\x65s\x73\x61\x67\x65\x42o\x64y q\x75ickCre\x61t\x65\x54as\x6bMod\x75le\" \x64\x61ta-\x74\x61\x73k=\"\x79\x65\x73\x22 d\x61\x74\x61-w\x68\x61\x74sappi\x64=\x22".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6coz\x69\x69\x62\x67s\x6d\x67"]}."\"\x20 d\x61t\x61-\x75r\x6c\x3d\"\x69nd\x65\x78.\x70hp?mo\x64\x75\x6ce\x3dCal\x65nda\x72&v\x69e\x77=Q\x75ickCre\x61t\x65\x41j\x61x&".${${"G\x4c\x4f\x42A\x4c\x53"}["j\x6d\x70\x71d\x77d\x6c"]}."\x26\x64\x65sc\x72ipti\x6f\x6e=".strip_tags(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66l\x68\x6bb\x67l\x65\x6a"]})."\x22\x20dat\x61-ta\x73kmes\x73\x61\x67e\x3d\x22".strip_tags(${${"\x47L\x4fB\x41\x4c\x53"}["\x75\x70\x66\x61\x6f\x6e\x6e\x65"]})."\"\x3e\n\x20\x20    \x20 \x20\x20   \x20\x20\x20    \x3ci\x6d\x67 ".${$gjhznbvoux}." \x73r\x63\x3d\"l\x61\x79o\x75ts/v\x37/\x6d\x6fdules/\x43TW\x68atsA\x70\x70/\x69\x6d\x61\x67\x65/\x77at\x63h\x2e\x6a\x70\x67\x22\x20\x74\x69tle=\"".vtranslate("\x4cB\x4c\x5fCR\x45AT\x45","V\x74iger")."\x22\x3e".vtranslate("\x4c\x42L\x5f\x43\x52EA\x54\x45","\x56\x74\x69\x67er")."\n\x20\x20   \x20\x20 \x20\x20\x20     \x20 \x20\x20</\x73p\x61n>";}${${"\x47\x4c\x4f\x42\x41L\x53"}["\x63ol\x76\x66\x6cf\x6cs\x73b"]}="";${$ppkknxamrig}="\x31";}${$ynelauf}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${$xiqhylnh},${${"\x47L\x4fB\x41L\x53"}["\x76\x61rb\x75\x66\x64"]},"\x77\x68\x61\x74\x73a\x70\x70\x5f\x64a\x74\x65\x74\x69m\x65"));if(${${"\x47LOBAL\x53"}["r\x71k\x6a\x62\x77dme\x6a"]}==1){${"GL\x4f\x42A\x4cS"}["\x74\x6axf\x6b\x66a\x65\x72\x67"]="\x77\x68a\x74\x73ap\x70\x4d\x65s\x73\x61\x67\x65H\x54\x4d\x4c";${"GL\x4f\x42\x41LS"}["\x67\x77\x63\x74\x6cz\x66q\x6f\x71\x76"]="\x63\x72eate\x64\x54\x69\x6d\x65";$afiqefqnj="yo\x75\x72_\x6e\x75mbe\x72";$kcovccoxwb="e\x64\x69\x74F\x69e\x6cdHT\x4d\x4c";${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x76\x72\x74\x68\x67p\x67us"]="\x6d\x65ss\x61\x67\x65\x52\x65\x61\x64\x55\x6e\x52e\x61\x64";$frsdzwexzv="\x77\x68a\x74sA\x70\x70Fi\x6c\x65\x4ea\x6d\x65";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x77\x72snx\x76"]}.="<\x64\x69v c\x6ca\x73\x73=\"\x6de\x73\x73a\x67e\x20r\x65c\x65iv\x65\x64\x22>\n   \x20\x20\x20\x20 \x20 \x20\x20\x20\x20\x20\x20".${${"\x47L\x4f\x42\x41L\x53"}["\x6cyn\x6d\x6f\x75\x76\x77"]}."<\x62\x72\x3e ".urldecode(${$frsdzwexzv})."\n    \x20\x20 \x20  \x20 \x20\x20 \x20 \x20\x20\x20<\x73pan \x63l\x61\x73s\x3d\"\x6d\x65t\x61d\x61t\x61\"\x3e\n\x20 \x20\x20 \x20 \x20 \x20  \x20\x20 \x20\x3cs\x70a\x6e\x20\x63\x6cas\x73=\x22\x74\x69\x6de\"\x3e\x3cb>".${$afiqefqnj}."</b>&nbsp\x3b\x26n\x62\x73\x70\x3b ".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67wc\x74\x6c\x7af\x71\x6f\x71v"]}."</\x73pa\x6e\x3e\x26n\x62sp";${"\x47L\x4fBA\x4c\x53"}["\x79\x76\x75\x61\x70\x61k\x74\x64oo"]="w\x68\x61t\x73\x61\x70\x70\x4d\x65\x73\x73a\x67e\x48\x54\x4d\x4c";if(${${"\x47\x4c\x4fBAL\x53"}["hvr\x74\x68gpg\x75\x73"]}=="U\x6ere\x61d"){${"GL\x4f\x42\x41L\x53"}["\x76\x74\x68\x73e\x6c\x6d\x76o\x78\x6a\x6f"]="\x77\x68\x61\x74\x73a\x70\x70\x4d\x65\x73\x73\x61\x67\x65\x48\x54M\x4c";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76t\x68s\x65lm\x76o\x78\x6ao"]}.="<\x69m\x67 s\x72\x63\x3d\x22layo\x75\x74s/v\x37/mod\x75\x6ce\x73/C\x54\x57h\x61\x74\x73A\x70p/i\x6d\x61ge/\x75nrea\x64\x2ep\x6eg\x22/\x3e";}else{$nkmqtov="\x77\x68a\x74s\x61\x70\x70\x4d\x65ssa\x67\x65\x48\x54M\x4c";${$nkmqtov}.="\x3c\x69mg src\x3d\"layo\x75t\x73/v\x37/\x6d\x6fd\x75\x6ces/C\x54\x57hat\x73App/i\x6d\x61ge/re\x61d.png\"/\x3e";}${${"\x47\x4cO\x42\x41\x4cS"}["yvua\x70a\x6b\x74\x64o\x6f"]}.="\x3c/spa\x6e\x3e&nbs\x70;\n    \x20 \x20\x20\x20      \x20\x3c/\x64\x69v\x3e";${${"\x47\x4c\x4fBALS"}["\x74\x6a\x78\x66\x6b\x66a\x65\x72g"]}.=${$kcovccoxwb};}else{if(${${"\x47L\x4f\x42\x41\x4c\x53"}["g\x6b\x62\x72\x6db\x64\x65\x6b\x70"]}=="Se\x6e\x64"){${"\x47LOBA\x4cS"}["\x72\x73\x77\x7a\x79w\x75"]="\x71\x75o\x74\x65m\x65\x73\x73a\x67\x65";${"\x47LO\x42A\x4cS"}["qn\x68\x67\x77\x6b"]="\x6e\x6f\x74\x52\x65\x70l\x79\x57\x68at\x73a\x70\x70";$msdarck="w\x68at\x73\x61p\x70\x4de\x73\x73\x61g\x65\x48T\x4d\x4c";${${"G\x4c\x4fBA\x4cS"}["\x6c\x77\x72\x73\x6e\x78v"]}.="\x3cd\x69\x76 cl\x61\x73s\x3d\x22se\x6ed\x43h\x61t\"\x3e\n\x20\x20     \x20\x20\x20   \x20  \x20\x20   \x20  \x3c\x64\x69\x76 c\x6ca\x73\x73\x3d\"\x63\x6f\x6c-\x78s-12\x20c\x6f\x6c-\x73\x6d-\x32\x20col-md-2\x20co\x6c-lg-2\x22>\x3c/d\x69\x76\x3e\n\x20\x20\x20 \x20\x20 \x20\x20    \x20\x20\x20\x20\x20 \x20\x20\x20 \x20\x3cdi\x76 \x63l\x61\x73\x73\x3d\x22\x63ol-x\x73-12 col-\x73m-\x32 c\x6fl-md-2 co\x6c-l\x67-\x32\"></\x64\x69\x76>\n\x20      \x20 \x20\x20 \x20   \x20 \x20\x20   \x20\x3c\x64iv c\x6cass=\"c\x6fl-\x78s-1\x30\x20col-\x73m-8\x20\x63\x6fl-m\x64-8\x20\x63o\x6c-l\x67-\x38\x22>\n \x20 \x20 \x20 \x20\x20 \x20\x20    \x20     \x20 <di\x76\x20\x63\x6c\x61ss\x3d\x22mai\x6eM\x65s\x73a\x67\x65D\x69v\"\x3e";${"\x47\x4cO\x42\x41LS"}["\x67o\x6e\x70\x73b\x65\x73\x71"]="w\x68\x61\x74\x73\x61\x70p\x4d\x65\x73\x73\x61ge\x48TM\x4c";if(${${"\x47\x4c\x4fBA\x4c\x53"}["qn\x68\x67w\x6b"]}!="\x30"){${"\x47\x4cOB\x41\x4c\x53"}["\x6b\x76ocm\x6b\x6e\x77\x78c"]="wha\x74\x73app\x4d\x65ss\x61geHTM\x4c";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x78\x64v\x68h\x65"]="\x72e\x70\x6cy\x4d\x65s\x73\x61\x67e\x48\x54ML";${${"G\x4c\x4fBALS"}["kvo\x63\x6d\x6b\x6e\x77x\x63"]}.="\x3cd\x69v c\x6cass=\x22\x64\x72o\x70d\x6fwn\"\x3e\n\x20\x20  \x20\x20\x20\x20 \x20\x20  \x20  \x20\x20\x20   \x20  \x20\x20\x20  <\x64i\x76\x20cl\x61ss=\"dro\x70d\x6fw\x6e-t\x6fggl\x65\"\x20id=\x22\x64ropdown\x4de\x6e\x75\x42u\x74\x74\x6fn\"\x20data-t\x6f\x67gle=\"\x64ro\x70d\x6fw\x6e\x22\x20a\x72\x69a-ex\x70\x61nde\x64=\"\x74ru\x65\"\x20\x73\x74yl\x65=\"\x66l\x6f\x61\x74: \x72\x69\x67ht\x20!\x69mp\x6f\x72\x74an\x74;\">\n \x20   \x20   \x20\x20   \x20\x20 \x20\x20 \x20\x20\x20\x20  \x20     <i\x20\x63l\x61\x73\x73=\"\x66a\x20\x66\x61-ell\x69p\x73is-\x76\x20i\x63o\x6e\x22 \x73\x74y\x6ce\x3d\"w\x69d\x74h: \x38\x70\x78;\x6da\x72\x67\x69n: \x35\x70x;\x63\x75\x72sor:\x20\x70\x6fin\x74e\x72;\x22>\x3c/\x69>\n\x20\x20\x20\x20\x20\x20  \x20\x20 \x20\x20 \x20  \x20  \x20  \x20   \x20 \x20</\x64\x69\x76>\n\x20\x20\x20\x20\x20 \x20 \x20\x20    \x20\x20  \x20  \x20\x20\x20  \x20\x20 \x20<\x64\x69\x76\x20clas\x73=\"d\x72opdo\x77n-me\x6e\x75\"\x20\x61ria-\x6c\x61be\x6cl\x65\x64by\x3d\"d\x72\x6fp\x64ow\x6e\x4d\x65n\x75\x42\x75\x74\x74o\x6e\">\n \x20 \x20\x20  \x20\x20\x20\x20\x20\x20\x20 \x20 \x20\x20 \x20     \x20\x20    \x3cd\x69v c\x6cass=\x22\x64\x72\x6f\x70downIn\x6e\x65\x72M\x65n\x75\"\x3e\n  \x20   \x20\x20 \x20\x20\x20  \x20\x20\x20  \x20\x20\x20\x20\x20 \x20\x20 \x20   <a\x3e";${${"G\x4c\x4f\x42\x41\x4c\x53"}["lw\x72sn\x78\x76"]}.=${${"\x47\x4c\x4fB\x41LS"}["\x75\x78d\x76\x68\x68\x65"]}."";${${"G\x4cO\x42\x41\x4cS"}["l\x77r\x73n\x78v"]}.="\x3c/a\x3e\n  \x20\x20   \x20  \x20\x20\x20\x20  \x20 \x20\x20 \x20 \x20  \x20   \x20 <a>";$mawtiensycgq="\x63\x6f\x70\x79\x4d\x65\x73sa\x67\x65";${"\x47LO\x42\x41L\x53"}["q\x6f\x6c\x67c\x64dy"]="w\x68\x61\x74\x73\x61\x70\x70\x4d\x65\x73\x73a\x67\x65\x48\x54\x4d\x4c";${${"\x47LOB\x41\x4c\x53"}["\x6c\x77\x72\x73\x6ex\x76"]}.=${$mawtiensycgq}."";${${"GL\x4f\x42\x41\x4cS"}["q\x6f\x6c\x67\x63d\x64\x79"]}.="\x3c/\x61\x3e\n\x20\x20  \x20   \x20  \x20    \x20  \x20\x20\x20 \x20\x20\x20  \x20   </\x64iv>\n\x20\x20\x20  \x20 \x20 \x20\x20 \x20    \x20\x20\x20     \x20\x20\x20 \x20</\x64iv>\n \x20  \x20\x20\x20\x20\x20  \x20\x20\x20\x20\x20\x20       \x20  \x20\x3c/\x64\x69\x76\x3e";}${${"\x47\x4c\x4fB\x41LS"}["\x6c\x77\x72sn\x78\x76"]}.="<\x64\x69\x76\x20\x63\x6ca\x73s\x3d\"\x62\x75bb\x6ce \x73\x65\x6ed\"\x20\x64\x61\x74\x61-wha\x74s\x61pp\x69\x64\x3d".${${"GLO\x42\x41\x4c\x53"}["\x6e\x74ef\x70owlw\x6cx\x79"]}."\x3e";if(${${"\x47\x4c\x4fBALS"}["\x72\x73\x77\x7a\x79w\x75"]}!=""){${"\x47\x4cO\x42A\x4c\x53"}["\x77\x71\x6cc\x78\x62r\x68\x74"]="\x77ha\x74s\x61\x70\x70\x4de\x73\x73\x61\x67\x65HT\x4d\x4c";${${"G\x4c\x4fB\x41L\x53"}["w\x71\x6c\x63\x78\x62\x72h\x74"]}.="\x3cd\x69v c\x6cas\x73=\x22\x73e\x6ed\x51\x75\x6f\x74\x65\x4d\x65\x73sa\x67e\"\x3e<\x70 sty\x6c\x65=\x22\x77ord-wra\x70: \x62r\x65\x61k-\x77or\x64\x3b\">".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6do\x6b\x66\x65\x63sy\x78\x77d"]}."</p\x3e</\x64iv>";}${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x6by\x67\x78f\x6dr\x6f"]="\x79o\x75\x72\x5f\x6e\x75m\x62er";if(${${"GLO\x42A\x4c\x53"}["\x7adj\x73\x65nn\x71"]}=="G\x72\x6fup\x73"){$trfnlbnkqnu="\x73\x65n\x64\x65r\x4e\x61m\x65";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x77r\x73nx\x76"]}.="<spa\x6e\x3e<b\x3e".${$trfnlbnkqnu}."</\x62>\x3c/\x73pa\x6e>";}${$msdarck}.="<p styl\x65=\"wor\x64-w\x72\x61\x70: \x62rea\x6b-word\x3b\x22\x3e".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6cy\x6em\x6f\x75\x76w"]}."<\x62\x72\x3e ".urldecode(${${"G\x4c\x4f\x42\x41L\x53"}["xl\x75g\x61\x66\x6b\x77w\x67w"]})." </\x70>\n\x20 \x20 \x20  \x20 \x20\x20\x20\x20\x20 \x20\x20  \x20 \x20  \x3c/\x64\x69v\x3e\n\x20\x20  \x20\x20      \x20\x20\x20  \x20 \x20\x20   \x3c/\x64\x69v\x3e\n\x20\x20   \x20 \x20\x20 \x20  \x20\x20\x20\x20 \x20 \x20\x20 \x20<spa\x6e\x20c\x6c\x61s\x73\x3d\"\x63\x68\x61tT\x69me\"\x20s\x74\x79\x6ce\x3d\"w\x69d\x74h:\x20cha\x74T\x69\x6d\x65%;\x20!\x69mp\x6f\x72ta\x6e\x74\x22>\x3cb\x3e".${${"G\x4cO\x42AL\x53"}["uk\x79gxf\x6d\x72\x6f"]}."</b\x3e\x20- ".${${"\x47LO\x42AL\x53"}["\x73j\x70c\x76\x72pw\x6f\x74j"]}."";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x75\x6a\x6f\x68zc\x65m"]}=="\x55\x6er\x65\x61\x64"){${${"\x47LO\x42\x41\x4c\x53"}["\x6c\x77\x72\x73n\x78\x76"]}.="<i\x6d\x67\x20\x73r\x63\x3d\"la\x79\x6f\x75\x74\x73/\x76\x37/\x6dod\x75l\x65s/\x43\x54\x57ha\x74s\x41\x70\x70/image/\x75\x6ere\x61d\x2e\x70\x6eg\x22/>";}else{$sjohmxs="wh\x61\x74sa\x70\x70M\x65\x73\x73ag\x65H\x54\x4dL";${$sjohmxs}.="\x3cimg\x20src\x3d\"\x6c\x61\x79out\x73/\x767/mo\x64\x75l\x65s/\x43\x54W\x68at\x73\x41\x70p/ima\x67e/read.\x70\x6e\x67\"/\x3e";}${${"\x47\x4cO\x42\x41\x4cS"}["\x6cw\x72\x73\x6e\x78v"]}.="\x3c/\x73p\x61\x6e\x3e\x26\x6ebs\x70;</di\x76\x3e";${${"\x47\x4c\x4fBA\x4cS"}["go\x6e\x70\x73\x62e\x73\x71"]}.="<\x64\x69v c\x6c\x61s\x73=\x22co\x6c-x\x73-1\x32 c\x6f\x6c-\x73m-2 \x63\x6fl-\x6d\x64-2\x20\x63o\x6c-\x6cg-2\">\n  \x20         \x20     \x20\x20\x20\x20  \x3c/\x64i\x76\x3e\n     \x20 \x20  \x20\x20  \x20\x20  \x20\x20 \x20  </d\x69v>";}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x64\x7a\x66vg\x73\x65e"]="\x69\x73\x47\x72\x6fu\x70";${"G\x4c\x4f\x42A\x4c\x53"}["l\x61\x76\x64\x73q"]="\x77\x68\x61\x74\x73\x61\x70\x70\x4d\x65\x73\x73\x61\x67\x65\x48\x54M\x4c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67b\x69\x64\x62t\x75\x65\x6b\x68"]="c\x74wh\x61t\x73a\x70\x70I\x64";${${"\x47LOB\x41L\x53"}["l\x61\x76d\x73\x71"]}.="<di\x76 c\x6cas\x73=\x22repl\x79Chat\"\x3e\n\x20\x20 \x20\x20\x20     \x20\x20\x20        \x20\x20\x3c\x64iv cl\x61ss=\x22c\x6f\x6c-x\x73-10\x20col-\x73\x6d-\x38 \x63ol-\x6d\x64-8\x20\x63ol-lg-8\x22>\n\x20\x20\x20 \x20\x20\x20   \x20      \x20\x20   \x20 <\x64\x69\x76\x20cla\x73s\x3d\"\x62u\x62bl\x65\x20r\x65pl\x79\"\x20data-whatsa\x70\x70\x69\x64\x3d".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67bi\x64\x62\x74\x75\x65\x6b\x68"]}."\x3e";$szopnjwjcrh="\x79o\x75\x72_\x6e\x75m\x62e\x72";if(${${"\x47\x4cO\x42AL\x53"}["\x6d\x6f\x6bf\x65\x63\x73yx\x77\x64"]}!=""){${"\x47\x4cO\x42\x41\x4c\x53"}["a\x67mbe\x6f"]="\x77ha\x74\x73\x61p\x70Me\x73\x73\x61g\x65\x48T\x4d\x4c";${${"\x47\x4c\x4f\x42AL\x53"}["\x61\x67\x6d\x62e\x6f"]}.="<\x64iv\x20cl\x61\x73\x73=\x22\x73end\x51uot\x65Me\x73\x73a\x67e\x22><p s\x74\x79\x6c\x65\x3d\x22w\x6frd-\x77\x72\x61p:\x20b\x72\x65\x61k-wor\x64\x3b\"\x3e".${${"\x47L\x4f\x42\x41\x4cS"}["\x6do\x6b\x66\x65c\x73\x79xw\x64"]}."\x3c/p\x3e\x3c/\x64iv\x3e";}if(${${"\x47L\x4fB\x41\x4c\x53"}["\x7a\x64\x6as\x65nn\x71"]}=="\x47ro\x75p\x73"){${"G\x4c\x4f\x42\x41\x4cS"}["\x77\x6c\x68xf\x62\x68\x67"]="\x73\x65nd\x65\x72Na\x6d\x65";${${"\x47LO\x42\x41L\x53"}["\x6cw\x72sn\x78\x76"]}.="\x3c\x73\x70a\x6e><\x62\x3e".${${"G\x4c\x4f\x42A\x4c\x53"}["\x77l\x68xf\x62h\x67"]}."\x3c/b>\x3c/\x73\x70\x61n>";}$kadgjdwnpkcy="\x77\x68at\x73a\x70pM\x65\x73\x73a\x67\x65\x48T\x4d\x4c";$ednlknmds="\x77h\x61\x74\x73\x61p\x70\x4d\x65\x73s\x61g\x65\x48\x54ML";${"G\x4cO\x42\x41\x4c\x53"}["q\x79\x6ax\x61\x62"]="\x77ha\x74\x73\x61\x70\x70\x4d\x65s\x73a\x67\x65H\x54M\x4c";${$ednlknmds}.="\x3cp>".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x79\x6emo\x75v\x77"]}."<br\x3e\x20".urldecode(${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x6cu\x67\x61\x66k\x77\x77\x67w"]})."</p\x3e\n\x20\x20     \x20\x20\x20      \x20\x20 \x20\x3c/d\x69\x76>";${$kadgjdwnpkcy}.="<di\x76\x20c\x6ca\x73\x73=\"d\x72\x6f\x70dow\x6e\x22 \x73ty\x6ce\x3d\x22\x64\x69s\x70lay:\x20in\x6c\x69ne-blo\x63\x6b\x20!i\x6d\x70\x6f\x72t\x61\x6e\x74;\x6d\x61rg\x69\x6e:\x20\x30\x70\x78\x20\x30\x70x\x20\x30\x70\x78\x2012\x70\x78\x3b\"\x3e\n\x20   \x20      \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20  \x3c\x64\x69v \x63\x6c\x61ss=\"d\x72\x6fpdo\x77n-\x74oggle\x22\x20\x69\x64=\"d\x72op\x64o\x77\x6e\x4d\x65\x6euB\x75tt\x6fn\x22\x20dat\x61-t\x6f\x67\x67le\x3d\x22d\x72\x6f\x70d\x6f\x77n\x22 \x61ria-\x65\x78\x70a\x6e\x64ed=\"tru\x65\">\n\x20\x20 \x20\x20 \x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x20\x20 \x20  \x20   \x20\x20 \x20\x20\x3ci\x20\x63\x6c\x61\x73\x73=\"fa fa-\x65\x6c\x6c\x69\x70s\x69\x73-v \x69c\x6fn\x22 st\x79le=\x22w\x69\x64t\x68:\x208px;m\x61\x72\x67\x69n: 5p\x78;\x63\x75r\x73o\x72:\x20po\x69n\x74\x65\x72\x3b\x22>\x3c/\x69\x3e\n\x20\x20 \x20\x20\x20\x20 \x20\x20 \x20\x20\x20 \x20\x20\x20 \x20  \x20\x20\x20\x20\x20 \x20 \x3c/d\x69v\x3e\n  \x20\x20\x20\x20  \x20 \x20  \x20\x20\x20 \x20 \x20 \x20\x20  \x20\x20\x20 \x20\x3cdi\x76\x20c\x6ca\x73s\x3d\"dr\x6f\x70\x64own-me\x6eu\"\x20aria-\x6cab\x65\x6c\x6c\x65dby=\x22d\x72o\x70do\x77n\x4d\x65\x6e\x75\x42\x75\x74\x74on\"\x3e\n  \x20\x20 \x20\x20  \x20\x20\x20 \x20  \x20\x20\x20\x20\x20\x20      \x20\x20<div\x20\x63\x6c\x61\x73\x73\x3d\"\x64r\x6fpd\x6f\x77n\x49\x6en\x65\x72\x4denu\x22>";if(${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x64\x7a\x66\x76g\x73\x65\x65"]}=="Group\x73"){${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x6ad\x68\x6c\x73\x63o"]="c\x6fpyM\x65s\x73\x61\x67\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x77\x72\x73nx\x76"]}.="<a>".${${"\x47L\x4f\x42A\x4c\x53"}["\x74\x6adhl\x73\x63\x6f"]}."</a>";}else{if(${${"G\x4cO\x42\x41\x4cS"}["x\x68\x6bw\x68h\x77"]}!="\x30"){if(${${"G\x4c\x4f\x42\x41\x4cS"}["sd\x66\x74wz\x75\x69"]}){$dfmutrdq="\x65\x64\x69\x74Fi\x65l\x64\x48\x54\x4d\x4c";${"G\x4c\x4f\x42\x41L\x53"}["l\x75\x71\x64c\x76vb\x64\x6e\x62\x68"]="\x72\x65\x70\x6c\x79\x4des\x73a\x67\x65\x48\x54ML";${${"\x47\x4cO\x42A\x4c\x53"}["lw\x72\x73\x6e\x78\x76"]}.="\x3c\x61\x3e".${$dfmutrdq}."</a>\x3ca\x3e".${${"G\x4c\x4f\x42\x41\x4c\x53"}["l\x75\x71\x64c\x76v\x62d\x6e\x62\x68"]}."\x3c/a><\x61>".${${"GL\x4fB\x41\x4c\x53"}["\x65lx\x72bc\x6c\x71c\x6d\x66"]}."</\x61>\x3c\x61\x3e".${${"GLO\x42\x41\x4c\x53"}["\x7a\x78cgu\x6e\x61\x70\x75"]}."</a\x3e";}else{${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x6b\x77\x79\x75\x6dl"]="\x77\x68at\x73a\x70p\x4d\x65\x73\x73\x61\x67e\x48\x54\x4dL";${"GL\x4f\x42\x41\x4c\x53"}["\x7az\x61g\x69o\x71a"]="re\x70\x6c\x79\x4d\x65\x73s\x61\x67\x65\x48\x54\x4dL";${${"\x47LO\x42\x41LS"}["\x6ek\x77yu\x6dl"]}.="\x3c\x61\x3e".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x7az\x61\x67i\x6fqa"]}."\x3c/a\x3e<\x61\x3e".${${"\x47\x4c\x4f\x42ALS"}["\x65\x6cx\x72bc\x6c\x71cm\x66"]}."</a>";}}}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x77\x72s\x6ex\x76"]}.="\x3c/\x64\x69\x76></\x64iv></\x64\x69v\x3e";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x77\x72\x73n\x78v"]}.="\x3c\x73pa\x6e cl\x61\x73\x73=\x22\x63h\x61t\x54ime\x22\x20st\x79le\x3d\x22\x77\x69\x64t\x68:\x20\x36\x30\x25; !im\x70\x6f\x72tant\x22>\x3cb\x3e".${$szopnjwjcrh}."\x3c/b\x3e - ".${${"G\x4cOB\x41L\x53"}["\x73jp\x63v\x72\x70\x77\x6ft\x6a"]}."";if(${${"GLO\x42\x41\x4cS"}["\x75\x75jo\x68\x7ace\x6d"]}=="Un\x72e\x61\x64"){${${"\x47LOB\x41L\x53"}["\x6c\x77rsnx\x76"]}.="\x3cim\x67 s\x72\x63\x3d\x22\x6ca\x79\x6f\x75\x74s/\x767/\x6d\x6f\x64ules/C\x54\x57\x68\x61tsAp\x70/i\x6dage/\x75\x6e\x72\x65\x61d\x2e\x70n\x67\"/>";}else{${${"G\x4c\x4fB\x41LS"}["\x6c\x77\x72\x73\x6ex\x76"]}.="<\x69\x6d\x67 src=\x22\x6c\x61\x79o\x75\x74\x73/\x767/mo\x64u\x6c\x65\x73/CT\x57h\x61\x74s\x41pp/im\x61g\x65/\x72ea\x64.\x70\x6eg\"/\x3e";}${${"GLO\x42A\x4c\x53"}["lw\x72\x73\x6exv"]}.="\x3c/\x73p\x61n\x3e&nb\x73\x70;</\x64\x69v>";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x79j\x78\x61\x62"]}.="<\x64\x69v \x63\x6cass=\"\x63o\x6c-\x78s-\x312\x20\x63\x6fl-s\x6d-\x32 \x63o\x6c-m\x64-2 co\x6c-\x6cg-\x32\">\n \x20 \x20      \x20  \x20\x20\x20 \x20  \x3c/\x64i\x76\x3e\n\x20 \x20\x20\x20 \x20  \x20   \x20\x20 \x20 \x20\x20\x3c/d\x69\x76>";}}}${${"\x47L\x4f\x42A\x4c\x53"}["\x6al\x77\x6ado\x6ey\x62"]}=array("ro\x77\x73"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["x\x64\x6cz\x6c\x68\x64\x71\x6f\x63w\x70"]},"w\x68atsa\x70pM\x65ssa\x67\x65\x48\x54\x4d\x4c"=>${${"G\x4c\x4f\x42A\x4c\x53"}["\x6c\x77r\x73\x6e\x78\x76"]});return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x78\x6co\x68fkgu\x64"]};}public function getIndividualMessages($recordId){$pqgpzgof="\x73ety\x70\x65";${"\x47L\x4f\x42\x41L\x53"}["iei\x6c\x73qf\x73"]="\x70\x64\x66\x45\x78t\x73";global$adb,$current_user;${${"\x47\x4cO\x42\x41L\x53"}["x\x65\x65\x70\x76\x6cd\x73\x77"]}=$current_user->id;${"\x47L\x4f\x42\x41\x4cS"}["\x6c\x63\x74\x68\x63ae"]="\x77h\x61\x74\x73\x61p\x70\x4d\x65ss\x61\x67\x65s";${${"\x47L\x4fB\x41\x4cS"}["pra\x67\x6d\x6a\x66e\x6f"]}=CTWhatsApp_Record_Model::getInNumberQuery(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78e\x65\x70v\x6c\x64\x73\x77"]});$ylxonsbos="s\x65\x74\x79\x70\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67m\x78\x75i\x6e\x6ay\x63"]="\x65xc\x65lE\x78\x74\x73";${${"\x47\x4c\x4fB\x41L\x53"}["\x6ar\x68g\x64\x6a\x73\x66\x79\x68"]}=CTWhatsApp_Record_Model::unreadQuery();${"G\x4cOB\x41\x4c\x53"}["o\x71\x6c\x78h\x63f\x68cq\x73"]="qu\x65\x72y\x52\x65s\x75\x6ct";$mgodgumpmg="\x69";${$pqgpzgof}=VtigerCRMObject::getSEType(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x77\x6f\x6b\x74\x77w\x63bt"]});if(${$ylxonsbos}){${${"\x47\x4c\x4fB\x41LS"}["\x6f\x76\x74\x74y\x79\x6f"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ar\x68g\x64\x6as\x66y\x68"]}.${${"G\x4c\x4f\x42\x41L\x53"}["\x70r\x61\x67\x6d\x6af\x65\x6f"]}."\x20AND \x76\x74iger_ct\x77h\x61tsap\x70.\x77\x68at\x73\x61\x70\x70_co\x6etact\x69\x64\x20\x3d\x20?\x20OR\x44ER \x42\x59\x20\x76\x74\x69\x67er_ctwhatsa\x70\x70\x2e\x77\x68\x61\x74sapp\x5fd\x61\x74\x65t\x69\x6d\x65 \x41SC";${${"G\x4c\x4f\x42\x41L\x53"}["\x79\x78\x66\x6e\x67\x6fs\x70\x64\x67j\x6f"]}=$adb->pquery(${${"GL\x4fBA\x4cS"}["ov\x74\x74\x79\x79\x6f"]},array(${${"GL\x4fB\x41\x4c\x53"}["\x71w\x6f\x6bt\x77\x77\x63bt"]}));}else{${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74n\x66\x77n\x69\x79hm\x62"]="q\x75\x65\x72\x79R\x65\x73\x75\x6c\x74";${"\x47LO\x42ALS"}["j\x68\x76\x66\x6b\x62\x62m\x72wu"]="\x72ec\x6f\x72\x64\x49\x64";$ypdzemfmsvb="\x71\x75\x65r\x79";$ebqorobotf="\x72\x65\x63\x6f\x72\x64Id";${"\x47\x4c\x4f\x42ALS"}["u\x71de\x62u\x7a\x71"]="q\x75\x65\x72y";${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x68\x73ia\x70\x73w\x6bt"]="\x72\x65cord\x49\x64";${$ebqorobotf}=preg_replace("/[^\x41-\x5a\x61-\x7a\x30-\x39]/","",${${"G\x4c\x4fB\x41L\x53"}["\x77\x68s\x69\x61\x70s\x77k\x74"]});${"\x47L\x4fB\x41\x4c\x53"}["\x63\x76p\x77zn"]="\x69\x6eN\x75\x6d\x62\x65r\x51ue\x72y";${$ypdzemfmsvb}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x72h\x67d\x6a\x73\x66y\x68"]}.${${"\x47L\x4fBA\x4cS"}["\x63\x76\x70wzn"]}." \x41ND \x76t\x69\x67\x65r\x5fctw\x68at\x73app\x2ew\x68\x61\x74\x73\x61p\x70_\x77it\x68c\x63od\x65 L\x49K\x45 \"\x25".${${"\x47\x4c\x4fBALS"}["\x6a\x68v\x66kb\x62\x6d\x72\x77\x75"]}."\x25\x22";${${"G\x4cOBA\x4cS"}["\x74n\x66\x77\x6ei\x79\x68\x6db"]}=$adb->pquery(${${"G\x4c\x4fB\x41\x4cS"}["\x75\x71d\x65b\x75z\x71"]},array());}${${"\x47\x4cO\x42A\x4c\x53"}["x\x64l\x7a\x6c\x68\x64qo\x63\x77p"]}=$adb->num_rows(${${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x71\x6c\x78\x68\x63\x66\x68\x63\x71\x73"]});${${"G\x4c\x4fBA\x4c\x53"}["\x6c\x70\x67\x73\x6et\x62m\x71e"]}=array("\x67i\x66","j\x70\x67","\x6ap\x65g","\x70n\x67","\x74\x69ff","tif");${${"G\x4c\x4f\x42A\x4c\x53"}["\x69e\x69\x6cs\x71\x66s"]}=array("p\x64f");${"\x47L\x4fB\x41\x4c\x53"}["j\x70\x78dg\x77ol\x6b"]="\x72\x6fw\x73";${${"G\x4c\x4f\x42\x41\x4c\x53"}["zcs\x75\x6a\x69kz"]}=array("tx\x74","\x70hp","z\x69\x70","c\x73\x76","\x68t\x74p\x73");${${"\x47L\x4f\x42\x41LS"}["s\x67\x6c\x6b\x6c\x6b"]}=array("\x6d\x703");${${"\x47L\x4f\x42\x41L\x53"}["gm\x78\x75\x69n\x6ay\x63"]}=array("x\x6c\x73");$gjbvawlgu="\x69";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x6e\x78\x66\x71\x71\x6c\x65\x6bp"]}=array("d\x6fcx","d\x6f\x63");$zyyqconkumnv="\x69";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x72\x6efo\x6f\x78\x6c\x66"]}=array();for(${$gjbvawlgu}=0;${$zyyqconkumnv}<${${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x70\x78\x64g\x77o\x6ck"]};${$mgodgumpmg}++){$lxltzit="\x71\x75\x65\x72\x79\x52\x65\x73\x75l\x74";$lhwvovd="\x75r\x6c\x45xt";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x68\x77b\x6cb\x71\x77m"]="\x75r\x6cE\x78t";$chiipodij="\x6de\x73\x73\x61\x67e\x52e\x61d\x55\x6e\x52\x65a\x64";$okdvfhiwd="\x70\x64\x66\x45\x78\x74\x73";${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x6cmb\x64\x77sx\x69\x6a"]="\x77h\x61\x74sA\x70p\x46\x69\x6c\x65Na\x6d\x65";${"GL\x4fB\x41LS"}["\x64e\x62u\x6b\x68r\x78\x61\x74\x64"]="\x71\x75\x65\x72\x79Resu\x6ct";$wnncxnof="\x63t\x77\x68\x61t\x73ap\x70\x49\x64";$zxoqessygol="\x79o\x75\x72_n\x75m\x62\x65\x72";$sbkfncyma="m\x65\x73\x73\x61\x67\x65\x42\x6f\x64y";$wkgpumk="\x75\x72l\x45\x78\x74";${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x77\x68\x63\x6e\x6d\x68\x75"]="\x6d\x65\x73\x73\x61g\x65\x42o\x64\x79";$llecemnvtw="u\x72lE\x78\x74";${$wnncxnof}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4cS"}["d\x65buk\x68\x72\x78atd"]},${${"\x47\x4cOB\x41L\x53"}["\x76\x61\x72b\x75f\x64"]},"ct\x77h\x61\x74sap\x70i\x64");$lqoxlrcrlb="\x69";${${"GLO\x42A\x4c\x53"}["\x67k\x62r\x6d\x62d\x65\x6bp"]}=$adb->query_result(${${"\x47\x4cOB\x41\x4cS"}["\x79x\x66n\x67\x6f\x73\x70\x64\x67\x6a\x6f"]},${${"\x47\x4c\x4fB\x41LS"}["\x76\x61rbu\x66\x64"]},"mes\x73a\x67\x65\x5ft\x79pe");${${"\x47LO\x42\x41\x4cS"}["\x76\x67\x6fr\x6cr\x63\x71\x6cc\x6e"]}=$adb->query_result(${${"\x47\x4cOB\x41\x4c\x53"}["\x79x\x66\x6eg\x6f\x73\x70dg\x6a\x6f"]},${${"\x47LO\x42\x41LS"}["\x76\x61\x72\x62\x75fd"]},"wha\x74\x73\x61\x70p_sen\x64er\x6e\x61me");${${"\x47\x4c\x4fBA\x4cS"}["\x75\x75\x6a\x6f\x68\x7ac\x65m"]}=$adb->query_result(${$lxltzit},${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x61\x72\x62u\x66\x64"]},"\x77\x68\x61t\x73\x61p\x70_\x75nre\x61\x64\x72\x65ad");${${"\x47LOB\x41\x4c\x53"}["\x71\x6fu\x72\x78\x76e"]}=$adb->query_result(${${"\x47L\x4f\x42A\x4c\x53"}["\x79\x78\x66n\x67\x6f\x73\x70\x64\x67j\x6f"]},${$lqoxlrcrlb},"\x79\x6f\x75\x72_n\x75m\x62\x65r");${"\x47L\x4f\x42\x41LS"}["\x74pr\x76f\x73\x69\x72ps\x6f"]="c\x74w\x68\x61t\x73\x61\x70\x70I\x64";${${"GL\x4fB\x41\x4c\x53"}["x\x6cug\x61\x66kww\x67\x77"]}=CTWhatsApp_Record_Model::getFilenameWhatsappMessage($adb->query_result(${${"\x47\x4c\x4f\x42AL\x53"}["\x79\x78f\x6e\x67\x6f\x73\x70\x64gj\x6f"]},${${"GL\x4fBA\x4c\x53"}["\x76\x61\x72b\x75\x66\x64"]},"\x6d\x65\x73\x73\x61g\x65_\x62o\x64y"));${"\x47\x4c\x4fB\x41\x4cS"}["j\x66\x74\x73\x63ih\x72\x65"]="\x66\x69\x6c\x65Ex\x74\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x6bl\x6ees\x74"]="\x71\x75\x65\x72yR\x65\x73ult";${"GL\x4f\x42A\x4cS"}["\x78q\x6by\x65\x6b\x6a"]="\x71u\x65\x72\x79\x52\x65su\x6c\x74";if(${${"G\x4c\x4fB\x41L\x53"}["t\x70\x72\x76f\x73\x69r\x70\x73\x6f"]}){$jkchnvfm="\x6d\x65\x73\x73a\x67\x65R\x65\x61d\x55nR\x65\x61\x64";if(${$jkchnvfm}=="\x55\x6er\x65\x61d"&&${${"G\x4cOBA\x4cS"}["g\x6b\x62\x72m\x62\x64e\x6b\x70"]}=="\x52\x65\x63\x69e\x76e\x64"){${"\x47LOBAL\x53"}["\x76\x67d\x79zpg\x62g\x64"]="\x72ecord\x4d\x6fd\x65\x6c";${${"GL\x4f\x42\x41\x4cS"}["v\x67\x64\x79\x7a\x70\x67b\x67\x64"]}=Vtiger_Record_Model::getInstanceById(${${"GLO\x42\x41L\x53"}["\x6ete\x66\x70\x6fw\x6c\x77\x6cxy"]},"\x43\x54Wh\x61tsApp");$recordModel->set("mod\x65","e\x64\x69t");${"\x47\x4c\x4fBA\x4cS"}["\x6d\x6eq\x7a\x62pj"]="\x63tw\x68a\x74s\x61\x70\x70I\x64";$recordModel->set("i\x64",${${"\x47L\x4fBA\x4c\x53"}["\x6d\x6eq\x7abp\x6a"]});$recordModel->set("w\x68ats\x61\x70\x70_unr\x65ad\x72ea\x64","Re\x61\x64");$recordModel->save();}}${${"G\x4cO\x42\x41LS"}["\x65\x77hcn\x6d\x68\x75"]}=nl2br(preg_replace("#\\*([^*]+)\\*\x23","\x3cb\x3e\$1</\x62\x3e",$adb->query_result(${${"\x47\x4c\x4fB\x41L\x53"}["x\x71\x6b\x79ekj"]},${${"\x47\x4cO\x42A\x4c\x53"}["va\x72\x62\x75\x66\x64"]},"\x6de\x73\x73\x61g\x65\x5fbody")));${$llecemnvtw}=pathinfo(${${"\x47L\x4f\x42ALS"}["\x6c\x79n\x6do\x75\x76w"]},PATHINFO_EXTENSION);${"\x47\x4cOBAL\x53"}["\x75qs\x6a\x73\x76k\x6bg\x6cj\x6e"]="\x63r\x65a\x74\x65\x64\x54ime";if(in_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["o\x68\x77\x62\x6c\x62\x71\x77\x6d"]},${${"\x47LO\x42\x41LS"}["\x6c\x70g\x73\x6et\x62\x6dq\x65"]})){${"\x47L\x4f\x42\x41\x4cS"}["lca\x75q\x6f\x78s\x63n"]="\x6d\x65\x73s\x61g\x65\x42o\x64\x79";${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x63a\x75\x71\x6fxsc\x6e"]}="<\x69\x6dag\x65 s\x72\x63\x3d\x22".${${"\x47\x4cOBALS"}["\x6c\x79\x6e\x6d\x6f\x75\x76\x77"]}."\x22\x20\x73t\x79\x6c\x65=\x22\x68e\x69g\x68t:\x206\x30\x70\x78\x20\x21\x69\x6d\x70or\x74a\x6et\x3bcurs\x6fr:\x20\x70\x6f\x69\x6ete\x72;\x22>";}else if(in_array(${${"\x47\x4cO\x42\x41L\x53"}["\x6c\x62auo\x79nd\x78"]},${${"\x47LOB\x41LS"}["\x6af\x74\x73\x63\x69hr\x65"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["cljbwetn\x67\x75\x6av"]="\x6d\x65\x73\x73ag\x65B\x6f\x64\x79";${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x79\x6e\x6d\x6f\x75\x76\x77"]}="\x3c\x61 h\x72ef=\"".${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x6cjb\x77\x65\x74n\x67\x75\x6a\x76"]}."\x22\x20t\x61r\x67et\x3d\"\x5f\x62\x6c\x61ck\"\x3e\x3ci\x6dg s\x72c\x3d\x22la\x79\x6fu\x74s/v\x37/m\x6f\x64\x75l\x65s/CTWha\x74\x73\x41\x70\x70/\x69\x6d\x61\x67\x65/f\x69\x6c\x65\x69\x63on\x2e\x70\x6eg\x22\x3e</a\x3e";}else if(in_array(${${"\x47\x4c\x4f\x42A\x4c\x53"}["lba\x75\x6fy\x6e\x64\x78"]},${$okdvfhiwd})){${${"\x47L\x4f\x42\x41L\x53"}["\x6c\x79n\x6d\x6f\x75\x76w"]}="<\x61 \x68r\x65\x66\x3d\x22".${${"\x47\x4c\x4f\x42\x41\x4cS"}["l\x79\x6e\x6d\x6f\x75\x76\x77"]}."\" \x74arg\x65t=\"\x5f\x62la\x63\x6b\x22\x3e<i\x6d\x67 \x73\x72\x63=\x22l\x61y\x6fut\x73/v7/mod\x75\x6c\x65s/C\x54W\x68\x61tsAp\x70/im\x61\x67e/p\x64fic\x6fn\x2epng\x22\x3e\x3c/a\x3e";}else if(in_array(${$wkgpumk},${${"G\x4c\x4fBAL\x53"}["b\x68\x70\x71yuy\x67\x71"]})){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cy\x6em\x6f\x75v\x77"]}="<\x61 h\x72\x65\x66=\x22".${${"\x47LO\x42\x41LS"}["l\x79\x6e\x6douv\x77"]}."\x22 ta\x72\x67et=\"_b\x6c\x61\x63k\"\x3e\x3c\x69m\x67\x20src\x3d\"l\x61\x79o\x75\x74\x73/\x767/\x6d\x6f\x64\x75\x6ce\x73/\x43TWh\x61t\x73A\x70\x70/im\x61g\x65/ex\x63e\x6c\x69\x63\x6f\x6e.\x70ng\">\x3c/\x61>";}else if(in_array(${$lhwvovd},${${"\x47L\x4fB\x41L\x53"}["jnxf\x71\x71\x6cek\x70"]})){${${"\x47L\x4fB\x41LS"}["ly\x6e\x6do\x75\x76w"]}="\x3c\x61 h\x72\x65f\x3d\x22".${${"\x47\x4c\x4fBA\x4c\x53"}["l\x79\x6e\x6d\x6f\x75v\x77"]}."\" \x74a\x72\x67\x65\x74=\x22_black\"\x3e\x3cim\x67 \x73\x72c\x3d\"\x6c\x61y\x6f\x75\x74\x73/\x767/\x6d\x6fd\x75les/CTWha\x74\x73\x41pp/i\x6d\x61g\x65/\x77\x6f\x72\x64\x69co\x6e.jpg\"></a>";}else if(in_array(${${"\x47\x4cO\x42\x41L\x53"}["lbauo\x79\x6e\x64\x78"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["sg\x6c\x6bl\x6b"]})){${"\x47\x4cO\x42ALS"}["y\x6bhev\x68\x68\x77\x6f\x6cla"]="\x6des\x73a\x67\x65\x42\x6fdy";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x79n\x6dou\x76\x77"]}="\x20<a\x75\x64i\x6f c\x6f\x6et\x72o\x6c\x73>\n\x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20 \x20\x20 \x20  \x20\x20\x20\x20\x3cs\x6fu\x72\x63\x65\x20sr\x63=\"".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79k\x68\x65\x76\x68\x68\x77\x6f\x6cla"]}."\x22\x20\x74\x79p\x65=\"a\x75di\x6f/og\x67\x22\x3e\n \x20  \x20 \x20\x20 \x20\x20\x20\x20 \x20   \x20\x20    \x3cso\x75\x72c\x65\x20\x73\x72\x63=\x22".${${"GL\x4f\x42A\x4c\x53"}["l\x79\x6e\x6dou\x76\x77"]}."\" typ\x65\x3d\"a\x75d\x69\x6f/\x6dpe\x67\x22>\n\x20\x20 \x20\x20\x20\x20\x20     \x20 \x20\x20 \x20\x20\x20 Y\x6f\x75\x72\x20br\x6f\x77s\x65\x72\x20d\x6fes \x6e\x6ft sup\x70ort\x20\x74h\x65 \x61\x75\x64io \x65\x6c\x65\x6d\x65n\x74.\n   \x20\x20   \x20 \x20  \x20\x20  \x20\x20 </a\x75dio\x3e\x20";}else{${"\x47\x4cO\x42AL\x53"}["t\x66\x62e\x70\x76\x74p\x6dnw"]="\x77\x68\x61t\x73\x41pp\x46\x69\x6c\x65Na\x6de";${${"G\x4c\x4f\x42\x41L\x53"}["\x74\x66b\x65\x70vt\x70\x6d\x6ew"]}="";}${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x6ap\x63v\x72\x70\x77\x6f\x74j"]}=Vtiger_Util_Helper::convertDateTimeIntoUsersDisplayFormat($adb->query_result(${${"\x47LOBA\x4cS"}["\x72\x6b\x6c\x6ee\x73\x74"]},${${"G\x4c\x4f\x42ALS"}["v\x61\x72\x62\x75\x66\x64"]},"w\x68\x61\x74\x73a\x70\x70_\x64\x61\x74\x65t\x69\x6d\x65"));${${"\x47L\x4fBA\x4c\x53"}["e\x72n\x66o\x6f\x78\x6c\x66"]}[]=array("\x6d\x65\x73s\x61\x67e\x54\x79p\x65"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["gk\x62\x72\x6d\x62\x64e\x6bp"]},"\x6des\x73a\x67\x65\x42o\x64y"=>${$sbkfncyma},"\x63re\x61ted\x54\x69m\x65"=>${${"\x47\x4cO\x42\x41L\x53"}["uq\x73\x6asv\x6b\x6bgljn"]},"\x73\x65\x6e\x64e\x72N\x61me"=>${${"G\x4cO\x42A\x4cS"}["v\x67\x6f\x72l\x72\x63ql\x63\x6e"]},"\x6de\x73\x73\x61g\x65Re\x61dUnR\x65a\x64"=>${$chiipodij},"y\x6fu\x72\x5f\x6eu\x6dber"=>${$zxoqessygol},"\x77\x68atsA\x70pF\x69\x6ceName"=>${${"G\x4c\x4fB\x41\x4c\x53"}["\x69l\x6d\x62dw\x73\x78\x69\x6a"]});}return${${"\x47L\x4f\x42\x41\x4cS"}["\x6cc\x74\x68\x63a\x65"]};}public function checkCommentModuleEnable($sourceModuleName){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6awoc\x6b\x68\x63e\x6d\x77\x6a"]="c\x6f\x6dmentR\x6f\x77\x73";$wtwskcg="\x63\x6fmm\x65\x6e\x74R\x6f\x77\x73";global$adb;${"\x47LO\x42ALS"}["g\x73r\x74c\x78\x79\x6e"]="\x6d\x6f\x64\x43omm\x65\x6e\x74\x51\x75e\x72y";${"G\x4c\x4f\x42\x41\x4cS"}["j\x63\x72\x76\x63\x6c\x76rq\x71x"]="co\x6dm\x65\x6et\x4d\x6fdu\x6c\x65\x45\x6ea\x62\x6ce";${${"\x47L\x4f\x42\x41\x4cS"}["\x77o\x78\x65\x70\x6et"]}=$adb->pquery("S\x45\x4c\x45\x43T\x20*\x20F\x52O\x4d \x76t\x69\x67\x65\x72\x5f\x74ab\x20W\x48\x45R\x45\x20na\x6de\x20\x3d\x20'Mod\x43omm\x65n\x74\x73' \x41\x4eD \x70r\x65se\x6e\x63e\x20\x3d \x30",array());${$wtwskcg}=$adb->num_rows(${${"GL\x4f\x42\x41\x4c\x53"}["g\x73r\x74\x63x\x79n"]});if(${${"GLO\x42\x41\x4c\x53"}["j\x77\x6fck\x68c\x65mwj"]}){${"GL\x4f\x42AL\x53"}["\x78\x71\x65ta\x6du\x68\x6f"]="\x63\x6f\x6d\x6d\x65\x6etT\x61\x62\x69d";$wqcjlyex="s\x6fu\x72\x63e\x4d\x6fd\x75l\x65\x4eam\x65";$zstuftryf="e\x6e\x61\x62l\x65\x43\x6f\x6dm\x65nt\x51u\x65\x72\x79";${${"\x47\x4c\x4fBA\x4c\x53"}["z\x62\x6cr\x66kv\x6c\x66"]}=$adb->query_result(${${"GL\x4fB\x41L\x53"}["w\x6fx\x65\x70\x6e\x74"]},0,"t\x61\x62i\x64");${"\x47\x4cO\x42AL\x53"}["\x73\x71\x69\x74t\x68\x63"]="\x73\x6f\x75\x72c\x65\x4d\x6f\x64\x75\x6c\x65T\x61\x62\x69\x64";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73q\x69tthc"]}=getTabid(${$wqcjlyex});${${"G\x4c\x4f\x42\x41\x4cS"}["x\x64\x76\x69\x78huz\x71"]}=$adb->pquery("S\x45L\x45\x43\x54 *\x20FRO\x4d vtige\x72_\x72\x65\x6cated\x6c\x69s\x74\x73\x20\x57\x48\x45\x52\x45\x20\x72e\x6c\x61\x74e\x64_t\x61b\x69d\x20= ?\x20AN\x44\x20tab\x69d \x3d ?",array(${${"GL\x4fB\x41L\x53"}["x\x71\x65\x74\x61\x6d\x75\x68o"]},${${"GL\x4f\x42\x41\x4cS"}["\x6bg\x6c\x76\x61\x6c\x76"]}));${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6bgs\x77\x62\x6e\x62\x71n\x67j\x68"]}=$adb->num_rows(${$zstuftryf});}return${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x63\x72\x76\x63\x6c\x76\x72\x71qx"]};}public function getAllConnectedWhatsappNumber($currentUserID){global$adb;$nwtekuf="a\x6c\x6cN\x75\x6dber";$nrmouzifjxt="\x71\x75e\x72\x79";${"\x47\x4cOB\x41\x4c\x53"}["\x75\x76\x67\x6f\x64\x70\x67\x73\x78"]="\x69";${${"G\x4c\x4fBALS"}["\x6f\x76\x74\x74\x79\x79o"]}=$adb->pquery("\x53\x45LEC\x54 *\x20\x46R\x4f\x4d\x20v\x74\x69ger_c\x74wha\x74\x73\x61\x70p_u\x73\x65\x72_g\x72oups");$wzvywpchsnu="\x77\x68ats\x61\x70\x70N\x75\x6d\x62\x65\x72\x73";${"\x47LO\x42\x41\x4c\x53"}["\x6e\x63\x66\x64i\x6d\x6a\x77\x6c\x64\x68y"]="\x6b";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x64lz\x6c\x68\x64\x71o\x63\x77p"]}=$adb->num_rows(${$nrmouzifjxt});$woyyylus="\x63\x75\x72\x72e\x6e\x74\x55\x73e\x72ID";${"GL\x4f\x42\x41\x4c\x53"}["\x73he\x63\x71\x72\x67"]="\x63\x75\x72\x72\x65\x6et\x55serI\x44";${${"G\x4c\x4fB\x41L\x53"}["\x75\x65\x71\x77f\x7a\x76\x6eu\x6f"]}=array();for(${${"\x47LO\x42AL\x53"}["v\x61\x72\x62\x75fd"]}=0;${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76a\x72\x62\x75\x66\x64"]}<${${"G\x4cOB\x41\x4c\x53"}["xdl\x7a\x6c\x68\x64qo\x63\x77p"]};${${"\x47\x4cO\x42\x41\x4cS"}["\x75\x76\x67o\x64\x70g\x73\x78"]}++){$swvbmbtf="\x6d\x75\x6c\x74\x69\x70\x6ce\x5f\x75s\x65r\x69d";$gxgkitqu="\x63ur\x72en\x74Us\x65\x72\x49\x44";$xitaeqx="\x69";$tsyfokkfdh="q\x75\x65\x72\x79";${${"\x47\x4cOB\x41\x4c\x53"}["\x75\x70bn\x62f\x63i\x6ccen"]}=explode(",",$adb->query_result(${$tsyfokkfdh},${$xitaeqx},"\x6d\x75\x6cti\x70\x6ce_u\x73e\x72i\x64"));if(in_array(${$gxgkitqu},${$swvbmbtf})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x68\x67\x74\x71h\x75\x6f\x65\x6b\x75\x64"]="u\x73\x65\x72\x69\x64";${"\x47L\x4fBAL\x53"}["\x61\x6a\x75\x77\x6b\x63\x63\x64\x69t\x75"]="\x69";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x68\x67\x74\x71\x68\x75\x6f\x65\x6bud"]}=$adb->query_result(${${"G\x4c\x4fB\x41L\x53"}["\x6f\x76\x74\x74\x79yo"]},${${"GL\x4f\x42\x41\x4c\x53"}["\x61\x6a\x75\x77k\x63cd\x69t\x75"]},"u\x73\x65\x72id");${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x76\x6ejf\x72bo\x77\x6e"]}=$adb->pquery("SELE\x43T * \x46ROM vt\x69g\x65r_\x63\x74\x77\x68ats\x61p\x70u\x73\x65r\x73 \x57HER\x45\x20c\x75s\x74om\x66i\x65l\x645 = ?",array(${${"\x47\x4cOBA\x4c\x53"}["w\x6bn\x62\x63\x65z\x63\x71\x6f\x69"]}));${${"G\x4c\x4f\x42\x41L\x53"}["\x6e\x66c\x78\x6a\x75\x6c"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x76\x6ej\x66r\x62\x6fwn"]},0,"w\x68a\x74\x73a\x70pn\x6f");${${"GL\x4fBALS"}["\x72u\x69\x61e\x79d"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79v\x6ejfrb\x6f\x77n"]},0,"w\x68\x61t\x73a\x70\x70\x73tat\x75\x73");if(${${"GLO\x42\x41\x4c\x53"}["\x6e\x66\x63\x78\x6a\x75\x6c"]}){${"GLO\x42\x41L\x53"}["l\x72n\x6f\x74\x64sg\x65"]="whats\x61\x70\x70\x4e\x75\x6d\x62\x65\x72\x73";$nomdipe="\x75se\x72\x69d";${"\x47L\x4fB\x41\x4c\x53"}["x\x67\x66\x6ag\x71h\x73\x65w\x72"]="w\x68a\x74\x73a\x70p\x6e\x6f";$bfdhqcaj="\x77\x68\x61t\x73appst\x61\x74u\x73";${${"\x47\x4c\x4fB\x41LS"}["\x6cr\x6e\x6ft\x64sge"]}[]=array("wha\x74sa\x70\x70no"=>${${"G\x4cO\x42A\x4cS"}["\x78\x67\x66jg\x71\x68\x73e\x77\x72"]},"\x75se\x72i\x64"=>${$nomdipe},"u\x73e\x72\x6eame"=>getUserName(${${"\x47L\x4fB\x41\x4c\x53"}["wknbcez\x63qo\x69"]}),"\x77\x68\x61\x74\x73\x61pps\x74\x61\x74us"=>${$bfdhqcaj});}}}$utoanwg="\x6b";${${"\x47\x4c\x4f\x42\x41\x4cS"}["fa\x6fb\x6erh\x71dg\x6f\x74"]}=$adb->pquery("\x53\x45LE\x43\x54 * F\x52OM\x20v\x74\x69ge\x72\x5fus\x65\x72s\x32group\x20\x57H\x45RE\x20us\x65\x72id = ?",array(${${"GLO\x42\x41\x4c\x53"}["s\x68\x65\x63q\x72\x67"]}));${${"\x47\x4c\x4fB\x41\x4cS"}["\x6as\x77\x68\x77\x69\x65"]}=$adb->num_rows(${${"GL\x4f\x42\x41\x4cS"}["\x66ao\x62\x6e\x72\x68\x71\x64\x67\x6f\x74"]});for(${${"G\x4cO\x42\x41\x4c\x53"}["\x6d\x64\x69\x76\x64\x6c\x6b"]}=0;${$utoanwg}<${${"G\x4cO\x42\x41L\x53"}["j\x73\x77h\x77\x69e"]};${${"\x47\x4cOB\x41\x4c\x53"}["n\x63\x66\x64\x69m\x6awl\x64\x68\x79"]}++){$fbkeqrybr="\x6b";${"G\x4cOB\x41\x4c\x53"}["\x63h\x6dxtq"]="\x67r\x6f\x75\x70\x69\x64";${"\x47LOB\x41\x4c\x53"}["\x67\x70x\x6b\x66\x61\x76\x64m\x6f"]="\x6a";${"G\x4cO\x42ALS"}["cd\x71\x70\x63\x79\x6f\x71\x6b\x78\x76"]="j";${${"GL\x4f\x42\x41L\x53"}["\x63h\x6d\x78tq"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66a\x6fbnrh\x71d\x67\x6f\x74"]},${$fbkeqrybr},"\x67r\x6f\x75pi\x64");${${"G\x4cO\x42AL\x53"}["\x6a\x74\x66\x71tf\x64\x64s\x75\x6ft"]}=$adb->pquery("S\x45L\x45CT * \x46\x52\x4fM\x20v\x74i\x67e\x72\x5fc\x74w\x68ats\x61\x70\x70_\x75s\x65\x72_\x67\x72\x6fu\x70\x73",array());${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x79v\x6dhfs"]}=$adb->num_rows(${${"\x47\x4c\x4fB\x41\x4c\x53"}["j\x74\x66\x71tfd\x64s\x75\x6f\x74"]});for(${${"\x47L\x4f\x42A\x4c\x53"}["\x67\x70\x78k\x66\x61v\x64\x6d\x6f"]}=0;${${"\x47L\x4f\x42AL\x53"}["ph\x78\x6e\x6a\x6f\x6birb\x67f"]}<${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x79v\x6d\x68f\x73"]};${${"\x47\x4c\x4fBA\x4c\x53"}["\x63\x64\x71\x70\x63y\x6f\x71\x6bx\x76"]}++){${"G\x4cOB\x41\x4c\x53"}["x\x76\x6d\x73\x67dn\x79\x6a"]="\x71\x75\x65\x72y\x31";$mfirspw="j";$rvhblnxihku="m\x75l\x74\x69\x70\x6ce_us\x65r\x69\x64";${$rvhblnxihku}=$adb->query_result(${${"\x47\x4cOBALS"}["x\x76\x6ds\x67\x64\x6e\x79\x6a"]},${$mfirspw},"m\x75ltipl\x65_use\x72\x69d");$qfkfepfxnxu="\x6du\x6c\x74\x69p\x6ce\x5f\x75\x73er\x69\x64";$jiaysrfglbn="\x61\x6c\x6c\x55serI\x64";$vznwyi="a\x6clUs\x65\x72\x49d";${$jiaysrfglbn}=explode(",",${$qfkfepfxnxu});if(in_array(${${"G\x4c\x4f\x42\x41L\x53"}["\x68\x78\x65\x7a\x76\x71nw\x6d"]},${$vznwyi})){$zsghwrwircd="\x75s\x65r\x69\x64";$ilpeju="query\x31";$utvuasbat="\x77\x68a\x74s\x61\x70\x70\x6e\x6f";${"GLO\x42ALS"}["\x66\x68\x67\x64\x76\x63\x64\x6c\x6c"]="g\x65\x74n\x75m\x62\x65r\x71\x75\x65ry";$eggkdhbk="\x6a";${$zsghwrwircd}=$adb->query_result(${$ilpeju},${$eggkdhbk},"us\x65r\x69\x64");$ybqdkjkqbs="u\x73\x65\x72\x69\x64";${${"\x47L\x4f\x42A\x4c\x53"}["\x66h\x67d\x76\x63\x64\x6c\x6c"]}=$adb->pquery("SE\x4cE\x43T\x20*\x20FROM v\x74i\x67er\x5fc\x74w\x68\x61tsa\x70p\x75\x73\x65\x72\x73\x20\x57\x48\x45\x52E\x20c\x75sto\x6d\x66\x69\x65\x6cd5\x20= ?",array(${$ybqdkjkqbs}));${${"\x47LOB\x41\x4cS"}["\x6e\x66\x63xju\x6c"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4cS"}["\x79\x76\x6e\x6af\x72b\x6f\x77n"]},0,"wha\x74sap\x70\x6e\x6f");$mgryccrcmse="ge\x74n\x75\x6d\x62e\x72\x71\x75\x65r\x79";${${"\x47\x4c\x4f\x42A\x4cS"}["r\x75\x69\x61\x65\x79d"]}=$adb->query_result(${$mgryccrcmse},0,"w\x68a\x74s\x61pp\x73\x74a\x74\x75\x73");if(${$utvuasbat}){${${"G\x4cO\x42\x41\x4c\x53"}["ueq\x77\x66\x7avnu\x6f"]}[]=array("w\x68\x61\x74\x73\x61ppno"=>${${"\x47\x4c\x4f\x42AL\x53"}["\x6ef\x63x\x6au\x6c"]},"\x75\x73\x65\x72\x69d"=>${${"\x47\x4cOB\x41\x4c\x53"}["\x77k\x6e\x62\x63\x65\x7a\x63q\x6fi"]},"user\x6eame"=>getUserName(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x6b\x6ebce\x7a\x63q\x6f\x69"]}),"\x77hats\x61p\x70\x73t\x61\x74u\x73"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ru\x69a\x65\x79d"]});}}}}${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x64\x61\x6ao\x6a\x70\x74"]}=$adb->pquery("SE\x4c\x45\x43T\x20* F\x52O\x4d \x76\x74\x69\x67er\x5fc\x74whats\x61\x70p_u\x73e\x72_g\x72o\x75ps \x57\x48\x45\x52E\x20us\x65r\x69\x64 =\x20?",array(${$woyyylus}));${${"\x47L\x4f\x42AL\x53"}["\x79v\x62l\x75gq\x63m\x76"]}=$adb->num_rows(${${"G\x4c\x4fBA\x4cS"}["\x76\x64\x61j\x6fj\x70t"]});$ofprzpqv="\x61\x6c\x6c\x4e\x75m\x62\x65r";if(${${"\x47L\x4f\x42\x41\x4c\x53"}["yvb\x6c\x75\x67\x71\x63\x6dv"]}==1){$xxlewtnyrtp="ge\x74numb\x65s\x72q\x75e\x72\x79";$jjjncvwvu="\x63\x75\x72\x72e\x6e\x74\x55s\x65\x72\x49\x44";$bplgrkzakcl="\x77\x68ats\x61\x70\x70\x6e\x6f";$wppaxtol="\x67\x65t\x6eu\x6db\x65s\x72q\x75e\x72\x79";${$xxlewtnyrtp}=$adb->pquery("\x53E\x4cE\x43\x54\x20* \x46\x52O\x4d\x20vt\x69ge\x72_c\x74wh\x61\x74s\x61\x70puser\x73\x20W\x48\x45\x52E \x63u\x73to\x6d\x66ie\x6c\x64\x35 \x3d\x20?",array(${$jjjncvwvu}));$lnsnofxpwpe="\x77\x68a\x74\x73\x61\x70p\x73\x74a\x74\x75\x73";$uibknfjobjd="w\x68\x61t\x73ap\x70n\x6f";${$bplgrkzakcl}=$adb->query_result(${$wppaxtol},0,"what\x73\x61\x70p\x6e\x6f");${$lnsnofxpwpe}=$adb->query_result(${${"\x47\x4cO\x42A\x4cS"}["m\x6a\x78\x6cm\x66\x75\x71"]},0,"wh\x61\x74s\x61ppstatu\x73");if(${$uibknfjobjd}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x71\x64l\x6c\x6fg\x6c"]="\x77\x68\x61\x74\x73\x61\x70p\x6eo";${"\x47\x4c\x4fB\x41L\x53"}["\x67\x6e\x71\x6a\x6b\x61pd"]="cu\x72\x72\x65n\x74\x55se\x72I\x44";$ptocxi="w\x68\x61\x74\x73\x61\x70\x70statu\x73";${"\x47LO\x42\x41L\x53"}["\x68\x6a\x74\x6b\x6f\x67\x62\x61\x65e"]="c\x75\x72r\x65\x6et\x55\x73\x65\x72\x49D";$jzaylpvqnfua="wh\x61\x74\x73app\x4e\x75\x6d\x62e\x72\x73";${$jzaylpvqnfua}[]=array("w\x68\x61\x74s\x61\x70\x70no"=>${${"G\x4c\x4f\x42ALS"}["\x72\x71\x64l\x6c\x6f\x67\x6c"]},"\x75se\x72i\x64"=>${${"G\x4cO\x42\x41\x4c\x53"}["h\x6atk\x6fg\x62\x61e\x65"]},"u\x73\x65\x72\x6e\x61\x6de"=>getUserName(${${"\x47\x4c\x4f\x42\x41LS"}["\x67\x6eq\x6ak\x61\x70d"]}),"wh\x61t\x73\x61\x70p\x73\x74a\x74us"=>${$ptocxi});}}else{${${"\x47L\x4f\x42\x41\x4c\x53"}["m\x61\x71gw\x6f\x77"]}=$adb->pquery("SEL\x45CT *\x20\x46\x52\x4fM v\x74ig\x65\x72\x5fc\x74wha\x74\x73ap\x70\x63onf\x69gurat\x69\x6f\x6e",array());${"GLOB\x41\x4cS"}["\x69\x71\x67i\x73\x7a"]="\x67\x65t\x6e\x75mb\x65\x73\x72Q\x75\x65\x72y";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6e\x66\x63\x78\x6a\x75\x6c"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x61q\x67w\x6f\x77"]},0,"wha\x74sa\x70p\x6eo");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rui\x61\x65y\x64"]}=$adb->query_result(${${"\x47L\x4fB\x41\x4c\x53"}["iq\x67\x69\x73\x7a"]},0,"\x77ha\x74s\x61\x70\x70\x73\x74\x61\x74us");if(${${"G\x4c\x4fB\x41LS"}["n\x66c\x78\x6a\x75l"]}){${"\x47\x4c\x4f\x42\x41LS"}["w\x72n\x62\x72jm\x72\x68m\x6e"]="\x77\x68a\x74\x73\x61\x70p\x4e\x75\x6d\x62ers";$xyhtdybtzwn="\x77\x68\x61t\x73\x61\x70\x70s\x74\x61\x74\x75\x73";${${"\x47\x4cO\x42\x41\x4cS"}["\x77\x72\x6ebrj\x6drh\x6dn"]}[]=array("wh\x61t\x73\x61\x70p\x6e\x6f"=>${${"G\x4c\x4fB\x41L\x53"}["nf\x63\x78ju\x6c"]},"us\x65\x72i\x64"=>${${"\x47L\x4f\x42\x41\x4c\x53"}["xkf\x65\x67cb\x76\x61\x79\x77"]},"u\x73e\x72\x6eame"=>getUserName(${${"G\x4c\x4fB\x41\x4cS"}["xk\x66\x65\x67\x63\x62\x76\x61\x79\x77"]}),"w\x68a\x74sap\x70s\x74\x61t\x75\x73"=>${$xyhtdybtzwn});}}${$nwtekuf}=CTWhatsApp_Record_Model::getAllConnectedNumber(${$wzvywpchsnu});return${$ofprzpqv};}public function getAllUserWhatsappNumber($currentUserID){${"\x47\x4cO\x42A\x4c\x53"}["v\x79\x6b\x70\x72\x62"]="\x67r\x6f\x75p\x52\x6f\x77s";global$adb;$gomndb="w\x68a\x74s\x61p\x70N\x75m\x62ers";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73\x77\x6cc\x64\x64g\x72q"]="\x72\x6f\x77\x73";$kkbpirwpr="c\x75r\x72\x65\x6e\x74U\x73e\x72\x49\x44";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x76\x74\x74y\x79\x6f"]}=$adb->pquery("S\x45\x4c\x45\x43\x54 * \x46R\x4f\x4d vt\x69\x67\x65r\x5fc\x74wh\x61\x74\x73a\x70p\x5f\x75se\x72\x5f\x67r\x6f\x75ps");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73wlcd\x64\x67rq"]}=$adb->num_rows(${${"\x47LO\x42\x41LS"}["ov\x74tyy\x6f"]});${$gomndb}=array();for(${${"\x47LO\x42\x41LS"}["\x76a\x72\x62\x75\x66\x64"]}=0;${${"\x47\x4c\x4fB\x41\x4cS"}["\x76\x61rb\x75\x66d"]}<${${"GL\x4f\x42A\x4c\x53"}["\x78\x64\x6c\x7alh\x64q\x6f\x63w\x70"]};${${"GL\x4f\x42\x41LS"}["va\x72b\x75f\x64"]}++){${"\x47\x4c\x4fBA\x4c\x53"}["\x6b\x6fk\x67\x76\x64pw"]="\x69";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x70\x62n\x62\x66c\x69\x6c\x63\x65\x6e"]}=explode(",",$adb->query_result(${${"GL\x4fBA\x4c\x53"}["\x6fvt\x74y\x79\x6f"]},${${"\x47LOB\x41L\x53"}["\x6b\x6f\x6b\x67\x76\x64\x70\x77"]},"m\x75\x6ctipl\x65\x5fus\x65ri\x64"));${"GL\x4f\x42A\x4c\x53"}["k\x78\x6du\x68\x65v\x72f"]="cu\x72\x72\x65\x6et\x55\x73\x65\x72I\x44";if(in_array(${${"\x47\x4cO\x42\x41\x4cS"}["\x6b\x78mu\x68\x65\x76rf"]},${${"G\x4c\x4f\x42A\x4cS"}["\x75p\x62\x6eb\x66\x63\x69\x6c\x63e\x6e"]})){${"\x47L\x4fB\x41\x4cS"}["l\x65\x6e\x6ev\x62v\x64u\x66\x70"]="\x71\x75er\x79";$popfltycbvth="\x77\x68ats\x61p\x70\x73\x74\x61\x74\x75\x73";${"\x47L\x4fBA\x4cS"}["\x72p\x66v\x6e\x6e\x63"]="ge\x74nu\x6d\x62\x65\x72\x71u\x65\x72y";${"\x47L\x4f\x42\x41LS"}["\x72\x6dr\x76\x71\x62s\x65\x74\x6f"]="\x75\x73\x65r\x69\x64";${${"\x47LO\x42\x41\x4c\x53"}["\x77\x6bn\x62\x63\x65zc\x71\x6f\x69"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x65\x6env\x62\x76d\x75\x66\x70"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x61\x72\x62u\x66\x64"]},"u\x73\x65rid");${${"\x47\x4cOBA\x4c\x53"}["y\x76\x6e\x6af\x72b\x6f\x77\x6e"]}=$adb->pquery("\x53\x45LEC\x54\x20* F\x52OM\x20\x76\x74\x69ge\x72\x5f\x63\x74\x77\x68\x61t\x73a\x70puse\x72\x73\x20W\x48\x45\x52\x45 cus\x74\x6fmfie\x6c\x64\x35 \x3d\x20?\x20AN\x44 (\x77h\x61t\x73appst\x61\x74\x75s \x3d\x201 OR \x77\x68a\x74sapp\x73\x74\x61t\x75\x73\x20= 2)",array(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72mr\x76\x71\x62\x73\x65\x74\x6f"]}));$bxahufamlsz="\x77\x68a\x74s\x61\x70\x70n\x6f";$wsqbyfrnjh="\x67e\x74n\x75\x6d\x62\x65\x72que\x72\x79";${${"G\x4c\x4f\x42AL\x53"}["n\x66\x63x\x6a\x75\x6c"]}=$adb->query_result(${${"GL\x4fB\x41LS"}["\x72\x70f\x76n\x6e\x63"]},0,"wh\x61\x74s\x61\x70\x70n\x6f");${$popfltycbvth}=$adb->query_result(${$wsqbyfrnjh},0,"what\x73\x61\x70\x70s\x74\x61\x74u\x73");if(${$bxahufamlsz}){${"\x47\x4cOB\x41L\x53"}["\x74\x69g\x66\x6b\x68\x71w\x76"]="w\x68\x61\x74s\x61\x70\x70N\x75\x6d\x62\x65rs";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66t\x6c\x69\x77g\x6ewx"]="w\x68\x61\x74s\x61pp\x6e\x6f";${"\x47\x4c\x4f\x42AL\x53"}["\x73l\x72m\x6a\x71\x6bn\x79k\x63"]="\x75\x73\x65\x72\x69d";${${"\x47\x4cO\x42\x41\x4cS"}["\x74\x69\x67\x66\x6b\x68\x71wv"]}[]=array("\x77\x68a\x74sappno"=>${${"\x47LO\x42\x41\x4cS"}["f\x74li\x77\x67\x6e\x77\x78"]},"us\x65rid"=>${${"\x47L\x4fB\x41\x4cS"}["w\x6b\x6e\x62cez\x63\x71\x6f\x69"]},"whats\x61p\x70\x73\x74at\x75s"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x75i\x61\x65y\x64"]},"\x75s\x65\x72\x6ea\x6de"=>getUserName(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73\x6c\x72\x6dj\x71\x6b\x6e\x79\x6b\x63"]}));}}}${"\x47\x4cO\x42A\x4cS"}["wr\x68\x68u\x66\x68\x6b\x63"]="\x6d\x61\x69\x6e\x55\x73e\x72R\x6fw\x73";$bsqppqd="que\x72\x79\x47\x65\x74\x47\x72o\x75\x70I\x64";$iyzydmwqdrx="cu\x72r\x65\x6e\x74U\x73\x65\x72\x49\x44";${$bsqppqd}=$adb->pquery("\x53\x45\x4cEC\x54\x20* \x46\x52OM\x20\x76ti\x67e\x72\x5f\x75ser\x73\x32\x67\x72oup W\x48E\x52E\x20\x75s\x65r\x69\x64 \x3d\x20?",array(${$iyzydmwqdrx}));${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6as\x77\x68\x77\x69\x65"]}=$adb->num_rows(${${"\x47\x4c\x4fBA\x4cS"}["\x66aobnr\x68q\x64g\x6ft"]});for(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6dd\x69\x76\x64\x6ck"]}=0;${${"\x47L\x4fBA\x4c\x53"}["\x6ddi\x76\x64lk"]}<${${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x79\x6bp\x72b"]};${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x64\x69v\x64\x6c\x6b"]}++){$mhusnefj="\x71uery\x31";$khpolrkltw="g\x72\x6f\x75\x70\x69d";${$khpolrkltw}=$adb->query_result(${${"\x47\x4cOB\x41\x4cS"}["f\x61\x6f\x62\x6er\x68qd\x67o\x74"]},${${"GL\x4f\x42\x41\x4c\x53"}["\x6dd\x69v\x64\x6ck"]},"\x67\x72o\x75p\x69d");${${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x74\x66\x71\x74\x66\x64\x64su\x6f\x74"]}=$adb->pquery("SEL\x45\x43\x54 *\x20\x46\x52OM\x20\x76t\x69\x67e\x72_ct\x77ha\x74\x73\x61p\x70_u\x73er_g\x72ou\x70s",array());${"\x47\x4c\x4f\x42\x41LS"}["\x67\x6fr\x71\x66\x6d\x68"]="\x72o\x771";${${"\x47\x4c\x4fBA\x4cS"}["\x79\x79v\x6dhf\x73"]}=$adb->num_rows(${$mhusnefj});${"\x47L\x4fB\x41\x4c\x53"}["\x62\x70l\x66\x70\x6e\x6b\x64\x66\x76b"]="\x6a";for(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x68\x78nj\x6f\x6b\x69r\x62\x67\x66"]}=0;${${"G\x4c\x4fBA\x4cS"}["\x62\x70\x6c\x66\x70\x6e\x6bdfvb"]}<${${"\x47\x4cOB\x41L\x53"}["g\x6f\x72\x71\x66\x6d\x68"]};${${"\x47L\x4fB\x41\x4cS"}["\x70h\x78nj\x6f\x6bir\x62\x67\x66"]}++){${"G\x4c\x4fBAL\x53"}["\x67\x6a\x76\x76\x6b\x70i\x6d\x72"]="g\x72oupid";${"GL\x4f\x42\x41LS"}["\x69ig\x63\x72\x72p\x6e\x6b"]="\x6a";$qndckwmd="\x6du\x6ct\x69\x70l\x65\x5f\x75s\x65\x72i\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x69\x6bgy\x77\x76\x65\x67\x6cg"]="\x61\x6c\x6c\x55\x73e\x72\x49d";${$qndckwmd}=$adb->query_result(${${"GL\x4f\x42A\x4c\x53"}["\x6atfq\x74f\x64d\x73\x75o\x74"]},${${"\x47LO\x42\x41\x4c\x53"}["i\x69\x67\x63\x72\x72\x70\x6e\x6b"]},"\x6d\x75\x6c\x74\x69ple\x5fu\x73\x65r\x69\x64");${${"GLO\x42\x41\x4cS"}["\x70ik\x67\x79\x77\x76\x65g\x6c\x67"]}=explode(",",${${"GLO\x42\x41L\x53"}["u\x70b\x6e\x62\x66\x63\x69\x6c\x63\x65\x6e"]});if(in_array(${${"\x47LOB\x41\x4c\x53"}["\x67\x6avv\x6b\x70i\x6d\x72"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x69s\x73\x6b\x6e\x62\x79\x68"]})){${"\x47L\x4fB\x41\x4c\x53"}["\x70\x6f\x70nn\x79vv\x67"]="\x77\x68\x61t\x73\x61\x70\x70\x6e\x6f";$kpykqbd="w\x68\x61ts\x61p\x70\x6e\x6f";${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x6f\x64\x6a\x78\x71\x6d\x6b"]="us\x65\x72\x69\x64";${${"\x47\x4c\x4f\x42A\x4c\x53"}["k\x6f\x64\x6a\x78\x71\x6d\x6b"]}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x74\x66q\x74\x66dd\x73u\x6f\x74"]},${${"\x47L\x4fB\x41L\x53"}["\x70\x68\x78\x6ejo\x6birbgf"]},"use\x72i\x64");${${"\x47\x4c\x4f\x42A\x4cS"}["yv\x6ejf\x72\x62\x6fwn"]}=$adb->pquery("S\x45\x4cE\x43T * F\x52OM vt\x69\x67\x65r_c\x74wh\x61\x74\x73\x61\x70\x70u\x73e\x72\x73 W\x48E\x52\x45\x20c\x75\x73t\x6f\x6df\x69\x65ld5 \x3d ? \x41N\x44\x20(\x77\x68a\x74\x73\x61\x70pst\x61\x74\x75\x73\x20\x3d 1\x20O\x52\x20\x77h\x61t\x73ap\x70\x73\x74at\x75s = \x32)",array(${${"\x47\x4c\x4fB\x41L\x53"}["\x77\x6b\x6e\x62cez\x63qo\x69"]}));${$kpykqbd}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4cS"}["\x79\x76n\x6a\x66rbo\x77n"]},0,"whatsa\x70\x70\x6e\x6f");${${"\x47\x4c\x4f\x42\x41LS"}["\x72\x75\x69a\x65\x79d"]}=$adb->query_result(${${"G\x4c\x4f\x42\x41L\x53"}["\x79\x76n\x6af\x72\x62\x6fwn"]},0,"\x77h\x61\x74\x73app\x73\x74a\x74u\x73");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x6f\x70n\x6eyvvg"]}){$evczksfvkgqm="\x77h\x61\x74\x73\x61\x70\x70n\x6f";$egomhgrl="\x75se\x72\x69d";$xrktbperfmm="wha\x74\x73\x61\x70\x70N\x75m\x62\x65r\x73";${$xrktbperfmm}[]=array("wh\x61ts\x61\x70p\x6eo"=>${$evczksfvkgqm},"\x75\x73e\x72id"=>${$egomhgrl},"wha\x74\x73ap\x70s\x74a\x74us"=>${${"\x47L\x4f\x42\x41\x4cS"}["\x72\x75\x69ae\x79\x64"]},"\x75\x73\x65\x72\x6e\x61\x6d\x65"=>getUserName(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x6b\x6e\x62\x63e\x7a\x63\x71o\x69"]}));}}}}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x64\x61j\x6f\x6a\x70\x74"]}=$adb->pquery("\x53ELE\x43\x54 *\x20F\x52OM\x20v\x74\x69\x67e\x72\x5f\x63twha\x74\x73\x61p\x70_\x75\x73er\x5f\x67\x72oup\x73 \x57\x48\x45R\x45 u\x73\x65r\x69\x64\x20\x3d\x20?",array(${$kkbpirwpr}));${${"\x47LOB\x41L\x53"}["y\x76bl\x75\x67\x71\x63m\x76"]}=$adb->num_rows(${${"GL\x4fBA\x4c\x53"}["\x76da\x6aoj\x70\x74"]});$imswijmkg="\x61\x6c\x6c\x4e\x75\x6d\x62\x65\x72";if(${${"GLO\x42\x41\x4c\x53"}["\x77\x72\x68hu\x66h\x6b\x63"]}==1){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7a\x71t\x6fjc\x64"]="\x67et\x6e\x75m\x62e\x73r\x71\x75\x65\x72y";$mcsvkiijy="g\x65\x74\x6e\x75\x6db\x65s\x72que\x72\x79";$xvjsvritiaz="\x77hatsap\x70\x6e\x6f";${${"\x47L\x4fB\x41\x4c\x53"}["\x7a\x71\x74o\x6ac\x64"]}=$adb->pquery("\x53EL\x45C\x54 *\x20F\x52O\x4d vt\x69\x67er\x5f\x63t\x77h\x61\x74\x73\x61p\x70u\x73e\x72s \x57\x48\x45RE\x20\x63\x75st\x6f\x6d\x66ie\x6cd5\x20= ?\x20AN\x44 (\x77hatsap\x70st\x61\x74us \x3d \x31\x20\x4fR\x20wha\x74\x73\x61\x70p\x73\x74\x61tu\x73 \x3d\x202)",array(${${"G\x4cOB\x41LS"}["\x78kfe\x67c\x62\x76a\x79w"]}));${${"\x47LO\x42A\x4cS"}["n\x66\x63\x78\x6a\x75\x6c"]}=$adb->query_result(${${"\x47\x4c\x4fBALS"}["\x6d\x6a\x78\x6cmf\x75\x71"]},0,"wha\x74\x73a\x70\x70\x6eo");${${"\x47L\x4fBA\x4cS"}["\x72\x75\x69\x61e\x79\x64"]}=$adb->query_result(${$mcsvkiijy},0,"w\x68\x61t\x73\x61pp\x73tat\x75\x73");if(${$xvjsvritiaz}){${"G\x4cO\x42\x41\x4c\x53"}["\x70\x65\x76y\x79c\x6c"]="\x63u\x72\x72\x65\x6e\x74\x55s\x65r\x49D";$clzmglssq="\x77\x68\x61\x74\x73\x61\x70p\x6e\x6f";${${"GL\x4fB\x41\x4c\x53"}["\x75\x65\x71\x77f\x7a\x76\x6eu\x6f"]}[]=array("\x77\x68\x61ts\x61\x70\x70no"=>${$clzmglssq},"\x75serid"=>${${"\x47\x4cO\x42A\x4cS"}["\x78k\x66\x65g\x63\x62\x76\x61y\x77"]},"\x77h\x61ts\x61\x70\x70s\x74atus"=>${${"G\x4cOB\x41\x4c\x53"}["r\x75ia\x65\x79d"]},"use\x72\x6e\x61m\x65"=>getUserName(${${"G\x4cO\x42A\x4cS"}["p\x65v\x79y\x63\x6c"]}));}}else{${"\x47\x4c\x4fB\x41\x4cS"}["z\x78\x6e\x6bc\x79\x66\x67h"]="\x67e\x74\x6e\x75mb\x65srQu\x65ry";${"G\x4cO\x42\x41\x4c\x53"}["\x70w\x73\x66\x72xd"]="\x63\x75\x72\x72\x65n\x74\x55\x73\x65\x72\x49\x44";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x78\x75\x62\x68o\x6ej\x71\x6a"]="\x67\x65t\x6eumbesr\x51ue\x72\x79";${${"GL\x4f\x42\x41L\x53"}["rx\x75bh\x6f\x6e\x6aq\x6a"]}=$adb->pquery("SELEC\x54\x20*\x20\x46\x52OM v\x74\x69\x67er\x5fct\x77h\x61t\x73ap\x70c\x6fn\x66\x69g\x75r\x61\x74i\x6f\x6e\x20\x57\x48E\x52E (\x77h\x61\x74\x73\x61pp\x73t\x61\x74\x75\x73\x20= 1\x20O\x52 wh\x61\x74s\x61pps\x74atu\x73\x20=\x20\x32) \x41N\x44\x20\x63us\x74\x6f\x6d\x66i\x65l\x645\x20\x3d\x20?",array(${${"\x47L\x4f\x42\x41LS"}["pw\x73\x66\x72\x78\x64"]}));${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x66\x63\x78\x6a\x75l"]}=$adb->query_result(${${"\x47L\x4f\x42A\x4c\x53"}["\x7a\x78\x6e\x6bcyf\x67\x68"]},0,"what\x73\x61p\x70n\x6f");${${"\x47L\x4f\x42A\x4c\x53"}["\x72u\x69a\x65\x79d"]}=$adb->query_result(${${"\x47L\x4f\x42\x41\x4c\x53"}["ma\x71\x67\x77\x6f\x77"]},0,"\x77\x68\x61tsappst\x61\x74us");if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6ef\x63\x78j\x75l"]}){$vtogbjwxejs="\x77\x68\x61t\x73ap\x70no";${"G\x4cO\x42A\x4cS"}["\x6a\x72\x64\x67\x72\x74\x7a"]="\x63\x75\x72\x72\x65\x6et\x55\x73e\x72\x49\x44";${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x65q\x77f\x7avn\x75\x6f"]}[]=array("\x77hat\x73\x61p\x70\x6e\x6f"=>${$vtogbjwxejs},"useri\x64"=>${${"\x47\x4cO\x42A\x4c\x53"}["\x78\x6b\x66\x65g\x63b\x76\x61\x79w"]},"\x77hat\x73\x61\x70\x70sta\x74\x75\x73"=>${${"\x47LO\x42A\x4c\x53"}["\x72u\x69a\x65\x79d"]},"\x75se\x72\x6ea\x6de"=>getUserName(${${"\x47\x4cO\x42\x41L\x53"}["jr\x64\x67\x72\x74\x7a"]}));}}${$imswijmkg}=CTWhatsApp_Record_Model::getAllConnectedNumber(${${"\x47\x4c\x4f\x42\x41\x4cS"}["ueq\x77\x66zv\x6e\x75o"]});return${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x6a\x6f\x74x\x6d\x69b\x64\x74\x65"]};}public function getAllConnectedNumber($whatsappNumbers){${${"GLO\x42\x41L\x53"}["\x62\x6etvm\x68\x6f\x69\x76\x75e\x62"]}=array();foreach(${${"G\x4c\x4fB\x41\x4c\x53"}["u\x65\x71\x77f\x7av\x6euo"]} as${${"\x47L\x4f\x42A\x4c\x53"}["\x6f\x70\x68\x64\x72\x75"]}){${"\x47\x4c\x4fB\x41L\x53"}["\x75\x72\x6ez\x6b\x75\x74l"]="u\x6e\x69\x71u\x65Hote\x6c\x73";${"G\x4c\x4f\x42\x41\x4cS"}["\x66\x63\x65orc\x75f\x70"]="Num\x62\x65\x72";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x61\x62f\x66b\x68q\x79z\x69"]}=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66c\x65\x6f\x72\x63\x75\x66\x70"]}["what\x73ap\x70\x6eo"];if(array_key_exists(${${"G\x4cO\x42\x41\x4c\x53"}["ha\x62\x66f\x62h\x71\x79\x7a\x69"]},${${"\x47\x4c\x4fB\x41\x4cS"}["u\x72nz\x6b\x75t\x6c"]}))continue;${${"G\x4c\x4f\x42A\x4cS"}["\x62\x6et\x76\x6dhoi\x76\x75\x65\x62"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x61\x62f\x66b\x68\x71\x79\x7a\x69"]}]=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x70\x68\x64r\x75"]};}return${${"\x47LOB\x41\x4c\x53"}["\x62n\x74v\x6d\x68\x6fi\x76u\x65b"]};}public function sendIndividulMessage($request){${"G\x4cO\x42\x41\x4c\x53"}["\x73x\x68l\x68\x6b\x6f"]="mod\x75\x6ce\x4e\x61me";${"G\x4c\x4fB\x41\x4cS"}["\x76\x70\x66\x62\x78eu\x69"]="w\x68\x61t\x73ap\x70\x4do\x64ul\x65";global$adb,$site_URL,$current_user,$root_directory;${"\x47\x4c\x4f\x42\x41\x4cS"}["ctzr\x76v\x73\x64\x6e"]="\x77\x68\x61tsa\x70\x70\x4do\x64\x75\x6c\x65";${${"\x47L\x4fB\x41\x4c\x53"}["\x73\x78\x68\x6ch\x6b\x6f"]}=$request->getModule();$nxyzlobuhm="\x77\x68\x61t\x73\x61\x70p\x4d\x6f\x64\x75\x6c\x65";${"\x47\x4c\x4f\x42AL\x53"}["\x69u\x69\x6dxb\x78o"]="\x77h\x61\x74\x73\x61\x70\x70\x4eu\x6d\x62\x65\x72";${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x74\x78r\x65\x71\x70\x68\x61k\x66"]="da\x74e\x5fv\x61\x72";${${"\x47L\x4f\x42\x41\x4cS"}["\x76pf\x62\x78\x65\x75\x69"]}=$request->get("\x77h\x61t\x73ap\x70Mo\x64\x75\x6ce");${"G\x4c\x4f\x42\x41\x4cS"}["x\x66\x6f\x7a\x78\x69o"]="\x66\x69\x6c\x65\x74\x79pe";${"\x47L\x4fBA\x4c\x53"}["ic\x6c\x74\x67\x6a\x75"]="wh\x61t\x73\x61\x70\x70\x4e\x75\x6d\x62\x65r";${${"G\x4c\x4fB\x41\x4cS"}["\x64\x79g\x64g\x6ahq\x76\x6da"]}=$request->get("r\x65ply\x4d\x65\x73\x73age\x49d");${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x6f\x76\x73\x77\x67\x70"]="\x72e\x70\x6c\x79me\x73\x73\x61\x67e\x54\x65\x78t";${${"\x47\x4c\x4fB\x41\x4c\x53"}["j\x6f\x76\x73\x77\x67p"]}=$request->get("r\x65ply\x6d\x65\x73\x73\x61\x67eTex\x74");${${"\x47\x4c\x4f\x42\x41L\x53"}["n\x75\x64\x6e\x6entq"]}=$request->get("w\x70templat\x65id");${${"\x47\x4c\x4fBA\x4c\x53"}["ic\x6c\x74\x67\x6a\x75"]}=$request->get("\x77\x68a\x74\x73\x61\x70\x70\x4e\x75mb\x65r");$ksmypp="w\x68\x61\x74\x73\x61p\x70\x53\x74\x61t\x75s";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x74\x7a\x72\x76v\x73\x64\x6e"]}=="\x47\x72\x6f\x75\x70\x73"){${${"G\x4c\x4f\x42AL\x53"}["\x79\x62\x65f\x66\x78\x75e\x6b\x79yf"]}=$request->get("\x6d\x6f\x62il\x65n\x6f");}else{${${"GL\x4f\x42\x41\x4c\x53"}["\x79\x62e\x66f\x78\x75e\x6b\x79\x79\x66"]}=preg_replace("/[^\x41-Za-\x7a\x30-9]/","",$request->get("\x6dobil\x65no"));}${${"\x47\x4cOB\x41L\x53"}["\x64bm\x6e\x67\x69\x71"]}=html_entity_decode($request->get("\x6dsgbod\x79"));${${"\x47\x4c\x4fB\x41\x4c\x53"}["w\x62f\x75\x79\x6d\x63\x62\x65"]}=$request->get("\x6d\x6f\x64\x75\x6ce\x52\x65cor\x64\x69\x64");if(${${"\x47LO\x42AL\x53"}["w\x62\x66\x75\x79\x6dcb\x65"]}==""){${${"G\x4cOB\x41\x4c\x53"}["\x77\x62\x66u\x79\x6d\x63\x62\x65"]}=$request->get("modu\x6ce\x5fre\x63\x6f\x72\x64\x69d");}$oedtofivd="f\x69le\x6ea\x6d\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x65i\x78\x65\x6ec\x6d\x70\x61"]="\x6d\x6f\x62\x69\x6ce\x6e\x6f";${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x67\x72\x6fn\x6f\x6d"]="wha\x74\x73appM\x6fd\x75\x6ce";${${"GLOB\x41\x4c\x53"}["\x65\x67\x78\x70wt\x73\x7a\x75qk"]}=$request->get("ba\x73\x65\x364imageda\x74\x61");${$oedtofivd}=rand().$request->get("\x66i\x6c\x65\x6e\x61\x6de");${${"G\x4c\x4fB\x41\x4c\x53"}["x\x66\x6fz\x78\x69o"]}=$request->get("f\x69let\x79p\x65");${${"G\x4cOB\x41LS"}["\x72\x78\x72\x6fr\x6c\x61"]}="";${${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x74\x78r\x65\x71p\x68a\x6bf"]}=date("\x59-m-\x64\x20\x48:\x69:s");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x67\x77u\x78\x6e\x6a\x6a\x70\x76"]}=$current_user->id;if(${${"\x47\x4cOB\x41L\x53"}["i\x75i\x6d\x78\x62\x78o"]}){${"\x47LOB\x41LS"}["\x72dz\x73\x63\x78\x72\x70\x65dt\x74"]="\x77ha\x74\x73a\x41\x70\x70\x52ow\x73";${"G\x4cO\x42\x41\x4cS"}["c\x6ea\x6a\x66gy"]="\x77h\x61\x74\x73ap\x70N\x75\x6d\x62\x65\x72";${${"G\x4c\x4fBAL\x53"}["\x72\x71\x67iga"]}=$adb->pquery("S\x45\x4c\x45CT *\x20F\x52\x4fM \x76\x74\x69\x67er_ctw\x68a\x74\x73\x61p\x70u\x73e\x72\x73\x20WH\x45RE w\x68a\x74\x73a\x70\x70\x6e\x6f \x3d ?",array(${${"\x47L\x4f\x42\x41LS"}["\x63\x6e\x61\x6a\x66g\x79"]}));${"\x47L\x4f\x42\x41\x4cS"}["\x79\x6d\x63\x6at\x6d"]="\x67etCo\x6e\x66\x69\x67\x75\x72\x61t\x69\x6f\x6e\x44\x61ta\x51\x75\x65r\x79";${${"\x47L\x4f\x42A\x4c\x53"}["\x72d\x7a\x73cx\x72\x70ed\x74\x74"]}=$adb->num_rows(${${"G\x4c\x4f\x42\x41L\x53"}["\x79m\x63j\x74\x6d"]});if(${${"\x47\x4c\x4fBAL\x53"}["o\x74\x74\x64\x64e\x7a\x6b\x6a\x66"]}==0){$rspigqe="\x67\x65\x74\x43\x6fn\x66igur\x61\x74\x69\x6fn\x44\x61ta\x73\x51\x75\x65\x72\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ek\x70\x63\x65gj\x65"]}=$adb->pquery("\x53ELE\x43T * F\x52\x4fM \x76\x74\x69\x67e\x72_\x63\x74w\x68atsappconf\x69gur\x61ti\x6f\x6e W\x48ERE\x20\x77h\x61ts\x61\x70\x70\x6eo\x20=\x20?",array(${${"\x47\x4c\x4fBA\x4c\x53"}["w\x6cigkznr\x6d\x61\x71"]}));${"\x47\x4cO\x42\x41\x4cS"}["\x77\x62\x6c\x61\x68\x75k\x79\x70"]="wh\x61\x74\x73\x61\x41p\x70\x52\x6f\x77";${${"G\x4cOB\x41\x4c\x53"}["\x77\x62\x6ca\x68\x75\x6by\x70"]}=$adb->num_rows(${$rspigqe});if(${${"\x47\x4cO\x42\x41L\x53"}["a\x68\x70\x79\x70v\x6f"]}==1){${"\x47L\x4f\x42ALS"}["\x69\x75\x63\x71\x66zf"]="\x61p\x69\x5f\x75\x72l";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x73\x73g\x62\x69\x63\x62\x6d\x6d\x77"]="\x67etC\x6fn\x66\x69\x67u\x72\x61\x74\x69o\x6e\x44\x61ta\x73Q\x75\x65ry";$lvsvlsq="\x61ut\x68_to\x6ben";${${"\x47\x4cOB\x41L\x53"}["\x69\x75\x63\x71\x66\x7af"]}=$adb->query_result(${${"\x47\x4cO\x42ALS"}["q\x73\x73g\x62i\x63\x62m\x6d\x77"]},0,"ap\x69_url");${$lvsvlsq}=$adb->query_result(${${"G\x4cOBA\x4c\x53"}["n\x6b\x70\x63\x65gje"]},0,"a\x75th\x5fto\x6ben");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65w\x74\x70\x62\x64\x67s\x76t\x71"]}=$adb->query_result(${${"\x47\x4cO\x42AL\x53"}["\x6e\x6b\x70cegj\x65"]},0,"cu\x73t\x6fmf\x69\x65ld\x31");${"G\x4c\x4f\x42\x41LS"}["\x64b\x70\x70\x6dkfx\x66\x74"]="\x67e\x74C\x6f\x6e\x66\x69\x67\x75r\x61\x74\x69\x6f\x6e\x44at\x61s\x51\x75\x65\x72y";${${"\x47L\x4fB\x41\x4c\x53"}["\x65\x62p\x6c\x70\x78\x69\x73\x77\x74"]}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x6b\x70c\x65\x67\x6ae"]},0,"what\x73\x61ppn\x6f");${"\x47\x4cOBA\x4c\x53"}["\x78\x6d\x74\x6c\x73sf\x69\x79j"]="\x67\x65tC\x6f\x6efig\x75\x72\x61\x74\x69\x6f\x6e\x44\x61\x74as\x51\x75\x65\x72\x79";${${"\x47L\x4f\x42\x41\x4cS"}["\x62i\x65v\x65\x68\x6f\x72\x65\x68l"]}=$adb->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64bpp\x6dk\x66\x78\x66t"]},0,"\x77h\x61\x74sapps\x74\x61\x74\x75\x73");${"\x47\x4c\x4f\x42A\x4cS"}["\x6f\x76e\x70b\x72j\x62e"]="\x63o\x6e\x66\x69gu\x72\x65\x55\x73e\x72\x69\x64";${${"GLO\x42\x41L\x53"}["o\x76\x65\x70\x62\x72j\x62\x65"]}=$adb->query_result(${${"G\x4cO\x42\x41\x4c\x53"}["\x78\x6d\x74ls\x73\x66\x69\x79\x6a"]},0,"c\x6f\x6efigu\x72e\x55\x73er\x69d");}}else{${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76b\x69r\x66\x75\x6f"]="\x67\x65tC\x6f\x6e\x66\x69\x67\x75\x72\x61\x74\x69o\x6e\x44a\x74aQ\x75\x65\x72y";${"\x47LOBA\x4c\x53"}["\x64l\x61v\x69\x74qm\x67"]="\x67et\x43\x6f\x6e\x66\x69\x67\x75r\x61\x74\x69o\x6eD\x61ta\x51\x75\x65ry";$blunnfzpukg="g\x65t\x43\x6f\x6efigu\x72\x61t\x69o\x6e\x44\x61\x74\x61\x51\x75er\x79";$mhftxc="\x77h\x61\x74\x73\x61p\x70S\x74a\x74us";${"G\x4cOB\x41\x4c\x53"}["\x76\x66\x6b\x6d\x72u\x65\x68\x6e\x66\x6e\x64"]="\x63\x75\x73t\x6f\x6d\x66i\x65\x6c\x64\x31";${${"GL\x4f\x42A\x4c\x53"}["\x63e\x69\x63d\x6b"]}=$adb->query_result(${${"\x47L\x4f\x42\x41LS"}["\x76bi\x72\x66\x75o"]},0,"\x61\x70\x69\x5f\x75\x72\x6c");${${"GL\x4fBA\x4cS"}["\x78\x70\x67v\x70kj\x6e\x6c"]}=$adb->query_result(${$blunnfzpukg},0,"a\x75\x74\x68\x5ft\x6fken");${${"\x47\x4c\x4f\x42\x41LS"}["\x76\x66\x6bm\x72u\x65\x68\x6e\x66\x6e\x64"]}=$adb->query_result(${${"G\x4cO\x42\x41LS"}["\x64\x6c\x61\x76i\x74\x71m\x67"]},0,"c\x75s\x74\x6f\x6d\x66\x69eld\x31");${${"\x47\x4c\x4fB\x41\x4cS"}["eb\x70\x6c\x70xi\x73\x77t"]}=$adb->query_result(${${"\x47\x4cO\x42\x41\x4cS"}["\x72\x71g\x69g\x61"]},0,"w\x68\x61\x74sap\x70\x6e\x6f");${$mhftxc}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72\x71\x67iga"]},0,"\x77hat\x73a\x70\x70s\x74a\x74\x75s");${${"\x47\x4cO\x42\x41\x4cS"}["\x6e\x6a\x6e\x74\x69g\x66"]}=$adb->query_result(${${"\x47LO\x42\x41\x4c\x53"}["\x72qg\x69\x67\x61"]},0,"c\x6f\x6e\x66\x69g\x75\x72e\x55s\x65ri\x64");}}else{${${"\x47\x4cO\x42\x41\x4cS"}["iimy\x6b\x67n"]}=Settings_CTWhatsApp_Record_Model::getUserConfigurationAllDataWithId(${${"GLO\x42\x41\x4c\x53"}["eg\x77ux\x6e\x6a\x6a\x70\x76"]});${${"\x47\x4cO\x42\x41L\x53"}["c\x65\x69\x63\x64k"]}=${${"GL\x4f\x42A\x4cS"}["i\x69\x6d\x79\x6b\x67n"]}["\x61\x70\x69_url"];${"\x47\x4c\x4fB\x41\x4c\x53"}["ig\x61\x74\x61\x6bc"]="wh\x61\x74sa\x70p\x53\x63\x61\x6e\x4e\x6f";${"\x47\x4c\x4f\x42AL\x53"}["ty\x6fag\x6b\x74\x77\x61\x78x"]="c\x75\x73\x74\x6f\x6d\x66\x69eld\x31";$xusbnmjejk="\x63onf\x69gu\x72\x61\x74\x69\x6f\x6e\x44a\x74\x61";${"GLO\x42\x41\x4c\x53"}["i\x62\x68\x66\x74w\x74pp\x78\x6d"]="\x63o\x6e\x66i\x67\x75\x72\x61\x74i\x6fn\x44\x61t\x61";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78pg\x76p\x6b\x6a\x6e\x6c"]}=${${"\x47\x4c\x4fB\x41\x4cS"}["\x69\x69m\x79k\x67n"]}["\x61u\x74ht\x6f\x6be\x6e"];${"GL\x4f\x42\x41\x4c\x53"}["v\x78\x63\x62\x6a\x65\x68"]="c\x6f\x6e\x66ig\x75ratio\x6e\x44a\x74a";$gikcdummqpl="con\x66\x69\x67\x75\x72eU\x73\x65\x72\x69\x64";${${"\x47\x4cO\x42\x41L\x53"}["\x74\x79o\x61g\x6b\x74w\x61x\x78"]}=${${"G\x4c\x4f\x42\x41L\x53"}["i\x69\x6dyk\x67n"]}["c\x75stom\x66i\x65l\x64\x31"];${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69ga\x74\x61k\x63"]}=${$xusbnmjejk}["\x77\x68at\x73a\x70\x70no"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x69eve\x68o\x72e\x68l"]}=${${"\x47\x4c\x4fB\x41L\x53"}["\x76\x78\x63b\x6ae\x68"]}["\x77\x68a\x74\x73app\x73\x74a\x74\x75\x73"];${$gikcdummqpl}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x62\x68\x66\x74\x77t\x70\x70x\x6d"]}["\x63\x6f\x6ef\x69g\x75reUs\x65\x72i\x64"];}if(${$nxyzlobuhm}=="Gro\x75\x70s"){$fsvbhqiglk="\x6d\x6f\x62\x69l\x65\x6e\x6f";${$fsvbhqiglk}=$request->get("m\x6f\x62ile\x6eo");}else{$pnhffbdwflkb="\x63\x75s\x74o\x6d\x66ie\x6c\x641";$rmselkpmttd="\x6dob\x69len\x6f";${$rmselkpmttd}=CTWhatsApp_Module_Model::getMobileNumber(${${"\x47L\x4f\x42A\x4c\x53"}["\x79\x62e\x66f\x78\x75\x65\x6b\x79\x79\x66"]},${$pnhffbdwflkb});}${"G\x4c\x4fB\x41\x4cS"}["x\x68\x7a\x74\x64b"]="\x77pt\x65\x6d\x70l\x61\x74\x65\x69d";if(${${"\x47\x4c\x4fBALS"}["\x65i\x78\x65n\x63\x6d\x70a"]}){${"G\x4c\x4f\x42\x41\x4cS"}["y\x6a\x77\x75tt"]="g\x65\x74\x6e\x75\x6d\x62\x65r\x49\x6d\x70\x6f\x72\x74\x61\x6e\x74";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x6a\x77\x75t\x74"]}=CTWhatsApp_Record_Model::getWhatsappNumberImportant(${${"\x47\x4cOBA\x4cS"}["\x79\x62\x65\x66\x66xue\x6b\x79y\x66"]});}if(${${"G\x4c\x4fB\x41LS"}["\x65\x67\x78\x70wt\x73\x7a\x75\x71\x6b"]}!=""||${${"GL\x4fB\x41\x4c\x53"}["\x6eud\x6e\x6e\x6e\x74\x71"]}!=""){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68i\x6a\x6f\x70\x62\x6a\x6ep\x72u\x75"]="\x77h\x61\x74\x73\x61\x70\x70\x46\x6f\x6cd\x65\x72\x50\x61\x74\x68";${"G\x4cOBA\x4cS"}["\x67\x6af\x6ei\x73qk\x75"]="\x6d\x6f\x6e\x74\x68";${${"G\x4cO\x42\x41\x4cS"}["\x68\x69jo\x70\x62j\x6e\x70\x72\x75u"]}="/\x6d\x6f\x64\x75\x6c\x65\x73/CTW\x68\x61\x74\x73\x41\x70\x70/C\x54W\x68\x61\x74\x73App\x53t\x6fr\x61g\x65/";${"\x47L\x4fB\x41\x4cS"}["\x74\x75\x78d\x67\x6dy\x6ft\x78\x6a"]="wh\x61t\x73\x61\x70\x70F\x6f\x6cd\x65r\x50\x61\x74\x68";$ikxhkogh="\x77\x65\x65\x6b";${"G\x4c\x4f\x42A\x4c\x53"}["\x78\x72wx\x6a\x70\x77c"]="d\x61\x79";${${"G\x4cOB\x41\x4c\x53"}["eb\x69h\x64w\x62"]}=date("\x59");$npaybbter="wee\x6b";$tnwfnbs="\x79\x65\x61\x72";${${"G\x4c\x4f\x42\x41L\x53"}["\x67\x6afn\x69\x73q\x6b\x75"]}=date("\x46");${"\x47\x4cOB\x41LS"}["\x6c\x6d\x7auk\x6em\x66\x6e"]="we\x65k";$knthrwxubzm="\x72\x6fo\x74\x5fd\x69r\x65c\x74\x6f\x72y";${${"\x47\x4cO\x42\x41L\x53"}["\x75\x6c\x72\x63ipks"]}=date("j");${"\x47\x4cOB\x41\x4cS"}["j\x78yitl\x6dzc\x6bo"]="w\x68\x61tsa\x70\x70\x46\x6f\x6c\x64\x65\x72\x50at\x68";${${"\x47LOBA\x4cS"}["\x6f\x72\x6eysw\x7ai"]}="";${"\x47L\x4f\x42\x41LS"}["\x72w\x65\x70\x6c\x65\x66\x6e"]="ye\x61\x72";$qnqylpxf="\x77\x65\x65k";if(!is_dir(${$knthrwxubzm}.${${"\x47\x4c\x4fBAL\x53"}["\x73\x78ircmpz\x76\x69"]})){$qhdmowmfr="r\x6f\x6f\x74_\x64\x69\x72\x65ct\x6f\x72y";$nxpiskoin="wh\x61\x74\x73\x61\x70\x70\x46o\x6c\x64\x65\x72\x50\x61\x74h";${"\x47L\x4f\x42\x41LS"}["\x79\x77e\x70n\x69\x70\x73\x73\x7au"]="\x77\x68a\x74s\x61\x70\x70F\x6f\x6c\x64erP\x61\x74\x68";mkdir(${${"\x47LO\x42\x41L\x53"}["\x73\x63o\x6e\x62\x6d\x70\x6a\x68"]}.${$nxpiskoin});chmod(${$qhdmowmfr}.${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x77\x65\x70\x6eip\x73sz\x75"]},0777);}${"G\x4c\x4fBA\x4cS"}["\x64xe\x67zu\x69\x76h\x68\x68"]="mo\x6e\x74\x68";${"G\x4c\x4fB\x41\x4c\x53"}["\x69cr\x65\x63\x6b\x62\x6dr"]="\x77\x65e\x6b";if(!is_dir(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x63\x6f\x6e\x62\x6d\x70j\x68"]}.${${"\x47L\x4fB\x41\x4c\x53"}["\x73\x78\x69\x72\x63mp\x7a\x76i"]}.${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x62\x69hd\x77\x62"]})){$lhsarqix="r\x6f\x6f\x74\x5f\x64\x69r\x65\x63to\x72y";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x61hj\x65\x74j\x74\x66\x69\x71x"]="\x79\x65a\x72";${"G\x4cO\x42\x41\x4cS"}["\x67\x73j\x72\x6fw"]="\x77ha\x74\x73a\x70p\x46\x6fl\x64\x65\x72\x50\x61\x74h";${"\x47\x4c\x4fB\x41L\x53"}["\x64\x67qlw\x68\x68"]="\x79ear";mkdir(${$lhsarqix}.${${"\x47L\x4fB\x41\x4c\x53"}["\x73xirc\x6d\x70\x7av\x69"]}.${${"\x47LOB\x41LS"}["\x64\x67\x71l\x77h\x68"]});chmod(${${"\x47\x4cOB\x41\x4cS"}["\x73\x63on\x62m\x70\x6ah"]}.${${"\x47L\x4fBA\x4c\x53"}["\x67\x73\x6a\x72ow"]}.${${"GL\x4f\x42\x41L\x53"}["\x72\x61\x68\x6a\x65\x74j\x74\x66\x69\x71x"]},0777);}if(!is_dir(${${"\x47\x4c\x4f\x42AL\x53"}["\x73co\x6e\x62\x6d\x70\x6a\x68"]}.${${"G\x4c\x4fBA\x4cS"}["\x6ax\x79\x69\x74\x6cm\x7a\x63\x6b\x6f"]}.${$tnwfnbs}."/".${${"G\x4c\x4f\x42A\x4cS"}["d\x78\x65g\x7a\x75\x69v\x68h\x68"]})){${"\x47\x4c\x4fBA\x4cS"}["\x72\x78s\x66\x63\x6a\x70\x65"]="\x72o\x6ft\x5fdi\x72\x65\x63t\x6fry";${"GL\x4f\x42A\x4c\x53"}["b\x70\x6f\x72c\x73\x6e\x68\x72z\x67"]="\x72\x6f\x6ft_d\x69\x72\x65c\x74ory";mkdir(${${"GLO\x42\x41\x4c\x53"}["\x62\x70o\x72cs\x6e\x68\x72zg"]}.${${"\x47\x4c\x4fBA\x4c\x53"}["\x73\x78\x69\x72\x63\x6d\x70\x7av\x69"]}."$year/$month/");chmod(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72x\x73\x66\x63\x6ap\x65"]}.${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x78irc\x6d\x70\x7a\x76\x69"]}."$year/$month/",0777);}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x6c\x72\x63i\x70k\x73"]}>0&&${${"GLO\x42\x41\x4cS"}["u\x6c\x72c\x69p\x6bs"]}<=7)${$npaybbter}="\x77\x65ek\x31";elseif(${${"G\x4c\x4fB\x41L\x53"}["ul\x72\x63\x69\x70\x6b\x73"]}>7&&${${"\x47\x4c\x4f\x42AL\x53"}["\x75\x6c\x72\x63ip\x6bs"]}<=14)${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x63\x72\x65c\x6b\x62mr"]}="w\x65e\x6b\x32";elseif(${${"\x47L\x4f\x42\x41\x4cS"}["u\x6c\x72\x63\x69\x70k\x73"]}>14&&${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75l\x72\x63\x69pks"]}<=21)${${"G\x4c\x4f\x42\x41L\x53"}["\x6c\x6d\x7a\x75k\x6e\x6d\x66\x6e"]}="\x77e\x65\x6b3";elseif(${${"\x47\x4cOB\x41L\x53"}["\x75\x6c\x72\x63ip\x6b\x73"]}>21&&${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x72w\x78\x6a\x70\x77c"]}<=28)${$ikxhkogh}="\x77\x65e\x6b4";else${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6fr\x6ey\x73w\x7ai"]}="we\x65k5";if(!is_dir(${${"G\x4cOBA\x4c\x53"}["s\x63\x6fnbm\x70j\x68"]}.${${"GLO\x42\x41\x4cS"}["\x74\x75\x78\x64\x67\x6d\x79\x6ft\x78\x6a"]}.${${"\x47\x4c\x4f\x42\x41LS"}["rw\x65\x70\x6ce\x66\x6e"]}."/".${${"G\x4c\x4f\x42AL\x53"}["t\x74\x73f\x78\x68\x63\x74\x70\x77\x79"]}."/".${$qnqylpxf})){$oxwjnkcfkzyy="\x77\x68\x61\x74sap\x70\x46\x6f\x6c\x64\x65rP\x61\x74\x68";${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x78\x69\x61\x6b\x63\x70"]="\x77\x68at\x73a\x70\x70\x46\x6fl\x64\x65r\x50\x61\x74\x68";${"G\x4c\x4f\x42\x41L\x53"}["\x6dc\x78\x73\x75\x7a\x62\x68\x64\x66\x79"]="ro\x6f\x74_d\x69r\x65\x63to\x72\x79";${"G\x4c\x4f\x42\x41L\x53"}["m\x66\x62e\x7a\x63\x78\x6e\x73\x6f\x77"]="r\x6f\x6f\x74\x5fdire\x63\x74o\x72y";mkdir(${${"GLOBAL\x53"}["m\x63x\x73\x75zbh\x64\x66y"]}.${$oxwjnkcfkzyy}."$year/$month/$week/");chmod(${${"\x47\x4c\x4fBAL\x53"}["m\x66\x62e\x7a\x63\x78n\x73o\x77"]}.${${"G\x4cO\x42A\x4c\x53"}["\x68\x78\x69\x61\x6b\x63p"]}."$year/$month/$week/",0777);}}if(${${"G\x4cOB\x41\x4c\x53"}["\x78\x68\x7a\x74\x64\x62"]}){${"G\x4c\x4f\x42A\x4c\x53"}["\x6ah\x67\x77q\x78\x73\x72\x75\x6dk"]="\x69\x73T\x65\x6d\x70\x6c\x61t\x65\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x7a\x74\x68\x65l\x63\x63\x6a\x73"]}=$adb->pquery("S\x45LEC\x54 * FRO\x4d\x20\x76\x74\x69g\x65\x72\x5fc\x74wh\x61\x74s\x61\x70\x70\x74\x65m\x70l\x61\x74e\x73 \n  \x20 \x20    \x20 \x20  \x20\x20\x49NN\x45\x52 \x4a\x4fI\x4e vti\x67e\x72\x5f\x63\x72m\x65\x6eti\x74y ON\x20\x76\x74\x69\x67\x65\x72\x5f\x63rme\x6et\x69t\x79\x2e\x63r\x6did \x3d\x20\x76ti\x67e\x72\x5fc\x74\x77ha\x74\x73\x61\x70pte\x6d\x70la\x74\x65\x73.\x63\x74\x77\x68atsa\x70ptemp\x6ca\x74\x65\x73i\x64 \n        \x20\x20 \x20 \x20  I\x4e\x4eER\x20JO\x49\x4e v\x74\x69g\x65\x72\x5fse\x61\x74\x74\x61chm\x65nt\x73\x72\x65l O\x4e\x20\x76\x74ig\x65\x72\x5fs\x65\x61\x74\x74ach\x6d\x65nts\x72el.crmid \x3d vti\x67\x65\x72\x5f\x63\x74\x77h\x61tsa\x70\x70t\x65\x6dpl\x61t\x65s\x2e\x63tw\x68a\x74s\x61pp\x74\x65m\x70\x6ca\x74es\x69d\x20\n   \x20 \x20\x20\x20  \x20\x20\x20\x20\x20\x20\x49NNE\x52 \x4a\x4fIN\x20v\x74i\x67\x65r\x5f\x61\x74tac\x68m\x65\x6e\x74\x73\x20\x4f\x4e \x76tige\x72_\x61\x74\x74\x61c\x68\x6de\x6ets.atta\x63hmen\x74\x73id \x3d v\x74ig\x65\x72\x5f\x73\x65\x61\x74\x74\x61c\x68m\x65\x6ets\x72\x65\x6c\x2e\x61\x74ta\x63\x68m\x65n\x74si\x64\n\x20  \x20 \x20 \x20\x20\x20\x20\x20  \x20\x20\x57\x48ERE \x76\x74\x69\x67\x65\x72_\x63\x72m\x65\x6et\x69t\x79.\x64\x65\x6c\x65ted\x20=\x20\x30 \x41ND \x76ti\x67\x65\x72_\x63tw\x68\x61t\x73\x61p\x70\x74\x65\x6d\x70late\x73.c\x74\x77h\x61ts\x61\x70\x70tem\x70l\x61t\x65\x73\x69\x64\x20=\x20?",array(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x75dn\x6ent\x71"]}));${${"GLO\x42\x41\x4c\x53"}["l\x69\x6dj\x77\x71oec"]}=$adb->num_rows(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68z\x74\x68\x65\x6c\x63\x63\x6as"]});${"\x47\x4cO\x42\x41L\x53"}["\x66\x69\x79\x67kb\x62\x71n"]="p\x6f\x73\x74f\x69\x65\x6cd\x73";if(${${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x68\x67\x77\x71\x78\x73\x72umk"]}){$xoiamwrpysxj="\x74em\x70l\x61t\x65\x4d\x73\x67";${"GLO\x42\x41L\x53"}["\x70p\x79\x72f\x72fe"]="\x69\x6d\x61g\x65\x4ea\x6d\x65";$ypqipfbk="\x77ha\x74\x73\x61pp\x46old\x65rP\x61\x74\x68";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72p\x67\x6e\x6e\x70\x68"]}=$adb->query_result(${${"\x47\x4cO\x42A\x4cS"}["\x68\x7at\x68e\x6c\x63c\x6as"]},0,"c\x74\x77\x68a\x74\x73\x61\x70pte\x6dpl\x61t\x65si\x64");${"GL\x4fB\x41\x4c\x53"}["\x74ugqymsbb\x67"]="\x69m\x61g\x65I\x64";$jltxqbekn="\x6d\x6f\x64\x75\x6c\x65\x52e\x63\x6f\x72\x64id";$ejgjhrkwe="\x67\x65t\x41\x74t\x61\x63\x68\x6de\x6e\x74\x51\x75er\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x72\x70u\x74nl\x65v\x73\x62"]="g\x65\x74\x57ha\x74s\x61\x70\x70\x54\x65m\x70lat\x65\x51\x75\x65ry";${"\x47L\x4f\x42\x41L\x53"}["\x67s\x62nqn\x66tf\x6d\x68"]="n\x65\x77\x66\x69l\x65";$qpqpjbjbxug="\x72o\x6f\x74\x5f\x64\x69\x72\x65\x63tory";${"G\x4c\x4f\x42\x41\x4c\x53"}["j\x6b\x70\x7a\x6bi"]="get\x57\x68a\x74\x73\x61p\x70T\x65\x6d\x70\x6c\x61\x74\x65\x51\x75er\x79";$yzbmhpddpus="ne\x77\x46\x69\x6c\x65\x6e\x61m\x65";${$xoiamwrpysxj}=$adb->query_result(${${"G\x4cOB\x41L\x53"}["\x6ak\x70z\x6b\x69"]},0,"\x77\x70t\x65mpl\x61\x74\x65_t\x65xt");${"G\x4c\x4f\x42\x41L\x53"}["\x75\x78\x69\x69\x79\x64\x61\x71\x63d\x76"]="atta\x63hme\x6et\x50\x61t\x68";${"G\x4cO\x42\x41\x4cS"}["\x63hdfd\x6c\x6c\x72d"]="\x72\x6fo\x74_\x64\x69\x72\x65\x63\x74or\x79";${${"G\x4c\x4f\x42A\x4c\x53"}["\x6fm\x7a\x67\x66\x79lj\x75\x6a"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41L\x53"}["\x64r\x70\x75\x74\x6el\x65\x76\x73\x62"]},0,"n\x61me");$teoqgjbn="i\x6d\x61\x67\x65\x49\x64";${"\x47\x4cO\x42\x41\x4cS"}["\x69\x72s\x74q\x69t\x64\x77\x69\x65\x6e"]="ge\x74A\x74t\x61\x63\x68men\x74Q\x75e\x72\x79";$hyvdakkab="\x6e\x65\x77F\x69\x6c\x65n\x61\x6de";$xvdexac="\x69mag\x65\x4e\x61\x6d\x65";if(${$jltxqbekn}){${"\x47\x4cO\x42\x41LS"}["\x63\x65\x71\x78p\x63\x67\x71\x6b"]="bodyda\x74a";$bcroiipx="\x73\x65\x74y\x70\x65";${"\x47LO\x42\x41\x4cS"}["\x66\x78z\x68\x76\x6f\x6ef"]="m\x73\x67\x62o\x64\x79";${${"\x47\x4c\x4fB\x41L\x53"}["paz\x6b\x76\x6e\x67\x78"]}=str_replace("\\r\\\x6e"," ",html_entity_decode(${${"\x47\x4c\x4f\x42\x41L\x53"}["u\x66u\x6b\x6fu\x76\x6d\x7a"]}));${$bcroiipx}=VtigerCRMObject::getSEType(${${"G\x4c\x4fB\x41\x4c\x53"}["w\x62\x66u\x79\x6d\x63\x62\x65"]});${${"G\x4c\x4fBALS"}["\x66\x78\x7a\x68vo\x6ef"]}=getMergedDescription(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x65\x71\x78p\x63g\x71\x6b"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["w\x62f\x75\x79\x6dcbe"]},${${"\x47\x4cO\x42\x41L\x53"}["kpa\x69f\x7at\x6f\x6an\x63"]});}else{${"\x47\x4c\x4f\x42\x41L\x53"}["\x74f\x74wom\x68\x77\x72"]="\x6d\x73\x67bo\x64\x79";${${"G\x4c\x4fB\x41LS"}["\x74f\x74\x77o\x6d\x68\x77r"]}=str_replace("\\\x72\\n","\x20",html_entity_decode(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x66uk\x6fu\x76m\x7a"]}));}${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x66\x7a\x75\x67\x71\x73mow"]}=$adb->pquery("S\x45\x4cECT \x76\x74\x69\x67e\x72\x5fa\x74ta\x63hments.*,\x20\x76\x74i\x67er\x5f\x63\x72m\x65n\x74\x69ty.\x73et\x79pe FR\x4fM\x20\x76\x74ig\x65r\x5fa\x74t\x61c\x68m\x65n\x74s\n   \x20 \x20 \x20   \x20 \x20\x20 \x20\x20 \x20I\x4eNER JO\x49N\x20v\x74i\x67\x65r\x5fse\x61t\x74a\x63h\x6de\x6e\x74\x73\x72\x65l\x20\x4f\x4e\x20\x76\x74i\x67\x65\x72_\x73\x65att\x61c\x68\x6dent\x73\x72el.a\x74\x74ac\x68m\x65n\x74\x73\x69d \x3d \x76\x74\x69g\x65r\x5fattachme\x6ets\x2e\x61t\x74a\x63\x68m\x65\x6et\x73\x69\x64\n \x20    \x20 \x20 \x20\x20\x20 \x20\x20\x20\x20  IN\x4eER\x20\x4a\x4f\x49N v\x74\x69\x67\x65r_cr\x6d\x65n\x74ity\x20\x4fN v\x74\x69g\x65\x72\x5fc\x72m\x65n\x74\x69ty\x2e\x63rm\x69d \x3d v\x74ige\x72\x5f\x61tt\x61ch\x6de\x6et\x73\x2eat\x74ac\x68m\x65\x6et\x73\x69\x64\n \x20 \x20 \x20\x20\x20 \x20\x20\x20  \x20 \x20\x20  W\x48E\x52\x45 \x76t\x69\x67er\x5fs\x65\x61t\x74\x61c\x68\x6de\x6e\x74\x73\x72\x65\x6c\x2ec\x72m\x69\x64 \x3d\x20? A\x4eD \x76\x74ig\x65\x72\x5f\x63\x72\x6d\x65nti\x74y\x2e\x64e\x6ce\x74ed\x20= 0",array(${${"G\x4c\x4f\x42\x41L\x53"}["r\x70\x67\x6e\x6eph"]}));${$teoqgjbn}=$adb->query_result(${$ejgjhrkwe},0,"\x61\x74ta\x63hme\x6ets\x69d");$iltmzk="\x6e\x65\x77\x42o\x64y\x66\x69\x6ce\x55R\x4c";${${"GL\x4fB\x41\x4cS"}["\x66n\x66\x73\x6apu\x68"]}=$adb->query_result(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6f\x66z\x75\x67\x71\x73\x6d\x6f\x77"]},0,"pa\x74\x68");$ptvocbunlun="\x69\x6d\x61g\x65I\x64";${${"G\x4c\x4f\x42\x41\x4c\x53"}["pp\x79r\x66\x72\x66e"]}=$adb->query_result(${${"\x47\x4c\x4fB\x41\x4cS"}["i\x72\x73\x74q\x69\x74\x64\x77ie\x6e"]},0,"nam\x65");${"\x47L\x4f\x42\x41\x4c\x53"}["l\x73\x76\x6c\x70\x77\x6aj\x73\x63\x79"]="ne\x77\x46\x69l\x65\x6ea\x6d\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["wfe\x69\x6b\x6d\x64h\x76p"]="\x6d\x73\x67\x62o\x64y";${"G\x4cOB\x41\x4c\x53"}["f\x70c\x65z\x66\x66h\x69\x7a\x68\x66"]="\x6e\x65w\x46\x69\x6ce\x6e\x61\x6d\x65";$zfaeszp="\x69\x6da\x67\x65Name";$jycdjf="\x6e\x65\x77\x46i\x6cen\x61\x6d\x65";${${"\x47\x4cO\x42\x41\x4c\x53"}["q\x62\x6d\x63\x62\x6e\x75\x65\x6c\x63\x75"]}=$adb->query_result(${${"GL\x4f\x42\x41L\x53"}["\x6f\x66zu\x67q\x73m\x6fw"]},0,"\x74\x79p\x65");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x78\x69iy\x64\x61\x71cd\x76"]}=${$qpqpjbjbxug}.${${"\x47\x4c\x4f\x42A\x4cS"}["\x66\x6e\x66sj\x70\x75\x68"]}.${${"\x47L\x4fB\x41L\x53"}["\x74\x75\x67qy\x6d\x73\x62\x62\x67"]}."\x5f".${$zfaeszp};${${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x69\x72\x7av\x67t"]}=${${"G\x4cO\x42A\x4c\x53"}["\x63\x68\x64f\x64l\x6c\x72d"]}.${${"\x47LO\x42A\x4cS"}["\x73\x78\x69r\x63\x6d\x70\x7a\x76\x69"]}."$year/$month/$week/".${$ptvocbunlun}."\x5f".${$xvdexac};${"G\x4c\x4fBA\x4c\x53"}["x\x6b\x74q\x61\x6dcopl"]="\x69\x6da\x67\x65I\x64";$emmcxhr="\x77\x68\x61\x74\x73\x61\x70\x70\x46o\x6c\x64e\x72\x50\x61t\x68";copy(${${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x69e\x79\x62\x65\x6b\x67n\x68f\x73"]},${${"G\x4cO\x42\x41L\x53"}["\x67s\x62nq\x6e\x66t\x66m\x68"]});${${"\x47\x4c\x4f\x42\x41LS"}["y\x72\x66\x71\x74\x75\x64"]}=urlencode(${${"\x47LO\x42A\x4c\x53"}["\x75\x6f\x75w\x75e\x6f\x6e"]});${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x73\x76\x6c\x70wjj\x73\x63\x79"]}=str_replace("+","%\x320",${$jycdjf});${$hyvdakkab}=str_replace("\x5f","\x255\x46",${${"\x47LOB\x41\x4c\x53"}["\x66\x70\x63\x65\x7a\x66f\x68\x69\x7a\x68\x66"]});${${"\x47\x4c\x4fB\x41\x4cS"}["yr\x66\x71\x74u\x64"]}=str_replace("\x2e","\x252E",${${"\x47\x4c\x4fB\x41\x4cS"}["y\x72\x66\x71\x74u\x64"]});${"\x47\x4cOB\x41\x4c\x53"}["hpg\x6fv\x61\x67"]="\x69ma\x67\x65Na\x6de";${${"G\x4c\x4fBA\x4c\x53"}["y\x72\x66qt\x75d"]}=str_replace("-","\x25\x32\x44",${$yzbmhpddpus});${${"G\x4cO\x42\x41\x4cS"}["\x65\x7a\x6a\x77sj\x74b\x6b\x64\x75\x71"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["c\x63\x79\x67\x63\x72"]}.${$ypqipfbk}."$year/$month/$week/".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6d\x79i\x6bc\x6ab"]}."\x5f".${${"\x47\x4c\x4fB\x41\x4c\x53"}["y\x72\x66\x71\x74\x75\x64"]};${$iltmzk}=${${"GLO\x42\x41\x4cS"}["\x63\x63\x79\x67\x63\x72"]}.${$emmcxhr}."$year/$month/$week/".${${"\x47\x4c\x4fB\x41LS"}["\x78\x6btq\x61\x6dc\x6f\x70l"]}."\x5f".${${"G\x4cO\x42\x41\x4c\x53"}["\x68pg\x6f\x76a\x67"]};if(${${"GL\x4f\x42A\x4c\x53"}["\x77\x66\x65ik\x6d\x64hv\x70"]}==""){${"\x47\x4cO\x42AL\x53"}["\x6c\x73\x78\x64\x67b\x79"]="m\x73\x67b\x6fdy";${"GL\x4f\x42A\x4cS"}["\x74\x63\x78\x72\x6at\x63\x76d\x71c"]="n\x65\x77f\x69\x6c\x65U\x52\x4c";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ls\x78\x64\x67by"]}=${${"\x47L\x4f\x42ALS"}["tc\x78\x72\x6at\x63\x76d\x71\x63"]};}if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71b\x6d\x63\x62\x6e\x75\x65\x6c\x63\x75"]}){${"\x47LO\x42ALS"}["c\x76\x67\x6a\x79\x6de\x75\x75"]="\x66i\x6cety\x70\x65";${"\x47LO\x42\x41\x4cS"}["ip\x71\x71\x70\x6d\x77r\x6c"]="f\x69let\x79p\x65";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71\x62\x6d\x63\x62n\x75\x65lcu"]}=="i\x6dage/jp\x65g"||${${"G\x4c\x4f\x42A\x4cS"}["ip\x71\x71\x70\x6d\x77\x72\x6c"]}=="i\x6da\x67\x65/jpg"||${${"\x47L\x4fB\x41\x4cS"}["qb\x6d\x63b\x6e\x75\x65\x6c\x63\x75"]}=="\x69m\x61ge/png"){$wrnkdxejapp="\x61\x70\x69_\x75\x72\x6c";$ianricvp="\x6d\x73\x67\x62o\x64\x79";$hgdxqvjmayz="\x75\x72l";${$hgdxqvjmayz}=${$wrnkdxejapp}."/\x73en\x64\x66i\x6c\x65url";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x69oa\x65\x73"]}=array("numb\x65\x72"=>${${"G\x4c\x4f\x42\x41\x4cS"}["\x79\x62e\x66fxu\x65\x6b\x79\x79\x66"]},"ur\x6c"=>${${"GL\x4fB\x41\x4c\x53"}["e\x7aj\x77s\x6a\x74bk\x64\x75\x71"]},"filet\x79p\x65"=>"ima\x67\x65Mes\x73a\x67\x65","c\x61\x70\x74i\x6fn"=>${$ianricvp});}else if(${${"\x47\x4c\x4fB\x41L\x53"}["c\x76g\x6a\x79\x6d\x65u\x75"]}=="i\x6d\x61ge/\x67\x69\x66"){$hcqbonfjr="\x70\x6fs\x74\x66\x69e\x6c\x64\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6b\x72\x75ohh"]="m\x6f\x62\x69\x6ceno";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x68\x62\x69\x63v\x72i\x75\x72\x7a"]="a\x70i\x5furl";$sbenqpx="\x6e\x65\x77\x66i\x6ceURL";${${"\x47LO\x42\x41LS"}["\x64\x62eqz\x71\x6ep\x75\x78\x75"]}=${${"G\x4cOBA\x4c\x53"}["k\x68\x62\x69cv\x72\x69\x75\x72\x7a"]}."/send\x66i\x6ceu\x72\x6c";${$hcqbonfjr}=array("\x6eumber"=>${${"\x47L\x4f\x42\x41\x4cS"}["\x76kr\x75\x6f\x68h"]},"ur\x6c"=>${$sbenqpx},"\x66\x69\x6c\x65ty\x70e"=>"\x67if\x4des\x73age","c\x61pti\x6f\x6e"=>${${"\x47\x4cO\x42AL\x53"}["\x64b\x6dngi\x71"]});}}}else{$olyljdkva="p\x6fstfi\x65\x6c\x64\x73";${${"\x47\x4c\x4fB\x41L\x53"}["d\x62e\x71zq\x6ep\x75\x78u"]}=${${"G\x4c\x4fBALS"}["\x63\x65\x69c\x64\x6b"]}."/s\x65\x6e\x64";${"G\x4cO\x42\x41\x4c\x53"}["\x68\x6d\x78\x6f\x67\x76"]="\x6ds\x67b\x6f\x64y";${$olyljdkva}=array("number"=>${${"\x47LOBA\x4cS"}["y\x62\x65\x66\x66\x78u\x65k\x79yf"]},"m\x73\x67"=>${${"\x47\x4cO\x42ALS"}["\x68\x6d\x78o\x67v"]});}if(${${"\x47\x4cOBAL\x53"}["fiy\x67\x6bbb\x71\x6e"]}["\x63ap\x74\x69\x6fn"]){$gtjxlbnufmuj="\x63\x6fun\x74";${$gtjxlbnufmuj}=2;}else{${${"\x47\x4c\x4fBA\x4cS"}["fy\x6dimq\x77"]}=1;}}else{$yyiwgrngvo="ba\x73\x65\x36\x34\x69\x6d\x61\x67\x65\x64\x61\x74\x61";if(${$yyiwgrngvo}!=""){${"\x47\x4c\x4f\x42ALS"}["\x75\x6e\x73\x6e\x71l\x6a\x6e\x66gt"]="\x6ee\x77fi\x6c\x65U\x52\x4c";$tqyxdxow="\x72\x6f\x6ft\x5f\x64\x69\x72ect\x6f\x72y";$opmimvpppzg="\x66\x69l\x65n\x61me";${"\x47\x4cOB\x41\x4cS"}["hi\x6cz\x65s\x68\x65\x6a"]="\x72o\x6f\x74\x5fdir\x65c\x74\x6f\x72\x79";$baombipun="\x74\x61\x72\x67\x65\x74\x5ffi\x6c\x65";${"\x47\x4c\x4fB\x41LS"}["\x76k\x64mn\x63\x72\x66l\x63\x67"]="we\x65\x6b";$rofnjzlgs="\x64\x6fcume\x6e\x74\x70\x61\x74\x68";$ttenwrsx="\x66\x69\x6c\x65pa\x74\x68";$dvaiwuk="\x6ee\x77B\x6f\x64\x79\x66\x69\x6c\x65U\x52\x4c";${"GL\x4fB\x41\x4c\x53"}["\x69\x6e\x6ey\x71f\x6ew\x78\x6ak"]="\x6d\x6f\x6e\x74h";${$rofnjzlgs}="st\x6frage";${"G\x4cOB\x41\x4c\x53"}["\x64\x62\x75\x77\x6avm\x74\x75\x6a"]="we\x65\x6b";$mxhmbzwo="\x77h\x61\x74\x73\x61\x70p\x46\x6f\x6c\x64e\x72\x50a\x74\x68";${"G\x4c\x4fB\x41\x4c\x53"}["\x78n\x61p\x69\x64b"]="\x77eek";${$ttenwrsx}="storag\x65/";${"\x47LO\x42\x41\x4c\x53"}["\x68\x72n\x6f\x67\x70\x64bq\x74\x7a"]="\x62\x61\x73e\x364i\x6d\x61\x67\x65\x64\x61ta";$xvbqudvfdpp="\x64\x61y";${"G\x4cOBA\x4c\x53"}["\x65\x65\x74\x6d\x73x"]="we\x65k";${"\x47\x4cO\x42AL\x53"}["\x67f\x72l\x78\x6f"]="\x64\x61y";$xddondkg="\x72oot_dir\x65\x63to\x72\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x65\x73\x76i\x71\x79tp"]="\x66\x69l\x65\x6ea\x6d\x65";${"\x47L\x4fB\x41\x4cS"}["\x76m\x77\x75\x6dzt"]="\x64\x61\x79";${${"\x47L\x4f\x42\x41\x4c\x53"}["ebi\x68\x64w\x62"]}=date("\x59");$pnqrnddwecz="\x72\x6fo\x74\x5fdi\x72ec\x74or\x79";${${"\x47\x4c\x4f\x42A\x4c\x53"}["t\x74\x73\x66\x78\x68\x63\x74\x70w\x79"]}=date("\x46");${"\x47L\x4fB\x41\x4cS"}["\x6bs\x66u\x66y\x7a"]="b\x61\x73e6\x34im\x61\x67\x65d\x61t\x61";${"\x47\x4c\x4fBA\x4cS"}["je\x68fa\x73\x70ei\x72l\x79"]="\x64\x61\x79";${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x6crc\x69\x70\x6b\x73"]}=date("j");${${"\x47L\x4fBA\x4cS"}["\x6fr\x6ey\x73\x77\x7a\x69"]}="";$etrjvvru="\x66\x69l\x65\x6e\x61\x6d\x65";if(!is_dir(${$tqyxdxow}.${${"G\x4c\x4f\x42\x41LS"}["\x7aae\x69\x6f\x6d\x74\x69\x77\x66p"]}.${${"GLO\x42A\x4c\x53"}["\x65b\x69h\x64w\x62"]})){${"\x47L\x4fBA\x4c\x53"}["\x6f\x73g\x73\x73\x68ry\x6a"]="\x66\x69\x6c\x65p\x61th";mkdir(${${"\x47\x4cOB\x41L\x53"}["\x73c\x6f\x6e\x62\x6dp\x6a\x68"]}.${${"G\x4cO\x42A\x4cS"}["osgss\x68\x72\x79\x6a"]}.${${"G\x4cO\x42\x41\x4cS"}["e\x62\x69\x68\x64\x77b"]});$mbqrexbpmhg="\x72\x6f\x6ft_\x64\x69\x72\x65\x63\x74o\x72\x79";${"\x47\x4cOBAL\x53"}["\x6b\x78\x65\x67\x66\x73\x6e\x70\x72\x6f\x72"]="y\x65a\x72";chmod(${$mbqrexbpmhg}.${${"G\x4cO\x42AL\x53"}["z\x61e\x69\x6f\x6dt\x69\x77\x66\x70"]}.${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6bx\x65\x67\x66s\x6e\x70\x72o\x72"]},0777);}${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67x\x67ow\x71"]="\x6ee\x77f\x69\x6ce";if(!is_dir(${${"G\x4c\x4f\x42\x41\x4cS"}["h\x69\x6c\x7a\x65\x73\x68\x65j"]}.${${"G\x4cOBA\x4c\x53"}["\x7a\x61e\x69\x6f\x6d\x74\x69wf\x70"]}.${${"\x47L\x4fBA\x4cS"}["\x65\x62\x69\x68dw\x62"]}."/".${${"G\x4c\x4fB\x41\x4c\x53"}["\x74\x74sfx\x68\x63\x74\x70wy"]})){$emmtlg="f\x69le\x70\x61\x74h";mkdir(${${"GLO\x42A\x4c\x53"}["\x73\x63\x6f\x6ebm\x70jh"]}.${$emmtlg}."$year/$month");chmod(${${"G\x4c\x4fB\x41\x4c\x53"}["\x73c\x6f\x6e\x62m\x70\x6a\x68"]}.${${"\x47\x4cO\x42A\x4c\x53"}["z\x61e\x69o\x6d\x74\x69\x77fp"]}."$year/$month",0777);}$jfvnqrosdlc="\x6e\x65\x77Fi\x6c\x65\x6e\x61m\x65";$glurzmdgmy="d\x61y";${"\x47L\x4fBAL\x53"}["\x76d\x68z\x69cb\x70\x73"]="\x74yp\x65";$sscodnied="\x64\x61\x79";${"G\x4c\x4f\x42\x41L\x53"}["\x77\x76xy\x69\x65v\x6c"]="\x77eek";$ksmcls="\x66\x69l\x65\x6e\x61m\x65";${"\x47\x4c\x4fB\x41LS"}["qu\x77\x69\x6dp\x74\x67\x6f\x69"]="\x62\x61\x73e6\x34\x69\x6da\x67\x65\x64ata";$jwyvaonvim="w\x68a\x74s\x61\x70\x70\x46\x6f\x6c\x64\x65rP\x61th";$funxphp="s\x69\x74\x65_\x55\x52\x4c";$pndpsqx="f\x69l\x65\x70\x61\x74\x68";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6fb\x64t\x6d\x66\x6b"]="\x6d\x6fnt\x68";${"G\x4cO\x42AL\x53"}["\x6cw\x68\x77\x68\x6f\x6d\x78\x73\x7a"]="\x66\x69l\x65p\x61\x74\x68";$hbyyde="w\x65\x65\x6b";${"GLOB\x41\x4c\x53"}["\x6dif\x66\x62\x65\x70"]="\x66i\x6c\x65p\x61\x74h";${"\x47\x4cOBALS"}["\x69\x6b\x78oq\x6d\x6al\x6b"]="\x79\x65a\x72";${"\x47L\x4f\x42\x41\x4cS"}["\x67q\x61\x65\x69\x76\x75\x6f"]="f\x69l\x65\x6d\x6f\x76e";if(${${"\x47\x4c\x4f\x42AL\x53"}["j\x65hf\x61\x73\x70\x65i\x72\x6cy"]}>0&&${${"\x47\x4cO\x42\x41L\x53"}["ul\x72\x63\x69p\x6bs"]}<=7)${${"GL\x4fB\x41\x4c\x53"}["v\x6b\x64m\x6e\x63\x72\x66l\x63\x67"]}="\x77\x65\x65k\x31";elseif(${${"\x47LO\x42\x41\x4c\x53"}["\x76\x6dw\x75\x6dz\x74"]}>7&&${$xvbqudvfdpp}<=14)${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fr\x6e\x79s\x77\x7ai"]}="we\x65k2";elseif(${${"\x47\x4cO\x42AL\x53"}["gfrlx\x6f"]}>14&&${$glurzmdgmy}<=21)${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65e\x74\x6ds\x78"]}="\x77\x65ek3";elseif(${${"\x47L\x4fB\x41\x4cS"}["u\x6c\x72c\x69\x70ks"]}>21&&${$sscodnied}<=28)${${"G\x4cO\x42A\x4c\x53"}["w\x76xyi\x65v\x6c"]}="we\x65k4";else${${"\x47\x4cOBA\x4c\x53"}["xn\x61\x70i\x64\x62"]}="week5";$sntnpyvb="\x6f\x6c\x64f\x69l\x65";if(!is_dir(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73co\x6ebm\x70j\x68"]}.${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x77h\x77\x68o\x6d\x78\x73\x7a"]}.${${"\x47\x4cO\x42AL\x53"}["eb\x69\x68\x64wb"]}."/".${${"G\x4cOB\x41LS"}["\x6f\x62\x64tmf\x6b"]}."/".${${"\x47LO\x42\x41L\x53"}["\x6f\x72n\x79\x73\x77\x7a\x69"]})){$khlvyoqvyoei="\x72\x6f\x6f\x74\x5f\x64i\x72e\x63t\x6f\x72\x79";$enilrmplvfjx="\x72\x6fot_d\x69\x72\x65c\x74\x6f\x72y";${"\x47L\x4fBAL\x53"}["\x69d\x64\x6at\x66u\x6d\x6a"]="\x66\x69\x6c\x65pa\x74h";${"\x47\x4cO\x42\x41LS"}["\x6e\x78\x74\x6b\x77\x6a\x70u\x63"]="\x66i\x6c\x65\x70a\x74\x68";mkdir(${$khlvyoqvyoei}.${${"\x47LO\x42\x41L\x53"}["n\x78\x74k\x77\x6a\x70\x75\x63"]}."$year/$month/$week");chmod(${$enilrmplvfjx}.${${"\x47\x4cOB\x41\x4c\x53"}["\x69\x64\x64\x6a\x74\x66u\x6dj"]}."$year/$month/$week",0777);}${$baombipun}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x63\x6f\x6e\x62\x6d\x70\x6a\x68"]}.${${"GLO\x42A\x4c\x53"}["m\x69\x66\x66\x62\x65\x70"]}.${${"\x47LOB\x41\x4c\x53"}["\x69k\x78\x6f\x71\x6d\x6al\x6b"]}."/".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x6e\x6e\x79\x71f\x6ew\x78\x6a\x6b"]}."/".${${"GL\x4f\x42\x41L\x53"}["\x64\x62\x75w\x6av\x6d\x74\x75\x6a"]}."/";list(${${"\x47LOB\x41\x4cS"}["\x76\x64\x68\x7a\x69\x63\x62p\x73"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x72n\x6f\x67\x70\x64\x62\x71\x74\x7a"]})=explode("\x3b",${${"\x47L\x4fBA\x4c\x53"}["\x6bs\x66\x75\x66\x79\x7a"]});list(,${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x67\x78p\x77\x74\x73\x7a\x75q\x6b"]})=explode(",",${${"\x47\x4cO\x42\x41L\x53"}["\x65\x67\x78\x70wt\x73z\x75\x71\x6b"]});${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x67x\x70\x77ts\x7a\x75\x71\x6b"]}=base64_decode(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x75\x77\x69\x6d\x70tgo\x69"]});${${"\x47\x4c\x4f\x42A\x4c\x53"}["g\x71a\x65\x69\x76u\x6f"]}=file_put_contents(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wm\x78i\x70\x63\x76\x72"]}.${$etrjvvru},${${"GL\x4fBAL\x53"}["\x65\x67\x78\x70\x77t\x73\x7a\x75\x71\x6b"]});if(${${"G\x4c\x4f\x42A\x4c\x53"}["x\x71\x6ekh\x79\x6f\x6e\x70\x65v"]}){$sawkwfhtytxt="s\x71\x6c\x31";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x6a\x66\x6eb\x68"]="\x44\x6f\x63um\x65n\x74";${${"\x47\x4c\x4fB\x41\x4c\x53"}["ajfn\x62\x68"]}=Vtiger_Record_Model::getCleanInstance("D\x6f\x63u\x6d\x65\x6e\x74s");${"\x47\x4cOB\x41L\x53"}["\x69\x74\x66n\x68\x62"]="\x77\x65\x65k";$Document->set("\x6do\x64\x65","");$lhjdnqr="\x66\x69le\x6ea\x6d\x65";${"GL\x4fB\x41\x4cS"}["\x78i\x62\x74\x61zir\x64"]="\x63u\x72r\x65n\x74_\x69d";$Document->set("as\x73\x69\x67\x6e\x65d_\x75\x73e\x72\x5f\x69d",$current_user->id);${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x62\x78fq\x75\x64"]="\x66i\x6c\x65\x6e\x61me";${"\x47L\x4f\x42\x41L\x53"}["f\x73r\x6b\x6f\x74c"]="sq\x6c\x31";${"\x47L\x4f\x42AL\x53"}["\x77\x74\x69\x67v\x7a\x62p\x6e\x6c"]="\x6d\x6fd\x75l\x65\x52\x65\x63\x6f\x72\x64\x69\x64";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x68\x62\x73x\x63i\x65\x77"]="\x63\x75rr\x65\x6e\x74_\x69\x64";$jycnhjtqsat="\x64at\x65\x5f\x76\x61\x72";$Document->set("\x66\x6f\x6cde\x72\x69d",1);${"\x47\x4cO\x42\x41\x4c\x53"}["\x77tfb\x63\x67\x64b"]="\x63u\x72\x72\x65\x6et_i\x64";$cjcoejxdjw="c\x75rrent\x5f\x69\x64";${"\x47L\x4f\x42\x41L\x53"}["\x78scf\x6emx\x78\x6b\x6e\x78"]="\x73\x71l\x32";${"GLOB\x41\x4c\x53"}["\x71ok\x7a\x6f\x69ry\x72\x62"]="\x64\x6fcum\x65\x6e\x74\x69\x64";$cjisjdb="\x64\x6f\x63\x75\x6de\x6e\x74i\x64";$Document->set("f\x69\x6celo\x63a\x74\x69\x6f\x6ety\x70\x65","\x49");$Document->set("\x66ilesta\x74u\x73",1);${"\x47\x4cOBA\x4c\x53"}["u\x71\x74x\x69n\x6f"]="\x6do\x6et\x68";$ulotpqpfutgi="\x79\x65\x61\x72";$Document->set("\x66i\x6cen\x61me",${$lhjdnqr});$eutqdlawynr="\x70a\x72\x61\x6d\x73\x32";$Document->save();${${"\x47\x4c\x4fBALS"}["u\x78\x63\x62k\x75n\x74v\x74"]}=$Document->getId();${"\x47\x4cO\x42\x41\x4cS"}["\x65\x61x\x66\x6c\x64u"]="\x74\x61r\x67\x65\x74\x5f\x66i\x6c\x65";${${"G\x4c\x4f\x42A\x4cS"}["\x76\x68\x62\x73\x78\x63\x69\x65w"]}=$adb->getUniqueID("\x76tige\x72_cr\x6d\x65\x6e\x74i\x74\x79");${$sawkwfhtytxt}="\x69\x6es\x65r\x74 i\x6e\x74\x6f \x76tig\x65\x72\x5f\x63rme\x6eti\x74y (c\x72\x6di\x64,\x73m\x63\x72\x65\x61to\x72id,smo\x77\x6eer\x69\x64,se\x74ype,de\x73c\x72i\x70tio\x6e,\x63r\x65at\x65dt\x69m\x65,mo\x64\x69\x66\x69ed\x74im\x65)\x20v\x61lue\x73(?,\x20?,\x20?,\x20?,\x20?, ?,\x20?)";${${"GLO\x42\x41\x4c\x53"}["\x78s\x74\x69f\x6fc\x76d\x6d\x62\x6c"]}=array(${$cjcoejxdjw},$current_user->id,1,"\x44\x6fcuments\x20A\x74\x74a\x63hm\x65nt","",$adb->formatDate(${${"\x47\x4c\x4f\x42\x41\x4cS"}["i\x72\x64owt\x7ar\x78\x62"]},true),$adb->formatDate(${$jycnhjtqsat},true));$adb->pquery(${${"G\x4cO\x42\x41\x4c\x53"}["fsr\x6b\x6f\x74\x63"]},${${"GL\x4f\x42A\x4c\x53"}["\x78\x73\x74\x69\x66oc\x76\x64m\x62\x6c"]});rename(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6d\x78\x69p\x63\x76r"]}.${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x62\x78f\x71\x75\x64"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x6d\x78\x69\x70\x63\x76r"]}.${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x74f\x62\x63\x67\x64\x62"]}."_".${${"\x47L\x4fBA\x4cS"}["\x6c\x6bc\x66\x79\x6a\x76\x6di\x63"]});chmod(${${"\x47L\x4f\x42ALS"}["e\x61\x78fld\x75"]},0777);${${"GL\x4f\x42A\x4c\x53"}["\x78\x73cfn\x6d\x78x\x6b\x6e\x78"]}="i\x6e\x73\x65rt \x69nto \x76\x74\x69g\x65\x72_att\x61\x63\x68\x6d\x65nt\x73(at\x74ac\x68\x6de\x6e\x74s\x69d,\x20n\x61me, d\x65\x73\x63\x72\x69ption,\x20ty\x70\x65,\x20\x70\x61\x74\x68)\x20\x76\x61lues(?, ?, ?, ?, ?)";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x76\x62\x75v\x64\x65ff\x71m"]}=array(${${"\x47L\x4fB\x41L\x53"}["\x78\x69b\x74\x61\x7a\x69\x72\x64"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x6bcf\x79jv\x6dic"]},"","",${${"\x47L\x4fB\x41\x4cS"}["z\x61\x65\x69\x6f\x6d\x74\x69w\x66p"]}.${$ulotpqpfutgi}."/".${${"GLOBALS"}["\x75\x71\x74\x78i\x6eo"]}."/".${${"\x47\x4c\x4f\x42AL\x53"}["it\x66\x6eh\x62"]}."/");${${"\x47\x4c\x4fB\x41\x4c\x53"}["ys\x69w\x6a\x75r\x75z\x64"]}=$adb->pquery(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x79s\x6b\x6akp"]},${$eutqdlawynr});${${"\x47\x4c\x4fB\x41L\x53"}["\x73\x65\x6d\x78n\x66"]}="i\x6es\x65\x72t\x20\x69nt\x6f\x20\x76\x74\x69\x67er\x5fs\x65\x61\x74t\x61\x63\x68\x6dent\x73r\x65l\x20\x76a\x6c\x75\x65\x73(?,?)";$adb->pquery(${${"\x47\x4cO\x42\x41\x4cS"}["s\x65m\x78\x6e\x66"]},array(${$cjisjdb},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x64\x67\x74\x78\x71wa"]}));${"\x47\x4c\x4fBA\x4c\x53"}["\x74e\x64u\x70t\x78g\x6a\x66\x71w"]="s\x71\x6c4";${${"\x47\x4cO\x42\x41\x4c\x53"}["z\x77w\x71\x63f\x65\x6a"]}="in\x73\x65\x72t \x69\x6e\x74o\x20\x76ti\x67\x65\x72\x5f\x73e\x6e\x6f\x74esrel va\x6c\x75e\x73(?,?)";$adb->pquery(${${"\x47\x4cOBA\x4cS"}["\x74edu\x70\x74xgj\x66\x71\x77"]},array(${${"G\x4c\x4fB\x41L\x53"}["\x77\x74igv\x7ab\x70\x6e\x6c"]},${${"G\x4cOB\x41L\x53"}["\x71\x6f\x6b\x7a\x6f\x69\x72\x79\x72b"]}));}${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72xr\x6f\x72\x6ca"]}=${$funxphp}.${${"\x47\x4c\x4f\x42AL\x53"}["z\x61e\x69o\x6dt\x69\x77\x66\x70"]}.${${"\x47LO\x42\x41\x4cS"}["\x65b\x69\x68d\x77\x62"]}."/".${${"G\x4c\x4f\x42\x41\x4c\x53"}["ttsfxhc\x74\x70\x77\x79"]}."/".${${"\x47\x4cOB\x41\x4c\x53"}["\x6frnys\x77\x7ai"]}."/".${${"GL\x4fB\x41L\x53"}["\x70d\x67\x74x\x71w\x61"]}."\x5f".${${"\x47L\x4f\x42\x41LS"}["l\x6b\x63f\x79j\x76\x6d\x69\x63"]};${$sntnpyvb}=${$pnqrnddwecz}.${$pndpsqx}.${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x62\x69\x68\x64\x77b"]}."/".${${"\x47L\x4f\x42\x41L\x53"}["t\x74\x73\x66x\x68\x63tp\x77\x79"]}."/".${$hbyyde}."/".${${"\x47LO\x42\x41\x4c\x53"}["p\x64gtx\x71\x77\x61"]}."_".${$ksmcls};${${"\x47L\x4fB\x41\x4cS"}["\x6ck\x63\x66\x79jvmi\x63"]}=str_replace(" ","",${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6bcf\x79\x6a\x76\x6d\x69\x63"]});${${"\x47\x4c\x4f\x42\x41LS"}["\x67\x78\x67\x6fwq"]}=${$xddondkg}.${$mxhmbzwo}."$year/$month/$week/".${$opmimvpppzg};$ixitgjqr="o\x6c\x64\x66i\x6ce";copy(${$ixitgjqr},${${"G\x4cO\x42ALS"}["\x69\x69r\x7a\x76gt"]});${${"\x47L\x4f\x42\x41\x4cS"}["\x79\x72f\x71\x74\x75\x64"]}=urlencode(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x65\x73v\x69\x71yt\x70"]});${${"\x47\x4cO\x42\x41L\x53"}["\x79r\x66qt\x75\x64"]}=str_replace("+","\x25\x32\x30",${$jfvnqrosdlc});${"\x47\x4c\x4f\x42\x41LS"}["dv\x6b\x7a\x6cie\x6db"]="\x6ee\x77\x46\x69\x6ce\x6ea\x6de";${${"\x47\x4c\x4f\x42\x41LS"}["\x79\x72fq\x74u\x64"]}=str_replace("_","\x255F",${${"\x47\x4c\x4fBAL\x53"}["y\x72fq\x74\x75\x64"]});${${"\x47\x4c\x4f\x42AL\x53"}["\x79r\x66\x71\x74u\x64"]}=str_replace(".","%2\x45",${${"G\x4c\x4f\x42\x41\x4c\x53"}["y\x72fq\x74\x75\x64"]});${${"\x47L\x4f\x42A\x4c\x53"}["yrf\x71\x74u\x64"]}=str_replace("-","%\x32\x44",${${"GL\x4f\x42\x41\x4c\x53"}["\x64\x76\x6b\x7a\x6c\x69\x65\x6d\x62"]});${${"\x47\x4c\x4f\x42\x41L\x53"}["u\x6e\x73\x6eq\x6c\x6a\x6e\x66\x67\x74"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63c\x79\x67c\x72"]}.${$jwyvaonvim}."$year/$month/$week/".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x72f\x71\x74\x75d"]};${$dvaiwuk}=${${"\x47L\x4f\x42A\x4c\x53"}["\x63c\x79g\x63r"]}.${${"\x47\x4c\x4fB\x41L\x53"}["s\x78\x69\x72\x63m\x70\x7a\x76\x69"]}."$year/$month/$week/".${${"\x47\x4c\x4fBA\x4c\x53"}["\x6ckcfyj\x76\x6d\x69\x63"]};}$kfigyuqwb="wh\x61t\x73\x61\x70\x70\x4do\x64\x75\x6c\x65";$omzndbl="\x66\x69\x6c\x65\x55\x52L";if(${$kfigyuqwb}=="\x47\x72o\x75\x70s"){${${"\x47L\x4f\x42\x41L\x53"}["\x79b\x65ff\x78u\x65\x6by\x79\x66"]}=$request->get("mo\x62i\x6cen\x6f");}else{$rwfdwevx="\x6do\x62il\x65\x6eo";$cmudwfikl="\x6d\x6f\x62\x69leno";${$cmudwfikl}=${$rwfdwevx};}$owltzssk="\x63o\x75\x6e\x74";if(${$omzndbl}){${"GLO\x42\x41\x4c\x53"}["\x6dy\x6d\x74\x6dlzx\x6d"]="f\x69l\x65\x74\x79p\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x62o\x65\x72m\x65\x67b\x6eoxq"]="\x66\x69\x6ce\x74\x79\x70\x65";${"\x47\x4c\x4fBA\x4c\x53"}["s\x62u\x64r\x78\x79\x74"]="\x66\x69\x6c\x65\x74\x79\x70\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x79oz\x6a\x61"]="fi\x6ce\x74\x79\x70\x65";if(${${"\x47L\x4f\x42ALS"}["\x78y\x6f\x7a\x6a\x61"]}=="im\x61g\x65/jpeg"||${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x62mc\x62\x6e\x75\x65l\x63\x75"]}=="i\x6dag\x65/\x6ap\x67"||${${"\x47\x4cO\x42A\x4cS"}["mymt\x6d\x6c\x7axm"]}=="\x69m\x61\x67\x65/pn\x67"||${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62oerm\x65\x67b\x6e\x6f\x78\x71"]}=="\x69mag\x65/gi\x66"){${"\x47LOB\x41\x4cS"}["v\x74\x77weo\x6c"]="\x61\x70\x69_u\x72\x6c";$xyzwvcyo="\x6e\x65\x77\x66ileU\x52\x4c";${${"\x47\x4c\x4f\x42\x41\x4cS"}["d\x62\x65\x71\x7a\x71\x6epu\x78\x75"]}=${${"\x47\x4c\x4f\x42ALS"}["\x76\x74\x77\x77\x65\x6f\x6c"]}."/\x73en\x64f\x69le\x75\x72l";${${"\x47\x4cO\x42ALS"}["\x70\x69oa\x65\x73"]}=array("nu\x6db\x65\x72"=>${${"\x47\x4c\x4f\x42\x41LS"}["\x79\x62eff\x78\x75\x65ky\x79\x66"]},"u\x72l"=>${$xyzwvcyo},"\x66\x69l\x65\x74\x79\x70e"=>"i\x6dageMessa\x67\x65");}else if(${${"GL\x4f\x42A\x4c\x53"}["sb\x75d\x72\x78\x79t"]}=="\x61ppl\x69\x63ati\x6f\x6e/\x70\x64\x66"){${"G\x4c\x4f\x42ALS"}["\x79\x79\x74mdme\x7ad"]="mo\x62\x69le\x6eo";$eqlkwe="\x75rl";${$eqlkwe}=${${"G\x4cO\x42A\x4cS"}["\x63\x65\x69\x63\x64k"]}."/\x73\x65\x6e\x64f\x69\x6ceur\x6c";${${"\x47\x4cO\x42\x41\x4c\x53"}["p\x69o\x61\x65\x73"]}=array("n\x75m\x62\x65\x72"=>${${"G\x4cO\x42\x41\x4cS"}["y\x79\x74m\x64m\x65z\x64"]},"u\x72l"=>${${"G\x4cOBA\x4cS"}["\x65\x7ajw\x73\x6a\x74b\x6bdu\x71"]},"m\x69\x6det\x79\x70e"=>"ap\x70\x6c\x69c\x61tion/pd\x66","\x66\x69\x6c\x65\x74y\x70e"=>"\x64o\x63u\x6den\x74\x4d\x65ssa\x67e","\x63a\x70\x74\x69\x6fn"=>urlencode(${${"G\x4cOB\x41\x4c\x53"}["\x6c\x6b\x63\x66\x79\x6avm\x69\x63"]}));}else{${"G\x4cO\x42\x41\x4c\x53"}["\x62zy\x74\x72\x64\x68"]="ap\x69\x5f\x75r\x6c";${"\x47LO\x42A\x4cS"}["\x69\x61\x69\x68\x73\x66p"]="\x75\x72\x6c";${${"G\x4cO\x42A\x4cS"}["i\x61ihs\x66\x70"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x7ay\x74\x72\x64\x68"]}."/s\x65nd\x66i\x6ce\x75r\x6c";${"\x47\x4cOB\x41\x4c\x53"}["\x6bb\x6c\x6ew\x6c\x7a"]="fi\x6c\x65\x6e\x61\x6d\x65";${"\x47\x4cOB\x41LS"}["\x6b\x6f\x77etdj\x79yr"]="n\x65\x77\x66\x69l\x65\x55\x52\x4c";$pnobuzmmnw="\x70\x6f\x73t\x66\x69\x65\x6c\x64\x73";${"\x47\x4c\x4f\x42ALS"}["\x67\x6f\x64r\x67\x68cb\x6e\x75"]="m\x6fbi\x6ce\x6e\x6f";${$pnobuzmmnw}=array("\x6e\x75m\x62e\x72"=>${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67od\x72\x67h\x63\x62\x6e\x75"]},"\x75r\x6c"=>${${"GL\x4f\x42\x41LS"}["\x6b\x6f\x77\x65\x74\x64\x6a\x79y\x72"]},"m\x69\x6d\x65t\x79p\x65"=>${${"\x47\x4c\x4fBA\x4cS"}["q\x62\x6dcb\x6e\x75\x65\x6cc\x75"]},"f\x69le\x74\x79p\x65"=>"\x64oc\x75me\x6et\x4d\x65\x73\x73age","ca\x70\x74i\x6f\x6e"=>urlencode(${${"G\x4c\x4fBA\x4c\x53"}["\x6b\x62\x6cnw\x6c\x7a"]}));}}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x7al\x7atti"]="\x72\x65\x70\x6c\x79\x4d\x65\x73s\x61\x67\x65\x49d";$hdgwmiymf="ms\x67\x62od\x79";$jnhexdghcm="\x75r\x6c";${$jnhexdghcm}=${${"\x47\x4c\x4fB\x41\x4cS"}["c\x65i\x63\x64\x6b"]}."/\x73e\x6ed";${${"\x47L\x4fB\x41\x4cS"}["p\x69o\x61e\x73"]}=array("\x6e\x75m\x62e\x72"=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["yb\x65\x66f\x78\x75e\x6b\x79\x79f"]},"\x6dsg"=>${$hdgwmiymf});if(${${"G\x4c\x4fB\x41L\x53"}["\x70zl\x7at\x74\x69"]}){$pwzyxxmhqhk="\x70\x6f\x73t\x66\x69eld\x73";${$pwzyxxmhqhk}["\x71u\x6f\x74e\x49\x64"]=${${"G\x4cO\x42\x41LS"}["dy\x67\x64\x67\x6a\x68\x71\x76\x6d\x61"]};}}${$owltzssk}=1;}if(${${"\x47L\x4f\x42\x41L\x53"}["\x6a\x67\x72o\x6e\x6f\x6d"]}!="Gro\x75p\x73"){${"G\x4cO\x42\x41L\x53"}["\x66\x6dz\x61\x75\x75\x66\x63\x61s\x64"]="\x63h\x65c\x6b\x4eu\x6d\x62\x65\x72Wha\x74\x73\x41\x70pQu\x65\x72\x79";$qlgkednph="\x6e\x75m\x62e\x72\x61\x63\x74i\x76\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x64wn\x73w\x74\x6f"]="\x6do\x64\x75\x6c\x65R\x65\x63\x6fr\x64id";$hwdmiqp="\x77\x68a\x74sa\x70\x70S\x63a\x6e\x4e\x6f";${${"GL\x4f\x42AL\x53"}["f\x6dz\x61\x75\x75\x66\x63\x61\x73\x64"]}=CTWhatsApp_Record_Model::getWhatsAppLogData(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x62\x65\x66\x66x\x75\x65\x6b\x79\x79\x66"]},${${"G\x4cO\x42\x41\x4c\x53"}["\x64\x77ns\x77\x74\x6f"]},${$hwdmiqp});$ypxrtbblwwn="\x63h\x65\x63\x6bN\x75\x6db\x65\x72\x57\x68atsA\x70\x70\x51\x75\x65\x72\x79";${${"\x47LO\x42A\x4cS"}["\x72\x78k\x75\x67\x63\x73\x76m"]}=${$ypxrtbblwwn}["nu\x6dbera\x63tiv\x65"];if(${$qlgkednph}!=1){$ngususfnkmeh="\x77\x68ats\x41\x70p\x41c\x74\x69\x76\x65In\x41\x63\x74i\x76e";$udnysfr="\x6d\x6fb\x69\x6c\x65\x6eo";$juwdpkvtus="\x61\x75t\x68\x5f\x74\x6f\x6b\x65n";$jmgschv="\x77\x68\x61tsapp\x61\x63\x74\x69veU\x52\x4c";$jjxqpgrfyktx="\x70o\x73t\x66\x69\x65\x6cdWh\x61ts\x41\x70\x70\x6eu\x6db\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["mp\x70\x66a\x67zr\x74\x6c\x66"]="ap\x69\x5fu\x72l";${"\x47\x4c\x4f\x42A\x4cS"}["g\x61i\x77\x6b\x67\x73\x72\x6f\x6c\x6e"]="\x70\x6f\x73\x74\x66\x69\x65l\x64\x57\x68\x61ts\x41\x70\x70\x6e\x75\x6d\x62\x65r";${"\x47\x4c\x4fB\x41\x4cS"}["\x78h\x6a\x6c\x67\x76"]="\x77h\x61\x74s\x61\x70pa\x63tiv\x65\x55\x52L";${$jmgschv}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x70p\x66\x61g\x7ar\x74lf"]}."/\x69s\x52\x65\x67\x69\x73\x74er\x65d\x55se\x72";${${"GLO\x42AL\x53"}["\x67\x61\x69wkg\x73ro\x6c\x6e"]}=array("nu\x6d\x62\x65\x72"=>${$udnysfr});$zyhfjkv="w\x68\x61\x74\x73A\x70pA\x63\x74\x69v\x65I\x6e\x41\x63t\x69\x76\x65";${$ngususfnkmeh}=CTWhatsApp_WhatsappChat_View::callCURL(${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x68\x6a\x6c\x67v"]},${$jjxqpgrfyktx},${$juwdpkvtus});${${"G\x4cOB\x41LS"}["\x72\x78k\x75\x67\x63\x73\x76m"]}=${$zyhfjkv}["\x76a\x6cue"];}}if(${$ksmypp}==1||${${"\x47\x4cO\x42\x41\x4cS"}["b\x69\x65\x76\x65hor\x65hl"]}==2){$umklcvlsmlz="\x67\x65t\x4c\x69\x63\x65\x6e\x73\x65\x44\x65\x74ail";${"G\x4c\x4f\x42ALS"}["\x71w\x77\x6a\x69\x61"]="\x74on\x75m\x62\x65r\x73\x56\x61\x6c\x75e";${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x74\x71r\x77i\x75\x64"]="wh\x61\x74\x73a\x70pSc\x61nN\x6f";${"GL\x4f\x42A\x4cS"}["b\x6dfd\x79i\x65"]="\x67\x65t\x4c\x69\x63\x65\x6eseDe\x74\x61\x69\x6c";${"G\x4c\x4f\x42\x41L\x53"}["p\x66\x73\x6ac\x62\x78\x6c\x64\x76"]="c\x75\x72\x72e\x6e\x44\x61\x74T\x69me";${"\x47\x4cOB\x41\x4c\x53"}["\x6c\x72z\x6a\x6fqmr"]="r\x65\x73\x75\x6c\x74S\x65\x6e\x64\x4de\x73\x73ag\x65";${"G\x4cO\x42\x41L\x53"}["t\x68\x72x\x73\x65\x71wv\x62"]="\x69";$wgvcncc="\x6dod\x75\x6ce\x52ec\x6fr\x64\x69\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66ptvl\x79\x74kb\x72"]="\x67\x65\x74\x57\x68\x61\x74\x73\x61\x70\x70\x41\x63\x63o\x75\x6e\x74";$vcqnzlnmeft="\x63u\x72\x72e\x6eDa\x74\x54ime";${"\x47\x4c\x4fBAL\x53"}["\x70\x67\x6d\x75ij\x6d\x79\x77\x69t"]="number\x61ctive";${"\x47LO\x42A\x4c\x53"}["i\x70\x6asr\x65\x71\x66"]="w\x68\x61\x74\x73A\x70\x70\x4c\x6f\x67I\x64";$lqlgqwvbxzo="\x63u\x72\x72\x65n\x74\x75s\x65\x72\x6e\x61\x6d\x65";$nybwrxm="v\x61\x6c";${"GLO\x42\x41LS"}["\x70\x6e\x6fj\x6fuw\x72\x79\x74"]="\x75p\x64\x61t\x65\x57\x68\x61\x74\x73\x41p\x70\x4d\x65s\x73\x61\x67e\x49\x64";if(${$wgvcncc}){${"\x47L\x4f\x42ALS"}["\x68gj\x79gn\x71\x79h\x6a"]="s\x65\x74\x79pe";$ifbmwimlt="\x64\x69\x73\x70l\x61yn\x61\x6d\x65";$zcenrqugfrj="r\x65\x63\x6f\x72\x64M\x6f\x64\x65\x6c";$jwbefvqyu="\x6d\x6fdu\x6c\x65Reco\x72\x64i\x64";${${"\x47\x4c\x4f\x42\x41\x4cS"}["h\x67j\x79\x67\x6eq\x79h\x6a"]}=VtigerCRMObject::getSEType(${$jwbefvqyu});${$zcenrqugfrj}=Vtiger_Record_Model::getInstanceById(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77b\x66\x75\x79\x6d\x63b\x65"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x70\x61\x69\x66\x7a\x74o\x6an\x63"]});${$ifbmwimlt}=$recordModel->get("l\x61bel");}else{$ammxvc="\x6dobi\x6c\x65\x6e\x6f";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x6b\x6d\x6c\x77\x61e\x6av\x76\x77\x67"]}=${$ammxvc};}${$umklcvlsmlz}=CTWhatsApp_Record_Model::getWhatsAppLicenseDetail();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79ouv\x68\x79\x63"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x6d\x66\x64\x79\x69\x65"]}["\x6c\x69c\x65n\x73eKey"];${${"\x47LO\x42\x41\x4c\x53"}["\x66pt\x76l\x79tk\x62\x72"]}=CTWhatsApp_Record_Model::getWhatsappAccountDetail(${${"\x47L\x4fB\x41\x4c\x53"}["\x79\x6fuv\x68\x79c"]});${${"GL\x4f\x42A\x4c\x53"}["aq\x72\x65q\x71j\x66"]}=CTWhatsApp_Record_Model::getOneDaysMessages();${$lqlgqwvbxzo}=$current_user->first_name."\x20".$current_user->last_name;${"G\x4c\x4fB\x41\x4cS"}["\x67\x75jzl\x77\x67j\x6dtd"]="\x77\x68a\x74s\x61ppl\x6f\x67";${${"\x47\x4c\x4fB\x41L\x53"}["\x77\x6ab\x68j\x61\x62\x76"]}=CTWhatsApp_Record_Model::getWhatsAppLogData(${${"\x47LO\x42AL\x53"}["y\x62e\x66\x66x\x75\x65\x6b\x79\x79\x66"]},${${"G\x4c\x4f\x42AL\x53"}["\x77\x62\x66\x75y\x6dc\x62\x65"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x74qr\x77\x69\x75\x64"]});${"\x47LO\x42\x41L\x53"}["\x68o\x62\x71\x70\x78hh\x61\x72\x78"]="u\x70d\x61teWh\x61\x74s\x41\x70p\x4c\x6fg\x4de\x73s\x61\x67\x65Id";${${"\x47\x4c\x4fBALS"}["f\x6eu\x64\x62\x63\x68\x73q"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77j\x62\x68\x6a\x61\x62v"]}["row\x73"];$pnrhqtrjyir="p\x6f\x73\x74\x66\x69\x65\x6c\x64\x73";${"G\x4cOB\x41L\x53"}["\x6an\x74\x62nh\x64\x72\x61\x69"]="va\x6c";${"\x47\x4c\x4f\x42A\x4cS"}["\x65\x6ahy\x68\x78\x72\x65"]="r\x65\x73u\x6c\x74\x53endM\x65\x73sa\x67\x65";if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x6e\x75d\x62\x63\x68s\x71"]}==0){${"GL\x4f\x42\x41\x4c\x53"}["\x71\x79d\x6c\x67\x6cq\x78"]="c\x75\x72\x72\x65nt\x75\x73\x65r\x6e\x61\x6d\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74\x79\x78x\x67y\x6fg\x62"]="\x64\x69\x73pla\x79\x6e\x61\x6de";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x6a\x6a\x78\x6c\x61"]}=Vtiger_Record_Model::getCleanInstance("W\x68a\x74\x73\x41\x70\x70Log");$recordModel->set("wh\x61\x74\x73\x61\x70\x70\x6c\x6f\x67_s\x65\x6e\x64\x65r\x6e\x61\x6d\x65",${${"\x47LOBALS"}["\x71yd\x6cg\x6cqx"]});if(${${"\x47L\x4fB\x41\x4cS"}["\x6alr\x66\x67hi"]}=="G\x72o\x75ps"){$recordModel->set("w\x68at\x73a\x70plo\x67\x5f\x6d\x73\x67\x69d",${${"G\x4c\x4f\x42\x41\x4cS"}["c\x6b\x6d\x6c\x77a\x65\x6a\x76v\x77\x67"]});$recordModel->set("\x77\x68\x61\x74\x73\x61\x70\x70l\x6fg\x5f\x77ith\x63c\x6f\x64\x65","\x47r\x6f\x75p\x73");}else{$ykdtxezn="\x76\x61l";$recordModel->set("w\x68\x61tsa\x70\x70\x6c\x6f\x67\x5f\x6d\x73\x67\x69d",${$ykdtxezn}["\x6bey"]["\x69\x64"]);$pjxmvspuxv="\x6dob\x69\x6ceno";$recordModel->set("\x77\x68a\x74s\x61\x70\x70\x6c\x6f\x67\x5fw\x69thcco\x64\x65",${$pjxmvspuxv});}$recordModel->set("mess\x61gelo\x67_t\x79pe","\x53e\x6ed");if(${${"\x47\x4c\x4fB\x41L\x53"}["rxr\x6frla"]}){$scaiaxgcjsgr="n\x65\x77\x42\x6f\x64\x79\x66\x69\x6ce\x55RL";$recor