Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php ${"\x47L\x4f\x42\x41L\x53"}["gk\x6cn\x64hc\x68\x62\x72\x6c\x69"]="\x65\x6ed";${"\x47..
Decoded Output download
<?php ${"GLOBALS"}["gklndhchbrli"]="end";${"GLOBALS"}["dlkhdqj"]="start";${"GLOBALS"}["edjklazap"]="projectInfoResult";${"GLOBALS"}["bxighmzr"]="milestoneData";${"GLOBALS"}["oqwldqwd"]="sql";${"GLOBALS"}["lwwlrmrlio"]="request";${"GLOBALS"}["lztewhagby"]="listQuery";${"GLOBALS"}["kjxcvlobpt"]="tasksData";${"GLOBALS"}["tfxhceyscuj"]="progress";${"GLOBALS"}["dvqhcwlmmwf"]="db";${"GLOBALS"}["woigufc"]="queryParts";${"GLOBALS"}["ikbfatqfuwq"]="sorder";${"GLOBALS"}["gtknpuguo"]="tablename";${"GLOBALS"}["chgpgmb"]="vtiger_current_version";${"GLOBALS"}["krcxnmjnqi"]="version";${"GLOBALS"}["xticvjexq"]="viewid";${"GLOBALS"}["htflgicgjov"]="forModule";${"GLOBALS"}["cindnlknnw"]="result";${"GLOBALS"}["rsvyqw"]="i";${"GLOBALS"}["cjricfwn"]="list_query";${"GLOBALS"}["ttyqii"]="projectArray";${"GLOBALS"}["rgnqghb"]="milestoneArray";${"GLOBALS"}["goqbqqswtrk"]="taskArray";${"GLOBALS"}["gwcadnx"]="projectId";${"GLOBALS"}["nadrhl"]="projectList";${"GLOBALS"}["mirgepjvb"]="selected_ids";${"GLOBALS"}["ngzekyfrcki"]="selectedIds";${"GLOBALS"}["nrwcaelcsa"]="data";include_once"modules/VGSGanttCharts/models/VGSLicenseManager.php";class VGSGanttCharts_Module_Model extends Vtiger_Module_Model{function getGanttData(Vtiger_Request$request){$vxkjdmfhob="projectList";${"GLOBALS"}["nqpkkjngwm"]="request";$didqmyonesz="selectedIds";${"GLOBALS"}["exetdbhp"]="selectedIds";${"GLOBALS"}["bsibxeytu"]="data";if(!isLicenseValid($request->getModule())){${"GLOBALS"}["gzxmzcprlc"]="data";${${"GLOBALS"}["gzxmzcprlc"]}[0]["id"]=time();$omfgnmog="data";$glxibbczb="data";${$glxibbczb}[0]["start_date"]=Date("Y-m-d");${$omfgnmog}[0]["type"]="project";${${"GLOBALS"}["nrwcaelcsa"]}[0]["duration"]=7;${${"GLOBALS"}["nrwcaelcsa"]}[0]["text"]="Invalid Module License. Please enabled module License";${${"GLOBALS"}["nrwcaelcsa"]}[0]["progress"]=1;return${${"GLOBALS"}["nrwcaelcsa"]};}${"GLOBALS"}["rscfdqmn"]="selectedIds";${${"GLOBALS"}["exetdbhp"]}=$request->get("selected_ids");${"GLOBALS"}["ipxjjk"]="selectedIds";if(is_array(${${"GLOBALS"}["rscfdqmn"]})&&count(${${"GLOBALS"}["ipxjjk"]})>0){$rwhoqemwj="selected_ids";$dxwfhicpq="selectedIds";${$rwhoqemwj}="(".implode(",",${$dxwfhicpq}).")";}elseif(${${"GLOBALS"}["ngzekyfrcki"]}!=""&&!is_array(${$didqmyonesz})){${${"GLOBALS"}["mirgepjvb"]}="(".${${"GLOBALS"}["ngzekyfrcki"]}.")";}${$vxkjdmfhob}=$this->getQueryResult(${${"GLOBALS"}["nqpkkjngwm"]});if($request->get("for_module")!="ProjectTask"){${${"GLOBALS"}["nrwcaelcsa"]}=array();foreach(${${"GLOBALS"}["nadrhl"]} as${${"GLOBALS"}["gwcadnx"]}){${"GLOBALS"}["biecfpxlv"]="request";${${"GLOBALS"}["goqbqqswtrk"]}=$this->getTaskArray(${${"GLOBALS"}["gwcadnx"]},$request->get("for_module"),${${"GLOBALS"}["mirgepjvb"]},${${"GLOBALS"}["biecfpxlv"]});$equqetqe="data";$tivgobyqi="data";${$equqetqe}=array_merge(${${"GLOBALS"}["nrwcaelcsa"]},${${"GLOBALS"}["goqbqqswtrk"]});${${"GLOBALS"}["rgnqghb"]}=$this->getMilestoneArray(${${"GLOBALS"}["gwcadnx"]},$request->get("for_module"),${${"GLOBALS"}["mirgepjvb"]});${"GLOBALS"}["psnsusf"]="projectId";$vxhxbbjz="projectArray";${${"GLOBALS"}["nrwcaelcsa"]}=array_merge(${${"GLOBALS"}["nrwcaelcsa"]},${${"GLOBALS"}["rgnqghb"]});${$vxhxbbjz}=$this->getProjectArray(${${"GLOBALS"}["psnsusf"]});${${"GLOBALS"}["nrwcaelcsa"]}=array_merge(${$tivgobyqi},${${"GLOBALS"}["ttyqii"]});}}else{$xdrepro="data";${"GLOBALS"}["hlwbjsqk"]="projectList";${$xdrepro}=array();foreach(${${"GLOBALS"}["hlwbjsqk"]} as${${"GLOBALS"}["gwcadnx"]}){$lehlrxs="data";${"GLOBALS"}["bzbryqcc"]="request";$htiwfovwjj="taskArray";${"GLOBALS"}["xfsniu"]="taskArray";$sgmnvar="selected_ids";$sejmtckuvvy="projectId";${$htiwfovwjj}=$this->getTaskArray(${$sejmtckuvvy},$request->get("for_module"),${${"GLOBALS"}["mirgepjvb"]},${${"GLOBALS"}["bzbryqcc"]});${$lehlrxs}=array_merge(${${"GLOBALS"}["nrwcaelcsa"]},${${"GLOBALS"}["xfsniu"]});$pksbzgwo="projectArray";$uqqgmyg="milestoneArray";${"GLOBALS"}["kfedamijgq"]="projectId";${${"GLOBALS"}["rgnqghb"]}=$this->getMilestoneArray(${${"GLOBALS"}["kfedamijgq"]},$request->get("for_module"),${$sgmnvar});${${"GLOBALS"}["nrwcaelcsa"]}=array_merge(${${"GLOBALS"}["nrwcaelcsa"]},${$uqqgmyg});${${"GLOBALS"}["ttyqii"]}=$this->getProjectArray(${${"GLOBALS"}["gwcadnx"]});${${"GLOBALS"}["nrwcaelcsa"]}=array_merge(${${"GLOBALS"}["nrwcaelcsa"]},${$pksbzgwo});}}return${${"GLOBALS"}["bsibxeytu"]};}function getQueryResult(Vtiger_Request$request){${"GLOBALS"}["djcltlmza"]="adb";$yrclbpsmbdl="request";${"GLOBALS"}["mujkqhstsudu"]="list_query";$yyjlcfi="projectList";${"GLOBALS"}["mnhagrncud"]="result";$ktzkxz="result";${${"GLOBALS"}["djcltlmza"]}=PearDatabase::getInstance();${${"GLOBALS"}["mujkqhstsudu"]}=$this->getListQuery(${$yrclbpsmbdl});${${"GLOBALS"}["mnhagrncud"]}=$adb->query(${${"GLOBALS"}["cjricfwn"]});if($adb->num_rows(${$ktzkxz})>0){${"GLOBALS"}["pphqelrnkpkq"]="projectList";${"GLOBALS"}["pyfvzfckv"]="i";$qbccbwgobkj="i";${${"GLOBALS"}["pphqelrnkpkq"]}=array();for(${$qbccbwgobkj}=0;${${"GLOBALS"}["rsvyqw"]}<$adb->num_rows(${${"GLOBALS"}["cindnlknnw"]});${${"GLOBALS"}["pyfvzfckv"]}++){$qjbiwsvrser="result";${${"GLOBALS"}["nadrhl"]}[]=$adb->query_result(${$qjbiwsvrser},${${"GLOBALS"}["rsvyqw"]},"projectid");}}return array_unique(${$yyjlcfi});}function getListQuery(Vtiger_Request$request){$pejirtnbcv="selectedIds";${"GLOBALS"}["yrjpclqrytx"]="forModule";${"GLOBALS"}["wujsbvntn"]="forModule";${"GLOBALS"}["dbkhnfvs"]="selectedIds";${"GLOBALS"}["usitsrpofm"]="forModule";$ivpmbdilonk="selectedIds";$ozzkulnvxe="list_query";$mpdhoui="customView";${"GLOBALS"}["hxcmympd"]="selectedIds";${"GLOBALS"}["xqjzeuntk"]="list_query";$haxluqb="forModule";global$currentModule,$current_user,$adb;${"GLOBALS"}["dwlbmue"]="forModule";${${"GLOBALS"}["htflgicgjov"]}=$request->get("for_module");$rhylwta="selectedIds";${$mpdhoui}=new CustomView(${${"GLOBALS"}["usitsrpofm"]});${${"GLOBALS"}["xticvjexq"]}=$customView->getViewId(${${"GLOBALS"}["htflgicgjov"]});${$pejirtnbcv}=$request->get("selected_ids");$dszfeuerxmpd="list_query";if(is_array(${${"GLOBALS"}["ngzekyfrcki"]})&&count(${${"GLOBALS"}["dbkhnfvs"]})>0){$tdgfmhofjvnt="selected_ids";${$tdgfmhofjvnt}="(".implode(",",${${"GLOBALS"}["ngzekyfrcki"]}).")";}elseif(!is_array(${$ivpmbdilonk})&&${${"GLOBALS"}["hxcmympd"]}!=""){$vhnwyxp="selectedIds";${"GLOBALS"}["rsiletyimlk"]="selected_ids";${${"GLOBALS"}["rsiletyimlk"]}="(".${$vhnwyxp}.")";}include("vtigerversion.php");${${"GLOBALS"}["krcxnmjnqi"]}=explode(".",${${"GLOBALS"}["chgpgmb"]})[0];${$dszfeuerxmpd}=$_SESSION[${${"GLOBALS"}["wujsbvntn"]}."_listquery"];if(!empty(${${"GLOBALS"}["ngzekyfrcki"]})&&${${"GLOBALS"}["yrjpclqrytx"]}=="Project"){${"GLOBALS"}["temssqvc"]="list_query";$hftemvjhasm="list_query";$psztsoyb="selected_ids";if(strpos(${${"GLOBALS"}["cjricfwn"]},"ORDER BY")!==FALSE){${"GLOBALS"}["ubkafazkj"]="list_query";${"GLOBALS"}["bhvmlmkon"]="list_query";${${"GLOBALS"}["ubkafazkj"]}=explode("ORDER BY",${${"GLOBALS"}["bhvmlmkon"]});}${$hftemvjhasm}=${${"GLOBALS"}["temssqvc"]}[0]." AND vtiger_project.projectid IN ".${$psztsoyb}." ORDER BY ".${${"GLOBALS"}["cjricfwn"]}[1];}elseif(!empty(${$rhylwta})&&${${"GLOBALS"}["dwlbmue"]}=="ProjectTask"){${"GLOBALS"}["dtylrswbz"]="list_query";if(strpos(${${"GLOBALS"}["cjricfwn"]},"ORDER BY")!==FALSE){$kpmbpmd="list_query";${${"GLOBALS"}["cjricfwn"]}=explode("ORDER BY",${$kpmbpmd});}${${"GLOBALS"}["cjricfwn"]}=${${"GLOBALS"}["dtylrswbz"]}[0]." AND vtiger_projecttask.projecttaskid IN ".${${"GLOBALS"}["mirgepjvb"]}." ORDER BY ".${${"GLOBALS"}["cjricfwn"]}[1];}${"GLOBALS"}["olxctolxsur"]="order_by";if(!empty(${${"GLOBALS"}["olxctolxsur"]})&&strpos(${${"GLOBALS"}["xqjzeuntk"]},"ORDER BY")===FALSE){${"GLOBALS"}["xydxhjvjxyv"]="sorder";$ldfexti="order_by";if(${$ldfexti}=="smownerid")${${"GLOBALS"}["cjricfwn"]}.=" ORDER BY user_name ".${${"GLOBALS"}["xydxhjvjxyv"]};else{${"GLOBALS"}["jtltjrcr"]="forModule";$kmfiqophkix="order_by";${"GLOBALS"}["wysshrwv"]="tablename";${"GLOBALS"}["ylqsoxt"]="tablename";${"GLOBALS"}["kniwhqpj"]="order_by";${"GLOBALS"}["efnvyvz"]="tablename";${${"GLOBALS"}["gtknpuguo"]}=getTableNameForField(${${"GLOBALS"}["jtltjrcr"]},${${"GLOBALS"}["kniwhqpj"]});${${"GLOBALS"}["wysshrwv"]}=(${${"GLOBALS"}["ylqsoxt"]}!="")?(${${"GLOBALS"}["efnvyvz"]}."."):"";${${"GLOBALS"}["cjricfwn"]}.=" ORDER BY ".${${"GLOBALS"}["gtknpuguo"]}.${$kmfiqophkix}." ".${${"GLOBALS"}["ikbfatqfuwq"]};}}${"GLOBALS"}["tmjivgdj"]="list_query";if(${$haxluqb}=="ProjectTask"&&strpos(${${"GLOBALS"}["tmjivgdj"]},"projectid")===FALSE){$vgfklbfn="queryParts";$hdeihph="list_query";${"GLOBALS"}["dfgedrlpc"]="queryParts";$mrljvbfiset="queryParts";${${"GLOBALS"}["woigufc"]}=explode("FROM",${$hdeihph});${$vgfklbfn}[0]=${${"GLOBALS"}["dfgedrlpc"]}[0].", vtiger_projecttask.projectid ";${${"GLOBALS"}["cjricfwn"]}=${$mrljvbfiset}[0]." FROM ".${${"GLOBALS"}["woigufc"]}[1];}return${$ozzkulnvxe};}function getProjectArray($projectId){$ezkrtxj="result";${${"GLOBALS"}["dvqhcwlmmwf"]}=PearDatabase::getInstance();${"GLOBALS"}["rclrxaofd"]="projectData";${"GLOBALS"}["spctwyjkgos"]="projectData";${${"GLOBALS"}["spctwyjkgos"]}=array();${"GLOBALS"}["mgzqje"]="result";${$ezkrtxj}=$db->query("SELECT * FROM vtiger_project
INNER JOIN vtiger_crmentity ON vtiger_project.projectid=vtiger_crmentity.crmid
WHERE vtiger_project.projectid = '$projectId' AND vtiger_crmentity.deleted=0");if($db->num_rows(${${"GLOBALS"}["mgzqje"]})>0){$qicisqm="data";${"GLOBALS"}["ctoasgb"]="result";$cwsyslwa="progress";$litjmmltla="result";${$qicisqm}["id"]=${${"GLOBALS"}["gwcadnx"]};${"GLOBALS"}["oklieyfszoo"]="data";${${"GLOBALS"}["nrwcaelcsa"]}["start_date"]=$db->query_result(${${"GLOBALS"}["ctoasgb"]},0,"startdate");${${"GLOBALS"}["oklieyfszoo"]}["type"]="project";$rfustpd="data";${"GLOBALS"}["ronuefvucic"]="progress";${${"GLOBALS"}["nrwcaelcsa"]}["duration"]=$this->calcTaskDuration($db->query_result(${$litjmmltla},0,"startdate"),$db->query_result(${${"GLOBALS"}["cindnlknnw"]},0,"targetenddate"));${$rfustpd}["text"]=$db->query_result(${${"GLOBALS"}["cindnlknnw"]},0,"projectname");${$cwsyslwa}=$db->query_result(${${"GLOBALS"}["cindnlknnw"]},0,"progress");$dhntpggmte="data";if(${${"GLOBALS"}["ronuefvucic"]}=="100%"){${${"GLOBALS"}["nrwcaelcsa"]}["progress"]=1;}else{${${"GLOBALS"}["nrwcaelcsa"]}["progress"]=floatval(substr(${${"GLOBALS"}["tfxhceyscuj"]},0,2))/100;}${"GLOBALS"}["cehklsjrpe"]="data";$qidmidsyxsc="projectData";${${"GLOBALS"}["cehklsjrpe"]}["open"]="true";${$dhntpggmte}["parent"]="";array_push(${$qidmidsyxsc},${${"GLOBALS"}["nrwcaelcsa"]});}return${${"GLOBALS"}["rclrxaofd"]};}function getTaskArray($projectId,$forModule,$selected_ids,$request){${"GLOBALS"}["wbbynudu"]="tasksData";${${"GLOBALS"}["dvqhcwlmmwf"]}=PearDatabase::getInstance();${"GLOBALS"}["ksxzgoz"]="result";${${"GLOBALS"}["kjxcvlobpt"]}=array();$tkptteuhpuf="forModule";if(${$tkptteuhpuf}=="ProjectTask"){${"GLOBALS"}["bbofjefiecy"]="listQuery";$mvubnmebfuc="listQuery";${${"GLOBALS"}["lztewhagby"]}=$this->getListQuery(${${"GLOBALS"}["lwwlrmrlio"]});${$mvubnmebfuc}=explode("FROM",${${"GLOBALS"}["lztewhagby"]});${${"GLOBALS"}["lztewhagby"]}="SELECT vtiger_projecttask.* FROM ".${${"GLOBALS"}["lztewhagby"]}[1];${${"GLOBALS"}["cindnlknnw"]}=$db->pquery(${${"GLOBALS"}["bbofjefiecy"]},array());}else{${"GLOBALS"}["amesridnpg"]="sql";${${"GLOBALS"}["amesridnpg"]}="SELECT * FROM vtiger_project
INNER JOIN vtiger_projecttask ON vtiger_project.projectid=vtiger_projecttask.projectid
INNER JOIN vtiger_projecttaskcf ON vtiger_projecttask.projecttaskid=vtiger_projecttaskcf.projecttaskid
INNER JOIN vtiger_crmentity ON vtiger_projecttask.projecttaskid=vtiger_crmentity.crmid
WHERE vtiger_project.projectid = ? AND vtiger_crmentity.deleted=0";${${"GLOBALS"}["cindnlknnw"]}=$db->pquery(${${"GLOBALS"}["oqwldqwd"]},array(${${"GLOBALS"}["gwcadnx"]}));}if($db->num_rows(${${"GLOBALS"}["ksxzgoz"]})>0){$hzvaewylj="i";${"GLOBALS"}["cgdljsjue"]="result";for(${${"GLOBALS"}["rsvyqw"]}=0;${${"GLOBALS"}["rsvyqw"]}<$db->num_rows(${${"GLOBALS"}["cgdljsjue"]});${$hzvaewylj}++){${"GLOBALS"}["hrqeqwlgv"]="result";$oreflnsmv="data";$ttiiknsrb="i";$mjxwhcjk="result";${"GLOBALS"}["cowltiupir"]="data";$wcdqypf="forModule";$wgckgeyp="i";${"GLOBALS"}["pyfobuti"]="i";$ifmhys="data";${${"GLOBALS"}["nrwcaelcsa"]}["id"]=$db->query_result(${$mjxwhcjk},${${"GLOBALS"}["pyfobuti"]},"projecttaskid");${$ifmhys}["type"]="";${"GLOBALS"}["egbmqjf"]="result";${"GLOBALS"}["siqxcxp"]="i";${${"GLOBALS"}["nrwcaelcsa"]}["start_date"]=$db->query_result(${${"GLOBALS"}["hrqeqwlgv"]},${$wgckgeyp},"startdate");${$oreflnsmv}["duration"]=$this->calcTaskDuration($db->query_result(${${"GLOBALS"}["cindnlknnw"]},${${"GLOBALS"}["rsvyqw"]},"startdate"),$db->query_result(${${"GLOBALS"}["cindnlknnw"]},${${"GLOBALS"}["siqxcxp"]},"enddate"));${${"GLOBALS"}["nrwcaelcsa"]}["text"]=$db->query_result(${${"GLOBALS"}["egbmqjf"]},${${"GLOBALS"}["rsvyqw"]},"projecttaskname");${${"GLOBALS"}["tfxhceyscuj"]}=$db->query_result(${${"GLOBALS"}["cindnlknnw"]},${$ttiiknsrb},"projecttaskprogress");${"GLOBALS"}["wbowulvo"]="tasksData";if(${${"GLOBALS"}["tfxhceyscuj"]}=="100%"){${"GLOBALS"}["axxfpkbfhbv"]="data";${${"GLOBALS"}["axxfpkbfhbv"]}["progress"]=1;}else{${${"GLOBALS"}["nrwcaelcsa"]}["progress"]=floatval(substr(${${"GLOBALS"}["tfxhceyscuj"]},0,2))/100;}${${"GLOBALS"}["cowltiupir"]}["open"]="true";if(${$wcdqypf}=="ProjectTask"){${"GLOBALS"}["flxcwj"]="result";${${"GLOBALS"}["nrwcaelcsa"]}["parent"]=$db->query_result(${${"GLOBALS"}["flxcwj"]},${${"GLOBALS"}["rsvyqw"]},"projectid");}else{${"GLOBALS"}["xmkpqklrbg"]="data";${${"GLOBALS"}["xmkpqklrbg"]}["parent"]=${${"GLOBALS"}["gwcadnx"]};}array_push(${${"GLOBALS"}["wbowulvo"]},${${"GLOBALS"}["nrwcaelcsa"]});}}return${${"GLOBALS"}["wbbynudu"]};}function getMilestoneArray($projectId,$forModule,$selected_ids){$dfinuznffwqs="milestoneData";${"GLOBALS"}["qvtdjtwo"]="db";${${"GLOBALS"}["qvtdjtwo"]}=PearDatabase::getInstance();$grpcdiwaf="selected_ids";${$dfinuznffwqs}=array();$sxvypfq="forModule";if(${${"GLOBALS"}["htflgicgjov"]}=="Project"){${"GLOBALS"}["pcjxudqw"]="result";${${"GLOBALS"}["pcjxudqw"]}=$db->query("SELECT * FROM vtiger_projectmilestone
INNER JOIN vtiger_crmentity ON vtiger_projectmilestone.projectmilestoneid=vtiger_crmentity.crmid
WHERE vtiger_projectmilestone.projectid = '$projectId' AND vtiger_crmentity.deleted=0");if($db->num_rows(${${"GLOBALS"}["cindnlknnw"]})>0){${"GLOBALS"}["rohptilbkbyi"]="i";${"GLOBALS"}["dqswkuoi"]="i";$cmvrragnh="i";for(${$cmvrragnh}=0;${${"GLOBALS"}["rohptilbkbyi"]}<$db->num_rows(${${"GLOBALS"}["cindnlknnw"]});${${"GLOBALS"}["dqswkuoi"]}++){${"GLOBALS"}["rldovtw"]="data";${${"GLOBALS"}["nrwcaelcsa"]}["id"]=$db->query_result(${${"GLOBALS"}["cindnlknnw"]},${${"GLOBALS"}["rsvyqw"]},"projectmilestoneid");${"GLOBALS"}["buguwt"]="i";${${"GLOBALS"}["nrwcaelcsa"]}["type"]="milestone";${${"GLOBALS"}["rldovtw"]}["start_date"]=$db->query_result(${${"GLOBALS"}["cindnlknnw"]},${${"GLOBALS"}["buguwt"]},"projectmilestonedate");${"GLOBALS"}["oxvzcjfjki"]="data";${${"GLOBALS"}["nrwcaelcsa"]}["text"]=$db->query_result(${${"GLOBALS"}["cindnlknnw"]},${${"GLOBALS"}["rsvyqw"]},"projectmilestonename");${${"GLOBALS"}["oxvzcjfjki"]}["open"]="true";${"GLOBALS"}["ygedfl"]="data";${${"GLOBALS"}["nrwcaelcsa"]}["progress"]=0;${${"GLOBALS"}["nrwcaelcsa"]}["parent"]=${${"GLOBALS"}["gwcadnx"]};array_push(${${"GLOBALS"}["bxighmzr"]},${${"GLOBALS"}["ygedfl"]});}}}elseif(${$sxvypfq}=="ProjectTask"&&${$grpcdiwaf}!=""){$lhwbvngxb="projectId";${"GLOBALS"}["nkibprfnqrlm"]="data";${"GLOBALS"}["hrloxrpx"]="milestoneData";${"GLOBALS"}["skbnylktdtdg"]="data";$plffqnh="projectId";${${"GLOBALS"}["edjklazap"]}=$db->pquery("SELECT vtiger_project.projectname,min(vtiger_projecttask.startdate) as projectstartdate, max(vtiger_projecttask.enddate) as projectenddate, vtiger_project.progress
FROM vtiger_project
INNER JOIN vtiger_projecttask ON vtiger_project.projectid=vtiger_projecttask.projectid
INNER JOIN vtiger_crmentity ON vtiger_projecttask.projecttaskid=vtiger_crmentity.crmid
WHERE vtiger_project.projectid = ? AND vtiger_crmentity.deleted=0",array(${$lhwbvngxb}));${"GLOBALS"}["drckzy"]="data";$vvkxutjb="data";${"GLOBALS"}["oojjjtcjuk"]="data";${"GLOBALS"}["njyabg"]="data";${"GLOBALS"}["ipdipxgrsfd"]="data";${${"GLOBALS"}["nkibprfnqrlm"]}["id"]=rand(1000000,10000000);${${"GLOBALS"}["nrwcaelcsa"]}["type"]="milestone";${"GLOBALS"}["bsxpooj"]="data";${"GLOBALS"}["chbnzrcwhfd"]="data";${${"GLOBALS"}["nrwcaelcsa"]}["start_date"]=date("Y-m-d",strtotime("-0 days",strtotime($db->query_result(${${"GLOBALS"}["edjklazap"]},0,"projectstartdate"))));${${"GLOBALS"}["njyabg"]}["text"]="Project Start";${${"GLOBALS"}["skbnylktdtdg"]}["open"]="true";${${"GLOBALS"}["nrwcaelcsa"]}["progress"]=0;${${"GLOBALS"}["nrwcaelcsa"]}["parent"]=${$plffqnh};array_push(${${"GLOBALS"}["bxighmzr"]},${$vvkxutjb});${${"GLOBALS"}["drckzy"]}["id"]=rand(1000000,10000000);${${"GLOBALS"}["nrwcaelcsa"]}["type"]="milestone";${${"GLOBALS"}["nrwcaelcsa"]}["start_date"]=date("Y-m-d",strtotime("+1 days",strtotime($db->query_result(${${"GLOBALS"}["edjklazap"]},0,"projectenddate"))));${${"GLOBALS"}["oojjjtcjuk"]}["text"]="Project End";${${"GLOBALS"}["bsxpooj"]}["open"]="true";${${"GLOBALS"}["ipdipxgrsfd"]}["progress"]=0;${${"GLOBALS"}["chbnzrcwhfd"]}["parent"]=${${"GLOBALS"}["gwcadnx"]};array_push(${${"GLOBALS"}["hrloxrpx"]},${${"GLOBALS"}["nrwcaelcsa"]});}return${${"GLOBALS"}["bxighmzr"]};}function calcTaskDuration($start,$end){${"GLOBALS"}["ofrgtrrpur"]="duration";$emerogv="end";${"GLOBALS"}["balgvzg"]="end";${${"GLOBALS"}["dlkhdqj"]}=strtotime(${${"GLOBALS"}["dlkhdqj"]});$bvmznwspl="duration";${${"GLOBALS"}["gklndhchbrli"]}=strtotime(${${"GLOBALS"}["balgvzg"]});${${"GLOBALS"}["ofrgtrrpur"]}=(${$emerogv}-${${"GLOBALS"}["dlkhdqj"]})/(24*60*60);return${$bvmznwspl}+1;}}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47L\x4f\x42\x41L\x53"}["gk\x6cn\x64hc\x68\x62\x72\x6c\x69"]="\x65\x6ed";${"\x47\x4c\x4fBA\x4c\x53"}["d\x6ck\x68\x64q\x6a"]="\x73\x74\x61\x72\x74";${"\x47\x4cO\x42\x41L\x53"}["\x65dj\x6bl\x61\x7a\x61p"]="p\x72\x6f\x6aec\x74I\x6e\x66\x6f\x52e\x73\x75\x6c\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x62x\x69\x67h\x6d\x7ar"]="m\x69\x6c\x65\x73\x74\x6f\x6e\x65\x44\x61\x74\x61";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x71\x77l\x64qw\x64"]="sql";${"\x47\x4c\x4f\x42\x41L\x53"}["lw\x77\x6c\x72\x6d\x72\x6c\x69\x6f"]="\x72\x65qu\x65\x73\x74";${"\x47\x4cO\x42AL\x53"}["l\x7a\x74\x65\x77\x68a\x67\x62\x79"]="\x6c\x69\x73tQu\x65\x72\x79";${"\x47LO\x42ALS"}["\x6b\x6a\x78\x63\x76\x6c\x6f\x62\x70\x74"]="\x74a\x73\x6b\x73\x44\x61\x74a";${"G\x4c\x4f\x42A\x4c\x53"}["\x74f\x78\x68\x63\x65y\x73c\x75j"]="\x70\x72\x6fgr\x65\x73s";${"\x47LO\x42AL\x53"}["\x64\x76\x71\x68\x63\x77\x6c\x6d\x6d\x77\x66"]="\x64\x62";${"\x47\x4cO\x42\x41\x4cS"}["\x77\x6f\x69\x67\x75f\x63"]="q\x75\x65r\x79\x50\x61\x72\x74\x73";${"\x47\x4c\x4fB\x41\x4cS"}["ik\x62\x66a\x74q\x66uw\x71"]="\x73o\x72\x64e\x72";${"\x47\x4c\x4fB\x41L\x53"}["g\x74\x6b\x6e\x70ug\x75\x6f"]="\x74\x61\x62\x6ce\x6eam\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x63\x68\x67\x70\x67m\x62"]="v\x74ige\x72\x5fc\x75r\x72\x65\x6e\x74\x5f\x76\x65rs\x69\x6fn";${"G\x4c\x4f\x42\x41L\x53"}["\x6b\x72c\x78\x6e\x6djn\x71\x69"]="\x76\x65r\x73\x69o\x6e";${"\x47L\x4fBA\x4c\x53"}["\x78\x74\x69\x63\x76je\x78\x71"]="\x76i\x65\x77\x69d";${"\x47\x4cOBAL\x53"}["h\x74f\x6c\x67\x69\x63\x67j\x6fv"]="\x66\x6frMod\x75l\x65";${"G\x4c\x4fB\x41\x4c\x53"}["\x63indn\x6cknn\x77"]="\x72\x65\x73u\x6c\x74";${"GLOB\x41\x4c\x53"}["rsv\x79q\x77"]="\x69";${"GLO\x42ALS"}["\x63j\x72\x69\x63\x66\x77n"]="\x6ci\x73\x74\x5f\x71u\x65\x72\x79";${"\x47L\x4f\x42A\x4c\x53"}["\x74\x74\x79qi\x69"]="\x70\x72\x6f\x6a\x65c\x74\x41\x72\x72a\x79";${"\x47\x4cO\x42\x41L\x53"}["rg\x6eq\x67hb"]="\x6d\x69\x6c\x65\x73\x74oneA\x72\x72\x61y";${"\x47L\x4f\x42A\x4c\x53"}["\x67\x6f\x71\x62\x71qsw\x74\x72\x6b"]="t\x61skAr\x72\x61y";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x77\x63ad\x6ex"]="pr\x6f\x6a\x65\x63t\x49\x64";${"GLOB\x41LS"}["\x6ea\x64\x72\x68\x6c"]="\x70\x72\x6f\x6a\x65\x63\x74\x4c\x69\x73t";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x69\x72ge\x70j\x76\x62"]="s\x65\x6cect\x65\x64\x5fids";${"GL\x4fB\x41LS"}["\x6eg\x7a\x65\x6by\x66rc\x6b\x69"]="\x73e\x6c\x65\x63\x74\x65dIds";${"\x47\x4cO\x42\x41L\x53"}["n\x72wc\x61\x65\x6ccsa"]="\x64at\x61";include_once"\x6d\x6fdules/VG\x53\x47a\x6ett\x43hart\x73/\x6dod\x65ls/VGSL\x69c\x65\x6e\x73eM\x61na\x67e\x72\x2e\x70\x68\x70";class VGSGanttCharts_Module_Model extends Vtiger_Module_Model{function getGanttData(Vtiger_Request$request){$vxkjdmfhob="\x70\x72\x6fj\x65c\x74\x4c\x69\x73t";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x71\x70\x6b\x6b\x6ang\x77m"]="r\x65qu\x65\x73\x74";$didqmyonesz="\x73\x65\x6c\x65c\x74\x65\x64\x49\x64\x73";${"\x47L\x4fB\x41\x4c\x53"}["exetd\x62\x68\x70"]="sel\x65\x63\x74\x65\x64\x49ds";${"GL\x4fB\x41\x4cS"}["\x62\x73ib\x78e\x79\x74\x75"]="dat\x61";if(!isLicenseValid($request->getModule())){${"\x47\x4cOB\x41\x4c\x53"}["\x67\x7a\x78\x6d\x7ac\x70\x72\x6cc"]="d\x61t\x61";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67z\x78\x6dzc\x70\x72\x6c\x63"]}[0]["i\x64"]=time();$omfgnmog="\x64at\x61";$glxibbczb="\x64\x61\x74\x61";${$glxibbczb}[0]["\x73tart\x5fdat\x65"]=Date("\x59-\x6d-\x64");${$omfgnmog}[0]["\x74\x79\x70\x65"]="pro\x6ae\x63t";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x72wca\x65lc\x73\x61"]}[0]["\x64u\x72\x61\x74\x69o\x6e"]=7;${${"\x47\x4c\x4f\x42\x41L\x53"}["nr\x77\x63\x61\x65l\x63\x73\x61"]}[0]["\x74\x65\x78t"]="I\x6e\x76\x61l\x69\x64\x20Mod\x75\x6c\x65\x20\x4c\x69\x63e\x6ese. Ple\x61\x73\x65 \x65n\x61bl\x65\x64\x20\x6dod\x75\x6ce\x20\x4c\x69\x63\x65nse";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x72w\x63\x61\x65\x6ccsa"]}[0]["\x70rog\x72\x65\x73s"]=1;return${${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x72\x77c\x61e\x6c\x63s\x61"]};}${"\x47L\x4fB\x41L\x53"}["r\x73cf\x64\x71\x6d\x6e"]="\x73e\x6c\x65\x63\x74\x65\x64\x49d\x73";${${"G\x4cO\x42A\x4c\x53"}["\x65\x78et\x64b\x68\x70"]}=$request->get("\x73e\x6c\x65\x63\x74e\x64_i\x64s");${"\x47L\x4f\x42A\x4cS"}["\x69p\x78jjk"]="\x73\x65\x6c\x65\x63t\x65\x64Id\x73";if(is_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72\x73\x63f\x64q\x6d\x6e"]})&&count(${${"\x47\x4cO\x42A\x4cS"}["i\x70\x78\x6aj\x6b"]})>0){$rwhoqemwj="\x73e\x6c\x65\x63te\x64\x5fid\x73";$dxwfhicpq="\x73\x65\x6c\x65\x63\x74\x65dIds";${$rwhoqemwj}="(".implode(",",${$dxwfhicpq}).")";}elseif(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6eg\x7a\x65\x6byfr\x63\x6b\x69"]}!=""&&!is_array(${$didqmyonesz})){${${"\x47LO\x42A\x4c\x53"}["m\x69\x72\x67\x65pjv\x62"]}="(".${${"GL\x4f\x42A\x4c\x53"}["n\x67\x7a\x65\x6b\x79\x66\x72\x63\x6b\x69"]}.")";}${$vxkjdmfhob}=$this->getQueryResult(${${"\x47\x4cO\x42A\x4cS"}["nq\x70k\x6b\x6a\x6eg\x77\x6d"]});if($request->get("\x66or_modu\x6c\x65")!="P\x72\x6f\x6a\x65c\x74T\x61\x73\x6b"){${${"GLOB\x41LS"}["n\x72\x77c\x61\x65\x6c\x63\x73\x61"]}=array();foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x61\x64r\x68l"]} as${${"G\x4c\x4f\x42\x41L\x53"}["g\x77\x63a\x64\x6e\x78"]}){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x69\x65\x63f\x70xl\x76"]="\x72\x65q\x75\x65st";${${"G\x4cO\x42\x41LS"}["\x67o\x71\x62qqs\x77t\x72\x6b"]}=$this->getTaskArray(${${"GL\x4fB\x41\x4c\x53"}["\x67\x77\x63ad\x6e\x78"]},$request->get("fo\x72\x5f\x6do\x64u\x6ce"),${${"\x47\x4c\x4f\x42\x41LS"}["\x6di\x72\x67\x65\x70jv\x62"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x69\x65c\x66px\x6c\x76"]});$equqetqe="d\x61\x74\x61";$tivgobyqi="\x64a\x74\x61";${$equqetqe}=array_merge(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x72\x77ca\x65lcs\x61"]},${${"GLOBA\x4c\x53"}["\x67\x6fqb\x71\x71\x73\x77\x74\x72\x6b"]});${${"\x47\x4c\x4f\x42AL\x53"}["\x72\x67n\x71\x67\x68b"]}=$this->getMilestoneArray(${${"\x47LOBAL\x53"}["\x67\x77\x63a\x64n\x78"]},$request->get("\x66or\x5f\x6d\x6f\x64\x75\x6c\x65"),${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x69r\x67\x65p\x6a\x76\x62"]});${"\x47LOB\x41\x4c\x53"}["p\x73n\x73\x75\x73\x66"]="\x70\x72oj\x65c\x74\x49\x64";$vxhxbbjz="\x70r\x6fj\x65c\x74\x41\x72\x72\x61y";${${"\x47L\x4f\x42A\x4cS"}["\x6e\x72w\x63ae\x6cc\x73a"]}=array_merge(${${"GLO\x42A\x4c\x53"}["\x6erw\x63a\x65lc\x73a"]},${${"\x47\x4cO\x42A\x4c\x53"}["r\x67\x6e\x71\x67\x68\x62"]});${$vxhxbbjz}=$this->getProjectArray(${${"\x47\x4cO\x42\x41\x4c\x53"}["p\x73\x6e\x73u\x73\x66"]});${${"G\x4cO\x42\x41\x4c\x53"}["\x6er\x77c\x61el\x63\x73\x61"]}=array_merge(${$tivgobyqi},${${"\x47L\x4fB\x41\x4c\x53"}["t\x74\x79\x71\x69i"]});}}else{$xdrepro="\x64\x61\x74\x61";${"\x47\x4cOB\x41\x4cS"}["\x68\x6c\x77\x62\x6a\x73\x71\x6b"]="pr\x6fj\x65\x63\x74\x4c\x69\x73t";${$xdrepro}=array();foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x6c\x77bj\x73\x71k"]} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x77\x63\x61\x64\x6ex"]}){$lehlrxs="\x64\x61ta";${"G\x4c\x4fBAL\x53"}["\x62\x7ab\x72\x79\x71\x63\x63"]="r\x65\x71\x75es\x74";$htiwfovwjj="ta\x73\x6bA\x72\x72a\x79";${"G\x4c\x4f\x42\x41L\x53"}["\x78\x66\x73\x6e\x69u"]="t\x61s\x6b\x41\x72\x72\x61\x79";$sgmnvar="\x73e\x6cec\x74e\x64\x5f\x69\x64\x73";$sejmtckuvvy="\x70r\x6f\x6a\x65\x63\x74\x49\x64";${$htiwfovwjj}=$this->getTaskArray(${$sejmtckuvvy},$request->get("for_modul\x65"),${${"\x47L\x4fB\x41\x4cS"}["\x6d\x69\x72g\x65\x70\x6av\x62"]},${${"G\x4c\x4fB\x41L\x53"}["b\x7a\x62\x72\x79\x71\x63\x63"]});${$lehlrxs}=array_merge(${${"\x47\x4cOB\x41\x4c\x53"}["\x6er\x77\x63\x61e\x6cc\x73a"]},${${"GL\x4f\x42\x41\x4cS"}["\x78\x66\x73\x6ei\x75"]});$pksbzgwo="\x70\x72\x6fjec\x74A\x72\x72\x61y";$uqqgmyg="m\x69\x6c\x65\x73t\x6f\x6ee\x41rr\x61y";${"\x47L\x4fB\x41\x4c\x53"}["\x6b\x66\x65\x64\x61\x6di\x6agq"]="\x70ro\x6aectI\x64";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x67nq\x67hb"]}=$this->getMilestoneArray(${${"GL\x4f\x42\x41\x4c\x53"}["k\x66\x65da\x6d\x69j\x67\x71"]},$request->get("\x66\x6f\x72_mo\x64ul\x65"),${$sgmnvar});${${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x72\x77\x63a\x65l\x63s\x61"]}=array_merge(${${"\x47\x4c\x4f\x42ALS"}["\x6er\x77ca\x65\x6c\x63\x73\x61"]},${$uqqgmyg});${${"\x47LO\x42AL\x53"}["\x74\x74\x79\x71ii"]}=$this->getProjectArray(${${"G\x4c\x4f\x42\x41\x4cS"}["\x67\x77\x63a\x64\x6e\x78"]});${${"\x47\x4cOB\x41\x4c\x53"}["\x6e\x72\x77\x63\x61e\x6ccsa"]}=array_merge(${${"GL\x4f\x42\x41L\x53"}["\x6e\x72\x77c\x61e\x6c\x63\x73a"]},${$pksbzgwo});}}return${${"\x47L\x4f\x42AL\x53"}["\x62\x73\x69b\x78\x65y\x74u"]};}function getQueryResult(Vtiger_Request$request){${"\x47L\x4fB\x41L\x53"}["\x64j\x63\x6c\x74l\x6dza"]="a\x64\x62";$yrclbpsmbdl="\x72\x65\x71ue\x73\x74";${"\x47\x4c\x4f\x42ALS"}["\x6d\x75\x6a\x6b\x71\x68s\x74\x73\x75\x64\x75"]="l\x69\x73\x74\x5f\x71\x75er\x79";$yyjlcfi="\x70r\x6f\x6a\x65ct\x4c\x69\x73t";${"\x47\x4c\x4fBALS"}["m\x6e\x68\x61\x67r\x6ecu\x64"]="\x72e\x73ult";$ktzkxz="\x72\x65\x73\x75\x6c\x74";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64j\x63l\x74\x6cmza"]}=PearDatabase::getInstance();${${"G\x4c\x4fBA\x4c\x53"}["\x6d\x75\x6a\x6bq\x68\x73\x74\x73\x75d\x75"]}=$this->getListQuery(${$yrclbpsmbdl});${${"\x47LO\x42\x41LS"}["\x6dn\x68\x61g\x72\x6e\x63\x75\x64"]}=$adb->query(${${"\x47LOB\x41\x4cS"}["\x63\x6a\x72i\x63f\x77\x6e"]});if($adb->num_rows(${$ktzkxz})>0){${"GL\x4f\x42\x41\x4c\x53"}["\x70p\x68q\x65l\x72\x6e\x6bpk\x71"]="\x70\x72oj\x65c\x74\x4c\x69\x73t";${"G\x4c\x4f\x42A\x4c\x53"}["py\x66\x76\x7a\x66\x63kv"]="\x69";$qbccbwgobkj="i";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70p\x68\x71\x65\x6c\x72nk\x70kq"]}=array();for(${$qbccbwgobkj}=0;${${"G\x4c\x4f\x42A\x4cS"}["\x72\x73v\x79q\x77"]}<$adb->num_rows(${${"G\x4c\x4f\x42A\x4c\x53"}["\x63\x69\x6e\x64\x6el\x6b\x6enw"]});${${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x79\x66\x76\x7afc\x6b\x76"]}++){$qjbiwsvrser="\x72\x65s\x75l\x74";${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x61\x64\x72\x68\x6c"]}[]=$adb->query_result(${$qjbiwsvrser},${${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x73\x76\x79\x71\x77"]},"\x70\x72\x6f\x6ae\x63tid");}}return array_unique(${$yyjlcfi});}function getListQuery(Vtiger_Request$request){$pejirtnbcv="\x73e\x6c\x65\x63\x74e\x64\x49d\x73";${"GL\x4f\x42\x41\x4c\x53"}["y\x72j\x70\x63\x6c\x71\x72y\x74x"]="fo\x72\x4d\x6fd\x75\x6c\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77u\x6as\x62vntn"]="f\x6fr\x4do\x64\x75l\x65";${"GLO\x42\x41\x4cS"}["d\x62k\x68\x6ef\x76\x73"]="\x73ele\x63\x74\x65\x64\x49d\x73";${"\x47\x4c\x4f\x42A\x4cS"}["\x75\x73\x69\x74\x73\x72pofm"]="f\x6f\x72\x4dod\x75\x6c\x65";$ivpmbdilonk="\x73\x65\x6c\x65\x63\x74\x65dI\x64s";$ozzkulnvxe="lis\x74\x5f\x71\x75\x65\x72\x79";$mpdhoui="cus\x74o\x6d\x56\x69\x65\x77";${"GL\x4f\x42ALS"}["\x68\x78\x63\x6dy\x6d\x70\x64"]="se\x6cec\x74\x65\x64Ids";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x71\x6a\x7a\x65un\x74k"]="\x6c\x69st\x5f\x71\x75er\x79";$haxluqb="fo\x72\x4do\x64\x75\x6ce";global$currentModule,$current_user,$adb;${"\x47LO\x42A\x4c\x53"}["\x64\x77\x6cb\x6du\x65"]="\x66\x6fr\x4d\x6f\x64ul\x65";${${"\x47\x4c\x4f\x42\x41LS"}["htf\x6c\x67ic\x67\x6a\x6f\x76"]}=$request->get("f\x6fr_mo\x64\x75\x6ce");$rhylwta="\x73\x65\x6c\x65\x63\x74\x65dI\x64\x73";${$mpdhoui}=new CustomView(${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x73\x69\x74s\x72p\x6f\x66\x6d"]});${${"\x47L\x4f\x42ALS"}["\x78\x74\x69\x63\x76\x6a\x65\x78\x71"]}=$customView->getViewId(${${"\x47L\x4f\x42\x41L\x53"}["\x68\x74\x66l\x67\x69\x63\x67j\x6f\x76"]});${$pejirtnbcv}=$request->get("se\x6c\x65\x63t\x65\x64_ids");$dszfeuerxmpd="\x6ci\x73\x74\x5f\x71\x75\x65\x72\x79";if(is_array(${${"G\x4c\x4fB\x41LS"}["\x6eg\x7ae\x6by\x66\x72c\x6bi"]})&&count(${${"G\x4cO\x42\x41L\x53"}["d\x62\x6b\x68\x6e\x66\x76\x73"]})>0){$tdgfmhofjvnt="s\x65\x6c\x65\x63\x74\x65d\x5fid\x73";${$tdgfmhofjvnt}="(".implode(",",${${"GL\x4f\x42\x41\x4c\x53"}["\x6eg\x7a\x65k\x79\x66\x72\x63\x6b\x69"]}).")";}elseif(!is_array(${$ivpmbdilonk})&&${${"\x47\x4cO\x42\x41\x4c\x53"}["h\x78c\x6d\x79\x6dp\x64"]}!=""){$vhnwyxp="\x73\x65\x6c\x65\x63t\x65dI\x64\x73";${"G\x4c\x4f\x42\x41L\x53"}["r\x73\x69l\x65t\x79imlk"]="\x73\x65\x6c\x65\x63\x74\x65d\x5f\x69\x64\x73";${${"G\x4cOB\x41\x4c\x53"}["\x72\x73il\x65t\x79iml\x6b"]}="(".${$vhnwyxp}.")";}include("\x76t\x69ge\x72\x76e\x72\x73\x69\x6fn\x2e\x70\x68\x70");${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x72c\x78\x6emj\x6eqi"]}=explode("\x2e",${${"\x47LOB\x41\x4c\x53"}["\x63\x68g\x70gm\x62"]})[0];${$dszfeuerxmpd}=$_SESSION[${${"GL\x4f\x42\x41\x4c\x53"}["w\x75j\x73\x62v\x6et\x6e"]}."_lis\x74qu\x65\x72\x79"];if(!empty(${${"G\x4cO\x42\x41\x4cS"}["ng\x7ae\x6by\x66\x72\x63k\x69"]})&&${${"GL\x4fB\x41LS"}["y\x72\x6apc\x6c\x71\x72\x79\x74\x78"]}=="\x50r\x6fj\x65\x63\x74"){${"G\x4cO\x42A\x4cS"}["\x74\x65m\x73\x73q\x76c"]="\x6c\x69s\x74_q\x75ery";$hftemvjhasm="\x6ci\x73\x74\x5f\x71\x75\x65ry";$psztsoyb="\x73el\x65\x63t\x65\x64_id\x73";if(strpos(${${"\x47\x4c\x4f\x42A\x4cS"}["\x63j\x72\x69\x63\x66\x77n"]},"\x4f\x52\x44ER BY")!==FALSE){${"G\x4c\x4fB\x41L\x53"}["\x75\x62\x6ba\x66azkj"]="l\x69s\x74\x5fq\x75er\x79";${"\x47L\x4f\x42AL\x53"}["\x62h\x76\x6d\x6cmk\x6f\x6e"]="\x6ci\x73\x74\x5f\x71ue\x72y";${${"GL\x4f\x42\x41\x4c\x53"}["u\x62\x6b\x61\x66a\x7ak\x6a"]}=explode("OR\x44\x45R BY",${${"\x47\x4c\x4fB\x41\x4c\x53"}["b\x68\x76m\x6c\x6d\x6b\x6f\x6e"]});}${$hftemvjhasm}=${${"GL\x4fBA\x4c\x53"}["\x74e\x6d\x73\x73\x71vc"]}[0]." \x41\x4eD vt\x69\x67e\x72\x5fpro\x6a\x65c\x74\x2e\x70\x72\x6fj\x65\x63\x74\x69\x64 IN ".${$psztsoyb}."\x20\x4f\x52DER BY\x20".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x6a\x72ic\x66w\x6e"]}[1];}elseif(!empty(${$rhylwta})&&${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x77l\x62m\x75\x65"]}=="P\x72oj\x65\x63t\x54as\x6b"){${"\x47\x4c\x4f\x42\x41\x4cS"}["dt\x79\x6cr\x73w\x62\x7a"]="\x6cist_q\x75\x65\x72\x79";if(strpos(${${"\x47\x4c\x4fBA\x4c\x53"}["\x63\x6ar\x69\x63\x66\x77\x6e"]},"\x4f\x52\x44ER\x20BY")!==FALSE){$kpmbpmd="l\x69\x73\x74\x5f\x71\x75e\x72\x79";${${"G\x4cOB\x41\x4c\x53"}["cj\x72i\x63\x66\x77\x6e"]}=explode("O\x52D\x45R\x20\x42Y",${$kpmbpmd});}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x6ar\x69c\x66\x77n"]}=${${"\x47L\x4f\x42\x41\x4cS"}["\x64\x74\x79l\x72\x73w\x62\x7a"]}[0]."\x20AN\x44 v\x74i\x67e\x72_p\x72\x6f\x6ae\x63t\x74\x61sk.\x70ro\x6a\x65c\x74\x74\x61ski\x64\x20IN ".${${"G\x4cO\x42A\x4cS"}["\x6d\x69\x72\x67\x65\x70jv\x62"]}." O\x52DE\x52\x20\x42\x59\x20".${${"\x47\x4c\x4f\x42\x41LS"}["c\x6ari\x63fw\x6e"]}[1];}${"\x47\x4c\x4fB\x41L\x53"}["\x6flx\x63t\x6flxs\x75\x72"]="\x6f\x72\x64\x65\x72_\x62\x79";if(!empty(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x6c\x78\x63\x74\x6f\x6cx\x73u\x72"]})&&strpos(${${"\x47\x4c\x4fB\x41\x4cS"}["\x78q\x6az\x65un\x74k"]},"OR\x44E\x52\x20B\x59")===FALSE){${"GL\x4f\x42AL\x53"}["xy\x64x\x68\x6a\x76\x6a\x78\x79\x76"]="sord\x65\x72";$ldfexti="\x6f\x72\x64\x65\x72\x5f\x62\x79";if(${$ldfexti}=="smown\x65\x72i\x64")${${"G\x4c\x4fB\x41LS"}["\x63jri\x63fw\x6e"]}.=" \x4fRDER \x42Y \x75se\x72\x5fn\x61\x6d\x65 ".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78yd\x78\x68\x6a\x76\x6a\x78y\x76"]};else{${"\x47\x4cO\x42\x41\x4c\x53"}["jt\x6ct\x6a\x72\x63\x72"]="\x66o\x72\x4d\x6f\x64\x75\x6c\x65";$kmfiqophkix="\x6f\x72\x64er\x5fby";${"G\x4cO\x42\x41\x4cS"}["\x77\x79\x73\x73h\x72w\x76"]="\x74\x61\x62\x6c\x65\x6e\x61\x6d\x65";${"\x47\x4cOB\x41L\x53"}["y\x6c\x71\x73\x6f\x78t"]="t\x61\x62\x6c\x65\x6eam\x65";${"G\x4c\x4fBAL\x53"}["k\x6e\x69\x77\x68q\x70\x6a"]="ord\x65r_\x62\x79";${"\x47LO\x42\x41L\x53"}["efnv\x79\x76z"]="\x74\x61\x62\x6cen\x61m\x65";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x74\x6bnpugu\x6f"]}=getTableNameForField(${${"GL\x4f\x42A\x4cS"}["jtl\x74\x6a\x72cr"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bni\x77\x68\x71p\x6a"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x79\x73\x73h\x72\x77\x76"]}=(${${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x6cq\x73\x6fx\x74"]}!="")?(${${"\x47LOB\x41LS"}["\x65f\x6ev\x79\x76z"]}."."):"";${${"\x47\x4c\x4fB\x41\x4c\x53"}["c\x6ari\x63\x66wn"]}.=" OR\x44\x45\x52\x20BY ".${${"G\x4c\x4fB\x41L\x53"}["g\x74\x6bn\x70\x75guo"]}.${$kmfiqophkix}." ".${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x6b\x62f\x61\x74q\x66uw\x71"]};}}${"\x47\x4c\x4f\x42AL\x53"}["\x74\x6d\x6ai\x76g\x64j"]="\x6c\x69st\x5f\x71u\x65\x72y";if(${$haxluqb}=="\x50\x72\x6fject\x54a\x73\x6b"&&strpos(${${"\x47LOBA\x4c\x53"}["\x74m\x6a\x69v\x67\x64j"]},"\x70r\x6fj\x65\x63ti\x64")===FALSE){$vgfklbfn="q\x75\x65\x72\x79\x50a\x72t\x73";$hdeihph="l\x69\x73t_q\x75e\x72y";${"\x47\x4c\x4fB\x41\x4cS"}["df\x67e\x64\x72\x6cpc"]="qu\x65\x72y\x50\x61\x72t\x73";$mrljvbfiset="\x71u\x65\x72\x79\x50\x61rt\x73";${${"\x47LO\x42A\x4cS"}["\x77o\x69\x67\x75\x66c"]}=explode("F\x52\x4f\x4d",${$hdeihph});${$vgfklbfn}[0]=${${"G\x4c\x4f\x42\x41\x4cS"}["d\x66\x67e\x64\x72l\x70\x63"]}[0].",\x20vt\x69\x67\x65\x72\x5f\x70\x72o\x6aec\x74task.p\x72o\x6ae\x63\x74\x69\x64 ";${${"G\x4cO\x42\x41\x4c\x53"}["\x63\x6a\x72i\x63\x66\x77\x6e"]}=${$mrljvbfiset}[0]." FR\x4fM\x20".${${"\x47\x4cO\x42A\x4c\x53"}["\x77o\x69\x67\x75f\x63"]}[1];}return${$ozzkulnvxe};}function getProjectArray($projectId){$ezkrtxj="\x72esu\x6c\x74";${${"\x47\x4cO\x42\x41L\x53"}["dvq\x68\x63w\x6cm\x6d\x77\x66"]}=PearDatabase::getInstance();${"G\x4c\x4f\x42\x41L\x53"}["rc\x6c\x72\x78\x61of\x64"]="\x70\x72\x6fj\x65c\x74\x44\x61\x74\x61";${"\x47\x4c\x4f\x42A\x4cS"}["\x73\x70\x63\x74w\x79\x6a\x6b\x67os"]="\x70\x72\x6f\x6a\x65\x63\x74\x44\x61\x74\x61";${${"G\x4c\x4f\x42\x41L\x53"}["\x73\x70ct\x77y\x6a\x6b\x67\x6fs"]}=array();${"\x47\x4c\x4fB\x41L\x53"}["m\x67\x7a\x71j\x65"]="r\x65\x73\x75\x6c\x74";${$ezkrtxj}=$db->query("S\x45\x4cE\x43T *\x20FR\x4fM\x20v\x74\x69\x67\x65\x72_p\x72\x6fj\x65\x63\x74\x20\n \x20 \x20 \x20\x20\x20 \x20\x20 \x20\x20\x20\x20\x20\x20\x20\x20 INNER\x20\x4a\x4fI\x4e \x76tige\x72\x5f\x63rme\x6e\x74\x69ty \x4f\x4e\x20v\x74\x69\x67\x65r\x5f\x70\x72\x6f\x6a\x65\x63\x74.\x70\x72oje\x63\x74\x69d\x3d\x76\x74\x69ge\x72_\x63\x72\x6d\x65n\x74\x69t\x79.cr\x6d\x69\x64\n\x20\x20\x20 \x20 \x20\x20 \x20 \x20 WH\x45\x52\x45 \x76t\x69ger\x5fp\x72\x6fj\x65\x63t\x2e\x70r\x6f\x6ae\x63t\x69\x64 \x3d\x20\x27$projectId'\x20\x20\x41\x4e\x44\x20v\x74i\x67e\x72_cr\x6d\x65\x6e\x74\x69t\x79\x2e\x64elet\x65\x64\x3d0");if($db->num_rows(${${"\x47L\x4fBAL\x53"}["\x6d\x67\x7a\x71j\x65"]})>0){$qicisqm="d\x61\x74a";${"\x47\x4c\x4fB\x41\x4cS"}["ct\x6fas\x67\x62"]="r\x65\x73\x75\x6c\x74";$cwsyslwa="p\x72\x6f\x67r\x65\x73\x73";$litjmmltla="\x72\x65s\x75l\x74";${$qicisqm}["\x69d"]=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x77\x63\x61\x64n\x78"]};${"\x47\x4c\x4fB\x41\x4cS"}["o\x6b\x6ci\x65\x79fsz\x6f\x6f"]="d\x61\x74\x61";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6er\x77\x63a\x65l\x63\x73\x61"]}["s\x74art\x5f\x64\x61t\x65"]=$db->query_result(${${"\x47LOBA\x4c\x53"}["\x63\x74\x6f\x61\x73\x67b"]},0,"s\x74a\x72\x74da\x74\x65");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x6b\x6c\x69\x65\x79\x66\x73z\x6f\x6f"]}["\x74y\x70e"]="\x70roj\x65\x63t";$rfustpd="da\x74a";${"GL\x4f\x42A\x4c\x53"}["\x72o\x6e\x75e\x66\x76\x75\x63\x69\x63"]="\x70r\x6f\x67\x72\x65ss";${${"G\x4cOBA\x4cS"}["\x6e\x72\x77ca\x65\x6ccs\x61"]}["\x64u\x72\x61t\x69\x6fn"]=$this->calcTaskDuration($db->query_result(${$litjmmltla},0,"s\x74ar\x74date"),$db->query_result(${${"\x47L\x4fB\x41\x4c\x53"}["c\x69n\x64\x6e\x6c\x6bnn\x77"]},0,"ta\x72\x67\x65t\x65\x6e\x64d\x61te"));${$rfustpd}["t\x65\x78t"]=$db->query_result(${${"\x47\x4cO\x42\x41L\x53"}["c\x69n\x64nlk\x6e\x6e\x77"]},0,"\x70ro\x6a\x65c\x74\x6e\x61m\x65");${$cwsyslwa}=$db->query_result(${${"\x47\x4cO\x42AL\x53"}["c\x69nd\x6e\x6ck\x6e\x6e\x77"]},0,"pr\x6f\x67r\x65\x73s");$dhntpggmte="da\x74\x61";if(${${"GLO\x42ALS"}["\x72\x6f\x6e\x75\x65fvu\x63i\x63"]}=="\x31\x300%"){${${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x72wca\x65\x6c\x63\x73\x61"]}["progres\x73"]=1;}else{${${"\x47L\x4fB\x41LS"}["n\x72\x77\x63a\x65\x6c\x63\x73\x61"]}["prog\x72e\x73s"]=floatval(substr(${${"GL\x4f\x42\x41\x4c\x53"}["t\x66\x78\x68c\x65y\x73\x63\x75\x6a"]},0,2))/100;}${"G\x4c\x4f\x42\x41\x4c\x53"}["ce\x68\x6bl\x73\x6ar\x70\x65"]="\x64at\x61";$qidmidsyxsc="p\x72\x6fj\x65c\x74\x44a\x74\x61";${${"G\x4cO\x42\x41\x4c\x53"}["\x63\x65\x68k\x6csj\x72\x70e"]}["op\x65n"]="true";${$dhntpggmte}["\x70\x61\x72e\x6e\x74"]="";array_push(${$qidmidsyxsc},${${"\x47L\x4fBA\x4cS"}["n\x72\x77\x63\x61\x65lc\x73\x61"]});}return${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x63l\x72x\x61of\x64"]};}function getTaskArray($projectId,$forModule,$selected_ids,$request){${"\x47\x4c\x4f\x42\x41\x4cS"}["w\x62\x62y\x6e\x75d\x75"]="\x74\x61\x73\x6b\x73Da\x74\x61";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x76\x71\x68\x63\x77\x6cm\x6dw\x66"]}=PearDatabase::getInstance();${"G\x4cO\x42A\x4c\x53"}["k\x73\x78\x7a\x67o\x7a"]="\x72es\x75l\x74";${${"G\x4cO\x42\x41\x4cS"}["k\x6a\x78\x63v\x6co\x62p\x74"]}=array();$tkptteuhpuf="f\x6f\x72M\x6f\x64\x75\x6c\x65";if(${$tkptteuhpuf}=="\x50r\x6f\x6a\x65c\x74Tas\x6b"){${"\x47LOB\x41\x4c\x53"}["bb\x6f\x66\x6aefi\x65\x63y"]="\x6ci\x73\x74\x51u\x65\x72y";$mvubnmebfuc="\x6c\x69st\x51u\x65ry";${${"\x47LOB\x41LS"}["l\x7at\x65wh\x61\x67\x62\x79"]}=$this->getListQuery(${${"GL\x4f\x42A\x4c\x53"}["l\x77w\x6c\x72\x6d\x72\x6c\x69\x6f"]});${$mvubnmebfuc}=explode("F\x52O\x4d",${${"\x47\x4cO\x42A\x4c\x53"}["\x6c\x7a\x74\x65\x77\x68\x61\x67\x62\x79"]});${${"G\x4c\x4f\x42\x41LS"}["l\x7at\x65\x77h\x61\x67b\x79"]}="SELE\x43T\x20\x76\x74\x69\x67e\x72_\x70\x72\x6fjec\x74\x74ask.*\x20\x46R\x4f\x4d\x20".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cz\x74\x65\x77h\x61\x67\x62\x79"]}[1];${${"\x47\x4cO\x42\x41LS"}["\x63\x69\x6e\x64\x6e\x6c\x6b\x6e\x6ew"]}=$db->pquery(${${"GL\x4fB\x41\x4cS"}["bbo\x66j\x65\x66\x69\x65\x63\x79"]},array());}else{${"\x47\x4c\x4fBA\x4c\x53"}["\x61mes\x72\x69\x64\x6e\x70\x67"]="\x73q\x6c";${${"\x47\x4cO\x42\x41L\x53"}["\x61\x6d\x65\x73\x72\x69\x64np\x67"]}="\x53\x45\x4cE\x43\x54\x20* \x46\x52\x4fM \x76t\x69ge\x72\x5fp\x72\x6f\x6ae\x63t \n \x20 \x20 \x20\x20 \x20\x20 INN\x45R J\x4f\x49N \x76\x74i\x67e\x72\x5fp\x72\x6fje\x63\x74\x74\x61\x73\x6b ON\x20\x76t\x69\x67\x65\x72_p\x72o\x6aect.\x70\x72o\x6a\x65\x63\x74\x69d=\x76\x74i\x67er\x5f\x70\x72o\x6ae\x63\x74task.\x70\x72o\x6ae\x63t\x69d\n\x20\x20 \x20\x20\x20 \x20\x20\x20\x20\x20\x20\x20 IN\x4eE\x52\x20J\x4f\x49\x4e\x20v\x74\x69\x67er\x5fpr\x6fje\x63\x74\x74as\x6b\x63\x66 \x4f\x4e\x20vt\x69\x67e\x72_\x70r\x6fje\x63\x74\x74\x61\x73\x6b\x2e\x70ro\x6ae\x63\x74\x74a\x73ki\x64=vtig\x65r\x5f\x70\x72\x6f\x6a\x65\x63\x74\x74\x61sk\x63\x66\x2eproj\x65\x63t\x74\x61skid\n \x20 \x20 \x20\x20\x20 \x20 I\x4eN\x45R \x4a\x4fIN vtige\x72_\x63\x72\x6denti\x74y \x4fN\x20\x76t\x69\x67\x65\x72_\x70\x72oj\x65\x63tt\x61\x73k.proje\x63t\x74\x61\x73\x6bid\x3dv\x74i\x67\x65r\x5fcr\x6denti\x74\x79.\x63rm\x69d\n \x20 \x20 \x20 \x20 \x20 \x20\x20 \x57\x48\x45\x52\x45\x20v\x74i\x67e\x72_\x70\x72\x6f\x6ae\x63t\x2ep\x72o\x6aect\x69d \x3d\x20? \x41\x4eD vt\x69ge\x72_\x63\x72\x6dent\x69ty\x2e\x64\x65\x6ce\x74\x65d=0";${${"\x47\x4cO\x42\x41\x4c\x53"}["c\x69\x6e\x64\x6e\x6c\x6b\x6e\x6e\x77"]}=$db->pquery(${${"G\x4cO\x42\x41\x4c\x53"}["\x6fqw\x6c\x64q\x77\x64"]},array(${${"\x47\x4c\x4fB\x41L\x53"}["\x67\x77\x63ad\x6ex"]}));}if($db->num_rows(${${"G\x4cO\x42\x41L\x53"}["k\x73\x78\x7a\x67oz"]})>0){$hzvaewylj="i";${"\x47L\x4fBA\x4c\x53"}["cg\x64l\x6as\x6a\x75\x65"]="\x72\x65s\x75\x6c\x74";for(${${"\x47\x4c\x4f\x42\x41\x4cS"}["rsv\x79qw"]}=0;${${"G\x4c\x4f\x42AL\x53"}["\x72\x73v\x79qw"]}<$db->num_rows(${${"\x47\x4c\x4fBAL\x53"}["c\x67\x64\x6cjsj\x75\x65"]});${$hzvaewylj}++){${"\x47L\x4fB\x41\x4c\x53"}["\x68\x72q\x65q\x77l\x67\x76"]="re\x73ult";$oreflnsmv="\x64a\x74\x61";$ttiiknsrb="i";$mjxwhcjk="r\x65\x73\x75\x6ct";${"\x47\x4cO\x42\x41\x4c\x53"}["c\x6f\x77\x6c\x74iu\x70\x69r"]="\x64\x61\x74\x61";$wcdqypf="\x66\x6f\x72\x4d\x6fd\x75\x6ce";$wgckgeyp="\x69";${"G\x4c\x4fB\x41L\x53"}["p\x79\x66\x6fb\x75ti"]="\x69";$ifmhys="d\x61t\x61";${${"GL\x4f\x42A\x4c\x53"}["\x6erwca\x65\x6c\x63sa"]}["\x69d"]=$db->query_result(${$mjxwhcjk},${${"\x47\x4cOBA\x4c\x53"}["\x70y\x66obu\x74\x69"]},"\x70ro\x6ae\x63\x74\x74\x61sk\x69\x64");${$ifmhys}["\x74\x79p\x65"]="";${"GL\x4f\x42\x41\x4c\x53"}["\x65\x67\x62\x6d\x71\x6a\x66"]="\x72\x65\x73\x75\x6c\x74";${"\x47\x4cO\x42\x41L\x53"}["\x73i\x71\x78c\x78\x70"]="\x69";${${"G\x4c\x4f\x42\x41\x4c\x53"}["nrw\x63\x61el\x63\x73a"]}["\x73\x74a\x72\x74\x5fdate"]=$db->query_result(${${"G\x4c\x4f\x42A\x4c\x53"}["\x68\x72\x71\x65q\x77\x6cgv"]},${$wgckgeyp},"\x73\x74\x61\x72\x74\x64\x61\x74\x65");${$oreflnsmv}["d\x75r\x61\x74i\x6f\x6e"]=$this->calcTaskDuration($db->query_result(${${"\x47\x4c\x4f\x42A\x4cS"}["\x63\x69\x6e\x64\x6el\x6bn\x6e\x77"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x72\x73\x76\x79\x71w"]},"\x73\x74\x61\x72t\x64a\x74e"),$db->query_result(${${"\x47\x4c\x4f\x42\x41L\x53"}["c\x69\x6ed\x6el\x6b\x6e\x6e\x77"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73i\x71x\x63\x78\x70"]},"\x65nddat\x65"));${${"GL\x4f\x42\x41LS"}["\x6e\x72wca\x65l\x63\x73\x61"]}["t\x65x\x74"]=$db->query_result(${${"\x47\x4cO\x42\x41L\x53"}["e\x67\x62\x6d\x71j\x66"]},${${"GL\x4f\x42\x41LS"}["\x72\x73\x76\x79\x71\x77"]},"\x70roj\x65c\x74\x74\x61\x73\x6bna\x6de");${${"\x47L\x4f\x42AL\x53"}["tf\x78\x68c\x65y\x73c\x75j"]}=$db->query_result(${${"\x47L\x4f\x42\x41L\x53"}["\x63\x69\x6e\x64\x6e\x6cknn\x77"]},${$ttiiknsrb},"\x70r\x6f\x6a\x65\x63\x74ta\x73kpr\x6fgress");${"\x47LO\x42\x41\x4cS"}["\x77b\x6f\x77ul\x76\x6f"]="\x74\x61sk\x73\x44\x61\x74a";if(${${"GL\x4fB\x41LS"}["t\x66x\x68\x63\x65y\x73\x63u\x6a"]}=="\x3100%"){${"G\x4c\x4f\x42\x41\x4cS"}["\x61x\x78\x66\x70\x6b\x62f\x68b\x76"]="da\x74a";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x78x\x66\x70k\x62\x66\x68\x62v"]}["p\x72o\x67\x72ess"]=1;}else{${${"\x47L\x4f\x42A\x4cS"}["\x6e\x72\x77\x63aelc\x73a"]}["prog\x72e\x73\x73"]=floatval(substr(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74\x66x\x68c\x65\x79\x73\x63\x75\x6a"]},0,2))/100;}${${"\x47\x4c\x4f\x42A\x4cS"}["\x63ow\x6c\x74\x69u\x70\x69r"]}["open"]="\x74r\x75\x65";if(${$wcdqypf}=="\x50\x72\x6fj\x65\x63t\x54ask"){${"\x47L\x4fB\x41\x4c\x53"}["fl\x78\x63wj"]="\x72\x65\x73u\x6ct";${${"\x47\x4c\x4f\x42\x41\x4cS"}["nr\x77ca\x65l\x63\x73\x61"]}["pa\x72e\x6et"]=$db->query_result(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x6c\x78c\x77j"]},${${"G\x4cOB\x41\x4c\x53"}["\x72\x73\x76\x79\x71w"]},"\x70\x72o\x6aectid");}else{${"\x47L\x4f\x42A\x4c\x53"}["x\x6d\x6b\x70q\x6b\x6crbg"]="da\x74a";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x6d\x6b\x70\x71\x6bl\x72b\x67"]}["pa\x72\x65n\x74"]=${${"\x47\x4cOB\x41\x4c\x53"}["\x67wca\x64\x6e\x78"]};}array_push(${${"\x47\x4c\x4f\x42A\x4cS"}["\x77\x62o\x77u\x6c\x76o"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6er\x77\x63\x61\x65\x6c\x63\x73a"]});}}return${${"\x47L\x4f\x42\x41\x4cS"}["\x77\x62\x62yn\x75d\x75"]};}function getMilestoneArray($projectId,$forModule,$selected_ids){$dfinuznffwqs="m\x69l\x65\x73\x74\x6f\x6e\x65\x44\x61\x74\x61";${"GL\x4fBALS"}["\x71v\x74\x64\x6at\x77\x6f"]="\x64b";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["qv\x74\x64jtwo"]}=PearDatabase::getInstance();$grpcdiwaf="\x73el\x65\x63\x74\x65\x64_ids";${$dfinuznffwqs}=array();$sxvypfq="\x66\x6f\x72M\x6f\x64\x75\x6ce";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x74\x66\x6c\x67i\x63\x67jo\x76"]}=="\x50\x72oje\x63\x74"){${"\x47\x4c\x4f\x42\x41L\x53"}["pc\x6a\x78ud\x71\x77"]="\x72e\x73u\x6c\x74";${${"G\x4c\x4fB\x41\x4cS"}["\x70\x63\x6a\x78u\x64\x71\x77"]}=$db->query("SE\x4cE\x43\x54 * \x46ROM\x20vtiger_pro\x6a\x65c\x74m\x69\x6cest\x6fn\x65\n\x20 \x20\x20 \x20 \x20 \x20 I\x4e\x4e\x45\x52 \x4a\x4fI\x4e\x20\x76\x74\x69ge\x72_crme\x6etity\x20ON\x20vti\x67er\x5f\x70roje\x63\x74mil\x65st\x6fne\x2e\x70\x72\x6fje\x63\x74\x6dile\x73\x74one\x69d\x3dv\x74\x69g\x65\x72\x5fcrm\x65nt\x69\x74\x79\x2ec\x72\x6did\n \x20 \x20 \x20 \x20 \x20 \x20\x57\x48\x45\x52E v\x74\x69g\x65r_pr\x6fj\x65\x63\x74\x6d\x69\x6c\x65s\x74\x6fn\x65.p\x72o\x6a\x65cti\x64\x20=\x20'$projectId' \x20\x41N\x44\x20v\x74\x69ge\x72\x5f\x63\x72ment\x69\x74y\x2edel\x65ted\x3d\x30");if($db->num_rows(${${"GL\x4f\x42\x41\x4c\x53"}["c\x69\x6e\x64\x6e\x6c\x6b\x6en\x77"]})>0){${"\x47LO\x42\x41\x4c\x53"}["\x72o\x68pt\x69\x6c\x62k\x62yi"]="\x69";${"\x47\x4cO\x42\x41L\x53"}["\x64\x71\x73w\x6b\x75o\x69"]="\x69";$cmvrragnh="\x69";for(${$cmvrragnh}=0;${${"\x47L\x4f\x42\x41LS"}["\x72\x6fh\x70\x74i\x6c\x62\x6b\x62\x79i"]}<$db->num_rows(${${"\x47\x4c\x4fBA\x4c\x53"}["ci\x6e\x64\x6e\x6ck\x6e\x6ew"]});${${"\x47\x4c\x4f\x42A\x4cS"}["d\x71\x73w\x6b\x75\x6f\x69"]}++){${"\x47\x4c\x4fBA\x4c\x53"}["r\x6cd\x6f\x76tw"]="\x64\x61\x74\x61";${${"\x47\x4cO\x42A\x4cS"}["\x6er\x77c\x61el\x63\x73\x61"]}["id"]=$db->query_result(${${"\x47LOB\x41L\x53"}["\x63\x69\x6e\x64\x6el\x6b\x6e\x6ew"]},${${"G\x4cO\x42\x41\x4cS"}["\x72\x73vy\x71w"]},"\x70\x72o\x6ae\x63t\x6d\x69le\x73t\x6fnei\x64");${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x75\x67\x75\x77t"]="\x69";${${"G\x4cO\x42\x41LS"}["\x6e\x72\x77\x63\x61\x65\x6c\x63s\x61"]}["ty\x70\x65"]="mil\x65\x73\x74\x6fn\x65";${${"G\x4c\x4f\x42A\x4c\x53"}["\x72\x6c\x64\x6fv\x74\x77"]}["s\x74\x61rt_d\x61t\x65"]=$db->query_result(${${"\x47\x4c\x4fB\x41LS"}["cin\x64n\x6c\x6bnn\x77"]},${${"\x47\x4cOBA\x4c\x53"}["\x62\x75\x67\x75\x77\x74"]},"\x70roj\x65c\x74\x6dile\x73\x74on\x65\x64a\x74e");${"G\x4cO\x42\x41L\x53"}["ox\x76z\x63\x6a\x66j\x6b\x69"]="d\x61t\x61";${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x72w\x63ae\x6c\x63\x73\x61"]}["tex\x74"]=$db->query_result(${${"\x47L\x4fBAL\x53"}["ci\x6ed\x6el\x6b\x6e\x6e\x77"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x72\x73\x76\x79q\x77"]},"\x70\x72\x6fj\x65\x63\x74\x6d\x69les\x74on\x65\x6ea\x6de");${${"G\x4cOB\x41\x4c\x53"}["\x6fxv\x7ac\x6af\x6a\x6bi"]}["\x6fp\x65n"]="t\x72u\x65";${"\x47\x4c\x4fB\x41LS"}["y\x67e\x64f\x6c"]="\x64\x61\x74\x61";${${"\x47LO\x42\x41L\x53"}["\x6e\x72\x77cael\x63s\x61"]}["\x70\x72o\x67\x72es\x73"]=0;${${"G\x4c\x4fB\x41L\x53"}["nr\x77\x63a\x65\x6cc\x73\x61"]}["par\x65nt"]=${${"\x47LO\x42AL\x53"}["\x67\x77\x63a\x64\x6ex"]};array_push(${${"\x47LO\x42\x41\x4cS"}["\x62xig\x68\x6d\x7a\x72"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79g\x65\x64\x66\x6c"]});}}}elseif(${$sxvypfq}=="P\x72\x6fj\x65\x63\x74\x54a\x73k"&&${$grpcdiwaf}!=""){$lhwbvngxb="\x70\x72oj\x65\x63\x74\x49\x64";${"\x47L\x4fB\x41\x4cS"}["n\x6b\x69\x62\x70r\x66n\x71\x72\x6cm"]="d\x61t\x61";${"G\x4c\x4f\x42\x41L\x53"}["h\x72\x6c\x6f\x78rp\x78"]="\x6d\x69\x6ces\x74\x6fn\x65D\x61ta";${"\x47L\x4f\x42A\x4c\x53"}["\x73\x6b\x62\x6e\x79\x6ckt\x64\x74\x64g"]="d\x61\x74\x61";$plffqnh="p\x72oj\x65c\x74\x49d";${${"\x47L\x4f\x42\x41L\x53"}["edj\x6b\x6caz\x61\x70"]}=$db->pquery("SELE\x43\x54\x20\x76t\x69\x67e\x72_pr\x6f\x6a\x65c\x74\x2epro\x6a\x65\x63\x74n\x61\x6de,\x6d\x69\x6e(vt\x69\x67e\x72_\x70roje\x63ttask.s\x74a\x72td\x61t\x65)\x20a\x73\x20\x70\x72o\x6a\x65\x63t\x73\x74\x61\x72tdate,\x20\x6d\x61x(vti\x67\x65\x72\x5f\x70\x72\x6f\x6ae\x63\x74\x74\x61s\x6b.e\x6ed\x64at\x65)\x20\x61s\x20\x70r\x6f\x6a\x65cte\x6ed\x64\x61t\x65,\x20v\x74iger\x5f\x70\x72oj\x65c\x74\x2ep\x72\x6fg\x72\x65s\x73 \n\t\t\t\t\x46\x52O\x4d\x20v\x74iger\x5f\x70\x72\x6f\x6ae\x63t\x20\n\x20\x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20\x20 \x20\x20 \x20\x20\x20\x20I\x4e\x4e\x45\x52\x20J\x4fI\x4e\x20\x76t\x69\x67er_\x70\x72oj\x65ctt\x61sk\x20ON\x20vt\x69\x67\x65\x72_\x70ro\x6a\x65c\x74\x2epr\x6fjec\x74i\x64=\x76ti\x67\x65r\x5fp\x72o\x6a\x65\x63t\x74a\x73k.\x70roje\x63\x74\x69d\n\x20\x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20 \x20 \x20 \x49\x4eNE\x52\x20\x4a\x4fI\x4e\x20v\x74\x69\x67\x65r\x5fcr\x6dent\x69\x74\x79\x20\x4fN \x76ti\x67e\x72\x5f\x70r\x6f\x6a\x65ct\x74a\x73k\x2e\x70\x72ojecttas\x6bid=v\x74i\x67\x65r\x5fcr\x6den\x74i\x74y.c\x72mi\x64\n \x20 \x20\x20\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20WH\x45\x52\x45 \x76\x74\x69\x67\x65\x72\x5f\x70\x72\x6f\x6a\x65c\x74\x2e\x70\x72\x6f\x6a\x65\x63t\x69d =\x20? AND\x20v\x74\x69\x67er_cr\x6den\x74ity\x2e\x64\x65lete\x64=0",array(${$lhwbvngxb}));${"\x47\x4cO\x42A\x4c\x53"}["d\x72\x63\x6bz\x79"]="\x64a\x74a";$vvkxutjb="\x64ata";${"\x47LO\x42A\x4c\x53"}["\x6f\x6fj\x6a\x6at\x63j\x75k"]="\x64a\x74a";${"\x47\x4cO\x42A\x4cS"}["\x6e\x6ayab\x67"]="\x64\x61t\x61";${"G\x4cO\x42\x41\x4c\x53"}["ip\x64\x69px\x67\x72\x73\x66d"]="dat\x61";${${"\x47LOB\x41\x4c\x53"}["\x6ek\x69\x62\x70r\x66\x6eq\x72\x6c\x6d"]}["\x69\x64"]=rand(1000000,10000000);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x72wca\x65l\x63\x73\x61"]}["\x74\x79p\x65"]="\x6di\x6cest\x6f\x6ee";${"GLO\x42\x41L\x53"}["\x62\x73\x78\x70o\x6f\x6a"]="\x64a\x74\x61";${"\x47\x4c\x4f\x42ALS"}["\x63\x68bnz\x72\x63\x77hfd"]="\x64a\x74a";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x72\x77ca\x65\x6cc\x73a"]}["\x73\x74\x61r\x74_dat\x65"]=date("Y-\x6d-d",strtotime("-0\x20\x64a\x79\x73",strtotime($db->query_result(${${"\x47L\x4fB\x41\x4c\x53"}["e\x64\x6a\x6b\x6c\x61z\x61p"]},0,"p\x72o\x6ae\x63t\x73\x74\x61\x72\x74da\x74\x65"))));${${"\x47\x4c\x4fB\x41LS"}["njya\x62\x67"]}["tex\x74"]="\x50r\x6fject\x20\x53tar\x74";${${"\x47L\x4f\x42\x41L\x53"}["\x73k\x62\x6e\x79l\x6b\x74\x64\x74d\x67"]}["\x6f\x70\x65\x6e"]="\x74\x72\x75\x65";${${"\x47LOB\x41L\x53"}["\x6e\x72\x77\x63\x61\x65\x6c\x63\x73a"]}["p\x72og\x72ess"]=0;${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x72wc\x61el\x63\x73a"]}["\x70\x61re\x6e\x74"]=${$plffqnh};array_push(${${"\x47\x4cO\x42\x41LS"}["b\x78\x69g\x68m\x7a\x72"]},${$vvkxutjb});${${"\x47\x4cO\x42\x41L\x53"}["\x64\x72\x63\x6b\x7a\x79"]}["i\x64"]=rand(1000000,10000000);${${"\x47\x4c\x4fB\x41\x4cS"}["\x6e\x72w\x63a\x65\x6c\x63s\x61"]}["ty\x70e"]="m\x69lesto\x6e\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x72wc\x61el\x63\x73a"]}["st\x61\x72t\x5f\x64\x61\x74\x65"]=date("Y-\x6d-\x64",strtotime("+\x31\x20da\x79\x73",strtotime($db->query_result(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x64\x6a\x6blaz\x61p"]},0,"p\x72o\x6ae\x63ten\x64\x64a\x74e"))));${${"\x47\x4c\x4f\x42ALS"}["\x6fo\x6a\x6aj\x74\x63\x6a\x75k"]}["t\x65x\x74"]="Proj\x65\x63t E\x6ed";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x73\x78po\x6fj"]}["o\x70\x65\x6e"]="t\x72u\x65";${${"G\x4cO\x42\x41LS"}["\x69\x70\x64\x69\x70x\x67\x72s\x66\x64"]}["\x70rog\x72\x65\x73s"]=0;${${"\x47LO\x42\x41\x4cS"}["\x63\x68\x62\x6e\x7a\x72\x63\x77\x68\x66d"]}["pa\x72e\x6e\x74"]=${${"GLO\x42\x41\x4c\x53"}["\x67w\x63\x61dn\x78"]};array_push(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68r\x6c\x6f\x78\x72px"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x72\x77\x63\x61\x65\x6c\x63s\x61"]});}return${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x78\x69\x67\x68\x6d\x7ar"]};}function calcTaskDuration($start,$end){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6ffrgtr\x72\x70\x75\x72"]="d\x75\x72\x61t\x69\x6fn";$emerogv="e\x6e\x64";${"G\x4cO\x42\x41LS"}["bal\x67\x76\x7a\x67"]="\x65n\x64";${${"\x47LO\x42\x41L\x53"}["\x64\x6ck\x68\x64\x71\x6a"]}=strtotime(${${"G\x4c\x4f\x42\x41\x4c\x53"}["dl\x6b\x68d\x71\x6a"]});$bvmznwspl="dur\x61\x74io\x6e";${${"GL\x4f\x42A\x4c\x53"}["gk\x6cnd\x68\x63h\x62\x72l\x69"]}=strtotime(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62al\x67\x76\x7a\x67"]});${${"G\x4cO\x42\x41\x4cS"}["\x6f\x66\x72\x67t\x72\x72\x70\x75r"]}=(${$emerogv}-${${"\x47LO\x42\x41LS"}["\x64\x6c\x6b\x68dq\x6a"]})/(24*60*60);return${$bvmznwspl}+1;}}
?>
Function Calls
None |
Stats
MD5 | 1cf5de204860ed6fc80b92379e2fb3a8 |
Eval Count | 0 |
Decode Time | 141 ms |