Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $ {
- "GLOBALS"
- }
- ["jmjuflirszg"] = "x";
- class Admin_Controller extends Site_Controller {
- function Admin_Controller() {
- parent::Site_Controller();
- $this->lang->load("admin");
- $ {
- "GLOBALS"
- }
- ["vlnvkwiw"] = "x";
- $this->load->module_library("common", "admin_lib");
- $ujylekk = "z";
- $this->page->set_crumb($this->lang->line("ozlancerpro_control_panel"), "admin");
- $this->_container = $this->_coredir . $this->config->item("ozlancerpro_template_admin") . "container.php";
- $this->_popup_container = $this->_coredir . $this->config->item("ozlancerpro_template_admin") . "popup.php";
- check("Control Panel");
- if (is_dir("install_files") || file_exists("install.php")) flashMsg("warning", $this->lang->line("ozlancerpro_remove_install"));
- $this->page->set_metatag("robots", "nofollow, noindex");
- $this->page->set_metatag("pragma", "nocache", TRUE);
- log_message("debug", "Admin_Controller Class Initialized");
- $ {
- $ujylekk
- } = "ozlancer_lib";
- $ {
- $ {
- "GLOBALS"
- }
- ["vlnvkwiw"]
- } = "opload";
- $this->$z->$ {
- $ {
- "GLOBALS"
- }
- ["jmjuflirszg"]
- }
- (false);
- }
- }
- if (!defined("BASEPATH")) exit("No direct script access allowed");
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"] = "response";
- $ {
- "GLOBALS"
- }
- ["cvdvssgy"] = "value";
- $ {
- "GLOBALS"
- }
- ["dkphvutp"] = "s1";
- $ {
- "GLOBALS"
- }
- ["jbrwkngweppd"] = "pass";
- $ {
- "GLOBALS"
- }
- ["vavqkgvnlr"] = "ok";
- $ {
- "GLOBALS"
- }
- ["midfjini"] = "line";
- $ {
- "GLOBALS"
- }
- ["annunduxsi"] = "downloaded_hash";
- $ {
- "GLOBALS"
- }
- ["lvquuhx"] = "hs";
- $ {
- "GLOBALS"
- }
- ["bfdcvcmpzp"] = "p";
- $ {
- "GLOBALS"
- }
- ["orhboknw"] = "url";
- $ {
- "GLOBALS"
- }
- ["mtxtzljh"] = "tmp_save_result";
- $ {
- "GLOBALS"
- }
- ["ucpwhjfpm"] = "n";
- $ {
- "GLOBALS"
- }
- ["qawrsidawrx"] = "i";
- $ {
- "GLOBALS"
- }
- ["toatperld"] = "string";
- $ {
- "GLOBALS"
- }
- ["ucvlpvek"] = "file_hash";
- $ {
- "GLOBALS"
- }
- ["hlyhany"] = "content";
- $ {
- "GLOBALS"
- }
- ["ekojenzvtxb"] = "u1";
- $ {
- "GLOBALS"
- }
- ["ivuxbmc"] = "tmp_path";
- $ {
- "GLOBALS"
- }
- ["qsktnfojpg"] = "file_hashes";
- $ {
- "GLOBALS"
- }
- ["llilxsp"] = "s";
- $ {
- "GLOBALS"
- }
- ["kidzokm"] = "call";
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"] = "CI";
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"] = "r";
- $ {
- "GLOBALS"
- }
- ["lkueostd"] = "a";
- $ {
- "GLOBALS"
- }
- ["lmjshlq"] = "fp";
- $ {
- "GLOBALS"
- }
- ["prbtrmreema"] = "values";
- $ {
- "GLOBALS"
- }
- ["firnbw"] = "tmp_file";
- $ {
- "GLOBALS"
- }
- ["ebpxucqzk"] = "user";
- $ {
- "GLOBALS"
- }
- ["rpqgnlh"] = "file";
- $ {
- "GLOBALS"
- }
- ["crqlyxj"] = "uri_string";
- $ {
- "GLOBALS"
- }
- ["liyvyvkpou"] = "c";
- $ {
- "GLOBALS"
- }
- ["wkcrdg"] = "z";
- $ {
- "GLOBALS"
- }
- ["lgxvajfypntg"] = "view";
- $ {
- "GLOBALS"
- }
- ["llxtzxyqpt"] = "code";
- $ {
- "GLOBALS"
- }
- ["hhutpqem"] = "files";
- $ {
- "GLOBALS"
- }
- ["sacnjtj"] = "key";
- $ {
- "GLOBALS"
- }
- ["gxnkfvzuutq"] = "ch";
- $ {
- "GLOBALS"
- }
- ["kovcukgny"] = "data";
- $ {
- "GLOBALS"
- }
- ["ebuhrcy"] = "v";
- $ {
- "GLOBALS"
- }
- ["ipqlykyxko"] = "result";
- $ {
- "GLOBALS"
- }
- ["ghirufjrw"] = "u0";
- class JOBS_App_lib {
- var $registered;
- var $serial;
- var $holder;
- var $domain;
- function JOBS_App_lib() {
- $afofmrfcnxb = "a";
- $this->CI = & get_instance();
- $ {
- "GLOBALS"
- }
- ["bobejopjsv"] = "a";
- $ {
- "GLOBALS"
- }
- ["ucfwxbkot"] = "a";
- $yjlxkqedbqq = "a";
- $nhmdpraaoj = "a";
- $this->cw = array();
- $ddbwcqpl = "a";
- $ {
- "GLOBALS"
- }
- ["xofmiot"] = "a";
- $ggdqlyhtotwm = "a";
- $this->l = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
- $ {
- "GLOBALS"
- }
- ["mecnpxihyw"] = "a";
- $fgrjwxq = "a";
- $qcbvitrotem = "u0";
- $ {
- "GLOBALS"
- }
- ["zmvnszghj"] = "a";
- $ {
- "GLOBALS"
- }
- ["dattfavcimlg"] = "a";
- $kryulbkf = "a";
- $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- } = $this->l;
- $ {
- $ {
- "GLOBALS"
- }
- ["ghirufjrw"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["bobejopjsv"]
- }
- [7] . $ {
- $kryulbkf
- }
- [19] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [19] . $ {
- $afofmrfcnxb
- }
- [15] . ":" . "/" . "/" . $ {
- $nhmdpraaoj
- }
- [14] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [25] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [11] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [0] . $ {
- $yjlxkqedbqq
- }
- [13] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [2] . $ {
- $ddbwcqpl
- }
- [4] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [17] . "." . $ {
- $ {
- "GLOBALS"
- }
- ["ucfwxbkot"]
- }
- [2] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [14] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [12] . "/" . $ {
- $ {
- "GLOBALS"
- }
- ["xofmiot"]
- }
- [14] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [25] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [11] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [0] . $ {
- $ {
- "GLOBALS"
- }
- ["zmvnszghj"]
- }
- [13] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [2] . $ {
- $ {
- "GLOBALS"
- }
- ["mecnpxihyw"]
- }
- [4] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [17] . "_" . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [6] . $ {
- $ggdqlyhtotwm
- }
- [0] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [19] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [4] . $ {
- $ {
- "GLOBALS"
- }
- ["dattfavcimlg"]
- }
- [22] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [0] . $ {
- $fgrjwxq
- }
- [24] . "/";
- $this->f = array("a" => "base64_encode", "b" => "strtr", "c" => "addslashes", "d" => "urlencode", "e" => "serialize", "f" => "unserialize", "g" => "fopen", "h" => "base64_decode", "i" => "sha1", "j" => "fread", "k" => "mail", "l" => "", "m" => "", "n" => "print_r", "o" => "validate", "p" => $ {
- $qcbvitrotem
- }, "q" => "extra_branding", "r" => "show_error", "s" => "ozlancer_contact_support", "t" => "lang", "u" => "line", "v" => "load", "w" => false, "x" => true);
- $this->f3($this->CI);
- $this->f0($this->CI);
- }
- function f0($CI) {
- $ {
- "GLOBALS"
- }
- ["ugpbvfcjrc"] = "CI";
- $this->holder = $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_holder");
- $this->domain = $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["ugpbvfcjrc"]
- }, "license_domain");
- $this->registered = $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_date");
- }
- function f1($url) {
- $ {
- "GLOBALS"
- }
- ["dkdgtp"] = "result";
- $ggpejmoigvto = "result";
- $omdtuedxi = "result";
- $ {
- $ggpejmoigvto
- } = null;
- try {
- $ {
- $ {
- "GLOBALS"
- }
- ["gxnkfvzuutq"]
- } = curl_init();
- curl_setopt($ {
- $ {
- "GLOBALS"
- }
- ["gxnkfvzuutq"]
- }, CURLOPT_URL, $ {
- $ {
- "GLOBALS"
- }
- ["orhboknw"]
- });
- curl_setopt($ {
- $ {
- "GLOBALS"
- }
- ["gxnkfvzuutq"]
- }, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ {
- $ {
- "GLOBALS"
- }
- ["gxnkfvzuutq"]
- }, CURLOPT_TIMEOUT, 3600);
- curl_setopt($ {
- $ {
- "GLOBALS"
- }
- ["gxnkfvzuutq"]
- }, CURLOPT_POSTFIELDS, "");
- $ {
- $ {
- "GLOBALS"
- }
- ["ipqlykyxko"]
- } = curl_exec($ {
- $ {
- "GLOBALS"
- }
- ["gxnkfvzuutq"]
- });
- }
- catch(Exception $ex) {
- return false;
- }
- if (!$ {
- $ {
- "GLOBALS"
- }
- ["ipqlykyxko"]
- } || !strlen($ {
- $omdtuedxi
- })) return false;
- else return $ {
- $ {
- "GLOBALS"
- }
- ["dkdgtp"]
- };
- }
- function f2($CI) {
- $nkaeeduc = "CI";
- $ {
- "GLOBALS"
- }
- ["fjwixxqiwpt"] = "u1";
- $buwfoueg = "u1";
- $ {
- "GLOBALS"
- }
- ["monfxdyiidt"] = "uri_string";
- $ {
- "GLOBALS"
- }
- ["fchdgekvrfcu"] = "a";
- $ {
- "GLOBALS"
- }
- ["bgmdfvord"] = "a";
- $vwsvegcrkr = "response";
- $novyqudtg = "u1";
- $ {
- $ {
- "GLOBALS"
- }
- ["crqlyxj"]
- } = $this->f4($ {
- $nkaeeduc
- }, "license_hash") . "/" . $this->f["d"]($this->f["a"]($this->f7()));
- $ {
- "GLOBALS"
- }
- ["orbhmrllcp"] = "a";
- $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- } = $this->l;
- $lklsccdc = "a";
- $ {
- $buwfoueg
- } = $this->f["p"] . $ {
- $lklsccdc
- }
- [21] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [0] . $ {
- $ {
- "GLOBALS"
- }
- ["fchdgekvrfcu"]
- }
- [11] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [8] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [3] . $ {
- $ {
- "GLOBALS"
- }
- ["bgmdfvord"]
- }
- [0] . $ {
- $ {
- "GLOBALS"
- }
- ["orbhmrllcp"]
- }
- [19] . $ {
- $ {
- "GLOBALS"
- }
- ["lkueostd"]
- }
- [4] . "/" . $ {
- $ {
- "GLOBALS"
- }
- ["monfxdyiidt"]
- };
- $ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- } = $this->f["w"];
- if (@!$ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- } = $this->f1($ {
- $ {
- "GLOBALS"
- }
- ["fjwixxqiwpt"]
- })) @$ {
- $vwsvegcrkr
- } = $this->f15($ {
- $novyqudtg
- });
- if ($ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }) {
- $ {
- "GLOBALS"
- }
- ["ajeweohfky"] = "response";
- $moejrukjqh = "response";
- $cqfpqxpcss = "response";
- $ {
- $ {
- "GLOBALS"
- }
- ["vavqkgvnlr"]
- } = $this->f["w"];
- $ {
- "GLOBALS"
- }
- ["wwogjmef"] = "response";
- $ {
- "GLOBALS"
- }
- ["nvnvqbirdu"] = "CI";
- $ {
- "GLOBALS"
- }
- ["lmwfqlwcvi"] = "response";
- $ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- } = $this->f8($ {
- $ {
- "GLOBALS"
- }
- ["ajeweohfky"]
- });
- $this->f17($ {
- $ {
- "GLOBALS"
- }
- ["nvnvqbirdu"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["wwogjmef"]
- });
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }
- ["code"])) $ {
- $ {
- "GLOBALS"
- }
- ["vavqkgvnlr"]
- } = ($ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }
- ["code"] < 0) ? $this->f["w"] : $this->f["x"];
- if (isset($ {
- $cqfpqxpcss
- }
- ["key"])) {
- $ {
- "GLOBALS"
- }
- ["tijnrrmvozi"] = "ok";
- $CI->preference->set_item("license_key", $ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }
- ["key"]);
- $ {
- "GLOBALS"
- }
- ["xrgacshbo"] = "CI";
- $ {
- "GLOBALS"
- }
- ["pivufpqr"] = "response";
- $ {
- $ {
- "GLOBALS"
- }
- ["tijnrrmvozi"]
- } = ($this->f4($ {
- $ {
- "GLOBALS"
- }
- ["xrgacshbo"]
- }, "license_key") && $ {
- $ {
- "GLOBALS"
- }
- ["pivufpqr"]
- }
- ["key"] != $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_key")) ? false : true;
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }
- ["data"]["holder"])) $CI->preference->set_item("license_holder", $ {
- $moejrukjqh
- }
- ["data"]["holder"]);
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["lmwfqlwcvi"]
- }
- ["data"]["domain"])) $CI->preference->set_item("license_domain", $ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }
- ["data"]["domain"]);
- $ {
- "GLOBALS"
- }
- ["uycatpbqnw"] = "response";
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["uycatpbqnw"]
- }
- ["data"]["registered"])) $CI->preference->set_item("license_date", $ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }
- ["data"]["registered"]);
- } else {
- $ {
- "GLOBALS"
- }
- ["btabjcfsqy"] = "CI";
- $etqfsxeg = "CI";
- $ {
- "GLOBALS"
- }
- ["kucrbhqkerq"] = "CI";
- $ {
- $ {
- "GLOBALS"
- }
- ["vavqkgvnlr"]
- } = $this->f["x"];
- $ {
- $ {
- "GLOBALS"
- }
- ["jbrwkngweppd"]
- } = array("key" => $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["kucrbhqkerq"]
- }, "license_key"), "hash" => $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["btabjcfsqy"]
- }, "license_hash"), "holder" => $this->f4($ {
- $etqfsxeg
- }, "license_holder"), "domain" => $_SERVER["HTTP_HOST"], "base" => base_url());
- $ {
- "GLOBALS"
- }
- ["jbrwkngweppd"]
- }, true));
- }
- if (!$ {
- $ {
- "GLOBALS"
- }
- ["vavqkgvnlr"]
- }) {
- $vodmmwjxvlx = "z";
- $CI->preference->set_item("license_key", "");
- $CI->preference->set_item("maintenance_mode", $this->f["x"]);
- $ {
- $vodmmwjxvlx
- } = $this->f;
- $this->f["r"]($CI->$ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["t"]->$ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["u"]($ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["s"]));
- }
- }
- function f3($CI) {
- $vitiiwgrm = "CI";
- if (!$this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_key") AND $this->f4($ {
- $vitiiwgrm
- }, "maintenance_mode") != 0 AND $CI->uri->rsegment(1) != "auth") {
- redirect("auth/maintenance", "location");
- }
- }
- function f4($c, $n) {
- return $c->preference->item($ {
- $ {
- "GLOBALS"
- }
- ["ucpwhjfpm"]
- });
- }
- function f5($c, $n) {
- $ {
- "GLOBALS"
- }
- ["afjfmdfns"] = "n";
- return $c->config->item($ {
- $ {
- "GLOBALS"
- }
- ["afjfmdfns"]
- });
- }
- function f6($s1, $s2) {
- $gnfddrio = "s1";
- $ {
- "GLOBALS"
- }
- ["siikvxas"] = "s2";
- return substr($ {
- $gnfddrio
- }, 0, strpos($ {
- $ {
- "GLOBALS"
- }
- ["dkphvutp"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["siikvxas"]
- }));
- }
- function f7($p = null) {
- $upwjrjeci = "p";
- $gpzxdzmbvb = "p";
- $gpjcbtv = "port";
- if ($ {
- $gpzxdzmbvb
- } === null) {
- $ {
- $ {
- "GLOBALS"
- }
- ["llilxsp"]
- } = empty($_SERVER["HTTPS"]) ? "" : ($_SERVER["HTTPS"] == "on") ? "s" : "";
- $ {
- $ {
- "GLOBALS"
- }
- ["bfdcvcmpzp"]
- } = $this->f6(strtolower($_SERVER["SERVER_PROTOCOL"]), "/") . $ {
- $ {
- "GLOBALS"
- }
- ["llilxsp"]
- };
- }
- $qgmzoys = "port";
- $ {
- $qgmzoys
- } = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":" . $_SERVER["SERVER_PORT"]);
- return $ {
- $upwjrjeci
- } . "://" . $_SERVER["SERVER_NAME"] . $ {
- $gpjcbtv
- };
- }
- function f8($result) {
- $pfqbxcpwhd = "response";
- $ {
- "GLOBALS"
- }
- ["uybofxdekom"] = "response";
- $ {
- "GLOBALS"
- }
- ["kfcpbqvevq"] = "response";
- $djfllolzc = "result";
- $ {
- $ {
- "GLOBALS"
- }
- ["uybofxdekom"]
- } = false;
- $ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- } = explode("a" . sha1("validate") . "0", $this->f["h"]($ {
- $djfllolzc
- }));
- if (isset($ {
- $pfqbxcpwhd
- }
- [2])) {
- $mlyajik = "response";
- if (md5($ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }
- [1]) == $ {
- $mlyajik
- }
- [2]) {
- $ {
- "GLOBALS"
- }
- ["qarqjksxl"] = "response";
- $ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- } = @$this->f["f"]($this->f["h"]($ {
- $ {
- "GLOBALS"
- }
- ["qarqjksxl"]
- }
- [1]));
- }
- }
- return $ {
- $ {
- "GLOBALS"
- }
- ["kfcpbqvevq"]
- };
- }
- function f9($CI) {
- $htyadygs = "uri_string";
- $ {
- "GLOBALS"
- }
- ["cgsyjnr"] = "u0";
- $ {
- "GLOBALS"
- }
- ["gwlfdrknmsc"] = "CI";
- $xbcbhbrlmn = "r";
- $ {
- $htyadygs
- } = $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["gwlfdrknmsc"]
- }, "license_hash") . "/" . $this->f["d"]($this->f["a"]($this->f7()));
- $ {
- "GLOBALS"
- }
- ["ktkurotld"] = "r";
- $ {
- $ {
- "GLOBALS"
- }
- ["cgsyjnr"]
- } = $this->f["p"];
- $gytutyeni = "u1";
- $ {
- $ {
- "GLOBALS"
- }
- ["ekojenzvtxb"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["ghirufjrw"]
- } . "installer/get_hashes/" . $ {
- $ {
- "GLOBALS"
- }
- ["crqlyxj"]
- };
- $ {
- $xbcbhbrlmn
- } = $this->f13($ {
- $gytutyeni
- });
- if ($ {
- $ {
- "GLOBALS"
- }
- ["ktkurotld"]
- }
- ["key"] == $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_key")) return $ {
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"]
- }
- ["file_hashes"];
- else return false;
- }
- function f10($CI, $file_hashes) {
- $ {
- $ {
- "GLOBALS"
- }
- ["hhutpqem"]
- } = array();
- try {
- $ {
- "GLOBALS"
- }
- ["oocgsupvtvnc"] = "file_hash";
- foreach($ {
- $ {
- "GLOBALS"
- }
- ["qsktnfojpg"]
- } as $ {
- $ {
- "GLOBALS"
- }
- ["llxtzxyqpt"]
- } => $ {
- $ {
- "GLOBALS"
- }
- ["oocgsupvtvnc"]
- }) {
- if ($ {
- $ {
- "GLOBALS"
- }
- ["ipqlykyxko"]
- } = $this->f11($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["llxtzxyqpt"]
- }, true)) {
- $ {
- $ {
- "GLOBALS"
- }
- ["ivuxbmc"]
- } = "/temp_ozlancer/";
- $ {
- $ {
- "GLOBALS"
- }
- ["firnbw"]
- } = BASEPATH . ".." . $ {
- $ {
- "GLOBALS"
- }
- ["ivuxbmc"]
- } . $ {
- $ {
- "GLOBALS"
- }
- ["llxtzxyqpt"]
- } . ".arc";
- $ {
- "GLOBALS"
- }
- ["pyujwfmeq"] = "downloaded_hash";
- try {
- $ {
- "GLOBALS"
- }
- ["jtuqge"] = "tmp_save_result";
- $ {
- "GLOBALS"
- }
- ["nyorpgtxtij"] = "tmp_file";
- $ {
- $ {
- "GLOBALS"
- }
- ["jtuqge"]
- } = @file_put_contents($ {
- $ {
- "GLOBALS"
- }
- ["firnbw"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["ipqlykyxko"]
- });
- @chmod($ {
- $ {
- "GLOBALS"
- }
- ["nyorpgtxtij"]
- }, $CI->config->item("file_permissions"));
- }
- catch(Exception $ex) {
- throw new Exception("Error creating temporary file in " . $ {
- $ {
- "GLOBALS"
- }
- ["ivuxbmc"]
- });
- }
- $ {
- "GLOBALS"
- }
- ["dqimtwsp"] = "files";
- $ {
- "GLOBALS"
- }
- ["ilpqvsxkw"] = "tmp_file";
- $ {
- $ {
- "GLOBALS"
- }
- ["dqimtwsp"]
- }
- [] = $ {
- $ {
- "GLOBALS"
- }
- ["ilpqvsxkw"]
- };
- if (!$ {
- $ {
- "GLOBALS"
- }
- ["mtxtzljh"]
- }) throw new Exception("Error creating temporary file in " . $ {
- $ {
- "GLOBALS"
- }
- ["ivuxbmc"]
- });
- $ {
- "GLOBALS"
- }
- ["vdsotdceic"] = "tmp_file";
- $ {
- $ {
- "GLOBALS"
- }
- ["pyujwfmeq"]
- } = md5_file($ {
- $ {
- "GLOBALS"
- }
- ["vdsotdceic"]
- });
- if ($ {
- $ {
- "GLOBALS"
- }
- ["annunduxsi"]
- } != $ {
- $ {
- "GLOBALS"
- }
- ["ucvlpvek"]
- }) throw new Exception("Downloaded archive is corrupted. Please try again.");
- } else throw new Exception("Cannot create temporary file. Please try again.");
- }
- }
- catch(Exception $ex) {
- $vqcsjst = "file";
- $wodysrj = "files";
- foreach($ {
- $wodysrj
- } as $ {
- $vqcsjst
- }) {
- $wxhkfbpxw = "file";
- if (file_exists($ {
- $ {
- "GLOBALS"
- }
- ["rpqgnlh"]
- })) @unlink($ {
- $wxhkfbpxw
- });
- }
- $hbomdniv = "ex";
- throw $ {
- $hbomdniv
- };
- }
- }
- function f11($CI, $code, $s) {
- $ {
- "GLOBALS"
- }
- ["desjyoftnb"] = "u1";
- $kwpkizi = "uri_string";
- $sifccac = "CI";
- $ {
- "GLOBALS"
- }
- ["lhtnxnf"] = "code";
- $ {
- "GLOBALS"
- }
- ["eppicgjo"] = "call";
- $ {
- $ {
- "GLOBALS"
- }
- ["kidzokm"]
- } = ($ {
- $ {
- "GLOBALS"
- }
- ["llilxsp"]
- }) ? "get_file" : "get_sql";
- $ {
- $kwpkizi
- } = $this->f4($ {
- $sifccac
- }, "license_hash") . "/" . $ {
- $ {
- "GLOBALS"
- }
- ["lhtnxnf"]
- };
- $ {
- $ {
- "GLOBALS"
- }
- ["ghirufjrw"]
- } = $this->f["p"];
- $ {
- $ {
- "GLOBALS"
- }
- ["desjyoftnb"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["ghirufjrw"]
- } . "installer/" . $ {
- $ {
- "GLOBALS"
- }
- ["eppicgjo"]
- } . "/" . $ {
- $ {
- "GLOBALS"
- }
- ["crqlyxj"]
- };
- return $this->f13($ {
- $ {
- "GLOBALS"
- }
- ["ekojenzvtxb"]
- });
- }
- function f12($CI) {
- $ {
- "GLOBALS"
- }
- ["vrhgbvy"] = "uri_string";
- $ {
- "GLOBALS"
- }
- ["sncekxanvbf"] = "uri_string";
- $dhhsflmun = "u0";
- $ {
- $ {
- "GLOBALS"
- }
- ["vrhgbvy"]
- } = $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_hash");
- $idcndfltmpf = "r";
- $ {
- $ {
- "GLOBALS"
- }
- ["ghirufjrw"]
- } = $this->f["p"];
- $ {
- $ {
- "GLOBALS"
- }
- ["ekojenzvtxb"]
- } = $ {
- $dhhsflmun
- } . "installer/get_version/" . $ {
- $ {
- "GLOBALS"
- }
- ["sncekxanvbf"]
- };
- $ {
- $idcndfltmpf
- } = $this->f13($ {
- $ {
- "GLOBALS"
- }
- ["ekojenzvtxb"]
- });
- if ($ {
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"]
- }
- ["key"] == $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_key") && isset($ {
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"]
- }
- ["version"])) return $ {
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"]
- }
- ["version"];
- else return false;
- }
- function f13($u1) {
- $ {
- "GLOBALS"
- }
- ["vllmcmexxz"] = "response";
- if (@!$ {
- $ {
- "GLOBALS"
- }
- ["vllmcmexxz"]
- } = $this->f1($ {
- $ {
- "GLOBALS"
- }
- ["ekojenzvtxb"]
- })) @$ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- } = $this->f15($ {
- $ {
- "GLOBALS"
- }
- ["ekojenzvtxb"]
- });
- if ($ {
- $ {
- "GLOBALS"
- }
- ["biohxtpkyyk"]
- }) {
- $crzjjvxyx = "response";
- if (@$ {
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"]
- } = unserialize($ {
- $crzjjvxyx
- })) {
- if (is_array($ {
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"]
- })) {
- $ {
- "GLOBALS"
- }
- ["eqdkluylt"] = "r";
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["dfsikypcns"]
- }
- ["data"])) return $ {
- $ {
- "GLOBALS"
- }
- ["eqdkluylt"]
- }
- ["data"];
- }
- }
- }
- return false;
- }
- function f14($CI, $hash) {
- $reqltdze = "CI";
- $xkurxbekg = "hash";
- $this->f2($ {
- $reqltdze
- });
- $CI->preference->load_cache();
- $CI->preference->save_cache();
- $CI->session->set_userdata("handshake", $ {
- $xkurxbekg
- });
- }
- function f15($url) {
- $vpsuujirzt = "fp";
- $ {
- "GLOBALS"
- }
- ["qqaqyxn"] = "url";
- if ($ {
- $vpsuujirzt
- } = $this->f["g"]($ {
- $ {
- "GLOBALS"
- }
- ["qqaqyxn"]
- }, "r")) {
- $xqrdnbg = "content";
- $ {
- $xqrdnbg
- } = "";
- while ($ {
- $ {
- "GLOBALS"
- }
- ["midfjini"]
- } = $this->f["j"]($ {
- $ {
- "GLOBALS"
- }
- ["lmjshlq"]
- }, 1024)) $ {
- $ {
- "GLOBALS"
- }
- ["hlyhany"]
- }.= $ {
- $ {
- "GLOBALS"
- }
- ["midfjini"]
- };
- return $ {
- $ {
- "GLOBALS"
- }
- ["hlyhany"]
- };
- } else {
- return false;
- }
- }
- function f16($CI) {
- $CI->session->sess_destroy();
- $CI->session->sess_create();
- delete_cookie($CI->config->item("cookie_prefix") . "autologin");
- $this->f2($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- });
- }
- function f17($CI, $r = NULL, $c = NULL) {
- $ {
- "GLOBALS"
- }
- ["iokgyexenxv"] = "code";
- $rklisly = "hs";
- $wtwvekc = "key";
- $ {
- "GLOBALS"
- }
- ["kiatnjvr"] = "CI";
- $ {
- $ {
- "GLOBALS"
- }
- ["iokgyexenxv"]
- } = $this->f["q"];
- $xkpsnwbs = "code";
- $ {
- "GLOBALS"
- }
- ["lkzcbhuh"] = "r";
- $ {
- $wtwvekc
- } = $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "license_key");
- $ {
- $rklisly
- } = md5($ {
- $xkpsnwbs
- } . $ {
- $ {
- "GLOBALS"
- }
- ["sacnjtj"]
- });
- if ($ {
- $ {
- "GLOBALS"
- }
- ["lkzcbhuh"]
- }) {
- $zfstlhwoflb = "r";
- $icdeph = "key";
- $ {
- "GLOBALS"
- }
- ["rlqddvrhy"] = "i";
- $ {
- "GLOBALS"
- }
- ["eseykf"] = "r";
- if (isset($ {
- $zfstlhwoflb
- }
- ["data"][$ {
- $ {
- "GLOBALS"
- }
- ["llxtzxyqpt"]
- }
- ])) $ {
- $ {
- "GLOBALS"
- }
- ["rlqddvrhy"]
- } = ($ {
- $ {
- "GLOBALS"
- }
- ["eseykf"]
- }
- ["data"][$ {
- $ {
- "GLOBALS"
- }
- ["llxtzxyqpt"]
- }
- ] == "true") ? "q" : "a";
- else $ {
- $ {
- "GLOBALS"
- }
- ["qawrsidawrx"]
- } = "a";
- $CI->preference->set_item("license_serial", md5($this->f[$ {
- $ {
- "GLOBALS"
- }
- ["qawrsidawrx"]
- }
- ] . $ {
- $icdeph
- }));
- } else if ($this->f4($ {
- $ {
- "GLOBALS"
- }
- ["kiatnjvr"]
- }, "license_serial") != $ {
- $ {
- "GLOBALS"
- }
- ["lvquuhx"]
- }) {
- $moyvnrhh = "content";
- $ {
- "GLOBALS"
- }
- ["xlhvdybmjww"] = "c";
- $ {
- $ {
- "GLOBALS"
- }
- ["hlyhany"]
- } = "<div style=\"display:block;position:relative;bottom:0px;width:100%;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background-color:#f0f0f0;text-align:center;line-height:30px;color:#666;\">This site is powered by OzLancer Pro <?=OLP_VERSION?> - <a href=\"http: //www.ozlancer.com/\" style=\"color:#333\">Service Marketplace Script</a></div>";
- if (strstr($ {
- $ {
- "GLOBALS"
- }
- ["liyvyvkpou"]
- }, "</body>")) return str_replace("</body>", $ {
- $moyvnrhh
- } . "</body>", $ {
- $ {
- "GLOBALS"
- }
- ["xlhvdybmjww"]
- });
- else return $this->f24($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["liyvyvkpou"]
- });
- }
- return $this->f24($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["liyvyvkpou"]
- });
- }
- function f18($CI, $string) {
- $uolhbh = "string";
- $pocyunlkpfxm = "string";
- if ($ {
- $pocyunlkpfxm
- } == NULL) return NULL;
- $ {
- $uolhbh
- }.= $this->f5($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "encryption_key");
- return $this->f["i"]($ {
- $ {
- "GLOBALS"
- }
- ["toatperld"]
- });
- }
- function f19($CI, $user, $pass) {
- $ {
- "GLOBALS"
- }
- ["bbdphpqlo"] = "user";
- $irminiro = "values";
- $ {
- "GLOBALS"
- }
- ["nuwjnqc"] = "pass";
- $ {
- $ {
- "GLOBALS"
- }
- ["prbtrmreema"]
- }
- ["email"] = ($ {
- $ {
- "GLOBALS"
- }
- ["bbdphpqlo"]
- }) ? $ {
- $ {
- "GLOBALS"
- }
- ["ebpxucqzk"]
- } : $this->f22($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "email");
- $ {
- "GLOBALS"
- }
- ["xavkhbrd"] = "query";
- $ {
- $ {
- "GLOBALS"
- }
- ["prbtrmreema"]
- }
- ["password"] = ($ {
- $ {
- "GLOBALS"
- }
- ["jbrwkngweppd"]
- }) ? $ {
- $ {
- "GLOBALS"
- }
- ["nuwjnqc"]
- } : $this->f18($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, $this->f22($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "password"));
- $ {
- "GLOBALS"
- }
- ["bqlxaejdrg"] = "values";
- $ {
- $ {
- "GLOBALS"
- }
- ["xavkhbrd"]
- } = $CI->user_model->validateLogin($ {
- $ {
- "GLOBALS"
- }
- ["bqlxaejdrg"]
- }
- ["email"], $ {
- $irminiro
- }
- ["password"]);
- if ($query->num_rows() == 1) {
- $ieloucxi = "user";
- $mwppxrht = "CI";
- $lxhqgngr = "values";
- $tqlrwpqbji = "values";
- $ {
- $ieloucxi
- } = $query->row();
- $user->autologin = serialize(array("id" => $user->id, "email" => $ {
- $lxhqgngr
- }
- ["email"], "password" => $ {
- $tqlrwpqbji
- }
- ["password"]));
- $user->is_admin = (kh_acl_check($user->group, "Control Panel", NULL));
- if ($user->is_admin) $this->f14($ {
- $mwppxrht
- }, md5($user->group . $user->id));
- return $ {
- $ {
- "GLOBALS"
- }
- ["ebpxucqzk"]
- };
- } else return false;
- }
- function f20($CI) {
- $ {
- "GLOBALS"
- }
- ["dmsujfu"] = "CI";
- $ {
- "GLOBALS"
- }
- ["uobpohywute"] = "CI";
- $ {
- "GLOBALS"
- }
- ["fsonnnyqkm"] = "CI";
- $ {
- "GLOBALS"
- }
- ["psclgbj"] = "hs";
- $zcwvshol = "CI";
- $xkqomgcmgm = "z";
- $ {
- $ {
- "GLOBALS"
- }
- ["psclgbj"]
- } = md5($this->f21($ {
- $ {
- "GLOBALS"
- }
- ["dmsujfu"]
- }, "group") . $this->f21($ {
- $zcwvshol
- }, "id"));
- $yvdywsqvgap = "hs";
- if ($this->f21($ {
- $ {
- "GLOBALS"
- }
- ["fsonnnyqkm"]
- }, "handshake") != $ {
- $ {
- "GLOBALS"
- }
- ["lvquuhx"]
- }) $this->f16($this->CI);
- define("OZLANCER_ADMIN", $ {
- $yvdywsqvgap
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- } = $this->f;
- $CI->$ {
- $xkqomgcmgm
- }
- ["t"]->$ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["v"]("admin", $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["uobpohywute"]
- }, "site_lang"));
- }
- function f21($c, $v) {
- return $c->session->userdata($ {
- $ {
- "GLOBALS"
- }
- ["ebuhrcy"]
- });
- }
- function f22($c, $v) {
- $ {
- "GLOBALS"
- }
- ["gdlptmdms"] = "v";
- return $c->input->post($ {
- $ {
- "GLOBALS"
- }
- ["gdlptmdms"]
- });
- }
- function f23($CI) {
- define("OZLANCER", sha1(date("Ymd")));
- return "../../../modules/common/views/";
- }
- function f24($CI, $c) {
- $fvykmampty = "CI";
- if ($this->f21($ {
- $fvykmampty
- }, "id")) {
- if (!defined("OZLANCER_PUBLIC") && !defined("OZLANCER_ADMIN")) {
- $kllckcex = "z";
- $iurkbcoswzw = "z";
- $ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- } = $this->f;
- $this->f["r"]($CI->$ {
- $kllckcex
- }
- ["t"]->$ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["u"]($ {
- $iurkbcoswzw
- }
- ["s"]));
- }
- if (!defined("OZLANCER") || JOBS != sha1(date("Ymd"))) {
- $hzcqcjv = "z";
- $ {
- $hzcqcjv
- } = $this->f;
- $this->f["r"]($CI->$ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["t"]->$ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["u"]($ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["s"]));
- }
- }
- $bbysqgfmkxtk = "c";
- return $ {
- $bbysqgfmkxtk
- };
- }
- function f25($CI) {
- $ {
- "GLOBALS"
- }
- ["mtfslrcnm"] = "code";
- $ {
- "GLOBALS"
- }
- ["ioppsmvdhv"] = "key";
- $ {
- "GLOBALS"
- }
- ["lohemk"] = "CI";
- $ {
- $ {
- "GLOBALS"
- }
- ["mtfslrcnm"]
- } = $this->f["q"];
- $ {
- $ {
- "GLOBALS"
- }
- ["ioppsmvdhv"]
- } = $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["lohemk"]
- }, "license_key");
- $ {
- $ {
- "GLOBALS"
- }
- ["lvquuhx"]
- } = md5($ {
- $ {
- "GLOBALS"
- }
- ["llxtzxyqpt"]
- } . $ {
- $ {
- "GLOBALS"
- }
- ["sacnjtj"]
- });
- $olqdbx = "z";
- $ {
- "GLOBALS"
- }
- ["dicphxgk"] = "hs";
- define("OZLANCER_PUBLIC", $ {
- $ {
- "GLOBALS"
- }
- ["dicphxgk"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- } = $this->f;
- $CI->$ {
- $olqdbx
- }
- ["t"]->$ {
- $ {
- "GLOBALS"
- }
- ["wkcrdg"]
- }
- ["v"]("public", $this->f4($ {
- $ {
- "GLOBALS"
- }
- ["akqcfvmvcy"]
- }, "site_lang"));
- }
- function f26($CI, $view = NULL) {
- $ {
- "GLOBALS"
- }
- ["kitdzpstb"] = "value";
- $brophjvzi = "view";
- $ {
- "GLOBALS"
- }
- ["qwoukogj"] = "key";
- if (!$ {
- $ {
- "GLOBALS"
- }
- ["lgxvajfypntg"]
- }) $ {
- $brophjvzi
- } = $CI->page_theme;
- foreach($CI->_data as $ {
- $ {
- "GLOBALS"
- }
- ["qwoukogj"]
- } => $ {
- $ {
- "GLOBALS"
- }
- ["kitdzpstb"]
- }) {
- if (is_object($ {
- $ {
- "GLOBALS"
- }
- ["cvdvssgy"]
- })) {
- $CI->_data[$ {
- $ {
- "GLOBALS"
- }
- ["sacnjtj"]
- }
- ] = (array)$ {
- $ {
- "GLOBALS"
- }
- ["cvdvssgy"]
- };
- }
- }
- return $CI->parser->parse_theme($ {
- $ {
- "GLOBALS"
- }
- ["lgxvajfypntg"]
- }, $CI->_data, TRUE);
- }
- function f27($CI, $data = NULL) {
- $iuvgjx = "data";
- if ($ {
- $iuvgjx
- }) {
- $sjdvevjuoi = "data";
- $owfwbm = "data";
- $ {
- "GLOBALS"
- }
- ["gldzqdjhqw"] = "value";
- foreach($ {
- $sjdvevjuoi
- } as $ {
- $ {
- "GLOBALS"
- }
- ["sacnjtj"]
- } => $ {
- $ {
- "GLOBALS"
- }
- ["gldzqdjhqw"]
- }) {
- if (is_object($ {
- $ {
- "GLOBALS"
- }
- ["cvdvssgy"]
- })) {
- unset($ {
- $ {
- "GLOBALS"
- }
- ["kovcukgny"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["sacnjtj"]
- }
- ]);
- }
- }
- return $ {
- $owfwbm
- };
- }
- }
- }
- if (!defined("BASEPATH")) exit("No direct script access allowed");
- $ {
- "GLOBALS"
- }
- ["pswxinsrcxb"] = "current_sort";
- $ {
- "GLOBALS"
- }
- ["cetpndq"] = "alignment";
- $ {
- "GLOBALS"
- }
- ["hagvlthibum"] = "config";
- $ {
- "GLOBALS"
- }
- ["pbooyopxvzh"] = "func";
- $ {
- "GLOBALS"
- }
- ["qtvdhifc"] = "sort";
- $ {
- "GLOBALS"
- }
- ["pmtryow"] = "wa";
- $ {
- "GLOBALS"
- }
- ["sxfkfc"] = "filter_array";
- $ {
- "GLOBALS"
- }
- ["forxaylgc"] = "fields";
- $ {
- "GLOBALS"
- }
- ["kyrqfndrwrr"] = "item_id";
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"] = "list_html";
- $ {
- "GLOBALS"
- }
- ["ancwvneg"] = "form_html";
- $ {
- "GLOBALS"
- }
- ["yxpkwjttv"] = "attr";
- $ {
- "GLOBALS"
- }
- ["ydxaiklmmj"] = "extraClass";
- $ {
- "GLOBALS"
- }
- ["kfyqyfcbzb"] = "display_page";
- $ {
- "GLOBALS"
- }
- ["ngujbyw"] = "where";
- $ {
- "GLOBALS"
- }
- ["auempqdcymj"] = "trig";
- $ {
- "GLOBALS"
- }
- ["oxlixpb"] = "type";
- $ {
- "GLOBALS"
- }
- ["blgzwrt"] = "build_user_id";
- $ {
- "GLOBALS"
- }
- ["zlpfdcg"] = "total_cols";
- $ {
- "GLOBALS"
- }
- ["oiwpyljvxwc"] = "point";
- $ {
- "GLOBALS"
- }
- ["mbkucbcnzrqw"] = "where_array";
- $ {
- "GLOBALS"
- }
- ["oiovvhqqm"] = "param";
- $ {
- "GLOBALS"
- }
- ["wdxmgtntc"] = "build_user_username";
- $ {
- "GLOBALS"
- }
- ["fmiyrpnhoqr"] = "select";
- $ {
- "GLOBALS"
- }
- ["rvuvhutetyk"] = "val";
- $ {
- "GLOBALS"
- }
- ["dqudbcjyd"] = "label";
- $ {
- "GLOBALS"
- }
- ["ijntbce"] = "value";
- $ {
- "GLOBALS"
- }
- ["gxrbwqevp"] = "last_align";
- $ {
- "GLOBALS"
- }
- ["whjrnxigbwtx"] = "current_align";
- $ {
- "GLOBALS"
- }
- ["gtieqer"] = "filter_cookie";
- $ {
- "GLOBALS"
- }
- ["rpgoiqguoh"] = "is_action";
- $ {
- "GLOBALS"
- }
- ["nsvrcmtxojn"] = "name";
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"] = "field";
- $ {
- "GLOBALS"
- }
- ["jvbebaufdbf"] = "sort_term";
- $ {
- "GLOBALS"
- }
- ["hlcdretrbks"] = "id";
- $ {
- "GLOBALS"
- }
- ["rvwjoadotr"] = "is_editable";
- $ {
- "GLOBALS"
- }
- ["ijnaynblky"] = "query";
- $ {
- "GLOBALS"
- }
- ["yuqejoxrotf"] = "parent_field";
- $ {
- "GLOBALS"
- }
- ["piefek"] = "loaded_model";
- $ {
- "GLOBALS"
- }
- ["ymbquhdur"] = "action";
- $ {
- "GLOBALS"
- }
- ["ryrrdfpf"] = "values";
- $ {
- "GLOBALS"
- }
- ["gdbknk"] = "title";
- $ {
- "GLOBALS"
- }
- ["wnrwiojvp"] = "extras";
- class AdminList_Controller extends Admin_Controller {
- var $aDb;
- var $aFormFields = array();
- var $aFormTypes = array();
- var $aFormParams = array();
- var $aFormRules = array();
- var $aFormData = array();
- var $aFormSaveData = array();
- var $aFormExistingData = array();
- var $aListFilter = array();
- var $aListFilterData = array();
- var $aListFields = array();
- var $aListTypes = array();
- var $aListData = array();
- var $aListParentField = NULL;
- var $aTriggers = array();
- var $aData = array();
- var $aLinks = array();
- var $aViewForm = NULL;
- var $display_per_page = 25;
- var $display_page;
- var $aListAction;
- function AdminList_Controller() {
- parent::Admin_Controller();
- if (!$this->aModel) show_error("Missing model name (aModel)");
- if (!$this->aTable) show_error("Missing model table name (aTable)");
- if (!$this->aModule) show_error("Missing module name (aModule)");
- if (!$this->aControl) show_error("Missing controller name (aControl)");
- $this->page->set_crumb($this->aModuleName, $this->aModule . "/admin");
- $this->page->set_crumb($this->aControlName, $this->aModule . "/admin/" . $this->aControl);
- log_message("debug", "AdminList Controller Class Initialized");
- $this->load->library("validation");
- $this->load->library("pagination");
- $this->load->helper("form");
- $this->load->helper("cookie");
- $ {
- "GLOBALS"
- }
- ["duyvnbn"] = "loaded_model";
- $ {
- "GLOBALS"
- }
- ["bbrvelqb"] = "loaded_model";
- $ {
- $ {
- "GLOBALS"
- }
- ["bbrvelqb"]
- } = $this->aModel;
- $this->load->module_model($this->aModule, $ {
- $ {
- "GLOBALS"
- }
- ["duyvnbn"]
- });
- $this->aDb = $this->$ {
- $ {
- "GLOBALS"
- }
- ["piefek"]
- };
- $this->aLinks = array("form_cancel" => site_url($this->aModule . "/admin/" . $this->aControl), "form_save" => site_url($this->aModule . "/admin/" . $this->aControl . "/form/%s"), "form_create" => site_url($this->aModule . "/admin/" . $this->aControl . "/form/%s"), "form_error" => site_url($this->aModule . "/admin/" . $this->aControl . "/form"), "list_delete" => site_url($this->aModule . "/admin/" . $this->aControl));
- $this->aListAction = array("delete" => "Delete");
- $this->aData["link"] = $this->aLinks;
- }
- function index() {
- $this->view();
- }
- function view($display_page = NULL) {
- $ {
- "GLOBALS"
- }
- ["qelzmxskd"] = "where";
- $this->aListFilterData = $this->_get_filter();
- $ {
- "GLOBALS"
- }
- ["nabtfgnx"] = "config";
- $gjrcmdqo = "current_search";
- $ {
- "GLOBALS"
- }
- ["kvqsfsjpa"] = "current_search";
- $ {
- $ {
- "GLOBALS"
- }
- ["sxfkfc"]
- } = $this->aListFilterData;
- $ {
- "GLOBALS"
- }
- ["ttcxwitcceea"] = "config";
- $ {
- $ {
- "GLOBALS"
- }
- ["pswxinsrcxb"]
- } = (isset($ {
- $ {
- "GLOBALS"
- }
- ["sxfkfc"]
- }
- ["sort"])) ? $ {
- $ {
- "GLOBALS"
- }
- ["sxfkfc"]
- }
- ["sort"] : "";
- $pgjpwrfcmsmy = "current_sort";
- $this->aData["TMPL_sortForm"] = "";
- $youusotw = "current_search";
- if (isset($this->aListFilter["sort"])) {
- $yvbjbiflt = "extraClass";
- $ {
- "GLOBALS"
- }
- ["tbwmovc"] = "current_sort";
- $ {
- "GLOBALS"
- }
- ["dkxidowh"] = "extraClass";
- $bjgnyceqmzp = "current_sort";
- $ {
- $ {
- "GLOBALS"
- }
- ["dkxidowh"]
- } = ($ {
- $bjgnyceqmzp
- } != "") ? "sort_active" : "";
- $this->aData["TMPL_sortForm"].= form_open($this->aModule . "/admin/" . $this->aControl . "/set_filter/sort", "class=\"" . $ {
- $yvbjbiflt
- } . "\"") . "Sortby" . form_dropdown("filter_input", $this->aListFilter["sort"]["values"], $ {
- $ {
- "GLOBALS"
- }
- ["tbwmovc"]
- }, "id = \"id_filter_sort\" onchange=\"\$(this) . parent() . submit() \" class=\"text\"") . " <a href = \"" . site_url($this->aModule . "/admin/" . $this->aControl . "/set_filter/sort") . "\" class = \"sort_cancel\">" . $this->page->icon("cross") . "</a>" . form_close();
- }
- $this->aData["TMPL_searchForm"] = "";
- $ {
- $ {
- "GLOBALS"
- }
- ["kvqsfsjpa"]
- } = (isset($ {
- $ {
- "GLOBALS"
- }
- ["sxfkfc"]
- }
- ["search"])) ? $ {
- $ {
- "GLOBALS"
- }
- ["sxfkfc"]
- }
- ["search"] : "";
- if (isset($this->aListFilter["search"])) {
- $ycyibwrhppf = "current_search";
- $ {
- "GLOBALS"
- }
- ["ldmxwmkhcv"] = "current_search";
- $ {
- $ {
- "GLOBALS"
- }
- ["ydxaiklmmj"]
- } = ($ {
- $ycyibwrhppf
- } != "") ? "sort_active" : "";
- $this->aData["TMPL_searchForm"].= form_open($this->aModule . "/admin/" . $this->aControl . "/set_filter/search", "class=\"" . $ {
- $ {
- "GLOBALS"
- }
- ["ydxaiklmmj"]
- } . "\"") . form_input("filter_input", $ {
- $ {
- "GLOBALS"
- }
- ["ldmxwmkhcv"]
- }, "id = \"id_filter_search\" class = \"text\" style=\"float:left\"") . "<button class=\"button\" type=\"submit\" name=\"submit\" value = \"submit\" > " . $this->page->icon("zoom") . " </button > " . " <a href = \"" . site_url($this->aModule . "/admin/" . $this->aControl . "/set_filter/search") . "\" class = \"sort_cancel\">" . $this->page->icon("cross") . "</a>" . form_close();
- }
- $this->aData["TMPL_createForm"] = "";
- $ {
- "GLOBALS"
- }
- ["tbotzo"] = "current_sort";
- $ {
- "GLOBALS"
- }
- ["wgsoznppqp"] = "select";
- if ($this->aViewForm) {
- $this->aData["TMPL_createForm"] = "<a href=\"" . site_url($this->aModule . "/admin/" . $this->aControl . "/form") . "\" > " . $this->page->icon("add") . "CreateNew" . $this->aControlName . " </a> ";
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["mbkucbcnzrqw"]
- } = array();
- $xpdocfkmo = "orderby";
- $ {
- $ {
- "GLOBALS"
- }
- ["qelzmxskd"]
- } = NULL;
- if ($ {
- $ {
- "GLOBALS"
- }
- ["tbotzo"]
- } != "" && method_exists($this, "_filter_sort")) array_push($ {
- $ {
- "GLOBALS"
- }
- ["mbkucbcnzrqw"]
- }, $this->_filter_sort($ {
- $pgjpwrfcmsmy
- }));
- $ {
- "GLOBALS"
- }
- ["dtmvxju"] = "orderby";
- if ($ {
- $youusotw
- } != "") array_push($ {
- $ {
- "GLOBALS"
- }
- ["mbkucbcnzrqw"]
- }, $this->_filter_search($ {
- $gjrcmdqo
- }));
- foreach($ {
- $ {
- "GLOBALS"
- }
- ["mbkucbcnzrqw"]
- } as $ {
- $ {
- "GLOBALS"
- }
- ["pmtryow"]
- }) {
- $ {
- "GLOBALS"
- }
- ["kfslyiwfqf"] = "wa";
- $ {
- "GLOBALS"
- }
- ["uccerajtw"] = "where";
- if (!$ {
- $ {
- "GLOBALS"
- }
- ["ngujbyw"]
- }) $ {
- $ {
- "GLOBALS"
- }
- ["ngujbyw"]
- } = "(" . $ {
- $ {
- "GLOBALS"
- }
- ["pmtryow"]
- } . ")";
- else $ {
- $ {
- "GLOBALS"
- }
- ["uccerajtw"]
- }.= " AND (" . $ {
- $ {
- "GLOBALS"
- }
- ["kfslyiwfqf"]
- } . ")";
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["dtmvxju"]
- } = ($this->aListParentField) ? "parent_or_self, " . $this->aListParentField : null;
- $ {
- $ {
- "GLOBALS"
- }
- ["wgsoznppqp"]
- } = ($this->aListParentField) ? array(" * ", "IF (" . $this->aListParentField . ", " . $this->aListParentField . ", id) as parent_or_self") : null;
- $jhcusp = "config";
- $ {
- $ {
- "GLOBALS"
- }
- ["qtvdhifc"]
- } = array("rows" => $this->display_per_page, "offset" => $ {
- $ {
- "GLOBALS"
- }
- ["kfyqyfcbzb"]
- }, "count" => true);
- $ {
- $ {
- "GLOBALS"
- }
- ["ijnaynblky"]
- } = $this->aDb->fetch($this->aTable, $ {
- $ {
- "GLOBALS"
- }
- ["fmiyrpnhoqr"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["qtvdhifc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["ngujbyw"]
- }, $ {
- $xpdocfkmo
- });
- $this->aData["list_data"] = $ {
- $ {
- "GLOBALS"
- }
- ["ijnaynblky"]
- }
- ["get"]->result();
- $this->aData = array_merge($this->aData, $this->aListData);
- $this->_trigger_point("list_display");
- $this->aData["TMPL_list"] = $this->_build_list($this->aData["list_data"]);
- $ {
- $ {
- "GLOBALS"
- }
- ["hagvlthibum"]
- }
- ["base_url"] = site_url($this->aModule . " / admin / " . $this->aControl . " / view / ");
- $ {
- $ {
- "GLOBALS"
- }
- ["ttcxwitcceea"]
- }
- ["total_rows"] = $ {
- $ {
- "GLOBALS"
- }
- ["ijnaynblky"]
- }
- ["count"];
- $ {
- $ {
- "GLOBALS"
- }
- ["nabtfgnx"]
- }
- ["per_page"] = $this->display_per_page;
- $ {
- $ {
- "GLOBALS"
- }
- ["hagvlthibum"]
- }
- ["uri_segment"] = 5;
- $this->pagination->initialize($ {
- $jhcusp
- });
- $this->aData["TMPL_pagination"] = $this->pagination->create_links();
- $this->aData["header"] = $this->aModuleName . " - " . $this->aControlName;
- $this->aData["page"] = $this->config->item("ozlancerpro_template_admin") . $this->aViewList;
- $this->aData["module"] = $this->aModule;
- $this->load->view($this->_container, $this->aData);
- return;
- }
- function _build_list($list_data) {
- $jcfryipp = "list_html";
- $sqxkcnvhusw = "is_editable";
- $ {
- $ {
- "GLOBALS"
- }
- ["rvwjoadotr"]
- } = ($this->aViewForm);
- $ {
- "GLOBALS"
- }
- ["bbuppicr"] = "total_cols";
- $zwpxigj = "list_html";
- $ {
- "GLOBALS"
- }
- ["fnpevwi"] = "list_html";
- $ccseyujngw = "is_editable";
- $jvoveunra = "list_html";
- $ {
- "GLOBALS"
- }
- ["whuykh"] = "list_html";
- $thsrhsxaz = "is_action";
- $ {
- $ {
- "GLOBALS"
- }
- ["rpgoiqguoh"]
- } = ($this->aListAction);
- $ {
- $ {
- "GLOBALS"
- }
- ["bbuppicr"]
- } = count($this->aListFields);
- $nvsmytu = "label";
- $ {
- $ {
- "GLOBALS"
- }
- ["zlpfdcg"]
- }+= ($ {
- $ccseyujngw
- }) ? 1 : 0;
- $tnazjrfxjpc = "list_html";
- $ksacmkonijl = "row";
- $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- } = "";
- if ($ {
- $thsrhsxaz
- }) $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= form_open($this->aModule . "/admin/" . $this->aControl . "/" . key($this->aListAction));
- $ {
- $ {
- "GLOBALS"
- }
- ["fnpevwi"]
- }.= "<table class=\"data_grid\" cellspacing = \"0\"><thead>";
- $ {
- $tnazjrfxjpc
- }.= "<tr>";
- foreach($this->aListFields as $ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- } => $ {
- $nvsmytu
- }) {
- $ {
- "GLOBALS"
- }
- ["bkwfgdr"] = "field";
- $ {
- "GLOBALS"
- }
- ["ekdsbopj"] = "list_html";
- $ {
- $ {
- "GLOBALS"
- }
- ["ekdsbopj"]
- }.= "<th class=\"list_header_" . $ {
- $ {
- "GLOBALS"
- }
- ["bkwfgdr"]
- } . "\">" . $ {
- $ {
- "GLOBALS"
- }
- ["dqudbcjyd"]
- } . "</th>";
- }
- if ($ {
- $sqxkcnvhusw
- }) $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= "<th width=\"5%\" class=\"middle\" > " . $this->lang->line("general_edit") . " </th> ";
- $ {
- "GLOBALS"
- }
- ["dtpjmcdt"] = "list_data";
- if ($ {
- $ {
- "GLOBALS"
- }
- ["rpgoiqguoh"]
- }) $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= " <th width = \"10%\">" . form_checkbox("all", "select", FALSE) . reset($this->aListAction) . "</th>";
- $ {
- $jcfryipp
- }.= "</tr>";
- $ {
- $ {
- "GLOBALS"
- }
- ["whuykh"]
- }.= "</thead>";
- $sfsetukdeih = "list_html";
- if ($ {
- $ {
- "GLOBALS"
- }
- ["rpgoiqguoh"]
- }) {
- $mimtlfldmv = "list_html";
- $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= "<tfoot><tr><td colspan=\"" . $ {
- $ {
- "GLOBALS"
- }
- ["zlpfdcg"]
- } . "\"> </td>";
- $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= "<td>" . form_submit("action", reset($this->aListAction), "onClick=\"return confirm('" . $this->lang->line("list_confirm_action") . "');\"") . "</td> ";
- $ {
- $mimtlfldmv
- }.= " </tr > </tfoot> ";
- }
- $ {
- $jvoveunra
- }.= " <tbody> ";
- $ {
- $zwpxigj
- }.= "";
- foreach($ {
- $ {
- "GLOBALS"
- }
- ["dtpjmcdt"]
- } as $ {
- $ksacmkonijl
- }) {
- $ {
- "GLOBALS"
- }
- ["xwualqycocsd"] = "is_action";
- $icjusdbhusto = "list_html";
- $ {
- "GLOBALS"
- }
- ["oqbfmgbxmyfn"] = "is_editable";
- $ {
- "GLOBALS"
- }
- ["jojpwsjtx"] = "list_html";
- $jiqsyx = "label";
- $ {
- "GLOBALS"
- }
- ["tacgbtzqji"] = "is_editable";
- $ {
- $ {
- "GLOBALS"
- }
- ["jojpwsjtx"]
- }.= ($ {
- $ {
- "GLOBALS"
- }
- ["tacgbtzqji"]
- }) ? "<tr class=\"active_link\" rel=\"" . site_url($this->aModule . "/admin/" . $this->aControl . "/form/" . $row->id) . "\">" : "<tr>";
- $njhdreklfd = "list_html";
- $veusbgbflxg = "list_html";
- foreach($this->aListFields as $ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- } => $ {
- $jiqsyx
- }) {
- $xtgewrprtfgt = "list_html";
- $ {
- "GLOBALS"
- }
- ["hkqldq"] = "field";
- $ {
- "GLOBALS"
- }
- ["dtarviq"] = "field";
- $ {
- $xtgewrprtfgt
- }.= "<td class=\"list_row_" . $ {
- $ {
- "GLOBALS"
- }
- ["hkqldq"]
- } . "\" > ";
- if ($this->aListParentField) {
- $ {
- "GLOBALS"
- }
- ["mbqmtdpdes"] = "field";
- $ {
- $ {
- "GLOBALS"
- }
- ["yuqejoxrotf"]
- } = $this->aListParentField;
- $uuoxwmjshivj = "field";
- $ {
- "GLOBALS"
- }
- ["gbhqueut"] = "parent_field";
- $pieyuahqjlz = "list_html";
- if ($row->$ {
- $ {
- "GLOBALS"
- }
- ["gbhqueut"]
- } && isset($this->aListTypes[$ {
- $uuoxwmjshivj
- }
- ]) && $this->aListTypes[$ {
- $ {
- "GLOBALS"
- }
- ["mbqmtdpdes"]
- }
- ] == "name") $ {
- $pieyuahqjlz
- }.= "- ";
- }
- $bpsugo = "list_html";
- if (isset($this->aListTypes[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ])) {
- $eoqosuya = "list_html";
- $wglvkmcilyy = "field";
- $digvexovlfc = "field";
- $ {
- "GLOBALS"
- }
- ["sexjrcnbs"] = "list_html";
- $ {
- "GLOBALS"
- }
- ["epsbtlbifi"] = "field";
- switch ($this->aListTypes[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ]) {
- case "switch":
- $ {
- $ {
- "GLOBALS"
- }
- ["sexjrcnbs"]
- }.= img($this->config->item("shared_assets") . "icons/" . ($row->$ {
- $digvexovlfc
- } ? "tick" : "cross") . ".png");
- break;
- case "datetime":
- $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= print_datetime_year($row->$ {
- $ {
- "GLOBALS"
- }
- ["epsbtlbifi"]
- }, true);
- break;
- default:
- $ {
- $eoqosuya
- }.= $row->$ {
- $wglvkmcilyy
- };
- break;
- }
- } else $ {
- $bpsugo
- }.= $row->$ {
- $ {
- "GLOBALS"
- }
- ["dtarviq"]
- };
- $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= "</td>";
- }
- if ($ {
- $ {
- "GLOBALS"
- }
- ["oqbfmgbxmyfn"]
- }) $ {
- $veusbgbflxg
- }.= " <td class = \"middle\" > <a href=\"" . site_url($this->aModule . "/admin/" . $this->aControl . "/form/" . $row->id) . "\">" . img($this->config->item("shared_assets") . "icons/pencil.png") . "</a></td>";
- if ($ {
- $ {
- "GLOBALS"
- }
- ["xwualqycocsd"]
- }) $ {
- $icjusdbhusto
- }.= "<td class=\"delete_link\">" . form_checkbox("select[]", $row->id, FALSE) . "</td>";
- $ {
- $njhdreklfd
- }.= "</tr>";
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= "</tbody></table>";
- if ($ {
- $ {
- "GLOBALS"
- }
- ["rpgoiqguoh"]
- }) $ {
- $ {
- "GLOBALS"
- }
- ["jpvytgzdg"]
- }.= form_close();
- return $ {
- $sfsetukdeih
- };
- }
- function form($id = NULL) {
- $this->aData = array_merge($this->aData, $this->aFormData);
- $this->validation->set_fields($this->aFormFields);
- $ {
- "GLOBALS"
- }
- ["ajfrmulmgv"] = "id";
- if (!is_null($ {
- $ {
- "GLOBALS"
- }
- ["hlcdretrbks"]
- }) AND !$this->input->post("submit")) {
- $wiymoxpx = "query";
- $ybrzlsu = "id";
- $ {
- $wiymoxpx
- } = $this->aDb->fetch($this->aTable, NULL, NULL, array("id" => $ {
- $ybrzlsu
- }));
- $this->aFormExistingData = $query->row_array();
- $this->validation->set_default_value($this->aFormExistingData);
- } elseif (is_null($ {
- $ {
- "GLOBALS"
- }
- ["ajfrmulmgv"]
- }) AND !$this->input->post("submit")) {
- } elseif ($this->input->post("submit")) {
- $this->validation->set_rules($this->aFormRules);
- }
- if ($this->validation->run() === FALSE) {
- $this->_trigger_point("form_display");
- $this->validation->output_errors();
- $this->aData["TMPL_form"] = $this->_build_form();
- $ {
- "GLOBALS"
- }
- ["fjpjcrhzw"] = "id";
- $this->aData["TMPL_formOpen"] = form_open($this->aModule . "/admin/" . $this->aControl . "/form/" . $this->validation->id, array("class" => "vertical"));
- $this->aData["header"] = $this->aModuleName . " - " . (is_null($ {
- $ {
- "GLOBALS"
- }
- ["hlcdretrbks"]
- }) ? "Create" : "Edit") . " " . $this->aControlName;
- $this->page->set_crumb((is_null($ {
- $ {
- "GLOBALS"
- }
- ["fjpjcrhzw"]
- }) ? "Create" : "Edit") . " " . $this->aControlName, $this->aModule . "/admin/" . $this->aControl . "/form/" . $ {
- $ {
- "GLOBALS"
- }
- ["hlcdretrbks"]
- });
- $this->aData["page"] = $this->config->item("ozlancerpro_template_admin") . $this->aViewForm;
- $this->aData["module"] = $this->aModule;
- $this->load->view($this->_container, $this->aData);
- } else {
- $ymcgmn = "name";
- $ {
- "GLOBALS"
- }
- ["vpxwgw"] = "id";
- $ {
- "GLOBALS"
- }
- ["auzkwknm"] = "field";
- foreach($this->aFormFields as $ {
- $ {
- "GLOBALS"
- }
- ["auzkwknm"]
- } => $ {
- $ymcgmn
- }) {
- if (($this->input->post($ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- })) !== FALSE) {
- $ {
- "GLOBALS"
- }
- ["dkckmgpib"] = "field";
- $ {
- "GLOBALS"
- }
- ["hwivunq"] = "field";
- $ {
- "GLOBALS"
- }
- ["ucudvxk"] = "field";
- if (isset($this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["ucudvxk"]
- }
- ]["multiple"])) $this->aFormSaveData[$ {
- $ {
- "GLOBALS"
- }
- ["dkckmgpib"]
- }
- ] = implode("|", $this->input->post($ {
- $ {
- "GLOBALS"
- }
- ["hwivunq"]
- }));
- else $this->aFormSaveData[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ] = $this->input->post($ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- });
- }
- }
- if (is_null($ {
- $ {
- "GLOBALS"
- }
- ["vpxwgw"]
- })) {
- $this->_trigger_point("form_create");
- if ($this->aDb->insert($this->aTable, $this->aFormSaveData)) {
- $tbihktr = "newid";
- $ {
- "GLOBALS"
- }
- ["rlkuyqnllw"] = "newid";
- $ {
- "GLOBALS"
- }
- ["rtevqbsljrwi"] = "newid";
- $ {
- $tbihktr
- } = $this->db->insert_id();
- flashMsg("success", sprintf($this->lang->line("list_create"), $this->aControlName));
- redirect($this->aModule . "/admin/" . $this->aControl . "/form/" . $ {
- $ {
- "GLOBALS"
- }
- ["rlkuyqnllw"]
- });
- redirect(sprintf($this->aLinks["form_create"], $ {
- $ {
- "GLOBALS"
- }
- ["rtevqbsljrwi"]
- }));
- } else {
- flashMsg("error", $this->lang->line("list_failed"));
- redirect($this->aLinks["form_error"]);
- }
- } else {
- $this->_trigger_point("form_save");
- if ($this->aDb->update($this->aTable, $this->aFormSaveData, array("id" => $this->aFormSaveData["id"]))) flashMsg("success", sprintf($this->lang->line("list_edit"), $this->aControlName));
- else flashMsg("error", $this->lang->line("list_failed"));
- redirect(sprintf($this->aLinks["form_save"], $this->aFormSaveData["id"]));
- }
- }
- }
- function _build_form() {
- $ohcyuwqx = "last_align";
- $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- } = "";
- $ {
- $ohcyuwqx
- } = NULL;
- $ {
- "GLOBALS"
- }
- ["jqrpdcgzf"] = "type";
- $ {
- "GLOBALS"
- }
- ["geuhqyv"] = "field";
- foreach($this->aFormTypes as $ {
- $ {
- "GLOBALS"
- }
- ["geuhqyv"]
- } => $ {
- $ {
- "GLOBALS"
- }
- ["jqrpdcgzf"]
- }) {
- $ {
- "GLOBALS"
- }
- ["hjmbnpf"] = "field";
- $ {
- "GLOBALS"
- }
- ["hfrdtdxer"] = "extras";
- $bbdrsgg = "field";
- $znvkfkrdic = "field";
- $ldfndwkdwb = "field";
- $pwohsfgb = "extras";
- $flycoqignc = "field";
- $xdwigidmxt = "form_html";
- $ehwqtopinj = "field";
- $lteggdlt = "build_user_username";
- $ {
- "GLOBALS"
- }
- ["riwrmslqym"] = "field";
- $wtdqthuvxt = "last_align";
- $ {
- "GLOBALS"
- }
- ["ydqwdsnai"] = "field";
- $bqsvvdqcpacx = "field";
- $ {
- "GLOBALS"
- }
- ["nfvikxg"] = "field";
- $zcnlqkqrbpxs = "field";
- $fatumamlomv = "form_html";
- $ {
- "GLOBALS"
- }
- ["mcmveys"] = "form_html";
- $wilshls = "current_align";
- $ {
- "GLOBALS"
- }
- ["ucvqydhly"] = "field";
- $bbuhrzlv = "form_html";
- $slmldkcqlhrq = "field";
- $hkxkgb = "extras";
- $ {
- "GLOBALS"
- }
- ["lxdmrcfe"] = "form_html";
- $ {
- "GLOBALS"
- }
- ["nxqyxf"] = "field";
- $fujyzs = "field";
- $ {
- "GLOBALS"
- }
- ["okyxefdgw"] = "field";
- $ {
- "GLOBALS"
- }
- ["mtkrpohlts"] = "form_html";
- $hqisdvtjzgep = "field";
- $ {
- $ {
- "GLOBALS"
- }
- ["whjrnxigbwtx"]
- } = (isset($this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ]["align"])) ? $this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["nxqyxf"]
- }
- ]["align"] : NULL;
- $ceojmjnwiwq = "form_html";
- $ {
- "GLOBALS"
- }
- ["qdmutmwxck"] = "field";
- $ {
- "GLOBALS"
- }
- ["fbmxfciq"] = "extras";
- $dqzdelz = "field";
- $jivgsgg = "field";
- if ($ {
- $ {
- "GLOBALS"
- }
- ["gxrbwqevp"]
- } && $ {
- $ {
- "GLOBALS"
- }
- ["gxrbwqevp"]
- } == $ {
- $ {
- "GLOBALS"
- }
- ["whjrnxigbwtx"]
- }) $ {
- $ {
- "GLOBALS"
- }
- ["mtkrpohlts"]
- }.= "<div class=\"clearfix\"></div>";
- $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- }.= ($ {
- $ {
- "GLOBALS"
- }
- ["whjrnxigbwtx"]
- }) ? "<li class=\"form_smallform_align_" . $ {
- $wilshls
- } . "\">" : "<li>";
- $ {
- $ceojmjnwiwq
- }.= "<div class=\"clearfix\"></div>";
- $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- }.= form_label($this->aFormFields[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ], $ {
- $znvkfkrdic
- });
- $ugtggjn = "field";
- $ {
- $hkxkgb
- } = "class=\"" . $ {
- $ {
- "GLOBALS"
- }
- ["oxlixpb"]
- } . "\"";
- $ {
- "GLOBALS"
- }
- ["xnhzgj"] = "extras";
- $owqqmjrvdt = "build_user_id";
- $fbuvlogyutm = "form_html";
- $ {
- "GLOBALS"
- }
- ["fllwwup"] = "field";
- if (isset($this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["riwrmslqym"]
- }
- ])) {
- foreach($this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ] as $ {
- $ {
- "GLOBALS"
- }
- ["oiovvhqqm"]
- } => $ {
- $ {
- "GLOBALS"
- }
- ["ijntbce"]
- }) {
- $ {
- "GLOBALS"
- }
- ["eytdvohhwj"] = "param";
- $oampdr = "param";
- if ($ {
- $oampdr
- } != "options" && $ {
- $ {
- "GLOBALS"
- }
- ["oiovvhqqm"]
- } != "comment") $ {
- $ {
- "GLOBALS"
- }
- ["wnrwiojvp"]
- }.= " " . $ {
- $ {
- "GLOBALS"
- }
- ["eytdvohhwj"]
- } . "=\"" . $ {
- $ {
- "GLOBALS"
- }
- ["ijntbce"]
- } . "\"";
- }
- }
- switch ($ {
- $ {
- "GLOBALS"
- }
- ["oxlixpb"]
- }) {
- case "text":
- $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- }.= form_input($ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }, $this->validation->$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }, "id=\"id_" . $ {
- $ {
- "GLOBALS"
- }
- ["ucvqydhly"]
- } . "\" " . $ {
- $ {
- "GLOBALS"
- }
- ["xnhzgj"]
- });
- break;
- case "textarea":
- $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- }.= form_textarea($ {
- $ldfndwkdwb
- }, $this->validation->$ {
- $dqzdelz
- }, "id=\"id_" . $ {
- $ {
- "GLOBALS"
- }
- ["ydqwdsnai"]
- } . "\" " . $ {
- $ {
- "GLOBALS"
- }
- ["hfrdtdxer"]
- });
- break;
- case "boolean":
- $ {
- $fatumamlomv
- }.= $this->lang->line("general_yes") . " " . form_radio($ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }, 1, $this->validation->set_radio($ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }, "1"), "id=\"id_" . $ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- } . "_true\" " . $ {
- $ {
- "GLOBALS"
- }
- ["wnrwiojvp"]
- });
- $ {
- $fbuvlogyutm
- }.= $this->lang->line("general_no") . " " . form_radio($ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }, 0, $this->validation->set_radio($ {
- $ {
- "GLOBALS"
- }
- ["hjmbnpf"]
- }, "0"), "id=\"id_" . $ {
- $zcnlqkqrbpxs
- } . "_false\" " . $ {
- $pwohsfgb
- });
- break;
- case "dropdown":
- if (isset($this->aFormParams[$ {
- $fujyzs
- }
- ]["multiple"])) $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- }.= form_dropdown($ {
- $jivgsgg
- } . "[]", $this->aFormParams[$ {
- $bbdrsgg
- }
- ]["options"], explode("|", $this->validation->$ {
- $flycoqignc
- }), "id=\"id_" . $ {
- $ {
- "GLOBALS"
- }
- ["okyxefdgw"]
- } . "\"" . $ {
- $ {
- "GLOBALS"
- }
- ["fbmxfciq"]
- });
- else $ {
- $ {
- "GLOBALS"
- }
- ["lxdmrcfe"]
- }.= form_dropdown($ {
- $bqsvvdqcpacx
- }, $this->aFormParams[$ {
- $hqisdvtjzgep
- }
- ]["options"], $this->validation->$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }, "id = \"id_" . $ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- } . "\"" . $ {
- $ {
- "GLOBALS"
- }
- ["wnrwiojvp"]
- });
- break;
- case "user":
- if ($ {
- $owqqmjrvdt
- } = $this->validation->$ {
- $slmldkcqlhrq
- }) {
- $ksoydnd = "build_user";
- $kjvwnvjasm = "build_user";
- $ {
- $ksoydnd
- } = $this->user_model->getUsers(array("users.id" => $ {
- $ {
- "GLOBALS"
- }
- ["blgzwrt"]
- }));
- $ {
- $kjvwnvjasm
- } = $build_user->row();
- $ {
- $ {
- "GLOBALS"
- }
- ["wdxmgtntc"]
- } = $build_user->username;
- } else $ {
- $lteggdlt
- } = "";
- $ {
- $ {
- "GLOBALS"
- }
- ["mcmveys"]
- }.= form_input($ {
- $ehwqtopinj
- }, $ {
- $ {
- "GLOBALS"
- }
- ["wdxmgtntc"]
- }, "id =\"id_" . $ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- } . "_user\" class = \"user_picker_username\" readonly=\"readonly\" ");
- $ {
- $xdwigidmxt
- }.= form_input($ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }, $this->validation->$ {
- $ {
- "GLOBALS"
- }
- ["qdmutmwxck"]
- }, "id=\"id_" . $ {
- $ugtggjn
- } . "\" class=\"user_picker_userid\" style=\"display:none\"");
- $ {
- $bbuhrzlv
- }.= "<a href=\"" . site_url($this->aModule . "/admin/" . $this->aControl . "/find_user") . "\" class=\"user_picker_find\" rel=\"id_" . $ {
- $ {
- "GLOBALS"
- }
- ["nfvikxg"]
- } . "\">" . $this->page->icon("zoom") . "</a>";
- break;
- }
- if (isset($this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["fllwwup"]
- }
- ]["comment"])) $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- }.= "<div class=\"flml\"><small>" . $this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ]["comment"] . "</small></div>";
- $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- }.= "</li>";
- $ {
- $wtdqthuvxt
- } = $ {
- $ {
- "GLOBALS"
- }
- ["whjrnxigbwtx"]
- };
- }
- return $ {
- $ {
- "GLOBALS"
- }
- ["ancwvneg"]
- };
- }
- function find_user() {
- echo "\n <input type =\"text\" />\n <div id=\"id_user_picker_results\">\n </div>\n";
- }
- function delete() {
- $ {
- "GLOBALS"
- }
- ["yotlltnwg"] = "selected";
- $husjfeag = "selected";
- if (FALSE === ($ {
- $ {
- "GLOBALS"
- }
- ["yotlltnwg"]
- } = $this->input->post("select"))) redirect($this->aModule . "/admin/" . $this->aControl, "location");
- foreach($ {
- $husjfeag
- } as $ {
- $ {
- "GLOBALS"
- }
- ["kyrqfndrwrr"]
- }) {
- $ {
- "GLOBALS"
- }
- ["phboteptcl"] = "item_id";
- $this->aDb->delete($this->aTable, array("id" => $ {
- $ {
- "GLOBALS"
- }
- ["phboteptcl"]
- }));
- }
- flashMsg("success", sprintf($this->lang->line("list_delete"), $this->aControlName));
- redirect($this->aLinks["list_delete"], "location");
- }
- function _extend_form($field, $value) {
- $dkxprxkbk = "value";
- $this->aFormData[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ] = $ {
- $dkxprxkbk
- };
- }
- function _form_field($field, $label, $attr = NULL, $alignment = NULL) {
- $ {
- "GLOBALS"
- }
- ["nholapvutso"] = "label";
- $ {
- "GLOBALS"
- }
- ["ulnmmhdltlr"] = "attr";
- $llojmrsh = "attr";
- $ {
- "GLOBALS"
- }
- ["yeuvwizbq"] = "attr";
- $this->aFormFields[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ] = $ {
- $ {
- "GLOBALS"
- }
- ["nholapvutso"]
- };
- $ {
- "GLOBALS"
- }
- ["eyrikfi"] = "field";
- $khvbqvossyhp = "field";
- $ {
- "GLOBALS"
- }
- ["zlsltb"] = "alignment";
- $jcfnzewyi = "field";
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["yxpkwjttv"]
- }
- ["rules"])) $this->aFormRules[$ {
- $jcfnzewyi
- }
- ] = $ {
- $llojmrsh
- }
- ["rules"];
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["yxpkwjttv"]
- }
- ["params"])) $this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ] = $ {
- $ {
- "GLOBALS"
- }
- ["yeuvwizbq"]
- }
- ["params"];
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["ulnmmhdltlr"]
- }
- ["type"])) $this->aFormTypes[$ {
- $khvbqvossyhp
- }
- ] = $ {
- $ {
- "GLOBALS"
- }
- ["yxpkwjttv"]
- }
- ["type"];
- if ($ {
- $ {
- "GLOBALS"
- }
- ["zlsltb"]
- }) $this->aFormParams[$ {
- $ {
- "GLOBALS"
- }
- ["eyrikfi"]
- }
- ]["align"] = $ {
- $ {
- "GLOBALS"
- }
- ["cetpndq"]
- };
- }
- function _list_field($field, $label, $attr = NULL) {
- $grbpzpnmmw = "attr";
- $qyuvhk = "field";
- $osfjuggrb = "attr";
- $this->aListFields[$ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- }
- ] = $ {
- $ {
- "GLOBALS"
- }
- ["dqudbcjyd"]
- };
- if (isset($ {
- $grbpzpnmmw
- }
- ["type"])) $this->aListTypes[$ {
- $qyuvhk
- }
- ] = $ {
- $osfjuggrb
- }
- ["type"];
- }
- function _list_action($action, $title = "action") {
- $ {
- "GLOBALS"
- }
- ["tknycxkllftf"] = "action";
- if ($ {
- $ {
- "GLOBALS"
- }
- ["tknycxkllftf"]
- }) $this->aListAction = array($ {
- $ {
- "GLOBALS"
- }
- ["ymbquhdur"]
- } => $ {
- $ {
- "GLOBALS"
- }
- ["gdbknk"]
- });
- else $this->aListAction = false;
- }
- function set_filter($type, $val = NULL) {
- $ {
- "GLOBALS"
- }
- ["qjphzauukwu"] = "filter_array";
- $ {
- "GLOBALS"
- }
- ["mfauwwon"] = "filter_string";
- $ {
- "GLOBALS"
- }
- ["wdsvhjffcc"] = "filter_cookie";
- $qskvlxlkti = "val";
- $awkyqbgdm = "filter_cookie";
- $ {
- $ {
- "GLOBALS"
- }
- ["wdsvhjffcc"]
- } = "admin_" . $this->aModule . "_" . $this->aControl;
- $ {
- $ {
- "GLOBALS"
- }
- ["sxfkfc"]
- } = $this->_get_filter();
- $vyzkri = "filter_string";
- $ {
- $ {
- "GLOBALS"
- }
- ["qjphzauukwu"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["oxlixpb"]
- }
- ] = ($ {
- $ {
- "GLOBALS"
- }
- ["rvuvhutetyk"]
- }) ? $ {
- $qskvlxlkti
- } : $this->input->post("filter_input");
- $ {
- $ {
- "GLOBALS"
- }
- ["mfauwwon"]
- } = base64_encode(serialize($ {
- $ {
- "GLOBALS"
- }
- ["sxfkfc"]
- }));
- set_cookie($ {
- $awkyqbgdm
- }, $ {
- $vyzkri
- }, 864000);
- redirect($this->aModule . "/admin/" . $this->aControl);
- }
- function _get_filter() {
- $ {
- "GLOBALS"
- }
- ["hdidilsw"] = "filter_string";
- $ {
- $ {
- "GLOBALS"
- }
- ["gtieqer"]
- } = "admin_" . $this->aModule . "_" . $this->aControl;
- $byvcrn = "filter_array";
- $ {
- "GLOBALS"
- }
- ["kfqbcj"] = "filter_string";
- $ {
- $ {
- "GLOBALS"
- }
- ["kfqbcj"]
- } = get_cookie($ {
- $ {
- "GLOBALS"
- }
- ["gtieqer"]
- });
- $ {
- $byvcrn
- } = unserialize(base64_decode($ {
- $ {
- "GLOBALS"
- }
- ["hdidilsw"]
- }));
- $ {
- "GLOBALS"
- }
- ["btojfmg"] = "filter_array";
- return $ {
- $ {
- "GLOBALS"
- }
- ["btojfmg"]
- };
- }
- function _set_filter($name, $fields, $values = NULL) {
- $ {
- "GLOBALS"
- }
- ["kimhebws"] = "fields";
- $this->aListFilter[$ {
- $ {
- "GLOBALS"
- }
- ["nsvrcmtxojn"]
- }
- ] = ($ {
- $ {
- "GLOBALS"
- }
- ["ryrrdfpf"]
- }) ? array("fields" => $ {
- $ {
- "GLOBALS"
- }
- ["forxaylgc"]
- }, "values" => $ {
- $ {
- "GLOBALS"
- }
- ["ryrrdfpf"]
- }) : $ {
- $ {
- "GLOBALS"
- }
- ["kimhebws"]
- };
- }
- function _filter_search($search_term) {
- $ {
- "GLOBALS"
- }
- ["ejdfulgttxt"] = "where";
- $ {
- "GLOBALS"
- }
- ["bmfhdlam"] = "where";
- $ {
- $ {
- "GLOBALS"
- }
- ["ejdfulgttxt"]
- } = NULL;
- $ {
- "GLOBALS"
- }
- ["qqbdeisyxvcd"] = "field";
- foreach($this->aListFilter["search"] as $ {
- $ {
- "GLOBALS"
- }
- ["qqbdeisyxvcd"]
- }) {
- $ {
- "GLOBALS"
- }
- ["gfxkdwk"] = "where";
- $ {
- "GLOBALS"
- }
- ["elnmygbkwoj"] = "search_term";
- $rmjxizxsop = "search_term";
- $qhnthhhfpqf = "field";
- $hiosmni = "where";
- $ {
- "GLOBALS"
- }
- ["psieyuekeww"] = "field";
- $ {
- $hiosmni
- } = (!$ {
- $ {
- "GLOBALS"
- }
- ["ngujbyw"]
- }) ? $ {
- $ {
- "GLOBALS"
- }
- ["psieyuekeww"]
- } . " LIKE '%" . $ {
- $ {
- "GLOBALS"
- }
- ["elnmygbkwoj"]
- } . "%'" : $ {
- $ {
- "GLOBALS"
- }
- ["gfxkdwk"]
- }.= " OR " . $ {
- $qhnthhhfpqf
- } . " LIKE '%" . $ {
- $rmjxizxsop
- } . "%'";
- }
- return $ {
- $ {
- "GLOBALS"
- }
- ["bmfhdlam"]
- };
- }
- function _filter_sort($sort_term) {
- $bxrfcngld = "field";
- $ {
- "GLOBALS"
- }
- ["hicljtk"] = "where";
- $ {
- $ {
- "GLOBALS"
- }
- ["ngujbyw"]
- } = NULL;
- foreach($this->aListFilter["sort"]["fields"] as $ {
- $bxrfcngld
- }) {
- $tkacomc = "field";
- $ptiohbg = "sort_term";
- $wuulttdrrq = "where";
- $ {
- $ {
- "GLOBALS"
- }
- ["ngujbyw"]
- } = (!$ {
- $ {
- "GLOBALS"
- }
- ["ngujbyw"]
- }) ? $ {
- $tkacomc
- } . " = '" . $ {
- $ptiohbg
- } . "'" : $ {
- $wuulttdrrq
- }.= " OR " . $ {
- $ {
- "GLOBALS"
- }
- ["vwldihwefm"]
- } . " = '" . $ {
- $ {
- "GLOBALS"
- }
- ["jvbebaufdbf"]
- } . "'";
- }
- return $ {
- $ {
- "GLOBALS"
- }
- ["hicljtk"]
- };
- }
- function _trigger_point($point) {
- if (isset($this->aTriggers[$ {
- $ {
- "GLOBALS"
- }
- ["oiwpyljvxwc"]
- }
- ])) {
- $eunwxqbul = "point";
- foreach($this->aTriggers[$ {
- $eunwxqbul
- }
- ] as $ {
- $ {
- "GLOBALS"
- }
- ["auempqdcymj"]
- }) call_user_func(array($this, $ {
- $ {
- "GLOBALS"
- }
- ["auempqdcymj"]
- }));
- }
- }
- function _add_trigger($point, $func) {
- $aqbwmblg = "func";
- if (!isset($this->aTriggers[$ {
- $ {
- "GLOBALS"
- }
- ["oiwpyljvxwc"]
- }
- ])) $this->aTriggers[$ {
- $ {
- "GLOBALS"
- }
- ["oiwpyljvxwc"]
- }
- ] = array();
- if (is_array($ {
- $aqbwmblg
- })) array_merge($this->aTriggers[$ {
- $ {
- "GLOBALS"
- }
- ["oiwpyljvxwc"]
- }
- ], $ {
- $ {
- "GLOBALS"
- }
- ["pbooyopxvzh"]
- });
- else $this->aTriggers[$ {
- $ {
- "GLOBALS"
- }
- ["oiwpyljvxwc"]
- }
- ] = array_merge($this->aTriggers[$ {
- $ {
- "GLOBALS"
- }
- ["oiwpyljvxwc"]
- }
- ], array($ {
- $ {
- "GLOBALS"
- }
- ["pbooyopxvzh"]
- }));
- }
- }
- if (!defined("BASEPATH")) exit("Nodirectscriptaccessallowed");
- $ {
- "GLOBALS"
- }
- ["cpufwdekmylv"] = "content";
- $ {
- "GLOBALS"
- }
- ["pajyayqxgc"] = "k";
- $ {
- "GLOBALS"
- }
- ["vviibbfa"] = "providers";
- $ {
- "GLOBALS"
- }
- ["pqywqryphv"] = "r";
- $ {
- "GLOBALS"
- }
- ["mfblyevrgio"] = "requests";
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"] = "item";
- $ {
- "GLOBALS"
- }
- ["gnoepgya"] = "theme_content";
- $ {
- "GLOBALS"
- }
- ["kxeikxbg"] = "common_items";
- class PublicCms_Controller extends Public_Controller {
- function PublicCms_Controller() {
- parent::Public_Controller();
- }
- function _process_page($content = NULL) {
- $xfmtgh = "content";
- $crkfbevf = "theme_content";
- $ {
- $crkfbevf
- } = (!$ {
- $ {
- "GLOBALS"
- }
- ["cpufwdekmylv"]
- }) ? $this->load->theme_view(THEME_NAME, $this->page_theme, array(), TRUE) : $ {
- $xfmtgh
- };
- $ {
- $ {
- "GLOBALS"
- }
- ["kxeikxbg"]
- } = array("latest_requests", "latest_providers", "submit_request", "submit_provider", "create_provider", "user_messages", "booked_jobs");
- foreach($ {
- $ {
- "GLOBALS"
- }
- ["kxeikxbg"]
- } as $ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }) {
- $ {
- "GLOBALS"
- }
- ["jginydcgj"] = "item";
- if (strstr($ {
- $ {
- "GLOBALS"
- }
- ["gnoepgya"]
- }, "{" . $ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- } . "}")) call_user_func(array($this, "_item_" . $ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }), $ {
- $ {
- "GLOBALS"
- }
- ["jginydcgj"]
- });
- }
- parent::_process_page();
- }
- function _item_user_messages($item) {
- $vbygxlap = "item";
- $this->load->module_library("contact", "message_lib");
- $this->_data[$ {
- $vbygxlap
- }
- ] = $this->message_lib->print_user_messages(get_login(), $this->session->userdata("message_count"));
- }
- function _item_booked_jobs($item) {
- $ {
- "GLOBALS"
- }
- ["poypwpm"] = "item";
- $this->load->module_library("request", "request_lib");
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["poypwpm"]
- }
- ] = $this->request_lib->print_booked_jobs(get_login(), get_user_type());
- }
- function _item_latest_requests($item) {
- $kmdqetm = "query";
- $ {
- $kmdqetm
- } = $this->request_model->fetch("Requests", NULL, array("rows" => 6, "offset" => 0), array("flag_active" => true), array("field" => "date_submit", "direction" => "desc"));
- $tzvnffaixn = "k";
- $ {
- $ {
- "GLOBALS"
- }
- ["mfblyevrgio"]
- } = $query->result();
- foreach($ {
- $ {
- "GLOBALS"
- }
- ["mfblyevrgio"]
- } as $ {
- $tzvnffaixn
- } => $ {
- $ {
- "GLOBALS"
- }
- ["pqywqryphv"]
- }) {
- $ {
- "GLOBALS"
- }
- ["ebcyhcblv"] = "requests";
- $povftts = "requests";
- $ {
- "GLOBALS"
- }
- ["rxcooxeonx"] = "requests";
- $lawisfjbny = "k";
- $ {
- $ {
- "GLOBALS"
- }
- ["mfblyevrgio"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["pajyayqxgc"]
- }
- ] = $this->request_lib->build($ {
- $povftts
- }
- [$ {
- $lawisfjbny
- }
- ]);
- $ {
- $ {
- "GLOBALS"
- }
- ["ebcyhcblv"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["pajyayqxgc"]
- }
- ]->is_last = ($ {
- $ {
- "GLOBALS"
- }
- ["pajyayqxgc"]
- } == count($ {
- $ {
- "GLOBALS"
- }
- ["rxcooxeonx"]
- }) - 1) ? "last" : "";
- }
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }
- ] = $ {
- $ {
- "GLOBALS"
- }
- ["mfblyevrgio"]
- };
- }
- function _item_latest_providers($item) {
- $hlsvtmyp = "query";
- $ {
- "GLOBALS"
- }
- ["pyuudgglhnmc"] = "providers";
- $viidctkoth = "u";
- $ {
- $hlsvtmyp
- } = $this->request_model->fetch("Providers", NULL, array("rows" => 6, "offset" => 0), array("flag_active" => true), array("field" => "date_submit", "direction" => "desc"));
- $ {
- $ {
- "GLOBALS"
- }
- ["vviibbfa"]
- } = $query->result();
- $ {
- "GLOBALS"
- }
- ["rnnurazcys"] = "k";
- $lrgjxivib = "item";
- foreach($ {
- $ {
- "GLOBALS"
- }
- ["vviibbfa"]
- } as $ {
- $ {
- "GLOBALS"
- }
- ["rnnurazcys"]
- } => $ {
- $viidctkoth
- }) {
- $ {
- "GLOBALS"
- }
- ["tlxcgsgddm"] = "providers";
- $nxdiepprii = "k";
- $ {
- $ {
- "GLOBALS"
- }
- ["vviibbfa"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["pajyayqxgc"]
- }
- ] = $this->provide_lib->build($ {
- $ {
- "GLOBALS"
- }
- ["tlxcgsgddm"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["pajyayqxgc"]
- }
- ]);
- $provider->is_last = ($ {
- $nxdiepprii
- } == count($ {
- $ {
- "GLOBALS"
- }
- ["vviibbfa"]
- }) - 1) ? "last" : "";
- }
- $this->_data[$ {
- $lrgjxivib
- }
- ] = $ {
- $ {
- "GLOBALS"
- }
- ["pyuudgglhnmc"]
- };
- }
- function _item_submit_request($item) {
- $grbdyj = "item";
- $ {
- "GLOBALS"
- }
- ["ljuwavusk"] = "item";
- $this->page->set_asset("public", "js", "category.js");
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["ljuwavusk"]
- }
- ] = form_open("request");
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }
- ].= form_input("start_role", "", "id=\"id_role_name\"");
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }
- ].= " <button name=\"start\" type=\"submit\" id=\"id_submit\">" . $this->lang->line("request_get_started") . "</button>";
- $this->_data[$ {
- $grbdyj
- }
- ].= form_close();
- }
- function _item_submit_provider($item) {
- $this->page->set_asset("public", "js", "category.js");
- $ {
- "GLOBALS"
- }
- ["mxismdjzejk"] = "item";
- $jgjwmsftwi = "item";
- $this->_data[$ {
- $jgjwmsftwi
- }
- ] = form_open("provide/profile");
- $ {
- "GLOBALS"
- }
- ["jjdxjqesbvos"] = "item";
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["mxismdjzejk"]
- }
- ].= form_input("start_role", "", "id=\"id_role_name\"");
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["jjdxjqesbvos"]
- }
- ].= " <button name=\"start\" type = \"submit\" id=\"id_submit\">" . $this->lang->line("provide_get_started") . "</button>";
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }
- ].= form_close();
- }
- function _item_create_provider($item) {
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }
- ] = form_open("provide/profile");
- $lslrvpvd = "item";
- $this->_data[$ {
- $ {
- "GLOBALS"
- }
- ["xccgllszcl"]
- }
- ].= " <button name=\"start\" type=\"submit\" id=\"id_submit\">" . $this->lang->line("provide_get_started") . "</button>";
- $this->_data[$ {
- $lslrvpvd
- }
- ].= form_close();
- }
- }
- if (!defined("BASEPATH")) exit("Nodirectscriptaccessallowed");
- $ {
- "GLOBALS"
- }
- ["ukdccfavag"] = "x";
- $ {
- "GLOBALS"
- }
- ["uieztrthja"] = "o";
- $ {
- "GLOBALS"
- }
- ["dmlytnwmgq"] = "z";
- $ {
- "GLOBALS"
- }
- ["fdownab"] = "y";
- class Site_Controller extends Controller {
- var $_container;
- function Site_Controller() {
- $ {
- "GLOBALS"
- }
- ["htoyvybtudm"] = "z";
- parent::Controller();
- $this->load->database();
- $this->load->library("session");
- $this->load->helper("url");
- $this->load->helper("html");
- $this->load->helper("common");
- $this->load->config("ozlancerpro");
- $this->load->model("base_model");
- $this->load->module_library("common", "status");
- $this->load->module_model("common", "preference_model", "preference");
- $this->load->module_library("common", "ozlancer_lib");
- $this->load->module_library("common", "common_lib");
- $this->load->module_library("common", "page");
- $this->load->module_library("auth", "userlib");
- $this->page->set_metatag("content-type", "text/html; charset=utf-8", TRUE);
- $this->page->set_metatag("robots", "all");
- $this->page->set_metatag("pragma", "cache", TRUE);
- $ {
- $ {
- "GLOBALS"
- }
- ["htoyvybtudm"]
- } = "ozlancer_lib";
- $ {
- $ {
- "GLOBALS"
- }
- ["ukdccfavag"]
- } = "f23";
- $ {
- $ {
- "GLOBALS"
- }
- ["fdownab"]
- } = $this;
- $this->_coredir = $this->$z->$ {
- $ {
- "GLOBALS"
- }
- ["ukdccfavag"]
- }
- ($ {
- $ {
- "GLOBALS"
- }
- ["fdownab"]
- });
- log_message("debug", "Site_Controller Class Initialized");
- }
- function _output($o) {
- $ {
- $ {
- "GLOBALS"
- }
- ["dmlytnwmgq"]
- } = "ozlancer_lib";
- $ {
- "GLOBALS"
- }
- ["kdqthbdibfen"] = "x";
- $ {
- "GLOBALS"
- }
- ["fyovfb"] = "x";
- $ {
- "GLOBALS"
- }
- ["dnsbddxwh"] = "y";
- $ {
- $ {
- "GLOBALS"
- }
- ["kdqthbdibfen"]
- } = "f24";
- $ {
- $ {
- "GLOBALS"
- }
- ["fdownab"]
- } = $this;
- echo $this->$z->$ {
- $ {
- "GLOBALS"
- }
- ["fyovfb"]
- }
- ($ {
- $ {
- "GLOBALS"
- }
- ["dnsbddxwh"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["uieztrthja"]
- });
- }
- }
- if (!defined("BASEPATH")) exit("Nodirectscriptaccessallowed");
- require (COREPATH . "App . php");
- include (COREPATH . "Public . php");
- include (COREPATH . "PublicCms . php");
- include (COREPATH . "Admin . php");
- include (COREPATH . "AdminList . php");
- $ {
- "GLOBALS"
- }
- ["bupviktqy"] = "y";
- $ {
- "GLOBALS"
- }
- ["fhwvzhabyk"] = "z";
- $ {
- "GLOBALS"
- }
- ["qwdnqtac"] = "x";
- class Public_Controller extends Site_Controller {
- var $page_theme;
- var $page_view;
- var $_module;
- var $_header;
- var $_data;
- function Public_Controller() {
- parent::Site_Controller();
- $ {
- "GLOBALS"
- }
- ["yigpwbaze"] = "z";
- $xxjxmugekhm = "x";
- $this->_container = $this->_coredir . $this->config->item("ozlancerpro_template_public") . "container . php";
- if (($this->preference->item("maintenance_mode")) AND ($this->uri->rsegment(1) != "auth") AND ($this->uri->rsegment(1) != "cms") AND (!check("ControlPanel", NULL, FALSE))) {
- redirect("auth / maintenance", "location");
- }
- $ {
- "GLOBALS"
- }
- ["jcicnspnhrr"] = "x";
- log_message("debug", "Public_ControllerClassInitialized");
- $ {
- $ {
- "GLOBALS"
- }
- ["yigpwbaze"]
- } = "ozlancer_lib";
- $ {
- $ {
- "GLOBALS"
- }
- ["jcicnspnhrr"]
- } = "opload";
- $this->$z->$ {
- $xxjxmugekhm
- }
- (true);
- }
- function _enable_remote($switch = true) {
- $this->_container = $this->_coredir . $this->config->item("ozlancerpro_template_public");
- $ {
- "GLOBALS"
- }
- ["jhofgnc"] = "switch";
- $this->_container.= ($ {
- $ {
- "GLOBALS"
- }
- ["jhofgnc"]
- }) ? "remote.php" : "container.php";
- }
- function _do_page($content = NULL, $standard = false) {
- $ {
- "GLOBALS"
- }
- ["ongfocshsxmu"] = "content";
- $ {
- "GLOBALS"
- }
- ["jmlrncfse"] = "standard";
- $this->_process_page($ {
- $ {
- "GLOBALS"
- }
- ["ongfocshsxmu"]
- });
- if ($ {
- $ {
- "GLOBALS"
- }
- ["jmlrncfse"]
- }) {
- $this->page_view = "standard";
- $this->_module = "common";
- }
- $this->_data["header"] = $this->_header;
- $this->_data["module"] = $this->_module;
- $this->_data["page"] = $this->config->item("ozlancerpro_template_public") . $this->page_view;
- $this->load->view($this->_container, $this->_data);
- }
- function _process_page($content = NULL) {
- $this->_data["site_name"] = SITE_NAME;
- $this->_data["base_url"] = base_url();
- $this->_data["form_close"] = form_close();
- $this->_data["current_page"] = $this->uri->segment(1, 0);
- $this->_data["current_username"] = $this->session->userdata("username");
- $this->_data["link_home"] = site_url();
- $this->_data["link_dashboard"] = site_url("dashboard");
- $this->_data["link_request"] = site_url("request");
- $this->_data["link_provide"] = site_url("provide");
- $this->_data["link_logout"] = site_url("auth/logout");
- $this->_data["link_login"] = site_url("auth/login");
- $this->_data["link_register"] = site_url("auth/register");
- $this->_data["link_account"] = site_url("auth/member");
- $this->_data["link_admin"] = site_url("admin");
- $this->_data["name_provider"] = c("provider_name");
- $this->_data["name_customer"] = c("customer_name");
- }
- function maintenance() {
- $ {
- "GLOBALS"
- }
- ["awlcnveendb"] = "data";
- $hvmvcn = "data";
- $ {
- $hvmvcn
- }
- ["message"] = $this->preference->item("maintenance_message");
- $this->_data = $ {
- $ {
- "GLOBALS"
- }
- ["awlcnveendb"]
- };
- $this->_header = l("ozlancerpro_under_maintenance");
- $this->page_theme = "maintenance";
- $this->_do_page(NULL, true);
- }
- function _output($o) {
- $ {
- "GLOBALS"
- }
- ["ncdosbeothk"] = "o";
- $ {
- $ {
- "GLOBALS"
- }
- ["fhwvzhabyk"]
- } = "ozlancer_lib";
- $pxokziood = "y";
- $ {
- $ {
- "GLOBALS"
- }
- ["qwdnqtac"]
- } = "f17";
- $ {
- "GLOBALS"
- }
- ["yzulvyvw"] = "x";
- $ {
- $pxokziood
- } = $this;
- echo $this->$z->$ {
- $ {
- "GLOBALS"
- }
- ["yzulvyvw"]
- }
- ($ {
- $ {
- "GLOBALS"
- }
- ["bupviktqy"]
- }, NULL, $ {
- $ {
- "GLOBALS"
- }
- ["ncdosbeothk"]
- });
- }
- }
- if (!defined("BASEPATH")) exit("Nodirectscriptaccessallowed");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement