Ejemplo n.º 1
0
 public function process(Vtiger_Request $request)
 {
     $nbmdinwllij = "moduleModel";
     sw_autoload_register("SWExtension", "~/modules/Workflow2/libs");
     ${"GLOBALS"}["lbrvcglwt"] = "sql";
     ${$nbmdinwllij} = Vtiger_Module_Model::getInstance("Workflow2");
     ${"GLOBALS"}["rzvthtpq"] = "repos";
     ${${"GLOBALS"}["orsfdwhbz"]} = new SWExtension_GenKey("Workflow2", $moduleModel->version);
     $vvirsh = "repo";
     $fievvrk = "repos";
     ${${"GLOBALS"}["ksmqgls"]} = PearDatabase::getInstance();
     ${${"GLOBALS"}["lbrvcglwt"]} = "UPDATE vtiger_wf_repository SET licenseCode = \"" . md5($request->get("license")) . "\" WHERE url LIKE \"%repository.stefanwarnat.de%\"";
     $adb->query(${${"GLOBALS"}["tddsprktk"]});
     ${${"GLOBALS"}["rzvthtpq"]} = \Workflow\Repository::getAll(true);
     foreach (${$fievvrk} as ${$vvirsh}) {
         try {
             $repo->installAll(\Workflow\Repository::INSTALL_ALL);
         } catch (Exception $exp) {
         }
     }
     ${${"GLOBALS"}["qcqdlactbzp"]} = new Vtiger_Response();
     try {
         $GenKey->removeLicense();
         $GenKey->g7cd354a00dadcd8c4600f080755860496d0c03d5($request->get("license"), array(__FILE__, Vtiger_Loader::resolveNameToPath("modules.Settings.Workflow2.views.Config")));
         $response->setResult(array("success" => true));
     } catch (Exception $exp) {
         $response->setResult(array("success" => false, "error" => $exp->getMessage()));
     }
     $response->emit();
 }
Ejemplo n.º 2
0
 public function process(Vtiger_Request $request)
 {
     $sfoysdcjgois = "blockAndFields";
     $bxdfbd = "describe";
     ${"GLOBALS"}["gsmzujbira"] = "accountName";
     ${${"GLOBALS"}["tzmfpqwegk"]} = $request->getModule();
     $hslimaj = "blockValue";
     ${"GLOBALS"}["wbfyofelyg"] = "EMIT_JSON";
     ${${"GLOBALS"}["gsmzujbira"]} = $request->get("module");
     ${${"GLOBALS"}["toxavowjn"]} = $request->get("recordModule");
     ${"GLOBALS"}["auvwckx"] = "blockAndFields";
     ${"GLOBALS"}["hkrptdvajxx"] = "recordModule";
     sw_autoload_register("Colorizer", "~/modules/Colorizer/libs");
     ${$sfoysdcjgois} = Colorizer_VtUtils::getFieldsWithBlocksForModule(Colorizer_VtUtils::getModuleName(${${"GLOBALS"}["toxavowjn"]}));
     ${$bxdfbd} = Colorizer_VtUtils::describeModule(Colorizer_VtUtils::getModuleName(${${"GLOBALS"}["hkrptdvajxx"]}), false);
     foreach (${${"GLOBALS"}["kwtlnqj"]} as ${${"GLOBALS"}["dzjjgktdnp"]} => ${$hslimaj}) {
         $xsxdhnhcfc = "fieldValue";
         $uvidwvtw = "fieldIndex";
         foreach (${${"GLOBALS"}["cynfxlaervj"]} as ${$uvidwvtw} => ${$xsxdhnhcfc}) {
             ${${"GLOBALS"}["kwtlnqj"]}[${${"GLOBALS"}["dzjjgktdnp"]}][${${"GLOBALS"}["sjywxdexh"]}]->describe = ${${"GLOBALS"}["cxfznvqv"]}[$fieldValue->name];
         }
     }
     ${${"GLOBALS"}["njqcofkg"]} = new Vtiger_Response();
     $response->setResult(${${"GLOBALS"}["auvwckx"]});
     $response->setEmitType(Vtiger_Response::${${"GLOBALS"}["wbfyofelyg"]});
     $response->emit();
 }
Ejemplo n.º 3
0
/**
 * Created by JetBrains PhpStorm.
 * User: Stefan Warnat <*****@*****.**>
 * Date: 20.07.15 10:02
 * You must not use this file without permission.
 */
function getFolderId($folder, $connectionID)
{
    sw_autoload_register("CloudFile", "~/modules/CloudFile/lib");
    $adapter = \CloudFile\Connection::getAdapter($connectionID);
    $adapter->chdir($folder);
    return $adapter->getCurrentPathKey();
}
Ejemplo n.º 4
0
 public function process(Vtiger_Request $request)
 {
     sw_autoload_register("SWExtension", "~/modules/Workflow2/libs");
     $glfkwfgr = "userVisibility";
     if (!empty($_COOKIE["wf_visibility"])) {
         ${${"GLOBALS"}["duhbnefewkn"]} = @json_decode($_COOKIE["wf_visibility"], true);
     } else {
         $ukojdhimrwj = "userVisibility";
         ${$ukojdhimrwj} = array();
     }
     ${${"GLOBALS"}["duhbnefewkn"]}[getTabid($request->get("target"))] = intval($request->get("visible"));
     setcookie("wf_visibility", json_encode(${$glfkwfgr}), time() + 86400 * 30);
 }
Ejemplo n.º 5
0
 public function getNextDate()
 {
     $vpohqgmrp = "data";
     $whkkjpdvu = "data";
     sw_autoload_register("Cron", "~/modules/Workflow2/lib");
     ${"GLOBALS"}["pbphcof"] = "return";
     ${"GLOBALS"}["gdbiwelhhec"] = "cron";
     $bukyubgowtym = "data";
     ${"GLOBALS"}["wszhoc"] = "data";
     ${"GLOBALS"}["yieglliwiv"] = "old";
     ${${"GLOBALS"}["qdwnhmrfs"]} = $this->getData();
     ${${"GLOBALS"}["gdbiwelhhec"]} = \Cron\CronExpression::factory(${$whkkjpdvu}["minute"] . " " . ${$bukyubgowtym}["hour"] . " " . ${${"GLOBALS"}["qdwnhmrfs"]}["dom"] . " " . ${$vpohqgmrp}["month"] . " " . ${${"GLOBALS"}["qdwnhmrfs"]}["dow"] . " " . ${${"GLOBALS"}["wszhoc"]}["year"]);
     ${${"GLOBALS"}["yieglliwiv"]} = date_default_timezone_set("UTC");
     ${${"GLOBALS"}["mikmfhnp"]} = $cron->getNextRunDate()->format("Y-m-d H:i:s");
     date_default_timezone_set(${${"GLOBALS"}["pqfrkdj"]});
     return ${${"GLOBALS"}["pbphcof"]};
 }
Ejemplo n.º 6
0
${"\x47\x4cO\x42\x41\x4cS"}["\x78v\x69\x76\x75\x78q"]="j\x73S\x63\x72\x69\x70\x74Ins\x74\x61\x6e\x63\x65\x73";${"G\x4c\x4f\x42A\x4c\x53"}["mwk\x69\x78t\x6cp"]="h\x65\x61\x64\x65\x72Scri\x70\x74In\x73\x74\x61\x6e\x63es";${"\x47L\x4f\x42A\x4cS"}["\x79n\x68\x6b\x6e\x74\x62\x66\x75"]="\x74m\x70";${"\x47\x4cO\x42\x41L\x53"}["b\x70x\x6e\x77\x64\x6b"]="k\x65\x79\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x6b\x7aqrx\x6dh\x75"]="\x61\x63t\x69o\x6es\x42as\x65\x41r\x72\x61\x79";${"\x47\x4cO\x42\x41LS"}["\x6e\x73\x71\x6alg\x63\x6e"]="l\x61n\x67\x75\x61g\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64qt\x62\x64\x72\x65\x75\x6b\x6cx"]="\x73\x74\x79\x6c\x65\x41rr\x61\x79";${"G\x4cO\x42\x41\x4cS"}["x\x68ezc\x6f\x6c"]="u\x69\x74y\x70\x65\x73";${"G\x4c\x4fBA\x4cS"}["\x6fxhv\x65a\x70v"]="edi\x74\x43\x6f\x6e\x66\x69\x67";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fnr\x77\x62k\x75\x62n\x6e"]="\x65\x64it\x52e\x63o\x72\x64";${"G\x4c\x4fB\x41L\x53"}["ym\x70\x67\x73\x65m"]="\x66\x69\x65\x6c\x64\x49\x6e\x64\x65x";${"\x47\x4cO\x42A\x4cS"}["\x78\x6ad\x67w\x70zq\x76\x68\x65c"]="\x62loc\x6bI\x6e\x64ex";${"\x47\x4cO\x42ALS"}["\x6amv\x79j\x6cm\x73"]="\x66\x69e\x6c\x64\x56al\x75e";${"\x47\x4c\x4fB\x41L\x53"}["\x76\x6f\x75\x65\x63nyb"]="\x62\x6c\x6f\x63\x6b\x56\x61\x6cu\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x63\x6a\x78t\x6c\x65\x6b\x65"]="\x62\x6c\x6f\x63\x6b\x41n\x64F\x69e\x6c\x64s";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x72l\x62\x62\x67\x63\x64v\x6ds"]="\x6e\x65w\x4do\x64\x75le";${"GL\x4f\x42\x41\x4cS"}["\x64a\x6ce\x66s\x77rv\x62"]="v\x69e\x77\x65\x72";${"\x47\x4cO\x42\x41L\x53"}["iqzu\x6f\x63\x76\x71"]="\x71\x75\x61l\x69\x66\x69\x65d\x4do\x64\x75\x6c\x65\x4e\x61\x6d\x65";${"\x47\x4c\x4fBA\x4cS"}["\x71\x6b\x72t\x6ddw\x77\x73p"]="m\x6f\x64ul\x65\x4d\x6f\x64\x65\x6c";global$root_directory;$ohrjcmnruxi="r\x6fo\x74\x5fdi\x72\x65ct\x6f\x72y";require_once(${$ohrjcmnruxi}."/modules/Co\x6c\x6fr\x69zer/\x61ut\x6f\x6coade\x72.p\x68p");class Settings_Colorizer_Editor_View extends Settings_Vtiger_Index_View{public function process(Vtiger_Request$request){sw_autoload_register("\x43\x6flo\x72\x69\x7ae\x72","~/\x6do\x64\x75\x6ce\x73/Co\x6c\x6friz\x65r/l\x69b\x73");${"\x47L\x4f\x42ALS"}["u\x6ctg\x66\x71\x61\x6d"]="\x65\x6e\x74i\x74y\x4d\x6fd\x75\x6c\x65\x73";${${"\x47\x4c\x4f\x42\x41LS"}["\x71\x6b\x72\x74m\x64\x77\x77\x73\x70"]}=Vtiger_Module_Model::getInstance("C\x6flo\x72\x69\x7ae\x72");${"G\x4c\x4f\x42A\x4c\x53"}["\x67c\x63\x76j\x74qh\x61v"]="\x63\x75r\x72\x65\x6e\x74_\x6ca\x6e\x67\x75ag\x65";${"G\x4cO\x42AL\x53"}["\x68\x63\x74\x63\x64\x7a\x72\x72"]="\x72\x65\x71u\x65\x73t";${"\x47L\x4f\x42A\x4c\x53"}["k\x79\x61\x6d\x69\x79b\x72\x64\x62\x73"]="\x65\x6e\x74\x69\x74\x79\x4d\x6f\x64\x75les";${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x71z\x75\x6f\x63\x76\x71"]}=$request->getModule(false);$smrbwdto="\x71ua\x6c\x69\x66\x69\x65d\x4d\x6f\x64u\x6ce\x4e\x61\x6d\x65";${${"GLO\x42\x41\x4c\x53"}["dal\x65\x66\x73\x77\x72v\x62"]}=$this->getViewer(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["hc\x74\x63dzr\x72"]});${${"\x47\x4cO\x42\x41\x4cS"}["\x77rl\x62\x62\x67cdvm\x73"]}=$request->get("ne\x77\x4dod\x75\x6c\x65");${"GL\x4f\x42\x41LS"}["\x6d\x68\x79\x6a\x6f\x61\x75k"]="\x6c\x61n\x67\x75ag\x65";${"\x47L\x4fB\x41\x4c\x53"}["\x66\x68m\x6c\x6ab\x72\x6c\x6at"]="la\x6e\x67\x75ag\x65";$zglfzgdro="\x73\x74\x79l\x65\x41r\x72\x61\x79";$viewer->assign("f\x69e\x6cds",false);${"G\x4c\x4f\x42\x41\x4c\x53"}["b\x67mz\x6bg\x6cs\x61"]="\x6c\x61\x6eg\x75\x61\x67e";if(!empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77rlb\x62\x67\x63\x64v\x6d\x73"]})){${"\x47\x4c\x4fBA\x4cS"}["\x69y\x70\x72ili\x66p\x77"]="\x62l\x6fc\x6b\x41\x6e\x64F\x69\x65l\x64s";$viewer->assign("\x6e\x65w\x4d\x6f\x64\x75\x6ce",getTabid(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77r\x6cb\x62\x67\x63d\x76\x6ds"]}));$gqelykbvshnp="\x64\x65\x73\x63\x72\x69\x62\x65";$abxjkhuuqkh="\x62\x6c\x6f\x63\x6b\x56alue";${${"\x47\x4c\x4fB\x41\x4cS"}["c\x6a\x78t\x6c\x65\x6b\x65"]}=Colorizer_VtUtils::getFieldsWithBlocksForModule(${${"\x47\x4c\x4fB\x41L\x53"}["wr\x6cbb\x67c\x64v\x6d\x73"]});${$gqelykbvshnp}=Colorizer_VtUtils::describeModule(${${"\x47L\x4f\x42\x41\x4c\x53"}["w\x72l\x62\x62\x67c\x64\x76m\x73"]},false);${"\x47L\x4f\x42\x41LS"}["\x68d\x61p\x75h\x70\x73t\x71"]="\x62\x6c\x6f\x63\x6b\x49nd\x65\x78";foreach(${${"\x47\x4cOB\x41L\x53"}["c\x6a\x78\x74\x6c\x65\x6b\x65"]} as${${"\x47L\x4f\x42AL\x53"}["h\x64\x61\x70uhp\x73tq"]}=>${$abxjkhuuqkh}){${"G\x4cO\x42\x41L\x53"}["\x70g\x71n\x65y\x78\x66\x66\x73f"]="\x66\x69\x65\x6c\x64\x49\x6e\x64ex";foreach(${${"\x47\x4c\x4fB\x41\x4cS"}["\x76\x6f\x75ecn\x79\x62"]} as${${"\x47L\x4fBAL\x53"}["\x70g\x71\x6ee\x79xff\x73\x66"]}=>${${"\x47L\x4fBA\x4c\x53"}["jm\x76yj\x6c\x6d\x73"]}){$jwgjindhole="d\x65\x73c\x72\x69b\x65";${${"\x47L\x4f\x42\x41L\x53"}["cjx\x74\x6c\x65ke"]}[${${"GLOB\x41\x4c\x53"}["\x78\x6adg\x77\x70z\x71\x76\x68\x65c"]}][${${"\x47LO\x42\x41\x4c\x53"}["\x79m\x70\x67s\x65\x6d"]}]->describe=${$jwgjindhole}[$fieldValue->name];}}$viewer->assign("\x66\x69\x65l\x64s",${${"\x47\x4cO\x42\x41\x4c\x53"}["i\x79\x70\x72\x69\x6cifp\x77"]});}$qmdruxfhzdkb="\x69ndex";${${"\x47\x4cOBA\x4c\x53"}["on\x72\x77\x62k\x75\x62n\x6e"]}=$request->get("edi\x74Re\x63o\x72d");if(!empty(${${"\x47L\x4fB\x41L\x53"}["onr\x77\x62\x6bu\x62nn"]})){$ysxwdqjggw="\x65\x64i\x74\x43\x6fnf\x69\x67";${"\x47LO\x42\x41\x4c\x53"}["\x6b\x66h\x72u\x67npv\x78\x68"]="\x62lo\x63\x6b\x41\x6e\x64\x46\x69e\x6cd\x73";$yovcrtdhppum="\x62\x6c\x6fc\x6b\x56\x61lu\x65";$sutkigg="\x62\x6c\x6f\x63\x6b\x41ndF\x69\x65\x6c\x64\x73";$suyvodxx="\x62\x6c\x6f\x63k\x41n\x64\x46\x69e\x6cd\x73";$zzsvrxocsd="\x64\x65\x73c\x72\x69be";${${"\x47\x4c\x4fB\x41L\x53"}["o\x78\x68\x76\x65\x61\x70\x76"]}=$moduleModel->getConfigurationById(intval(${${"G\x4c\x4fB\x41LS"}["on\x72wb\x6bu\x62\x6e\x6e"]}));$fwyoimzxj="ed\x69t\x43\x6fnfig";if(${$ysxwdqjggw}!==false){$lzkhdiqykd="\x65d\x69tCo\x6ef\x69\x67";$viewer->assign("\x65\x6e\x61\x62l\x65_e\x64\x69t",true);$viewer->assign("\x65ditR\x65cord",${$lzkhdiqykd});}${$sutkigg}=Colorizer_VtUtils::getFieldsWithBlocksForModule(Colorizer_VtUtils::getModuleName(${$fwyoimzxj}["\x74\x61bid"]));${$zzsvrxocsd}=Colorizer_VtUtils::describeModule(Colorizer_VtUtils::getModuleName(${${"\x47\x4c\x4f\x42\x41L\x53"}["ox\x68\x76\x65\x61p\x76"]}["t\x61\x62i\x64"]),false);foreach(${${"G\x4cOB\x41\x4c\x53"}["\x6b\x66h\x72ugn\x70\x76x\x68"]} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["xjd\x67w\x70\x7a\x71\x76\x68e\x63"]}=>${$yovcrtdhppum}){$vvtfrggp="\x62\x6co\x63\x6b\x56\x61l\x75\x65";$dbjzolkg="fie\x6c\x64\x56\x61\x6cu\x65";foreach(${$vvtfrggp} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79m\x70\x67\x73\x65\x6d"]}=>${$dbjzolkg}){$hkbfmtnkmjy="\x66i\x65\x6c\x64\x49\x6ed\x65x";$kuxuyy="d\x65\x73c\x72ibe";$joctndy="\x62\x6co\x63k\x41\x6e\x64\x46\x69e\x6c\x64s";${$joctndy}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x6a\x64\x67\x77\x70\x7aq\x76\x68\x65\x63"]}][${$hkbfmtnkmjy}]->describe=${$kuxuyy}[$fieldValue->name];}}$viewer->assign("\x66ie\x6c\x64s",${$suyvodxx});}${${"GLOBA\x4c\x53"}["\x78\x68\x65\x7ac\x6f\x6c"]}=Colorizer_VtUtils::getUiTypeMap();$viewer->assign("\x75i\x74ype\x73",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78he\x7ac\x6f\x6c"]});$iesivdi="\x61\x63\x74i\x6f\x6e\x73B\x61\x73\x65A\x72r\x61\x79";global$formatCondition;$adccvfdsypv="\x66\x6f\x72m\x61\x74\x43o\x6ed\x69\x74i\x6f\x6e";$moduleModel->loadFormats();$viewer->assign("f\x6f\x72\x6d\x61tc\x6fnd\x69t\x69\x6f\x6e\x73",${$adccvfdsypv});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x71\x74\x62d\x72eukl\x78"]}=$moduleModel->getStyleArray();$viewer->assign("s\x74y\x6c\x65A\x72\x72ay",${$zglfzgdro});${${"\x47LOB\x41\x4c\x53"}["\x6b\x79\x61\x6d\x69\x79b\x72dbs"]}=Colorizer_VtUtils::getEntityModules(true);$viewer->assign("e\x6e\x74\x69t\x79M\x6fdu\x6ces",${${"GLO\x42\x41L\x53"}["\x75l\x74\x67\x66\x71a\x6d"]});$yjuqivl="\x61\x63\x74\x69\x6f\x6e\x73";global$current_language;${${"\x47LOB\x41L\x53"}["fh\x6d\x6cj\x62\x72\x6cjt"]}=Vtiger_Language_Handler::getModuleStringsFromFile(${${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x63c\x76\x6a\x74qh\x61\x76"]},"\x53\x65\x74\x74\x69n\x67\x73:\x43\x6f\x6co\x72iz\x65r");if(empty(${${"\x47\x4c\x4fB\x41L\x53"}["mh\x79jo\x61uk"]})){${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x73\x71j\x6c\x67\x63\x6e"]}=Vtiger_Language_Handler::getModuleStringsFromFile("en\x5fu\x73","S\x65tt\x69ng\x73:\x43o\x6c\x6frize\x72");}$viewer->assign("\x6do\x64St\x72\x69\x6e\x67\x73",${${"\x47L\x4f\x42A\x4cS"}["b\x67\x6dz\x6b\x67l\x73\x61"]}["\x6ca\x6e\x67u\x61\x67e\x53\x74\x72\x69\x6egs"]);$rtzbuatnlid="a\x63t\x69\x6f\x6e\x73";${${"\x47\x4c\x4fB\x41\x4c\x53"}["qk\x7a\x71\x72xm\x68\x75"]}=array("\x48\x49D\x45B\x4cOC\x4b"=>array("l\x61\x62\x65\x6c"=>"\x41\x43T\x49\x4f\x4e\x5f\x48IDEB\x4cOCK","\x63\x6f\x6e\x66\x69\x67ur\x61ti\x6fn"=>"bl\x6fcks"),"SHO\x57BLOC\x4b"=>array("l\x61\x62el"=>"\x41C\x54I\x4fN_\x53\x48O\x57\x42LO\x43\x4b","c\x6fnfi\x67\x75\x72ati\x6f\x6e"=>"\x62\x6c\x6f\x63\x6b\x73"),"\x43O\x4c\x4cAPS\x45B\x4c\x4f\x43K"=>array("\x6cabe\x6c"=>"\x41\x43\x54\x49O\x4e\x5f\x43\x4f\x4c\x4c\x41\x50\x53E\x42L\x4fC\x4b","conf\x69g\x75\x72a\x74io\x6e"=>"bl\x6fcks"),"EXP\x41\x4eDB\x4c\x4f\x43\x4b"=>array("\x6cabe\x6c"=>"ACT\x49ON\x5fE\x58\x50AN\x44\x42\x4cOCK","config\x75\x72a\x74i\x6f\x6e"=>"blo\x63ks"),"\x54\x4fG\x47L\x45BL\x4fC\x4b"=>array("la\x62\x65\x6c"=>"\x41\x43TIO\x4e_TOGG\x4cEBLOCK","\x63\x6f\x6efi\x67ur\x61tion"=>"blo\x63\x6b\x73"),"TOG\x47L\x45S\x48O\x57B\x4c\x4fCK"=>array("\x6ca\x62el"=>"\x41C\x54\x49\x4f\x4e_TOG\x47\x4c\x45\x53H\x4fWB\x4cO\x43\x4b","\x63\x6fnf\x69gu\x72a\x74\x69\x6fn"=>"b\x6c\x6fcks"),);${$yjuqivl}=$moduleModel->loadActions();${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x7aq\x71\x65m\x66"]="ke\x79\x73";foreach(${$rtzbuatnlid} as${$qmdruxfhzdkb}=>${${"G\x4c\x4f\x42\x41L\x53"}["\x66\x7aq\x71\x65\x6d\x66"]}){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x68\x78d\x78\x70\x74\x71\x6a"]="\x74\x6d\x70";$ketibky="k\x65y\x73";$jnkgvpwur="\x69\x6e\x64\x65\x78";${${"\x47LO\x42ALS"}["\x65\x68\x78\x64\x78\x70tq\x6a"]}=array("\x6ca\x62\x65\x6c"=>${$ketibky}["l\x61b\x65\x6c"],"\x63o\x6e\x66ig\x75\x72a\x74\x69\x6fn"=>${${"\x47\x4cO\x42A\x4cS"}["\x62p\x78nw\x64k"]}["co\x6e\x66i\x67urat\x69\x6fn"]);if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x70\x78nw\x64k"]}["c\x6f\x6efi\x67\x75ra\x74\x69on"]=="s\x65le\x63t"){${"GL\x4fB\x41\x4c\x53"}["j\x67r\x6e\x62x"]="\x6be\x79\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["ynh\x6b\x6etb\x66\x75"]}["\x6f\x70\x74io\x6es"]=${${"GL\x4fB\x41\x4c\x53"}["\x6ag\x72\x6eb\x78"]}["o\x70ti\x6f\x6es"];${"G\x4c\x4f\x42A\x4cS"}["\x67\x68\x64\x74f\x6as\x75\x78\x70o"]="\x6b\x65y\x73";if(empty(${${"GLO\x42A\x4c\x53"}["\x67\x68dt\x66\x6a\x73\x75xp\x6f"]}["o\x70\x74\x69ons\x4cabe\x6c"])){$euabvlnnz="\x74\x6d\x70";${$euabvlnnz}["\x6fp\x74\x69\x6fnsL\x61\x62e\x6c"]="{\x76\x61\x6cu\x65}";}else{${"GL\x4fBA\x4c\x53"}["\x76\x67x\x6ewx\x71x\x68"]="\x74mp";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76g\x78\x6e\x77\x78\x71\x78\x68"]}["\x6f\x70t\x69on\x73\x4cab\x65l"]=${${"\x47\x4c\x4fBAL\x53"}["b\x70\x78n\x77d\x6b"]}["op\x74ion\x73\x4cab\x65\x6c"];}}${${"\x47\x4cOB\x41\x4c\x53"}["\x71\x6bzq\x72\x78\x6d\x68\x75"]}[${$jnkgvpwur}]=${${"\x47L\x4fBAL\x53"}["\x79\x6e\x68\x6b\x6e\x74b\x66\x75"]};}$viewer->assign("actio\x6es\x42a\x73e\x41\x72r\x61y",${$iesivdi});echo$viewer->view("\x45\x64i\x74o\x72\x2e\x74p\x6c",${$smrbwdto},true);}function getHeaderScripts(Vtiger_Request$request){${"GL\x4fB\x41\x4cS"}["\x64jnh\x62asa\x78u\x6b"]="\x6as\x46i\x6c\x65\x4eam\x65\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x6fi\x66\x6b\x76g\x63i\x74"]="r\x65qu\x65\x73t";$ssetpfpvj="\x6do\x64\x75\x6c\x65\x4e\x61\x6d\x65";$hemodbl="\x68\x65a\x64\x65\x72Sc\x72\x69\x70t\x49\x6e\x73\x74\x61\x6e\x63\x65s";${"G\x4c\x4f\x42\x41\x4cS"}["\x76e\x71m\x6b\x68\x76"]="\x6asF\x69l\x65\x4ea\x6de\x73";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6dw\x6b\x69\x78\x74l\x70"]}=parent::getHeaderScripts(${${"G\x4c\x4fB\x41\x4c\x53"}["d\x6f\x69fkvg\x63\x69t"]});${"\x47\x4cOB\x41\x4c\x53"}["k\x6e\x64\x6a\x67t"]="jsS\x63\x72\x69\x70\x74\x49\x6e\x73ta\x6ec\x65\x73";${$ssetpfpvj}=$request->getModule();${${"\x47\x4c\x4f\x42\x41LS"}["d\x6a\x6eh\x62\x61\x73\x61xu\x6b"]}=array("\x6dod\x75le\x73\x2eS\x65t\x74i\x6egs.$moduleName\x2e\x76\x69ews.\x72\x65\x73\x6f\x75r\x63e\x73\x2e\x6a\x73\x63ol\x6f\x72\x2ejs\x63\x6f\x6c\x6f\x72");${${"\x47L\x4fB\x41\x4cS"}["\x78v\x69\x76u\x78\x71"]}=$this->checkAndConvertJsScripts(${${"\x47\x4cOB\x41\x4cS"}["\x76\x65\x71\x6d\x6b\x68\x76"]});${$hemodbl}=array_merge(${${"\x47L\x4fBA\x4c\x53"}["m\x77ki\x78t\x6cp"]},${${"G\x4cO\x42\x41L\x53"}["\x6bnd\x6ag\x74"]});return${${"\x47L\x4fBA\x4cS"}["m\x77\x6b\x69\x78t\x6cp"]};}public function checkPermission(Vtiger_Request$request){}}
Ejemplo n.º 7
0
 public function process(Vtiger_Request $request)
 {
     ${"GLOBALS"}["oqgbwkwbrots"] = "step";
     $trdtkgnu = "moduleName";
     ${$trdtkgnu} = $request->getModule();
     $dfhofgf = "step";
     sw_autoload_register("SWExtension", "~/modules/Workflow2/lib");
     ${"GLOBALS"}["zkhkwvrxq"] = "vtiger_current_version";
     ${"GLOBALS"}["inxpbhw"] = "step";
     ${${"GLOBALS"}["vgseci"]} = new SWExtension_AutoUpdate(${${"GLOBALS"}["kttqmmbi"]}, "stable");
     $srlldgea = "moduleName";
     $jdtrdshntdp = "step";
     ${$jdtrdshntdp} = $request->get("step");
     $yxqxsqdff = "step";
     if (empty(${${"GLOBALS"}["oqgbwkwbrots"]})) {
         ${$dfhofgf} = 1;
     }
     global $vtiger_current_version;
     if (${$yxqxsqdff} == 3) {
         ${"GLOBALS"}["wgcmsnrhkzj"] = "moduleName";
         $objUpdater->installCurrentVersion();
         echo "<div style='text-align:center;font-weight:bold;color:#2F8A25;'>" . ${${"GLOBALS"}["wgcmsnrhkzj"]} . " sucessfully updated</div>";
         exit;
     }
     ${"GLOBALS"}["ilkrwxkh"] = "step";
     echo "    <div class=\"listViewPageDiv\">\n    \t<div class=\"listViewTopMenuDiv\">\n            <div class=\"row-fluid\">\n        \t\t<label class=\" pull-left themeTextColor font-x-x-large\">Upgrade ";
     echo ${$srlldgea};
     echo " in vtigerCRM ";
     echo ${${"GLOBALS"}["zkhkwvrxq"]};
     echo " | Step ";
     echo ${${"GLOBALS"}["rymgpc"]};
     echo "</label>\n            </div>\n            <hr>\n    \t\t<div class=\"clearfix\"></div>\n    \t</div>\n    \t<div class=\"listViewContentDiv\" id=\"listViewContents\">\n            ";
     if (${${"GLOBALS"}["ilkrwxkh"]} == 1) {
         $pctbezcqc = "currentVersion";
         ${$pctbezcqc} = $objUpdater->getCurrentInstalledVersion();
         $izgpwtrgwor = "licenseHint";
         ${${"GLOBALS"}["qiooijsps"]} = $objUpdater->getLatestVersion();
         ${$izgpwtrgwor} = false;
         if (is_array(${${"GLOBALS"}["qiooijsps"]})) {
             $jynupld = "latestVersion";
             $iuaecdkqxjc = "licenseHint";
             ${$iuaecdkqxjc} = ${$jynupld}[1];
             ${${"GLOBALS"}["qiooijsps"]} = ${${"GLOBALS"}["qiooijsps"]}[0];
         }
         echo "<div style='font-size:15px;'>Current installed version: " . ${${"GLOBALS"}["qjxxzqcqilgj"]} . "</div>";
         echo "<div style='font-size:15px;'>Current available version: " . ${${"GLOBALS"}["qiooijsps"]} . "</div>";
         if (${${"GLOBALS"}["qiooijsps"]} > ${${"GLOBALS"}["qjxxzqcqilgj"]}) {
             ${${"GLOBALS"}["xwrxfe"]} = $objUpdater->getChangelog();
             echo "<div style='font-weight:bold;margin-top:25px;'>Update available" . (!empty(${${"GLOBALS"}["xwrxfe"]}) ? " | <a href='" . $objUpdater->getChangelog() . "' target='blank'>see Changelog</a>" : "") . "</div>";
             ${"GLOBALS"}["pwkowdysqweq"] = "stefanDebug";
             ${"GLOBALS"}["zmjisj"] = "stefanDebug";
             $qyoihtiajee = "parent";
             ${${"GLOBALS"}["mxuywhpi"]} = "index.php?module=" . $request->get("module") . "&view=" . $request->get("view") . "&step=2";
             ${"GLOBALS"}["eyqrgubwrt"] = "parent";
             ${$qyoihtiajee} = $request->get("parent");
             if (!empty(${${"GLOBALS"}["eyqrgubwrt"]})) {
                 ${${"GLOBALS"}["mxuywhpi"]} .= "&parent=" . ${${"GLOBALS"}["nnrtgjktiwy"]};
             }
             ${${"GLOBALS"}["pwkowdysqweq"]} = $request->get("stefanDebug");
             if (!empty(${${"GLOBALS"}["zmjisj"]})) {
                 ${"GLOBALS"}["pbbpsjurt"] = "upgradeUrl";
                 ${${"GLOBALS"}["pbbpsjurt"]} .= "&stefanDebug=1";
             }
             echo "<br><button class='btn addButton' onclick=\"window.location.href='" . ${${"GLOBALS"}["mxuywhpi"]} . "';\"><strong>Install update</strong></button>";
         }
     }
     if (${${"GLOBALS"}["inxpbhw"]} == 2) {
         ${"GLOBALS"}["kkxlrxrn"] = "upgradeUrl";
         ${"GLOBALS"}["inqnpmgg"] = "upgradeUrl";
         ${"GLOBALS"}["hxcrfs"] = "parent";
         $oqokgtiodl = "latestVersion";
         ${"GLOBALS"}["eqvzfqki"] = "parent";
         ${${"GLOBALS"}["inqnpmgg"]} = "index.php?module=" . $request->get("module") . "&view=" . $request->get("view") . "&step=3";
         $efofbgikml = "stefanDebug";
         ${${"GLOBALS"}["hxcrfs"]} = $request->get("parent");
         $xypzpv = "stefanDebug";
         if (!empty(${${"GLOBALS"}["eqvzfqki"]})) {
             ${"GLOBALS"}["scmetfor"] = "parent";
             $mggyvxdlht = "upgradeUrl";
             ${$mggyvxdlht} .= "&parent=" . ${${"GLOBALS"}["scmetfor"]};
         }
         ${$xypzpv} = $request->get("stefanDebug");
         if (!empty(${$efofbgikml})) {
             ${"GLOBALS"}["ktamvhgru"] = "upgradeUrl";
             ${${"GLOBALS"}["ktamvhgru"]} .= "&stefanDebug=1";
         }
         ${$oqokgtiodl} = $objUpdater->getLatestVersion();
         echo "<div style='font-weight:bold;margin-top:25px;'>Upgrade " . ${${"GLOBALS"}["kttqmmbi"]} . " to " . ${${"GLOBALS"}["qiooijsps"]} . "</div>";
         echo "<div id='pendingUpdate' style='text-align:center;'><img src='layouts/vlayout/skins/images/install_loading.gif'></div>";
         echo "<div id='updateLog'></div>";
         echo "                <script type=\"text/javascript\">\n                    jQuery(function() {\n                        AppConnector.request(\"";
         echo ${${"GLOBALS"}["kkxlrxrn"]};
         echo "\").then(function(data) {\n                            jQuery(\"#pendingUpdate\").hide();\n                            jQuery(\"#updateLog\").html(data);\n                        });\n                    });\n                </script>\n                ";
     }
     echo "<!--            -->\n        </div>\n    </div>\n";
 }
Ejemplo n.º 8
0
${"\x47\x4c\x4f\x42A\x4cS"}["\x73\x68\x67\x79rbsv\x65k"]="\x68e\x61\x64\x65r\x53\x74\x79\x6ce\x49\x6e\x73\x74\x61\x6e\x63es";${"\x47L\x4f\x42A\x4cS"}["x\x78io\x78\x65b\x61v\x62"]="\x63\x73\x73\x53c\x72i\x70\x74Ins\x74\x61nces";${"\x47\x4cO\x42\x41LS"}["\x75\x6c\x66d\x77z\x63\x6a\x76\x6a"]="c\x73s\x46i\x6c\x65\x4eam\x65\x73";${"\x47\x4c\x4f\x42\x41\x4cS"}["uh\x70\x70xu\x66\x77h\x73"]="\x6a\x73\x53c\x72ip\x74\x49\x6e\x73t\x61nce\x73";${"\x47L\x4fBA\x4c\x53"}["\x65\x69\x75\x77\x6bq\x64\x69\x63\x6c"]="js\x46\x69\x6c\x65\x4ea\x6d\x65\x73";${"\x47LO\x42A\x4cS"}["dr\x66\x6f\x73\x6fg\x6e"]="\x6d\x6f\x64\x75\x6c\x65\x4e\x61\x6d\x65";${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x74\x76u\x71\x6dc\x62\x6c\x72"]="\x72\x65\x71\x75e\x73t";${"GLOB\x41\x4c\x53"}["\x78s\x78h\x6d\x6c\x67"]="\x68e\x61\x64er\x53c\x72\x69\x70\x74\x49\x6esta\x6e\x63\x65s";${"\x47\x4c\x4f\x42\x41LS"}["\x68\x77l\x71\x68u\x6d\x6a"]="\x72ow";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x6b\x64s\x62s\x74\x67"]="co\x6c\x73";${"\x47\x4cO\x42\x41LS"}["\x6bw\x63\x77\x73\x78\x63c"]="\x74\x61\x62l\x65";${"G\x4c\x4fB\x41LS"}["h\x72\x6e\x6c\x65\x73\x72\x6c\x63v\x6a"]="\x71\x75\x61\x6c\x69\x66\x69\x65\x64\x4dod\x75l\x65\x4e\x61\x6de";${"\x47\x4cOB\x41\x4c\x53"}["d\x75\x63\x73\x71\x70i\x77"]="\x61\x73\x64f";${"G\x4cO\x42\x41\x4cS"}["ck\x6a\x6e\x66q\x79x\x72"]="\x63l\x61\x73\x73\x4e\x61\x6de";${"\x47\x4cOB\x41\x4c\x53"}["\x79\x77\x75\x6f\x77\x6c\x6eh\x6c"]="\x65\x64\x69\x74\x43o\x6e\x66ig";${"G\x4cOB\x41\x4c\x53"}["\x6e\x62\x70\x67\x67\x71ai\x77\x6b\x64"]="\x65\x64\x69t\x52\x65\x63\x6fr\x64";${"\x47L\x4f\x42AL\x53"}["\x73f\x66b\x70\x6a\x71\x66"]="mo\x64u\x6ceModel";${"GL\x4fB\x41\x4cS"}["\x77\x75jk\x6d\x69\x6d"]="\x6ee\x77M\x6fdul\x65";${"GL\x4fB\x41\x4cS"}["\x73\x6d\x6ag\x61\x77\x75\x78\x65"]="\x63on\x66i\x67urati\x6f\x6eC\x6f\x75\x6e\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x72f\x64b\x77\x68\x71\x71"]="\x63\x6f\x6ef\x69gur\x61\x74ions";${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x70b\x74\x68\x73\x74\x6dh\x6a"]="s\x65tti\x6eg\x73\x4d\x6fd\x65l";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x7a\x72\x6c\x78\x63\x6f\x77x\x6d"]="v\x69\x65we\x72";${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x6b\x61\x69\x6abc"]="\x72oo\x74\x5f\x64\x69\x72ecto\x72y";global$root_directory;require_once(${${"\x47L\x4f\x42\x41\x4c\x53"}["o\x6ba\x69\x6a\x62\x63"]}."/m\x6fdu\x6c\x65s/\x43olo\x72i\x7a\x65\x72/aut\x6f\x6c\x6fader.ph\x70");class Settings_Colorizer_Index_View extends Settings_Vtiger_Index_View{public function process(Vtiger_Request$request){$kkkbdxxgyb="a\x64\x62";${$kkkbdxxgyb}=\PearDatabase::getInstance();try{${"\x47\x4cOBAL\x53"}["\x72\x6f\x67tz\x6a\x6e"]="mo\x64\x75\x6ce\x4e\x61\x6d\x65";${"\x47\x4cOBA\x4cS"}["\x65\x6dd\x70dv\x6e\x66"]="q\x75\x61\x6c\x69f\x69\x65\x64M\x6f\x64\x75\x6c\x65Nam\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x67\x70\x64\x74i\x7a"]="\x72\x65q\x75e\x73\x74";$tpxyvte="qu\x61li\x66\x69\x65d\x4do\x64ule\x4e\x61\x6de";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6fg\x74zjn"]}=$request->getModule();$jvmcmg="\x65\x64i\x74Re\x63or\x64";$eirpveoyr="\x63\x6fn\x66ig\x75\x72\x61\x74\x69\x6f\x6eCou\x6e\x74";$usqtgt="\x6ee\x77\x4do\x64\x75\x6c\x65";${$tpxyvte}=$request->getModule(false);${${"G\x4c\x4fBA\x4c\x53"}["\x65z\x72\x6cxc\x6f\x77x\x6d"]}=$this->getViewer(${${"\x47L\x4f\x42AL\x53"}["\x67\x70\x64\x74\x69z"]});sw_autoload_register("Co\x6co\x72iz\x65\x72","~/\x6do\x64ul\x65\x73/\x43o\x6co\x72\x69\x7a\x65r/l\x69\x62\x73");sw_autoload_register("SWEx\x74e\x6e\x73\x69\x6f\x6e","\x7e/m\x6fd\x75\x6c\x65\x73/C\x6f\x6c\x6frize\x72/\x6cibs");${${"G\x4c\x4fBAL\x53"}["\x6ep\x62t\x68st\x6dh\x6a"]}=Settings_Vtiger_Module_Model::getInstance(${${"\x47L\x4f\x42\x41\x4cS"}["\x65\x6dd\x70\x64\x76\x6e\x66"]});${${"G\x4c\x4f\x42\x41L\x53"}["\x72\x66db\x77h\x71q"]}=$settingsModel->getAllConfigurations();${${"G\x4c\x4f\x42\x41LS"}["\x73mj\x67\x61w\x75x\x65"]}=$settingsModel->getAllConfigurationsNumber();$viewer->assign("c\x6fn\x66i\x67\x75\x72\x61t\x69o\x6es",${${"\x47\x4c\x4fB\x41\x4cS"}["rfd\x62w\x68\x71q"]});$viewer->assign("\x63\x6fn\x66i\x67u\x72\x61\x74\x69\x6fn\x73\x32",${$eirpveoyr});${$usqtgt}=$request->get("\x6e\x65\x77\x4d\x6f\x64\x75\x6ce");if(!empty(${${"GL\x4f\x42A\x4c\x53"}["\x77u\x6a\x6b\x6di\x6d"]})){$pyiqtxud="\x6ee\x77M\x6fd\x75\x6c\x65";$viewer->assign("\x6ee\x77\x4dod\x75\x6ce",getTabid(${$pyiqtxud}));}${$jvmcmg}=$request->get("\x65\x64\x69\x74\x52e\x63ord");${${"\x47LOB\x41\x4c\x53"}["\x73\x66\x66bpjq\x66"]}=Vtiger_Module_Model::getInstance("Colori\x7aer");if(!empty(${${"\x47LO\x42\x41\x4cS"}["nb\x70gg\x71\x61\x69\x77k\x64"]})){${${"\x47L\x4f\x42A\x4cS"}["y\x77u\x6fw\x6c\x6eh\x6c"]}=$moduleModel->getConfigurationById(intval(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x62p\x67\x67\x71a\x69\x77\x6b\x64"]}));$kugvlhrph="e\x64\x69tCo\x6e\x66\x69\x67";if(${$kugvlhrph}!==false){$viewer->assign("\x65n\x61\x62le_\x65\x64\x69\x74",true);$viewer->assign("\x65d\x69\x74R\x65\x63\x6fr\x64",${${"\x47\x4c\x4f\x42A\x4cS"}["y\x77\x75o\x77ln\x68\x6c"]});}}if($adb->database->_errorMsg!==false){throw new\Exception("SQL\x20\x45\x72r\x6fr\x20\x32\x2e5\x30: ".$adb->database->_errorMsg);}${${"G\x4c\x4f\x42\x41\x4cS"}["c\x6b\x6a\x6e\x66\x71yx\x72"]}="S"."W\x45"."\x78t"."ens\x69on_"."\x43\x6fl\x6fri\x7ae\x72_"."\x37\x321\x646f\x66af\x63\x3464\x657\x32f\x37e"."\x61\x66\x63\x61\x36\x36\x6694\x39e\x6476\x348\x36af\x62f";${${"\x47L\x4fB\x41LS"}["\x64\x75\x63s\x71\x70\x69w"]}=new${${"G\x4c\x4fB\x41LS"}["\x63\x6b\x6a\x6efqyxr"]}("\x43ol\x6fri\x7a\x65r",$moduleModel->version);if("\x72\x65\x76\x61l\x69\x64\x61te"==$request->get("ac\x74","\x6eon\x65")){$asdf->ge2055887bb4f19d2c67775b32b574553(true);}$viewer->assign("\x69s\x4da\x72k"."e\x74pl"."\x61\x63\x65",$asdf->g890045718ac837ee3c413f83df0939f8340e213c());$viewer->assign("\x76\x65\x72si"."o\x6e\x43",$asdf->ge2055887bb4f19d2c67775b32b574553());$viewer->assign("lic\x65"."n\x73\x65"."Fo\x72",$asdf->g98897f39ed4dce1140ffc0659160fc9e89c5e28a());if($adb->database->_errorMsg!==false){throw new\Exception("SQ\x4c\x20\x45r\x72o\x72\x202.\x36\x35:\x20".$adb->database->_errorMsg);}$viewer->assign("vers\x69on",$moduleModel->version);$viewer->view("\x49n\x64e\x78\x2e\x74\x70l",${${"G\x4c\x4f\x42\x41L\x53"}["h\x72\x6e\x6cesr\x6cc\x76\x6a"]});}catch(\Exception$exp){echo"\x3cp\x20st\x79le\x3d\x22\x6dargi\x6e:3\x30p\x78 1\x30px\x3b\x22\x20\x63la\x73\x73=\x22\x61\x6c\x65rt\x20a\x6c\x65\x72\x74-er\x72or\x22\x3e\x3cs\x74\x72on\x67\x3eE\x72ror oc\x63u\x72r\x65d</\x73tr\x6fn\x67>:<br/>".$exp->getMessage()."\x3c\x62r/\x3e<\x62r/\x3ePl\x65\x61s\x65 rep\x6fr\x74\x20t\x6f \x3ca \x68\x72e\x66=\x22m\x61i\x6cto:sup\x70\x6fr\x74@red\x6fo-\x6ee\x74\x77\x6f\x72k\x73\x2e\x64e?s\x75bj\x65\x63\x74=E\x72r\x6f\x72\x20Co\x6cori\x7aer\x26b\x6f\x64y=".$exp->getMessage()."\"\x3es\x75\x70\x70\x6f\x72t@r\x65\x64\x6fo-n\x65t\x77\x6f\x72\x6bs\x2ede\x3c/a></\x70>";echo"\x3c\x70\x3eA\x74t\x61c\x68\x20th\x65\x20fo\x6clowi\x6e\x67 \x69\x6e\x66or\x6dati\x6fn ab\x6f\x75t y\x6fu\x72 d\x61tab\x61se:\x20(T\x68\x65\x79\x20d\x6fn'\x74 c\x6fntain\x20an\x79 \x64\x61t\x61. On\x6c\x79\x20the\x20s\x74\x72\x75c\x74ure\x2e)\x3c/\x70\x3e";$yqawhdufch="\x64\x65\x62u\x67";$qucvdin="\x72e\x73u\x6ct";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x63jj\x6e\x73r"]="\x73\x71\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x6cg\x6e\x77q\x78o\x73"]="s\x71\x6c";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6e\x63\x6a\x6a\x6es\x72"]}="\x53\x48\x4f\x57 \x54\x41B\x4c\x45 S\x54\x41\x54\x55\x53";${$qucvdin}=$adb->pquery(${${"G\x4c\x4fB\x41\x4c\x53"}["\x76l\x67\x6e\x77q\x78o\x73"]});${"GL\x4f\x42A\x4c\x53"}["\x62\x6e\x74am\x6b\x6d\x6c\x6d\x79\x74\x6e"]="\x72\x65\x73\x75l\x74";while(${${"G\x4cOB\x41\x4cS"}["k\x77c\x77\x73xc\x63"]}=$adb->fetchByAssoc(${${"\x47\x4cOBA\x4c\x53"}["\x62n\x74\x61\x6dkm\x6c\x6d\x79\x74\x6e"]})){if(substr(${${"\x47LOBALS"}["kw\x63\x77\x73\x78c\x63"]}["n\x61me"],0,7)=="v\x74\x69g\x65\x72\x5f"){${"\x47\x4c\x4f\x42A\x4c\x53"}["p\x72\x72o\x67k\x6b"]="d\x65b\x75\x67";${"\x47\x4c\x4f\x42A\x4c\x53"}["u\x66d\x79\x64\x70pmhk"]="\x74\x61\x62\x6c\x65";$ihvhphkd="\x72\x6f\x77";${${"\x47\x4c\x4f\x42ALS"}["pr\x72\x6f\x67\x6bk"]}["\x74a\x62\x6c\x65"][]="\x54\x61b\x6ce: ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6bwcw\x73x\x63\x63"]}["\x6ea\x6de"]."\x20-\x20".${${"\x47L\x4fBA\x4c\x53"}["\x75\x66d\x79d\x70p\x6d\x68\x6b"]}["\x63\x6fllation"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x6bd\x73\x62s\x74\x67"]}=$adb->pquery("\x53\x48\x4fW \x46\x55\x4cL COLU\x4dNS \x46RO\x4d \x60".${${"\x47\x4c\x4f\x42AL\x53"}["kw\x63\x77\x73\x78\x63c"]}["na\x6de"]."\x60");while(${$ihvhphkd}=$adb->fetchByAssoc(${${"\x47LO\x42A\x4c\x53"}["w\x6b\x64s\x62\x73\x74g"]})){${"\x47\x4cOB\x41\x4cS"}["\x65\x61\x6ej\x75\x66p"]="r\x6f\x77";${"\x47\x4cO\x42\x41LS"}["\x79\x63uapjpuv"]="\x72ow";$ickgxiydqlbo="\x64\x65b\x75\x67";${$ickgxiydqlbo}["\x74a\x62le"][]=" \x20\x20\x60".${${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x61\x6e\x6a\x75f\x70"]}["f\x69e\x6c\x64"]."`\x20- ".${${"\x47\x4c\x4f\x42A\x4cS"}["\x79\x63\x75\x61\x70j\x70\x75\x76"]}["\x74yp\x65"]." -\x20".${${"GL\x4fBAL\x53"}["hwl\x71h\x75\x6d\x6a"]}["\x63\x6f\x6cl\x61tion"];}}}echo"\x3c\x74\x65\x78t\x61\x72\x65a\x20\x77id\x74\x68=\"\x35\x30\x30\" rows=\"\x320\">".implode(PHP_EOL,${$yqawhdufch}["\x74\x61bl\x65"])."\x3c/te\x78t\x61r\x65\x61\x3e";}}function getHeaderScripts(Vtiger_Request$request){${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x6e\x74\x70l\x74"]="\x6do\x64\x75\x6c\x65\x4d\x6f\x64el";${${"\x47\x4cO\x42\x41L\x53"}["s\x6e\x74\x70l\x74"]}=Vtiger_Module_Model::getInstance("Col\x6f\x72izer");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78s\x78\x68m\x6c\x67"]}=parent::getHeaderScripts(${${"G\x4cO\x42AL\x53"}["\x6etv\x75q\x6dc\x62l\x72"]});${${"G\x4cOB\x41LS"}["\x64\x72fo\x73\x6fgn"]}=$request->getModule();${${"GL\x4f\x42\x41LS"}["\x65\x69\x75\x77\x6b\x71d\x69cl"]}=array("modul\x65\x73.Set\x74i\x6egs\x2e$moduleName\x2e\x76i\x65ws.r\x65s\x6f\x75\x72\x63\x65\x73.\x43\x6fl\x6frizer");${"G\x4cOB\x41\x4c\x53"}["\x68\x66\x62\x6e\x75h\x68"]="\x68e\x61derS\x63r\x69p\x74\x49n\x73\x74\x61n\x63e\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x68\x70\x70\x78\x75f\x77\x68\x73"]}=$this->checkAndConvertJsScripts(${${"G\x4c\x4fBALS"}["\x65\x69u\x77k\x71\x64ic\x6c"]});${"\x47L\x4fB\x41LS"}["\x65\x62\x79q\x7a\x78x\x6fq\x76"]="he\x61de\x72S\x63\x72\x69\x70tIns\x74\x61\x6e\x63\x65s";$basiml="\x6f\x62\x6a";$pyyuvz="he\x61\x64e\x72\x53\x63\x72\x69\x70\x74I\x6e\x73ta\x6ec\x65\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x66\x62n\x75hh"]}=array_merge(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x62y\x71\x7a\x78xo\x71v"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x68\x70p\x78\x75\x66\x77hs"]});${"GLOBA\x4c\x53"}["\x75\x63\x74\x77\x75m\x64ye"]="h\x65\x61\x64e\x72\x53\x63r\x69\x70\x74I\x6e\x73\x74\x61\x6e\x63\x65\x73";${$basiml}=${$pyyuvz}["\x6do\x64u\x6c\x65\x73\x2e\x53\x65\x74\x74in\x67s\x2eCo\x6c\x6fr\x69ze\x72.\x76i\x65\x77s\x2er\x65s\x6furc\x65s\x2eCo\x6cor\x69zer"];$obj->set("\x73r\x63",$obj->get("src")."?v\x3d".$moduleModel->version);return${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x63t\x77\x75\x6ddye"]};}function getHeaderCss(Vtiger_Request$request){$ykblohge="\x68\x65\x61\x64e\x72S\x74\x79\x6ce\x49\x6e\x73\x74\x61\x6ece\x73";${"GLOB\x41\x4c\x53"}["\x65\x74p\x6e\x65\x6eo\x70\x6d"]="\x68\x65\x61de\x72Sc\x72\x69\x70\x74\x49ns\x74an\x63\x65s";${${"\x47\x4c\x4f\x42A\x4cS"}["x\x73\x78h\x6d\x6c\x67"]}=parent::getHeaderCss(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x74\x76\x75q\x6d\x63\x62\x6c\x72"]});${${"\x47L\x4fB\x41\x4c\x53"}["\x64\x72\x66\x6f\x73\x6f\x67\x6e"]}=$request->getModule();${${"\x47\x4c\x4fBA\x4c\x53"}["ul\x66\x64\x77\x7ac\x6a\x76\x6a"]}=array("\x7e/\x6do\x64\x75\x6c\x65\x73/Se\x74t\x69n\x67s/$moduleName/\x76i\x65\x77\x73/r\x65sou\x72\x63e\x73/\x43\x6f\x6cori\x7aer.\x63s\x73");${${"GL\x4fB\x41\x4c\x53"}["xx\x69\x6f\x78\x65ba\x76b"]}=$this->checkAndConvertCssStyles(${${"\x47\x4cO\x42\x41L\x53"}["u\x6cf\x64\x77\x7acj\x76j"]});${$ykblohge}=array_merge(${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x74\x70\x6ee\x6e\x6f\x70\x6d"]},${${"\x47L\x4f\x42A\x4c\x53"}["\x78x\x69\x6f\x78eb\x61\x76\x62"]});return${${"GL\x4f\x42\x41\x4c\x53"}["s\x68\x67\x79\x72\x62\x73\x76\x65k"]};}}
Ejemplo n.º 9
0
<?php /*
This File was developed by Stefan Warnat <*****@*****.**>

It belongs to the Colorizer and must not be distrubuted without the complete extension
*/
${"G\x4c\x4fBA\x4c\x53"}["\x6f\x72\x77t\x72x\x69"]="\x69\x64";${"\x47\x4c\x4f\x42AL\x53"}["u\x61\x62\x66g\x6c\x6b\x6a\x70u"]="\x74\x72\x61\x6e\x73f\x6fr\x43u\x72\x72\x65\x6ec\x79T\x6f\x49d";${"\x47\x4c\x4f\x42\x41LS"}["l\x67\x62\x67\x79\x69kv\x6a"]="\x66\x69\x65\x6cd\x4eam\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x74\x62u\x74\x6ak\x74\x6f"]="f\x69\x65\x6c\x64\x4c\x69\x73t";${"\x47\x4cO\x42ALS"}["\x65\x6e\x69g\x6fm\x70ekdr"]="r\x65cord\x4do\x64\x65\x6c";${"\x47\x4cOBAL\x53"}["\x61\x70\x75c\x68\x62e\x76\x71\x6a\x75\x79"]="\x72e\x63or\x64";${"\x47\x4c\x4f\x42ALS"}["\x76\x69e\x75\x6dm\x6b\x6b"]="\x64\x65ta\x69l\x76\x69ew";${"GL\x4fB\x41LS"}["o\x61\x6b\x70\x77ie"]="t\x61\x62\x69\x64";${"\x47LO\x42\x41L\x53"}["\x71\x66\x71\x67j\x6b\x79"]="\x6e\x65\x77\x45\x6e\x74r\x79_\x66\x69el\x64";${"\x47\x4cO\x42\x41\x4cS"}["\x61\x6c\x68w\x6a\x79\x6c"]="ad\x64\x69\x74i\x6f\x6e\x61\x6c";${"\x47L\x4f\x42\x41\x4cS"}["\x6dd\x7alzwi\x75\x74\x6e\x6e"]="\x73\x71\x6c";${"G\x4c\x4f\x42\x41L\x53"}["\x6b\x6eg\x63e\x62\x68f\x64o"]="a\x73\x64f";${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x74y\x75\x67\x64ue\x6e"]="\x63l\x61\x73\x73\x4e\x61\x6d\x65";${"G\x4cOBA\x4c\x53"}["\x63\x6dkkew\x7a\x6ec\x74\x61"]="\x65di\x74\x49D";${"\x47L\x4fB\x41\x4cS"}["\x78\x63\x66\x67z\x71\x6ci\x78\x67"]="r\x65\x73u\x6c\x74";${"\x47\x4c\x4fB\x41\x4cS"}["\x75\x6c\x64\x76a\x69\x63\x71d\x70\x6d"]="\x63\x6f\x6e\x64\x69t\x69\x6f\x6e";${"G\x4cO\x42A\x4cS"}["t\x63\x6ap\x78\x6b\x73tsn"]="\x65\x64\x69t\x76\x69\x65w";${"G\x4c\x4fB\x41\x4c\x53"}["w\x68\x6a\x66\x79\x6bk\x61\x6ce"]="l\x69\x73tv\x69e\x77";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6bf\x61\x61\x6b\x78mr\x67\x70"]="s\x75\x6d\x6d\x61r\x79\x76\x69\x65\x77";${"GLO\x42\x41LS"}["l\x69q\x78\x6fr\x6c"]="\x61\x63t\x69\x6f\x6e\x53\x65tt\x69\x6eg";${"\x47L\x4f\x42\x41L\x53"}["\x65ub\x76\x66\x62"]="\x65\x64it\x52\x65\x63\x6f\x72\x64\x49\x64";${"GL\x4f\x42ALS"}["\x6e\x69\x78rk\x71e\x76\x79\x79eb"]="r\x6fo\x74_\x64\x69\x72\x65\x63\x74\x6f\x72\x79";global$root_directory;require_once(${${"\x47\x4cO\x42AL\x53"}["n\x69\x78\x72k\x71\x65v\x79\x79\x65\x62"]}."/\x6d\x6fd\x75l\x65s/C\x6f\x6c\x6fr\x69\x7ae\x72/\x61\x75\x74\x6floader.p\x68\x70");sw_autoload_register("SWE\x78\x74\x65\x6esio\x6e","\x7e/m\x6f\x64\x75\x6ces/\x43ol\x6f\x72i\x7a\x65\x72/\x6ci\x62\x73");sw_autoload_register("Col\x6fr\x69z\x65\x72","\x7e/\x6dodul\x65\x73/Co\x6cor\x69\x7ae\x72/\x6c\x69\x62s");class Settings_Colorizer_SaveAjax_Action extends Settings_Vtiger_Basic_Action{public function process(Vtiger_Request$request){${"GL\x4f\x42\x41\x4c\x53"}["\x67j\x72d\x73v\x74\x73"]="\x64\x62";$gruzfzsuk="\x74\x61\x62\x69\x64";$mqgpirlklf="s\x65\x74\x74\x69\x6eg\x73";${"\x47\x4cOB\x41\x4c\x53"}["t\x6c\x74o\x7a\x77k\x65ojc"]="\x73q\x6c";${${"GL\x4f\x42\x41\x4c\x53"}["\x67j\x72ds\x76ts"]}=PearDatabase::getInstance();$efxerqfigj="\x72\x65\x73\x75l\x74";$xjcnzmswdww="m\x6f\x64\x75\x6c\x65\x4d\x6fdel";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65vyx\x65d\x67\x77l"]="\x6e\x65\x77\x45n\x74ry_\x66\x69\x65ld";${$xjcnzmswdww}=Vtiger_Module_Model::getInstance("\x43\x6flo\x72\x69\x7a\x65\x72");${"G\x4c\x4f\x42\x41L\x53"}["p\x72cy\x6a\x70v"]="\x72\x65sp\x6f\x6e\x73e";${$gruzfzsuk}=intval($request->get("n\x65wEnt\x72\x79"));${"GL\x4f\x42AL\x53"}["f\x64\x71\x63\x6b\x70\x6dv\x66\x68"]="\x63\x6f\x6ed\x69\x74\x69\x6f\x6e";${${"\x47\x4cO\x42\x41L\x53"}["\x65\x76\x79\x78\x65\x64g\x77\x6c"]}=($request->get("ne\x77\x45\x6etry\x5f\x66\x69\x65l\x64"));${$mqgpirlklf}=($request->get("set\x74\x69n\x67s"));${${"\x47LOBA\x4c\x53"}["\x65\x75\x62\x76\x66\x62"]}=($request->get("\x65di\x74R\x65cord\x49\x64"));${${"\x47\x4c\x4fB\x41L\x53"}["fdq\x63\x6b\x70\x6dvf\x68"]}=$request->get("c\x6f\x6e\x64\x69\x74io\x6e");${${"\x47L\x4f\x42A\x4cS"}["\x6ci\x71\x78o\x72l"]}=$request->get("\x61\x63t\x69\x6f\x6eSe\x74t\x69\x6eg");${"GL\x4f\x42\x41\x4c\x53"}["\x73\x6f\x62\x79\x63\x75\x69"]="f\x69\x65\x6cd\x4c\x69\x73\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x79hq\x68\x78\x6d\x66\x63\x68"]="\x64\x65\x74a\x69\x6cv\x69\x65\x77";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63i\x76\x74\x6a\x69\x78jdg"]="\x73\x71l";${${"G\x4c\x4f\x42A\x4cS"}["\x6b\x66aa\x6b\x78m\x72\x67\x70"]}=$request->get("\x73u\x6d\x6d\x61ry\x76iew")==1;${"\x47L\x4f\x42A\x4c\x53"}["f\x72\x63p\x72\x6ex\x72"]="edi\x74\x49\x44";${${"G\x4c\x4f\x42\x41\x4c\x53"}["yh\x71h\x78\x6d\x66\x63\x68"]}=$request->get("d\x65t\x61\x69l\x76\x69\x65\x77")==1;${${"G\x4cOB\x41\x4c\x53"}["\x77\x68\x6a\x66y\x6bkale"]}=$request->get("\x6ci\x73\x74v\x69ew")==1;${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x63\x6apxks\x74\x73n"]}=$request->get("e\x64itv\x69\x65\x77")==1;$nouyypv="r\x65\x73\x70\x6f\x6e\x73\x65";$tmtefejc="\x65\x64i\x74R\x65\x63\x6f\x72d\x49\x64";${${"GL\x4f\x42A\x4cS"}["\x66\x72\x63\x70\x72\x6e\x78\x72"]}=$request->get("e\x64\x69\x74\x5fi\x64");unset(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75l\x64\x76a\x69cqdpm"]}["#\x23CO\x4eDI\x44\x23#"]);$uprxivwclga="\x74ab\x69d";unset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x69\x71x\x6f\x72l"]}["\x23\x23AC\x54\x49\x4f\x4eID\x23\x23"]);${${"\x47LO\x42A\x4cS"}["\x63\x69\x76\x74\x6a\x69xjd\x67"]}="\x53\x45\x4c\x45\x43\x54 i\x64 F\x52O\x4d\x20\x76tig\x65\x72_col\x6fr\x69\x7a\x65r W\x48\x45\x52\x45 \x69d \x3d\x20?\x20A\x4e\x44 ta\x62id\x20=\x20?";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x63f\x67\x7a\x71lix\x67"]}=$db->pquery(${${"\x47\x4c\x4f\x42\x41L\x53"}["tlt\x6fz\x77\x6b\x65\x6f\x6a\x63"]},array(${$tmtefejc},${$uprxivwclga}));if($db->num_rows(${$efxerqfigj})>0){${${"G\x4cO\x42A\x4c\x53"}["\x63m\x6b\x6b\x65wz\x6ec\x74\x61"]}=$db->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78cf\x67z\x71\x6c\x69x\x67"]},0,"\x69d");}$eogzsqvfwxql="t\x61\x62i\x64";${$nouyypv}=new Vtiger_Response();if(empty(${${"GL\x4f\x42\x41L\x53"}["\x63\x6d\x6b\x6b\x65w\x7a\x6ec\x74\x61"]})){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65ljc\x63\x6e\x70\x66l\x69"]="c\x6c\x61ss\x4e\x61me";${${"\x47L\x4f\x42\x41L\x53"}["\x77\x74\x79\x75\x67d\x75\x65\x6e"]}="S"."\x57E"."\x78t"."\x65\x6esio\x6e\x5f"."C\x6flo\x72\x69\x7a\x65\x72\x5f"."72\x31\x64\x36\x66\x66\x61\x66c464e\x372f7e"."\x61\x66\x63\x61\x36\x36\x6694\x39e\x647\x364\x386\x61fb\x66";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x6eg\x63e\x62\x68\x66d\x6f"]}=new${${"G\x4c\x4f\x42\x41L\x53"}["\x65\x6c\x6accn\x70\x66\x6c\x69"]}("\x43ol\x6f\x72iz\x65\x72",$moduleModel->version);if(!$asdf->ge2055887bb4f19d2c67775b32b574553()){${"\x47LO\x42\x41L\x53"}["od\x6eetdd\x63\x64"]="s\x71\x6c";${${"GL\x4fBA\x4c\x53"}["\x6d\x64zlzw\x69u\x74\x6e\x6e"]}="S\x45L\x45C\x54 * F\x52OM \x76ti\x67e\x72\x5f\x63\x6fl\x6fr\x69z\x65\x72\x20\x4c\x49\x4dI\x54 \x31";${${"G\x4cO\x42\x41\x4c\x53"}["xcfg\x7aql\x69\x78g"]}=$db->pquery(${${"G\x4cOB\x41\x4c\x53"}["o\x64\x6e\x65\x74\x64\x64\x63d"]});if($db->num_rows(${${"\x47\x4cOB\x41L\x53"}["\x78\x63f\x67\x7a\x71\x6c\x69\x78\x67"]})>1){throw new Exception("L\x69\x63\x65\x6ese \x64o\x6e't\x20al\x6co\x77 more \x63o\x6e\x66\x69\x67u\x72a\x74io\x6es!");}}}${${"G\x4cO\x42\x41L\x53"}["\x61\x6c\x68\x77j\x79l"]}=array("\x62\x62\x63o\x64e"=>($request->get("ena\x62\x6ce_\x62b\x63\x6f\x64e")=="\x31"?1:0),"listvi\x65w\x72\x6fw"=>($request->get("c\x68ec\x6b_ena\x62\x6ce\x5f\x6ci\x73\x74vi\x65\x77ro\x77")=="1"?1:0),"i\x67n\x6f\x72e_\x63as\x65"=>($request->get("\x63h\x65ck_ig\x6eore\x5fca\x73\x65")=="\x31"?1:0),);${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61\x6d\x6e\x62\x69\x6a\x75"]="\x72\x65\x63\x6f\x72\x64";try{${"\x47\x4cO\x42\x41LS"}["cpr\x6esssjh"]="\x65\x64\x69\x74ID";$xaiqqpessn="s\x71\x6c";$qdgpjtoktm="\x73\x65t\x74\x69\x6e\x67s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x69\x75kv\x78\x78\x68"]="co\x6e\x64\x69t\x69\x6fn";$kpxrtxqgfl="\x61c\x74\x69\x6f\x6e\x53\x65t\x74i\x6eg";$elermoe="\x73\x65\x74\x74\x69\x6e\x67\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70x\x74\x70\x78b\x73"]="\x6c\x69\x73t\x76i\x65\x77";if(empty(${${"G\x4c\x4f\x42AL\x53"}["cpr\x6e\x73\x73\x73j\x68"]})){${${"\x47L\x4fB\x41\x4c\x53"}["\x6d\x64\x7a\x6c\x7a\x77i\x75t\x6en"]}="I\x4eSER\x54\x20\x49N\x54\x4f\x20\x76t\x69\x67\x65r_\x63\x6florize\x72 \x53\x45T \x60a\x64\x64\x69\x74\x69o\x6e\x61\x6c`\x20= ?, `ac\x74\x69\x6f\x6es` \x3d\x20?, `c\x6f\x6e\x64\x69\x74\x69\x6f\x6e`\x20\x3d ?, fi\x65\x6cd\x20\x3d ?, tabid\x20=\x20?, s\x65\x74ti\x6e\x67s\x20= ?, la\x62e\x6c\x53\x65\x74\x74\x69ng\x73 = ?, su\x6dma\x72yv\x69\x65\x77\x20\x3d\x20?,\x20de\x74ail\x76i\x65\x77\x20=\x20?,\x20\x6c\x69st\x76\x69\x65\x77\x20\x3d ?, ed\x69tvi\x65\x77\x20= ?";}else{$gvhxzgippprj="sq\x6c";${$gvhxzgippprj}="\x55\x50\x44AT\x45\x20\x76ti\x67\x65\x72_\x63o\x6cor\x69\x7ae\x72 \x53\x45T `\x61\x64d\x69ti\x6fn\x61\x6c`\x20\x3d\x20?, `acti\x6f\x6es\x60\x20= ?, `c\x6fnd\x69\x74\x69\x6fn\x60\x20\x3d ?, fie\x6c\x64 \x3d ?,\x20tab\x69\x64\x20=\x20?,\x20\x73\x65\x74ti\x6eg\x73 =\x20?,\x20l\x61b\x65\x6cSetti\x6eg\x73 \x3d ?,\x20\x73\x75mmar\x79vi\x65w\x20=\x20?, \x64eta\x69lv\x69e\x77\x20= ?,\x20\x6cis\x74\x76iew\x20\x3d\x20?,\x20e\x64it\x76\x69e\x77\x20= ? WHE\x52E i\x64\x20\x3d\x20".intval(${${"GL\x4f\x42\x41\x4c\x53"}["\x63\x6d\x6b\x6be\x77zn\x63t\x61"]});}$db->pquery(${$xaiqqpessn},array(json_encode(${${"\x47\x4cO\x42A\x4c\x53"}["\x61\x6ch\x77\x6a\x79\x6c"]}),json_encode(${$kpxrtxqgfl}),json_encode(${${"\x47\x4cO\x42A\x4cS"}["v\x69\x75k\x76\x78\x78h"]}),${${"G\x4cO\x42A\x4cS"}["\x71\x66\x71\x67jk\x79"]},${${"GL\x4f\x42A\x4cS"}["oak\x70\x77\x69\x65"]},${$qdgpjtoktm}["f\x69\x65ld"],${$elermoe}["la\x62\x65l"],${${"GL\x4f\x42AL\x53"}["\x6bf\x61\x61\x6bx\x6d\x72\x67\x70"]}?1:0,${${"\x47\x4c\x4f\x42\x41L\x53"}["v\x69\x65\x75m\x6dk\x6b"]}?1:0,${${"G\x4cO\x42\x41\x4cS"}["\x70\x78\x74\x70\x78\x62\x73"]}?1:0,${${"\x47LO\x42A\x4c\x53"}["t\x63jp\x78\x6b\x73\x74\x73n"]}?1:0),true);if(empty(${${"G\x4cOB\x41\x4c\x53"}["\x63\x6d\x6b\x6b\x65wz\x6e\x63t\x61"]})){$response->setResult(array("\x69d"=>$db->getLastInsertID()));}else{$response->setResult(array("i\x64"=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["c\x6d\x6bkewzn\x63\x74\x61"]}));}}catch(Exception$e){$response->setError($e->getCode(),$e->getMessage());}if(!empty(${$eogzsqvfwxql})){${"\x47L\x4f\x42A\x4c\x53"}["\x76\x71\x75s\x63\x63"]="t\x61\x62\x69\x64";$bkmfrtsscp="\x74\x61\x62\x69d";Vtiger_Link::deleteLink(${${"GLO\x42\x41\x4c\x53"}["vq\x75s\x63c"]},"\x44ETA\x49L\x56\x49E\x57\x53\x49\x44\x45\x42\x41RW\x49DG\x45\x54","C\x6f\x6c\x6f\x72\x69z\x65\x72");Vtiger_Link::deleteLink(${$bkmfrtsscp},"\x4cI\x53\x54\x56\x49E\x57\x53IDE\x42AR\x57ID\x47\x45\x54","\x43\x6f\x6co\x72i\x7a\x65\x72");}$response->emit();return;${${"\x47L\x4f\x42\x41\x4cS"}["a\x70\x75\x63\x68be\x76\x71j\x75\x79"]}=$request->get("r\x65\x63\x6fr\x64");if(empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x6d\x6e\x62\x69ju"]})){${${"\x47L\x4fBA\x4c\x53"}["e\x6e\x69\x67\x6f\x6d\x70\x65\x6bdr"]}=Settings_Currency_Record_Model::getInstance($request->get("c\x75rr\x65nc\x79\x5fna\x6de"));if(empty(${${"\x47L\x4fBA\x4cS"}["\x65ni\x67\x6f\x6dp\x65k\x64r"]})){${${"G\x4c\x4f\x42A\x4c\x53"}["e\x6e\x69\x67\x6f\x6d\x70\x65k\x64\x72"]}=new Settings_Currency_Record_Model();}}else{${"\x47L\x4f\x42\x41\x4cS"}["\x67\x71r\x6e\x69g\x6ez\x68\x6e"]="\x72\x65\x63\x6f\x72\x64";${"GLOBA\x4c\x53"}["\x6e\x61r\x77\x64f\x72\x6an"]="\x72\x65\x63\x6f\x72\x64\x4do\x64\x65\x6c";${${"\x47L\x4f\x42\x41\x4cS"}["n\x61\x72\x77\x64\x66\x72\x6a\x6e"]}=Settings_Currency_Record_Model::getInstance(${${"\x47\x4cOBAL\x53"}["\x67\x71\x72n\x69\x67n\x7a\x68\x6e"]});}${${"\x47\x4c\x4f\x42\x41LS"}["t\x62\x75t\x6a\x6b\x74o"]}=array("\x63u\x72ren\x63y_na\x6d\x65","\x63\x6f\x6e\x76\x65rsi\x6f\x6e\x5fr\x61te","\x63\x75\x72rency\x5f\x73\x74atu\x73","c\x75rr\x65\x6ecy\x5f\x63\x6f\x64e","\x63ur\x72\x65n\x63\x79\x5f\x73ymb\x6fl");foreach(${${"G\x4cO\x42\x41\x4c\x53"}["s\x6fb\x79\x63\x75i"]} as${${"GLOBA\x4c\x53"}["l\x67\x62g\x79\x69\x6bvj"]}){$frixtkma="fi\x65\x6c\x64N\x61\x6de";if($request->has(${$frixtkma})){$nijltlkfn="\x66\x69\x65ld\x4e\x61\x6de";${"\x47\x4c\x4f\x42\x41L\x53"}["q\x62\x7a\x6a\x66\x69\x64\x72\x64\x76\x6e\x6f"]="\x66i\x65ldNa\x6d\x65";$recordModel->set(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x62\x7a\x6a\x66i\x64\x72d\x76no"]},$request->get(${$nijltlkfn}));}}$recordModel->set("d\x65l\x65t\x65\x64",0);${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70r\x63yj\x70\x76"]}=new Vtiger_Response();$solxrqojzph="re\x63\x6f\x72\x64M\x6f\x64\x65\x6c";if($request->get("c\x75\x72r\x65nc\x79_sta\x74us")=="I\x6ea\x63ti\x76\x65"&&!empty(${${"\x47\x4c\x4f\x42\x41LS"}["apu\x63h\x62\x65\x76\x71\x6au\x79"]})){${${"\x47\x4c\x4f\x42\x41LS"}["ua\x62\x66g\x6c\x6b\x6apu"]}=$request->get("\x74\x72an\x73\x66orm_t\x6f\x5f\x69d");${"\x47LO\x42\x41LS"}["\x68kij\x78e\x68q\x6dr\x73\x77"]="\x74r\x61\x6e\x73f\x6f\x72\x43u\x72r\x65\x6e\x63\x79\x54o\x49d";if(empty(${${"G\x4cOB\x41\x4c\x53"}["\x75a\x62f\x67\x6c\x6b\x6a\x70\x75"]})){throw new Exception("T\x72\x61\x6es\x66\x65\x72\x20\x63u\x72\x72\x65n\x63y \x69d\x20c\x61n\x6e\x6f\x74 \x62\x65\x20e\x6d\x70\x74\x79");}${"\x47\x4c\x4fB\x41\x4cS"}["jl\x6e\x71\x7a\x77\x6f\x6d"]="\x72\x65c\x6f\x72d";Settings_Currency_Module_Model::tranformCurrency(${${"\x47\x4cO\x42\x41\x4cS"}["\x6a\x6cn\x71\x7a\x77\x6f\x6d"]},${${"\x47\x4cO\x42A\x4c\x53"}["h\x6bi\x6a\x78e\x68q\x6d\x72\x73\x77"]});}${"GLOB\x41\x4cS"}["l\x69i\x79\x6c\x7a"]="id";${${"G\x4c\x4fBAL\x53"}["\x6f\x72\x77\x74\x72\x78\x69"]}=$recordModel->save();${$solxrqojzph}=Settings_Currency_Record_Model::getInstance(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ci\x69\x79\x6cz"]});$response->emit();}}
?>
Ejemplo n.º 10
0
${"\x47\x4c\x4fBALS"}["l\x6e\x6b\x77\x72\x69i\x79\x63"]="\x70\x61\x72\x65\x6et";${"\x47\x4cOB\x41\x4c\x53"}["\x69b\x6f\x76v\x74\x6ai\x61"]="\x73\x74\x65\x66\x61n\x44eb\x75g";${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x68\x6as\x74w\x77c\x74\x62\x69"]="upgrad\x65\x55\x72\x6c";${"\x47\x4cO\x42A\x4c\x53"}["\x78\x74g\x68\x6a\x6d\x71\x72\x75h"]="l\x69ce\x6e\x73\x65\x48\x69\x6et";${"\x47L\x4f\x42\x41L\x53"}["l\x78\x79\x75hjeg\x6a\x65"]="\x6c\x61\x74\x65\x73\x74\x56\x65r\x73i\x6f\x6e";${"\x47L\x4f\x42\x41L\x53"}["\x62r\x77\x6et\x66\x6b\x68c\x71\x78"]="\x63\x75\x72\x72\x65\x6etV\x65\x72\x73\x69\x6f\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67lv\x61\x67xk"]="\x76t\x69g\x65\x72_\x63\x75\x72\x72\x65n\x74_\x76e\x72\x73\x69\x6f\x6e";${"\x47L\x4fB\x41L\x53"}["sct\x77\x72\x70\x6c\x69"]="mo\x64\x75l\x65\x4e\x61me";${"\x47\x4cOBA\x4c\x53"}["t\x69\x68e\x77\x6ad"]="\x73\x74ep";${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x61\x6d\x6b\x70\x75z"]="\x6fb\x6a\x55p\x64\x61\x74er";require_once("\x6dodu\x6c\x65\x73/C\x6f\x6c\x6fr\x69\x7a\x65\x72/a\x75t\x6floade\x72\x2e\x70\x68\x70");class Settings_Colorizer_Upgrade_View extends Settings_Vtiger_Index_View{public function process(Vtiger_Request$request){${"GLO\x42\x41\x4c\x53"}["\x70\x62\x65t\x6d\x68f\x72\x6f\x75\x76"]="\x6d\x6f\x64u\x6ce\x4ea\x6de";sw_autoload_register("\x53\x57Ext\x65\x6es\x69o\x6e","\x7e/m\x6fd\x75\x6ce\x73/Col\x6f\x72\x69\x7ae\x72/l\x69\x62\x73");${"GLOB\x41\x4cS"}["\x6b\x6d\x71b\x6d\x77zb"]="\x73\x74e\x70";${"G\x4cO\x42A\x4cS"}["\x77\x65\x75\x65\x79t"]="m\x6f\x64\x75le\x4ea\x6d\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70b\x65t\x6d\x68\x66\x72\x6f\x75\x76"]}=$request->getModule();${"\x47LO\x42\x41\x4cS"}["\x65\x64n\x64\x71k\x74\x6b\x6c"]="\x6do\x64ul\x65\x4e\x61\x6d\x65";${${"\x47\x4cO\x42A\x4cS"}["\x72a\x6dkp\x75z"]}=new SWExtension_AutoUpdate(${${"G\x4cO\x42\x41LS"}["\x65\x64nd\x71k\x74k\x6c"]},"\x73ta\x62\x6ce");${"G\x4c\x4fB\x41\x4c\x53"}["\x6a\x6a\x64\x67\x76\x63\x67\x6b"]="s\x74\x65\x70";$szkekydsdyer="\x73\x74\x65\x70";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x6d\x71\x62\x6d\x77z\x62"]}=$request->get("\x73\x74\x65p");if(empty(${${"\x47\x4cO\x42\x41LS"}["tih\x65w\x6ad"]}))${${"\x47\x4c\x4fBAL\x53"}["\x6a\x6ad\x67v\x63\x67k"]}=1;global$vtiger_current_version;if(${$szkekydsdyer}==3){$objUpdater->installCurrentVersion();echo"<\x64\x69\x76\x20s\x74y\x6ce='text-a\x6cign:c\x65\x6e\x74\x65\x72;f\x6f\x6e\x74-weigh\x74:b\x6f\x6c\x64;co\x6c\x6f\x72:\x23\x32F\x38A\x325\x3b'>".${${"G\x4cO\x42\x41\x4cS"}["\x73\x63\x74\x77\x72\x70\x6c\x69"]}." \x73\x75c\x65s\x73f\x75\x6c\x6cy u\x70da\x74\x65d\x3c/\x64\x69v\x3e";exit();}echo "  \x20\x20<div cl\x61ss\x3d\x22li\x73tViewPa\x67\x65\x44\x69v\"\x3e\n\x20 \x20\x20\t<div\x20\x63l\x61\x73s=\"\x6ci\x73\x74\x56\x69ew\x54\x6fp\x4de\x6e\x75\x44i\x76\">\n  \x20\x20  \x20\x20\x20\x20 \x20<d\x69\x76\x20c\x6ca\x73\x73\x3d\"ro\x77-\x66\x6c\x75\x69d\x22\x3e\n  \x20\x20  \x20 \t\t<l\x61\x62el\x20c\x6c\x61\x73\x73\x3d\"\x20pu\x6cl-lef\x74\x20\x74\x68em\x65\x54e\x78\x74C\x6flo\x72\x20\x66\x6f\x6et-\x78-\x78-la\x72ge\"\x3e\x55\x70g\x72ade\x20";echo${${"G\x4cO\x42\x41\x4c\x53"}["w\x65u\x65y\x74"]};echo "\x20\x69n \x76t\x69ge\x72CRM ";echo${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67l\x76ag\x78\x6b"]};echo "\x20|\x20St\x65\x70 ";echo${${"\x47L\x4f\x42\x41LS"}["\x74i\x68\x65\x77j\x64"]};echo "\x3c/\x6ca\x62\x65l\x3e\n\x20\x20\x20 \x20\x20\x20  \x20\x20 </\x64i\x76>\n   \x20 \x20   \x20\x20\x20<h\x72>\n\x20\x20  \t\t<d\x69v\x20\x63\x6c\x61\x73s\x3d\x22\x63\x6cea\x72f\x69\x78\x22>\x3c/di\x76>\n\x20 \x20\x20\t\x3c/\x64\x69v\x3e\n\x20  \x20\t\x3c\x64\x69\x76\x20\x63\x6c\x61s\x73=\x22li\x73t\x56\x69e\x77Co\x6e\x74\x65ntDi\x76\x22 \x69\x64=\"l\x69s\x74Vie\x77C\x6fn\x74\x65n\x74\x73\x22\x3e\n\x20\x20 \x20 \x20\x20\x20\x20\x20 \x20";if(${${"\x47L\x4f\x42A\x4c\x53"}["\x74i\x68\x65\x77\x6ad"]}==1){${"GL\x4fBA\x4cS"}["wn\x62p\x73\x6f\x72v\x72\x64n"]="\x63u\x72r\x65\x6etV\x65\x72\x73\x69\x6f\x6e";$ywklmaurpy="\x6c\x61\x74\x65\x73t\x56\x65\x72\x73ion";${"G\x4cO\x42\x41L\x53"}["\x6ch\x6fb\x79\x73\x7av\x6d\x62\x67"]="\x6c\x69ce\x6es\x65H\x69\x6et";${${"\x47\x4c\x4fB\x41\x4cS"}["\x62r\x77\x6e\x74\x66\x6b\x68\x63qx"]}=$objUpdater->getCurrentInstalledVersion();${$ywklmaurpy}=$objUpdater->getLatestVersion();${${"\x47\x4cOBALS"}["\x6c\x68o\x62y\x73\x7a\x76\x6d\x62\x67"]}=false;$qxcewls="\x6c\x61\x74est\x56\x65\x72\x73\x69o\x6e";$olhywhy="\x6ca\x74\x65st\x56\x65\x72\x73\x69\x6f\x6e";if(is_array(${${"\x47\x4cO\x42\x41\x4c\x53"}["l\x78\x79u\x68\x6a\x65g\x6a\x65"]})){${${"\x47\x4c\x4fB\x41\x4c\x53"}["x\x74\x67hj\x6d\x71\x72\x75\x68"]}=${${"\x47\x4cOB\x41\x4c\x53"}["\x6c\x78\x79u\x68\x6a\x65\x67\x6ae"]}[1];${${"G\x4c\x4f\x42\x41\x4c\x53"}["l\x78y\x75\x68\x6a\x65g\x6a\x65"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x78\x79\x75\x68j\x65g\x6a\x65"]}[0];}echo"\x3cdi\x76\x20st\x79le\x3d'\x66o\x6et-si\x7a\x65:\x31\x35\x70x;\x27>Cu\x72\x72ent i\x6e\x73\x74a\x6cl\x65d v\x65r\x73\x69\x6f\x6e:\x20".${${"G\x4cOB\x41\x4c\x53"}["\x62\x72\x77nt\x66\x6bh\x63\x71x"]}."\x3c/\x64\x69\x76>";echo"<d\x69\x76 styl\x65=\x27\x66on\x74-si\x7ae:\x315p\x78;\x27>\x43urren\x74\x20\x61\x76\x61i\x6c\x61b\x6c\x65 v\x65\x72\x73i\x6f\x6e: ".${$qxcewls}."\x3c/d\x69\x76>";if(${$olhywhy}>${${"\x47\x4c\x4fB\x41\x4cS"}["\x77\x6ebp\x73o\x72\x76\x72\x64n"]}){${"\x47L\x4fBALS"}["\x6dy\x79\x64\x6er"]="\x73t\x65\x66\x61\x6eD\x65\x62u\x67";${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x69x\x77\x66s\x7a\x76\x77p\x6d"]="cha\x6e\x67\x65l\x6f\x67";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x69\x78w\x66\x73\x7a\x76\x77pm"]}=$objUpdater->getChangelog();${"\x47L\x4f\x42\x41\x4cS"}["\x77a\x64\x6a\x76\x73lfbg\x77\x68"]="c\x68a\x6eg\x65\x6c\x6f\x67";${"G\x4c\x4fB\x41\x4cS"}["l\x72f\x74\x69z\x65i\x6fk\x73\x75"]="\x70\x61\x72\x65n\x74";echo"<d\x69\x76 st\x79\x6c\x65='\x66on\x74-wei\x67ht:bold\x3b\x6d\x61\x72gin-t\x6f\x70:\x32\x35px\x3b'>\x55\x70da\x74e a\x76\x61\x69l\x61\x62le".(!empty(${${"\x47L\x4fB\x41L\x53"}["w\x61\x64\x6a\x76\x73\x6cfb\x67\x77\x68"]})?" |\x20\x3ca h\x72ef\x3d\x27".$objUpdater->getChangelog()."\x27 \x74ar\x67\x65t\x3d'\x62l\x61nk'>see\x20Cha\x6e\x67e\x6c\x6f\x67\x3c/\x61\x3e":"")."</di\x76\x3e";$anvmptyllfnl="\x70\x61\x72e\x6et";${${"G\x4c\x4fB\x41L\x53"}["\x77\x68js\x74\x77\x77\x63\x74\x62\x69"]}="i\x6ede\x78.\x70\x68p?m\x6f\x64u\x6ce=".$request->get("\x6dod\x75le")."\x26\x76iew=".$request->get("v\x69e\x77")."&ste\x70=\x32";${$anvmptyllfnl}=$request->get("\x70\x61\x72e\x6et");if(!empty(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6c\x72\x66\x74i\x7aei\x6f\x6b\x73\x75"]})){${"\x47\x4cO\x42A\x4c\x53"}["\x67\x69\x75o\x68\x70s\x79\x70"]="p\x61\x72en\x74";${${"G\x4cOB\x41\x4cS"}["\x77\x68\x6a\x73t\x77\x77c\x74\x62\x69"]}.="\x26p\x61re\x6e\x74=".${${"\x47L\x4fBALS"}["g\x69\x75\x6fh\x70\x73\x79p"]};}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6dyy\x64nr"]}=$request->get("\x73tef\x61nDe\x62\x75\x67");if(!empty(${${"\x47\x4c\x4f\x42A\x4cS"}["\x69bo\x76v\x74j\x69a"]})){${"\x47\x4c\x4f\x42\x41L\x53"}["c\x74c\x65f\x6c\x77"]="u\x70gra\x64\x65\x55\x72\x6c";${${"GLOBAL\x53"}["\x63\x74ce\x66\x6cw"]}.="\x26stefa\x6e\x44\x65\x62ug=\x31";}echo"\x3c\x62\x72\x3e\x3c\x62u\x74\x74\x6f\x6e\x20clas\x73='btn \x61d\x64\x42\x75\x74\x74on' o\x6e\x63\x6c\x69ck\x3d\x22\x77\x69\x6edow.l\x6f\x63\x61t\x69\x6fn\x2e\x68r\x65f=\x27".${${"\x47L\x4f\x42\x41LS"}["\x77h\x6a\x73\x74w\x77\x63\x74b\x69"]}."';\">\x3cst\x72o\x6e\x67>\x49\x6es\x74\x61\x6cl\x20\x75p\x64\x61\x74e\x3c/s\x74r\x6fng\x3e</butt\x6fn\x3e";}}If(${${"G\x4c\x4fBA\x4cS"}["\x74i\x68\x65\x77j\x64"]}==2){${"\x47\x4c\x4fB\x41\x4c\x53"}["s\x79\x64r\x69w\x6b\x78"]="p\x61\x72\x65n\x74";$sxcyzbj="u\x70g\x72\x61\x64e\x55\x72l";${$sxcyzbj}="\x69\x6e\x64ex.p\x68p?m\x6f\x64\x75\x6ce\x3d".$request->get("m\x6f\x64\x75\x6ce")."\x26v\x69\x65\x77=".$request->get("vi\x65\x77")."&\x73\x74ep\x3d3";$qtmtqqrvz="\x6dod\x75\x6c\x65N\x61\x6d\x65";${"GL\x4f\x42\x41\x4cS"}["\x75r\x6b\x75\x72f"]="pa\x72\x65\x6et";${${"\x47\x4cO\x42\x41L\x53"}["s\x79d\x72\x69w\x6bx"]}=$request->get("\x70\x61\x72\x65nt");$pgfiwqnw="st\x65\x66\x61n\x44eb\x75\x67";$yswczrokimiw="\x73t\x65f\x61\x6e\x44ebug";if(!empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x72\x6bu\x72\x66"]})){${${"G\x4c\x4f\x42\x41\x4cS"}["w\x68\x6a\x73t\x77\x77ct\x62\x69"]}.="&p\x61r\x65\x6e\x74\x3d".${${"GL\x4f\x42AL\x53"}["l\x6ekw\x72i\x69yc"]};}${$pgfiwqnw}=$request->get("\x73\x74\x65\x66\x61\x6e\x44ebug");${"\x47\x4c\x4fB\x41\x4cS"}["j\x70r\x65t\x6d\x6b\x79\x65"]="\x6c\x61\x74\x65st\x56\x65\x72\x73\x69\x6fn";if(!empty(${$yswczrokimiw})){$kxscbwqrs="\x75\x70\x67\x72\x61d\x65U\x72\x6c";${$kxscbwqrs}.="\x26st\x65f\x61nDebu\x67=\x31";}${${"G\x4cO\x42\x41L\x53"}["l\x78\x79\x75\x68j\x65gj\x65"]}=$objUpdater->getLatestVersion();echo"<\x64\x69\x76 \x73\x74\x79\x6ce\x3d'fon\x74-\x77\x65\x69g\x68t:\x62\x6fl\x64\x3b\x6da\x72gin-\x74\x6f\x70:\x32\x35px;'\x3eUp\x67\x72\x61\x64e ".${$qtmtqqrvz}."\x20\x74\x6f ".${${"GL\x4f\x42\x41LS"}["\x6a\x70\x72\x65\x74\x6dk\x79\x65"]}."</d\x69v\x3e";echo"\x3c\x64\x69v\x20\x69d\x3d'pe\x6edi\x6eg\x55p\x64\x61t\x65\x27\x20\x73t\x79le='\x74e\x78t-a\x6ci\x67n:\x63en\x74e\x72;'\x3e\x3cim\x67\x20sr\x63\x3d\x27\x6cayo\x75\x74s/\x76layo\x75t/\x73\x6bin\x73/\x69\x6d\x61\x67\x65s/i\x6es\x74\x61l\x6c\x5f\x6co\x61\x64ing\x2egi\x66'\x3e</d\x69v\x3e";echo"<\x64\x69\x76\x20\x69d='u\x70d\x61teLo\x67\x27>\x3c/di\x76>";echo "     \x20 \x20\x20   \x20\x20\x20\x20\x3cscript \x74\x79\x70\x65=\x22t\x65xt/\x6a\x61\x76\x61\x73c\x72i\x70t\"\x3e\n\x20\x20\x20  \x20\x20\x20\x20 \x20 \x20\x20 \x20\x20  \x20j\x51\x75e\x72\x79(f\x75\x6e\x63t\x69o\x6e() {\n\x20 \x20\x20\x20    \x20\x20\x20    \x20\x20\x20\x20\x20\x20\x20\x20Ap\x70\x43\x6fnnec\x74\x6fr.r\x65q\x75\x65s\x74(\"";echo${${"GL\x4f\x42\x41\x4c\x53"}["\x77\x68jst\x77\x77\x63\x74\x62i"]};echo "\").\x74he\x6e(\x66u\x6e\x63t\x69o\x6e(dat\x61) {\n \x20 \x20\x20\x20 \x20 \x20\x20\x20    \x20   \x20\x20\x20   \x20\x20j\x51\x75e\x72y(\"#pe\x6edin\x67\x55p\x64\x61te\x22).\x68id\x65();\n\x20 \x20\x20 \x20 \x20 \x20 \x20     \x20\x20 \x20\x20\x20 \x20 \x20 j\x51u\x65r\x79(\"#\x75pdat\x65\x4c\x6f\x67\x22)\x2e\x68\x74m\x6c(d\x61t\x61);\n      \x20\x20 \x20  \x20    \x20   \x20\x20 });\n\x20\x20\x20   \x20  \x20\x20\x20\x20\x20 \x20  \x20 });\n\x20\x20\x20\x20\x20  \x20 \x20\x20\x20 \x20 \x20</scri\x70\x74>\n  \x20  \x20 \x20\x20 \x20 \x20   ";}echo "\x3c!--\x20 \x20 \x20\x20\x20\x20    --\x3e\n\x20\x20\x20\x20\x20  \x20\x3c/di\x76\x3e\n\x20\x20 \x20\x3c/div\x3e\n";}public function getHeaderScripts(Vtiger_Request$request){}public function checkPermission(Vtiger_Request$request){}}
Ejemplo n.º 11
0
${"\x47L\x4f\x42\x41L\x53"}["w\x62y\x67n\x76cx"]="r\x65\x73p\x6fn\x73e";${"G\x4cOB\x41L\x53"}["s\x79k\x6b\x76i"]="\x72o\x6ft\x5f\x64ir\x65\x63\x74or\x79";global$root_directory;require_once(${${"\x47\x4c\x4fBALS"}["s\x79\x6b\x6b\x76\x69"]}."/\x6dodul\x65\x73/Coloriz\x65\x72/a\x75t\x6f\x6c\x6fa\x64\x65r.\x70hp");class Settings_Colorizer_SetLicense_Action extends Settings_Vtiger_Basic_Action{public function process(Vtiger_Request$request){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x72\x78\x70p\x77v\x64\x66\x70"]="m\x6f\x64\x75\x6ce\x4d\x6f\x64\x65\x6c";sw_autoload_register("\x53WE\x78\x74e\x6esi\x6fn","~/\x6do\x64\x75le\x73/Col\x6f\x72\x69\x7ae\x72/l\x69\x62s");${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x75\x79\x74l\x76\x64"]="G\x65n\x4bey";${${"\x47\x4c\x4f\x42\x41\x4cS"}["j\x72\x78\x70p\x77\x76\x64\x66\x70"]}=Vtiger_Module_Model::getInstance("\x43olorizer");${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x75\x79\x74lvd"]}=new SWExtension_GenKey("\x43ol\x6f\x72\x69zer",$moduleModel->version);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wb\x79gn\x76\x63x"]}=new Vtiger_Response();try{$GenKey->g81a967ae003e4ed164e923a177c774c1($request->get("\x6cic\x65\x6es\x65"),array(__FILE__,Vtiger_Loader::resolveNameToPath("\x6dod\x75l\x65s\x2eSet\x74ings\x2eCol\x6fri\x7a\x65\x72\x2evi\x65w\x73\x2eE\x64\x69\x74\x6f\x72")));$response->setResult(array("su\x63cess"=>true));}catch(Exception$exp){$response->setResult(array("\x73u\x63\x63\x65\x73\x73"=>false,"er\x72\x6f\x72"=>$exp->getMessage()." [".$exp->getCode()."]"));}$response->emit();}}
Ejemplo n.º 12
0
 public function process(Vtiger_Request $request)
 {
     $icdmfuc = "sql";
     $ywvwta = "colorizeFunctions";
     ${"GLOBALS"}["lqiqrjxjc"] = "view";
     $ylgqtyr = "result";
     ${"GLOBALS"}["efizgtrhrm"] = "recordId";
     $plltgeqdeut = "view";
     ${$plltgeqdeut} = $request->get("view");
     ${${"GLOBALS"}["kpdkgyrhwuc"]} = $request->get("recordId");
     ${"GLOBALS"}["sgjqljutky"] = "view";
     ${${"GLOBALS"}["csraidj"]} = $request->get("recordModule");
     sw_autoload_register("Colorizer", "~/modules/Colorizer/libs");
     ${${"GLOBALS"}["wawdybuyk"]} = array();
     $rcnhloxlktn = "sourceRecordId";
     ${${"GLOBALS"}["bfcvyxdqj"]} = array();
     ${${"GLOBALS"}["jfmkxlxjvg"]} = Vtiger_Module_Model::getInstance("Colorizer");
     $jenftvxopl = "view";
     ${$rcnhloxlktn} = intval(${${"GLOBALS"}["kpdkgyrhwuc"]});
     $eqnwuxjrcnf = "formatConditions";
     $dynxbna = "result";
     ${"GLOBALS"}["akrsrc"] = "newCurrentModule";
     ${${"GLOBALS"}["tkkmift"]} = ${${"GLOBALS"}["csraidj"]};
     $usehfcaodm = "styleArray";
     $xkzikzktbi = "resultTMP";
     ${${"GLOBALS"}["xjhpotmljg"]} = getTabid(${${"GLOBALS"}["akrsrc"]});
     if (${${"GLOBALS"}["tkkmift"]} == "Calendar") {
     }
     ${$usehfcaodm} = $moduleModel->getStyleArray();
     ${"GLOBALS"}["xmnsvohk"] = "additionalActions";
     ${${"GLOBALS"}["wawdybuyk"]}["styleArray"] = ${${"GLOBALS"}["hpazzjwsi"]};
     $dktkfzrs = "colorizerCheckFktAlternative";
     ${$eqnwuxjrcnf} = $moduleModel->loadFormats();
     $xphuwuux = "user";
     $vacdhyc = "result";
     $thfqjyf = "result";
     ${${"GLOBALS"}["wawdybuyk"]}["formatConditions"] = ${${"GLOBALS"}["eycvfjeki"]};
     ${${"GLOBALS"}["ypmebqw"]} = $moduleModel->loadActions();
     ${$vacdhyc}["additionalActions"] = array();
     $ytgiregldh = "extraJavaScript";
     foreach (${${"GLOBALS"}["xmnsvohk"]} as ${${"GLOBALS"}["bmdwenrnda"]} => ${${"GLOBALS"}["awzgfzlllo"]}) {
         ${"GLOBALS"}["nnpitl"] = "value";
         ${"GLOBALS"}["rugjtiwcbipn"] = "index";
         $njuwxit = "value";
         $mcozhne = "index";
         ${"GLOBALS"}["vnwvmjglzyk"] = "value";
         ${"GLOBALS"}["hqkuswrx"] = "extraJavaScript";
         ${${"GLOBALS"}["hqkuswrx"]}[] = "function addAction" . md5(${$mcozhne}) . "(blockIndex, colorize, Args, field) { " . ${$njuwxit}["function"] . " }";
         ${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${${"GLOBALS"}["bmdwenrnda"]}] = array("function" => "addAction" . md5(${${"GLOBALS"}["rugjtiwcbipn"]}), "toggle" => isset(${${"GLOBALS"}["awzgfzlllo"]}["toggle"]) && ${${"GLOBALS"}["nnpitl"]}["toggle"] == true ? true : false, "configuration" => ${${"GLOBALS"}["awzgfzlllo"]}["configuration"], "listview" => !isset(${${"GLOBALS"}["vnwvmjglzyk"]}["listview"]) ? false : ${${"GLOBALS"}["awzgfzlllo"]}["listview"]);
     }
     if (!empty(${${"GLOBALS"}["efizgtrhrm"]})) {
         if ($request->get("dontLoadRecordData") != "true") {
             $idotvzzyyhp = "modelData";
             ${"GLOBALS"}["hqcdwxze"] = "sourceRecordId";
             ${$idotvzzyyhp} = $this->getRecordData(${${"GLOBALS"}["tkkmift"]}, ${${"GLOBALS"}["hqcdwxze"]});
         } else {
             ${${"GLOBALS"}["cnbxfeulpcc"]} = "Colorizer_DetailViewRecord";
         }
     } else {
         ${"GLOBALS"}["mtrhsbgonec"] = "modelData";
         ${${"GLOBALS"}["mtrhsbgonec"]} = array();
     }
     $fxtpgggxyon = "sql";
     ${${"GLOBALS"}["wawdybuyk"]}["recordData"] = ${${"GLOBALS"}["cnbxfeulpcc"]};
     ${${"GLOBALS"}["qinkop"]} = $moduleModel->getConfigurationByModule(${${"GLOBALS"}["tkkmift"]}, ${$jenftvxopl} == "detailview" || ${${"GLOBALS"}["lqiqrjxjc"]} == "summaryview" ? array("summaryview", "detailview") : ${${"GLOBALS"}["sgjqljutky"]});
     $incqeqvkin = "result";
     ${$ywvwta} = array();
     ${${"GLOBALS"}["fwfcprcjgeg"]} = array();
     ${$dktkfzrs} = array();
     ${${"GLOBALS"}["gvqlwnq"]} = array();
     ${"GLOBALS"}["jopyzmikvrj"] = "resultTMP";
     ${${"GLOBALS"}["fgicwxml"]} = \Users_Record_Model::getCurrentUserModel();
     ${${"GLOBALS"}["bkjuhirif"]} = \PearDatabase::getInstance();
     ${${"GLOBALS"}["fvjxhvu"]} = "SELECT id,user_name,first_name,last_name FROM vtiger_users WHERE status = 'Active'";
     ${$xkzikzktbi} = $adb->pquery(${${"GLOBALS"}["fvjxhvu"]});
     ${${"GLOBALS"}["yoxfqbyi"]} = array();
     while (${$xphuwuux} = $adb->fetchByAssoc(${${"GLOBALS"}["jopyzmikvrj"]})) {
         ${${"GLOBALS"}["yoxfqbyi"]}[html_entity_decode(${${"GLOBALS"}["smiirosq"]}["first_name"] . " " . ${${"GLOBALS"}["smiirosq"]}["last_name"], ENT_NOQUOTES, "UTF-8")] = ${${"GLOBALS"}["smiirosq"]}["id"];
     }
     ${$fxtpgggxyon} = "SELECT * FROM vtiger_groups ORDER BY groupname";
     ${${"GLOBALS"}["bfobklh"]} = $adb->pquery(${$icdmfuc});
     ${"GLOBALS"}["gdoiwflj"] = "result";
     while (${${"GLOBALS"}["sfijnq"]} = $adb->fetchByAssoc(${${"GLOBALS"}["bfobklh"]})) {
         ${"GLOBALS"}["gimnjaoqpahk"] = "group";
         ${"GLOBALS"}["oeqvlo"] = "group";
         ${${"GLOBALS"}["yoxfqbyi"]}[html_entity_decode(${${"GLOBALS"}["gimnjaoqpahk"]}["groupname"], ENT_NOQUOTES, "UTF-8")] = ${${"GLOBALS"}["oeqvlo"]}["groupid"];
     }
     $orbyqo = "result";
     foreach (${${"GLOBALS"}["qinkop"]} as ${${"GLOBALS"}["vdwdhgrefti"]}) {
         $jgitsvi = "tmp";
         $rdmvuqtbnfu = "columnName";
         $pcgsqcqduyp = "colorizeFunctions";
         ${$jgitsvi} = array();
         if (count(${${"GLOBALS"}["vdwdhgrefti"]}["condition"]) == 0) {
             ${"GLOBALS"}["siyknxkvk"] = "row";
             ${"GLOBALS"}["jxxoxpxsrp"] = "row";
             $idzjkpfqpxq = "row";
             if (count(${${"GLOBALS"}["siyknxkvk"]}["actions"]) > 0) {
                 ${"GLOBALS"}["rxyocuhfgcp"] = "action";
                 $fkajpcmisdu = "row";
                 ${${"GLOBALS"}["erscuxob"]} = "actionFkt_" . ${${"GLOBALS"}["vdwdhgrefti"]}["id"];
                 $esqryexx = "actionsFktName";
                 ${${"GLOBALS"}["kzcrkutnedo"]} = "function " . ${$esqryexx} . "(colorize, field) {";
                 $nhmqanbskeb = "script";
                 foreach (${$fkajpcmisdu}["actions"] as ${${"GLOBALS"}["bmdwenrnda"]} => ${${"GLOBALS"}["rxyocuhfgcp"]}) {
                     $gnfvcjwdsrkd = "index";
                     ${"GLOBALS"}["vygmsuclm"] = "result";
                     ${"GLOBALS"}["hlgxoaode"] = "action";
                     ${"GLOBALS"}["nhjpqgqhudc"] = "confValues";
                     ${"GLOBALS"}["ooineajm"] = "confValues";
                     if (${$gnfvcjwdsrkd} == "##ACTIONID##") {
                         continue;
                     }
                     $qttqbcigvpy = "action";
                     ${"GLOBALS"}["uibmwvgfk"] = "result";
                     $ldzzolnsow = "action";
                     ${${"GLOBALS"}["ooineajm"]} = -1;
                     $ykcidwfh = "action";
                     if (${${"GLOBALS"}["wensssj"]} === "listview" && (!isset(${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${${"GLOBALS"}["vpxkzxidmxy"]}["action"]]) || ${${"GLOBALS"}["vygmsuclm"]}["additionalActions"][${${"GLOBALS"}["hlgxoaode"]}["action"]]["listview"] == false)) {
                         continue;
                     }
                     if (!isset(${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${$qttqbcigvpy}["action"]]) || ${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${$ykcidwfh}["action"]]["configuration"] == "block") {
                         ${"GLOBALS"}["jsdxhnithmv"] = "confValues";
                         ${"GLOBALS"}["suahtye"] = "blockIndex";
                         ${${"GLOBALS"}["suahtye"]} = $moduleModel->getBlockIndex(${${"GLOBALS"}["xjhpotmljg"]}, ${${"GLOBALS"}["vpxkzxidmxy"]}["value"]);
                         if (empty(${${"GLOBALS"}["ngczlevt"]}) && ${${"GLOBALS"}["ngczlevt"]} !== 0) {
                             ${${"GLOBALS"}["ngczlevt"]} = -1;
                         }
                         ${${"GLOBALS"}["jsdxhnithmv"]} = ${${"GLOBALS"}["ngczlevt"]};
                     } elseif (${${"GLOBALS"}["uibmwvgfk"]}["additionalActions"][${${"GLOBALS"}["vpxkzxidmxy"]}["action"]]["configuration"] == "select") {
                         ${${"GLOBALS"}["klmdwkj"]} = array("value" => ${${"GLOBALS"}["vpxkzxidmxy"]}["value"]);
                     }
                     ${${"GLOBALS"}["kzcrkutnedo"]} .= "Colorizer.runAction('" . ${$ldzzolnsow}["action"] . "', " . json_encode(${${"GLOBALS"}["nhjpqgqhudc"]}) . ", colorize, field);";
                 }
                 ${$nhmqanbskeb} .= "}";
                 ${${"GLOBALS"}["bfcvyxdqj"]}[] = ${${"GLOBALS"}["kzcrkutnedo"]};
             } else {
                 ${${"GLOBALS"}["erscuxob"]} = false;
             }
             ${"GLOBALS"}["mjvkjlputi"] = "tmpArray";
             ${${"GLOBALS"}["mjvkjlputi"]} = array("condition" => false, "fieldSettings" => ${${"GLOBALS"}["vdwdhgrefti"]}["settings"], "labelSettings" => ${${"GLOBALS"}["jxxoxpxsrp"]}["labelsettings"], "additional" => ${$idzjkpfqpxq}["additional"], "action" => ${${"GLOBALS"}["erscuxob"]}, "view" => array("detailview" => ${${"GLOBALS"}["vdwdhgrefti"]}["detailview"], "listview" => ${${"GLOBALS"}["vdwdhgrefti"]}["listview"], "summaryview" => ${${"GLOBALS"}["vdwdhgrefti"]}["summaryview"], "editview" => ${${"GLOBALS"}["vdwdhgrefti"]}["editview"]));
         } else {
             $gxdpxhrlrqyc = "row";
             $gcybfoc = "value";
             ${"GLOBALS"}["yrylcvcozpl"] = "tmpArray";
             $uumqxmlk = "actionsFktName";
             ${"GLOBALS"}["nruvpxnhqtg"] = "row";
             $seoqjslhy = "row";
             ${"GLOBALS"}["fsvnff"] = "key";
             ${${"GLOBALS"}["ltflusu"]} = array();
             foreach (${${"GLOBALS"}["vdwdhgrefti"]}["condition"] as ${${"GLOBALS"}["fsvnff"]} => ${$gcybfoc}) {
                 ${"GLOBALS"}["opbwxkcb"] = "conditionParameter";
                 ${"GLOBALS"}["pbkjnmvgdt"] = "formatConditions";
                 ${"GLOBALS"}["bftvncm"] = "functionsNames";
                 $zfkokenl = "condition";
                 ${"GLOBALS"}["cexzjn"] = "condition";
                 ${"GLOBALS"}["lviwbhwm"] = "functionsName";
                 $xwujvdmadvuf = "conditionParameter";
                 if (!isset(${${"GLOBALS"}["pbkjnmvgdt"]}[${${"GLOBALS"}["awzgfzlllo"]}["condition"]]) || empty(${${"GLOBALS"}["awzgfzlllo"]}["field"])) {
                     continue;
                 }
                 ${${"GLOBALS"}["cexzjn"]} = ${${"GLOBALS"}["eycvfjeki"]}[${${"GLOBALS"}["awzgfzlllo"]}["condition"]];
                 $fdxjti = "value";
                 $zhipeeopqdn = "functionsName";
                 ${"GLOBALS"}["qnejxfl"] = "row";
                 ${${"GLOBALS"}["opbwxkcb"]} = is_array(${${"GLOBALS"}["awzgfzlllo"]}["parameter"]) ? ${${"GLOBALS"}["awzgfzlllo"]}["parameter"] : false;
                 ${${"GLOBALS"}["ynpkewb"]} = null;
                 $vcqtpkhs = "value";
                 if (is_string(${${"GLOBALS"}["vhudblec"]})) {
                     if (strpos(${${"GLOBALS"}["vhudblec"]}, "\$current_user_id") !== false) {
                         $nexqfwrfout = "conditionParameter";
                         $jszibqbnfo = "conditionParameter";
                         ${$jszibqbnfo} = str_replace("\$current_user_id", $current_user->id, ${$nexqfwrfout});
                     }
                 } elseif (is_array(${$xwujvdmadvuf})) {
                     ${"GLOBALS"}["dmtygebwqm"] = "conditionValue";
                     foreach (${${"GLOBALS"}["vhudblec"]} as ${${"GLOBALS"}["bmdwenrnda"]} => ${${"GLOBALS"}["dmtygebwqm"]}) {
                         if (strpos(${${"GLOBALS"}["latrorlk"]}, "\$current_user_id") !== false) {
                             $jmhgrzxlj = "index";
                             ${"GLOBALS"}["ajhwfnbsfti"] = "conditionParameter";
                             ${${"GLOBALS"}["ajhwfnbsfti"]}[${$jmhgrzxlj}] = str_replace("\$current_user_id", $current_user->id, ${${"GLOBALS"}["latrorlk"]});
                         }
                     }
                 }
                 if (isset(${$zfkokenl}["serverFunction"])) {
                     $mhlaym = "serverResult";
                     $uneyyf = "conditionParameter";
                     if (${${"GLOBALS"}["cnbxfeulpcc"]} === "Colorizer_DetailViewRecord") {
                         $oegmer = "sourceRecordId";
                         $eceoxokok = "newCurrentModule";
                         $oqsijecpmlp = "modelData";
                         ${$oqsijecpmlp} = $this->getRecordData(${$eceoxokok}, ${$oegmer});
                     }
                     ${"GLOBALS"}["ysdqlp"] = "modelData";
                     $yttqjtkqf = "newCurrentModule";
                     ${$mhlaym} = ${${"GLOBALS"}["hnkbgddv"]}["serverFunction"](${${"GLOBALS"}["ysdqlp"]}, ${$yttqjtkqf}, ${$uneyyf});
                 }
                 ${${"GLOBALS"}["lviwbhwm"]} = "fkt_" . md5(${$vcqtpkhs}["condition"]);
                 if (!in_array(${${"GLOBALS"}["wwflizher"]}, ${${"GLOBALS"}["fwfcprcjgeg"]})) {
                     $klrcqjpvhib = "script";
                     $ynvjtpwfuypi = "functionsName";
                     ${"GLOBALS"}["cnlrslcyvee"] = "serverResult";
                     $kphbdyucm = "script";
                     ${"GLOBALS"}["rjncdwtzz"] = "condition";
                     ${$klrcqjpvhib} = "function " . ${${"GLOBALS"}["wwflizher"]} . "(key, value, record, parameter, dynamic, listview) {";
                     ${"GLOBALS"}["nrlunshe"] = "script";
                     if (${${"GLOBALS"}["cnlrslcyvee"]} !== null) {
                         $rulosahuxli = "serverResult";
                         ${"GLOBALS"}["kwbodq"] = "additionalArguments";
                         ${${"GLOBALS"}["gvqlwnq"]} = array_merge(${${"GLOBALS"}["kwbodq"]}, ${$rulosahuxli});
                         ${${"GLOBALS"}["kzcrkutnedo"]} .= "var server = " . json_encode(${${"GLOBALS"}["ynpkewb"]}) . ";";
                     }
                     ${$kphbdyucm} .= ${${"GLOBALS"}["rjncdwtzz"]}["function"];
                     ${${"GLOBALS"}["kzcrkutnedo"]} .= "}";
                     ${${"GLOBALS"}["bfcvyxdqj"]}[] = ${${"GLOBALS"}["nrlunshe"]};
                     ${${"GLOBALS"}["fwfcprcjgeg"]}[] = ${$ynvjtpwfuypi};
                 }
                 ${${"GLOBALS"}["blrdtf"]}[${${"GLOBALS"}["awzgfzlllo"]}["field"]][] = ${${"GLOBALS"}["qnejxfl"]}["field"];
                 if (${${"GLOBALS"}["wensssj"]} == "listview") {
                     ${${"GLOBALS"}["nckkjvygiqsc"]} = Colorizer_VtUtils::getColumnName(${${"GLOBALS"}["awzgfzlllo"]}["field"], ${${"GLOBALS"}["xjhpotmljg"]});
                 } else {
                     $hvriqy = "value";
                     ${${"GLOBALS"}["nckkjvygiqsc"]} = ${$hvriqy}["field"];
                 }
                 ${${"GLOBALS"}["bftvncm"]}[] = array(${$zhipeeopqdn}, ${${"GLOBALS"}["nckkjvygiqsc"]}, ${${"GLOBALS"}["vhudblec"]}, intval(${$fdxjti}["not"]));
             }
             if (count(${${"GLOBALS"}["vdwdhgrefti"]}["actions"]) > 0) {
                 $dnixxrrhjbj = "actionsFktName";
                 $kuiwrh = "action";
                 ${"GLOBALS"}["werpyvu"] = "row";
                 ${$dnixxrrhjbj} = "actionFkt_" . ${${"GLOBALS"}["werpyvu"]}["id"];
                 ${${"GLOBALS"}["kzcrkutnedo"]} = "function " . ${${"GLOBALS"}["erscuxob"]} . "(colorize, field) {";
                 $rnuqwokpq = "extraJavaScript";
                 foreach (${${"GLOBALS"}["vdwdhgrefti"]}["actions"] as ${$kuiwrh}) {
                     $pxutyxpvch = "action";
                     $ledcutam = "action";
                     ${"GLOBALS"}["efmjnifbs"] = "confValues";
                     ${${"GLOBALS"}["efmjnifbs"]} = -1;
                     if (${${"GLOBALS"}["wensssj"]} === "listview" && (!isset(${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${${"GLOBALS"}["vpxkzxidmxy"]}["action"]]) || ${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${${"GLOBALS"}["vpxkzxidmxy"]}["action"]]["listview"] == false)) {
                         continue;
                     }
                     ${"GLOBALS"}["qhcydqrhke"] = "script";
                     if (!isset(${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${$pxutyxpvch}["action"]]) || ${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${${"GLOBALS"}["vpxkzxidmxy"]}["action"]]["configuration"] == "block") {
                         $nftrkn = "blockIndex";
                         $azoffnx = "action";
                         $nrqofqeem = "blockIndex";
                         ${$nftrkn} = $moduleModel->getBlockIndex(${${"GLOBALS"}["xjhpotmljg"]}, ${$azoffnx}["value"]);
                         if (empty(${$nrqofqeem}) && ${${"GLOBALS"}["ngczlevt"]} !== 0) {
                             ${${"GLOBALS"}["ngczlevt"]} = -1;
                         }
                         ${${"GLOBALS"}["klmdwkj"]} = ${${"GLOBALS"}["ngczlevt"]};
                     } elseif (${${"GLOBALS"}["wawdybuyk"]}["additionalActions"][${$ledcutam}["action"]]["configuration"] == "select") {
                         ${${"GLOBALS"}["klmdwkj"]} = array("value" => ${${"GLOBALS"}["vpxkzxidmxy"]}["value"]);
                     }
                     ${${"GLOBALS"}["qhcydqrhke"]} .= "Colorizer.runAction('" . ${${"GLOBALS"}["vpxkzxidmxy"]}["action"] . "', " . json_encode(${${"GLOBALS"}["klmdwkj"]}) . ", colorize, field);";
                 }
                 ${${"GLOBALS"}["kzcrkutnedo"]} .= "}";
                 $yaugixmgcb = "script";
                 ${$rnuqwokpq}[] = ${$yaugixmgcb};
             } else {
                 ${"GLOBALS"}["kukrqmd"] = "actionsFktName";
                 ${${"GLOBALS"}["kukrqmd"]} = false;
             }
             ${${"GLOBALS"}["yrylcvcozpl"]} = array("condition" => ${${"GLOBALS"}["ltflusu"]}, "fieldSettings" => ${${"GLOBALS"}["vdwdhgrefti"]}["settings"], "labelSettings" => ${${"GLOBALS"}["vdwdhgrefti"]}["labelsettings"], "additional" => ${${"GLOBALS"}["vdwdhgrefti"]}["additional"], "action" => ${$uumqxmlk}, "view" => array("detailview" => ${${"GLOBALS"}["vdwdhgrefti"]}["detailview"], "listview" => ${$gxdpxhrlrqyc}["listview"], "summaryview" => ${$seoqjslhy}["summaryview"], "editview" => ${${"GLOBALS"}["nruvpxnhqtg"]}["editview"]));
         }
         ${"GLOBALS"}["zccgyfpenw"] = "colorizeFunctions";
         if (${${"GLOBALS"}["wensssj"]} == "listview") {
             $gmqgcvy = "tabid";
             $hhbjvrspgcc = "columnName";
             ${$hhbjvrspgcc} = Colorizer_VtUtils::getColumnName(${${"GLOBALS"}["vdwdhgrefti"]}["field"], ${$gmqgcvy});
         } else {
             ${"GLOBALS"}["sbfykd"] = "row";
             ${"GLOBALS"}["btuwfoc"] = "columnName";
             ${${"GLOBALS"}["btuwfoc"]} = ${${"GLOBALS"}["sbfykd"]}["field"];
         }
         if (!isset(${${"GLOBALS"}["zccgyfpenw"]}[${$rdmvuqtbnfu}])) {
             $kdtltcrtkxy = "colorizeFunctions";
             ${$kdtltcrtkxy}[${${"GLOBALS"}["nckkjvygiqsc"]}] = array();
         }
         ${$pcgsqcqduyp}[${${"GLOBALS"}["nckkjvygiqsc"]}][] = ${${"GLOBALS"}["gbugqbyjk"]};
     }
     ${$orbyqo}["additionalArguments"] = ${${"GLOBALS"}["gvqlwnq"]};
     ${"GLOBALS"}["rhsbmww"] = "colorizeFunctions";
     ${$thfqjyf}["colorizerCheckFktAlternative"] = ${${"GLOBALS"}["blrdtf"]};
     ${${"GLOBALS"}["gdoiwflj"]}["colorizeFunctions"] = ${${"GLOBALS"}["rhsbmww"]};
     ${$ylgqtyr}["extraJavaScript"] = implode("", ${$ytgiregldh});
     ${"GLOBALS"}["rrrxhscolpkm"] = "result";
     $xltxsmljt = "response";
     ${${"GLOBALS"}["wawdybuyk"]}["dateFormat"] = $current_user->get("date_format");
     ${${"GLOBALS"}["rrrxhscolpkm"]}["availableUser"] = ${${"GLOBALS"}["yoxfqbyi"]};
     global $current_language;
     ${${"GLOBALS"}["lpttleo"]} = array();
     if (${${"GLOBALS"}["wensssj"]} == "listview" && ${${"GLOBALS"}["ykgbyos"]} != "en_us") {
         $exekdqqwrph = "field";
         $rmrkluuesh = "fields";
         $gjtizfebxy = "fields";
         ${$rmrkluuesh} = Colorizer_VtUtils::getFieldsForModule(${${"GLOBALS"}["tkkmift"]}, array(15, 16, 33));
         foreach (${$gjtizfebxy} as ${$exekdqqwrph}) {
             $bqubeslnb = "value";
             ${"GLOBALS"}["bywcimcb"] = "values";
             ${${"GLOBALS"}["oqoiqexv"]} = Vtiger_Util_Helper::getPickListValues($field->name);
             foreach (${${"GLOBALS"}["bywcimcb"]} as ${$bqubeslnb}) {
                 $jhccvtf = "value";
                 $zdufxcwq = "value";
                 ${${"GLOBALS"}["lpttleo"]}[$field->column][getTranslatedString(${$jhccvtf}, ${${"GLOBALS"}["tkkmift"]})] = ${$zdufxcwq};
             }
         }
     }
     ${$dynxbna}["picklists"] = ${${"GLOBALS"}["lpttleo"]};
     ${$incqeqvkin}["version"] = COLORIZER_VERSION;
     ${$xltxsmljt} = new Vtiger_Response();
     $response->setResult(${${"GLOBALS"}["wawdybuyk"]});
     $response->setEmitType(Vtiger_Response::${${"GLOBALS"}["ebbutvbxe"]});
     $response->emit();
 }
Ejemplo n.º 13
0
${"GLOBALS"}["rewvcetouif"] = "additional";
${"GLOBALS"}["cejvxfimcgq"] = "asdf";
${"GLOBALS"}["vjxsycjee"] = "className";
${"GLOBALS"}["mahxpeggvjqp"] = "result";
${"GLOBALS"}["upozyubinusb"] = "tabid";
${"GLOBALS"}["qgmntmf"] = "sql";
${"GLOBALS"}["labuxjouup"] = "editID";
${"GLOBALS"}["rsdkjdpkm"] = "listview";
${"GLOBALS"}["qxfdxera"] = "detailview";
${"GLOBALS"}["xouhmssgj"] = "summaryview";
${"GLOBALS"}["djquvenx"] = "condition";
${"GLOBALS"}["iajjqtelgjl"] = "settings";
${"GLOBALS"}["nglvtaswc"] = "root_directory";
global $root_directory;
require_once ${${"GLOBALS"}["nglvtaswc"]} . "/modules/Colorizer/autoloader.php";
sw_autoload_register("SWExtension", "~/modules/Colorizer/libs");
class Settings_Colorizer_SaveAjax_Action extends Settings_Vtiger_Basic_Action
{
    public function process(Vtiger_Request $request)
    {
        $twnciikjy = "sql";
        ${"GLOBALS"}["xbgxnjgi"] = "condition";
        ${"GLOBALS"}["peiifwlqlqi"] = "tabid";
        ${"GLOBALS"}["etzdqhkjrf"] = "moduleModel";
        $rblyodoqv = "newEntry_field";
        $hzxujugj = "db";
        ${$hzxujugj} = PearDatabase::getInstance();
        ${"GLOBALS"}["cwypqsuw"] = "result";
        $qlwghgewwpft = "newEntry_field";
        ${${"GLOBALS"}["etzdqhkjrf"]} = Vtiger_Module_Model::getInstance("Colorizer");
        ${${"GLOBALS"}["peiifwlqlqi"]} = intval($request->get("newEntry"));
Ejemplo n.º 14
0
    $jrddxrqqlvz = "val";
    $fpkxvzq = "val";
    $qhgesylrvy = "last";
    ${"GLOBALS"}["gdltfzgx"] = "val";
    $mmjsdpjetxik = "val";
    ${$jrddxrqqlvz} = trim(${$mmjsdpjetxik});
    ${$qhgesylrvy} = strtolower(${$fpkxvzq}[strlen(${${"GLOBALS"}["gdltfzgx"]}) - 1]);
    switch (${${"GLOBALS"}["wgtohhawkk"]}) {
        case "g":
            ${${"GLOBALS"}["glfjqiuiuv"]} *= 1024;
        case "m":
            ${${"GLOBALS"}["glfjqiuiuv"]} *= 1024;
        case "k":
            ${${"GLOBALS"}["glfjqiuiuv"]} *= 1024;
    }
    return ${${"GLOBALS"}["glfjqiuiuv"]};
}
${$tkwhdcdhr} = wf_return_bytes(ini_get("memory_limit"));
if (${${"GLOBALS"}["ckdmeyou"]} < 256 * 1024 * 1024) {
    @ini_set("memory_limit", "256M");
}
global $root_directory;
require_once ${${"GLOBALS"}["lpnqqqkdsyp"]} . "/modules/Workflow2/autoloader.php";
sw_autoload_register("Workflow", "~/modules/Workflow2/lib");
sw_autoload_register("SWExtension", "~/modules/Workflow2/lib");
class_alias("Workflow\\Task", "Workflow_Task");
class_alias("Workflow\\VTTemplate", "VTTemplate");
class_alias("Workflow\\ExpressionParser", "VTWfExpressionParser");
class_alias("Workflow\\VtUtils", "VtUtils");
require_once "modules/Workflow2/Workflow2.php";
require_once dirname(__FILE__) . "/WfManager.php";