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

Signing you up...

Thank you for signing up!

PHP Decode

<?php use Tygh\Registry; use Tygh\Settings; use Tygh\Languages\Languages; use Tygh\Navig..

Decoded Output download

<?php 
 use Tygh\Registry; use Tygh\Settings; use Tygh\Languages\Languages; use Tygh\Navigation\LastView; use Tygh\SoftSolid\SsOmnibus\LoggerAddons; use Tygh\SoftSolid\SsOmnibus\LicenseAddons; goto ZIJ1V; fUjx5: function fn_ss_omnibus_logger_manage($params, &$auth, $items_per_page = 0, $lang_code = DESCR_SL) { goto TNrtY; lZavD: $_view = $addon_id . "_logger"; goto Yol7P; NCRrv: $condition .= " AND ("; goto Bmyfc; F2a1U: $sorting = db_sort($params, $sortings, "id", "desc"); goto IWviL; MjkM6: $condition .= db_quote(" AND ?:ss_logger_addons.object_id = ?i", $params[$addon_id . "_search_string"]); goto b5EqZ; C3zgC: $condition .= db_quote(" AND ?:ss_logger_addons.date_add > ?s", $timestamp_from); goto Uv70M; rJF6D: $condition .= db_quote(" AND ?:ss_logger_addons.log_level = ?s", $params[$addon_id . "_action"]); goto VkFc8; WGyML: $condition .= db_quote(" AND ?:ss_logger_addons.addon_id = ?s", $addon_id); goto T4_XZ; JBJg2: $logger_data = db_get_array("SELECT * FROM ?:ss_logger_addons WHERE 1 {$condition} {$group} {$sorting} {$limit}"); goto ST06S; ZuLGK: if (!(!empty($params[$addon_id . "_action"]) && is_int($params[$addon_id . "_search_string"]))) { goto jSSXm; } goto MjkM6; TNrtY: $addon_id = LicenseAddons::instance()->getAddonID(); goto f6yk8; qQbaq: $condition .= db_quote(" OR ?:ss_logger_addons.dispatch LIKE ?l", "%" . $params[$addon_id . "_search_string"] . "%"); goto eOY8a; Uv70M: $condition .= db_quote(" AND ?:ss_logger_addons.date_add < ?s", $timestamp_to); goto vl4aP; vl4aP: lELT5: goto JYteJ; T4_XZ: $condition .= fn_get_company_condition("?:ss_logger_addons.company_id"); goto e8XrU; oRZpG: if (!(isset($params["time_from"]) && isset($params["time_to"]) && !empty($params["time_from"]) && !empty($params["time_to"]))) { goto lELT5; } goto ESxEj; beHaF: $group .= " GROUP BY ?:ss_logger_addons.id"; goto F2a1U; eOY8a: $condition .= db_quote(" OR ?:ss_logger_addons.send_data LIKE ?l)", "%" . $params[$addon_id . "_search_string"] . "%"); goto QYKOP; gN13g: $timestamp_to = date("Y-m-d H:i:s", mktime(23, 59, 59, $date_to["tm_mon"] + 1, $date_to["tm_mday"], $date_to["tm_year"] + 1900)); goto C3zgC; iyERG: $date_to = strptime($params["time_to"], "%d/%m/%Y"); goto gN13g; jeRqn: AZpjt: goto JRs_m; vvwn8: if (empty($params[$addon_id . "_search_string"])) { goto f9_p0; } goto NCRrv; FzArG: $fields = array("?:ss_logger_addons.id", "?:ss_logger_addons.message"); goto S8EtS; f6yk8: LoggerAddons::instance()->checkTable(); goto lZavD; VkFc8: ZrW2K: goto ZuLGK; xczfi: tVp04: goto eNz5W; TolgL: $limit = db_paginate($params["page"], $params["items_per_page"]); goto xczfi; zoLXj: $condition = $join = $group = ''; goto WGyML; eNz5W: $logger_data = array(); goto JBJg2; ESxEj: $date_from = strptime($params["time_from"], "%d/%m/%Y"); goto WKrIG; Kk0MH: $params["total_items"] = db_get_field("SELECT COUNT(DISTINCT(?:ss_logger_addons.id)) FROM ?:ss_logger_addons WHERE 1 {$condition}"); goto TolgL; JRs_m: if (empty($params[$addon_id . "_action"])) { goto ZrW2K; } goto rJF6D; mdKmU: jgbOa: goto beHaF; u9FgQ: $condition .= db_quote(" OR ?:ss_logger_addons.message LIKE ?l", "%" . $params[$addon_id . "_search_string"] . "%"); goto qQbaq; GweLY: $default_params = array("page" => 1, "items_per_page" => $items_per_page); goto fd2b4; IWviL: $limit = ''; goto cw9tH; QYKOP: f9_p0: goto oRZpG; WKrIG: $timestamp_from = date("Y-m-d H:i:s", mktime(0, 0, 0, $date_from["tm_mon"] + 1, $date_from["tm_mday"], $date_from["tm_year"] + 1900)); goto iyERG; cw9tH: if (empty($params["items_per_page"])) { goto tVp04; } goto Kk0MH; b5EqZ: jSSXm: goto vvwn8; e8XrU: if (empty($params[$addon_id . "_ls_function"])) { goto AZpjt; } goto RwNPU; ST06S: return array($logger_data, $params, $addon_id); goto y5pJs; nJMMc: $condition .= db_quote(" AND ?:ss_logger_addons.send_data LIKE ?l", "%" . $params[$addon_id . "_error_type"] . "%"); goto mdKmU; S8EtS: $sortings = array("id" => "?:ss_logger_addons.id", "message" => "?:ss_logger_addons.message", "date_add" => "?:ss_logger_addons.date_add", "call_function" => "?:ss_logger_addons.call_function", "dispatch" => "?:ss_logger_addons.dispatch", "log_level" => "?:ss_logger_addons.log_level"); goto zoLXj; JYteJ: if (empty($params[$addon_id . "_error_type"])) { goto jgbOa; } goto nJMMc; Bmyfc: $condition .= db_quote(" ?:ss_logger_addons.id = ?s", $params[$addon_id . "_search_string"]); goto u9FgQ; RwNPU: $condition .= db_quote(" AND ?:ss_logger_addons.call_function = ?s", $params[$addon_id . "_ls_function"]); goto jeRqn; fd2b4: $params = array_merge($default_params, $params); goto FzArG; Yol7P: $params = LastView::instance()->update($_view, $params); goto GweLY; y5pJs: } goto p_CmI; ZIJ1V: if (defined("BOOTSTRAP")) { goto YAhHh; } goto XLN59; XLN59: die("Access denied"); goto uS38P; uS38P: YAhHh: goto fUjx5; p_CmI: function fn_ss_omnibus_logger_delete($ss_omnibus_logger_id) { goto vxypr; vxypr: $condition = fn_get_company_condition("?:ss_logger_addons.company_id"); goto nNijG; WVDPC: db_query("DELETE FROM ?:ss_logger_addons WHERE id = ?i {$condition}", $ss_omnibus_logger_id); goto ggTYO; ggTYO: Idn8T: goto OCI_D; nNijG: if (!$ss_omnibus_logger_id) { goto Idn8T; } goto WVDPC; OCI_D: } ?>

Did this file decode correctly?

Original Code

<?php
 use Tygh\Registry; use Tygh\Settings; use Tygh\Languages\Languages; use Tygh\Navigation\LastView; use Tygh\SoftSolid\SsOmnibus\LoggerAddons; use Tygh\SoftSolid\SsOmnibus\LicenseAddons; goto ZIJ1V; fUjx5: function fn_ss_omnibus_logger_manage($params, &$auth, $items_per_page = 0, $lang_code = DESCR_SL) { goto TNrtY; lZavD: $_view = $addon_id . "\137\154\157\147\147\145\162"; goto Yol7P; NCRrv: $condition .= "\40\101\x4e\104\40\x28"; goto Bmyfc; F2a1U: $sorting = db_sort($params, $sortings, "\x69\144", "\x64\145\163\143"); goto IWviL; MjkM6: $condition .= db_quote("\40\x41\116\104\40\77\72\x73\163\137\x6c\157\147\x67\x65\x72\x5f\x61\x64\x64\x6f\156\163\x2e\157\x62\152\x65\143\164\x5f\x69\x64\x20\75\x20\77\151", $params[$addon_id . "\x5f\163\x65\x61\162\143\150\137\163\x74\x72\x69\x6e\147"]); goto b5EqZ; C3zgC: $condition .= db_quote("\x20\x41\116\104\x20\x3f\72\163\x73\137\x6c\157\x67\x67\145\162\137\x61\x64\x64\157\x6e\163\x2e\144\141\x74\x65\137\x61\x64\x64\x20\x3e\40\x3f\x73", $timestamp_from); goto Uv70M; rJF6D: $condition .= db_quote("\x20\101\x4e\x44\40\x3f\x3a\x73\163\x5f\154\x6f\147\x67\x65\162\x5f\141\144\144\x6f\x6e\x73\x2e\x6c\x6f\x67\x5f\x6c\x65\x76\x65\x6c\x20\75\x20\77\x73", $params[$addon_id . "\137\x61\x63\x74\151\x6f\x6e"]); goto VkFc8; WGyML: $condition .= db_quote("\40\x41\116\104\40\x3f\72\x73\163\x5f\x6c\x6f\147\147\145\162\x5f\141\x64\x64\157\x6e\163\x2e\141\x64\144\157\x6e\137\x69\x64\40\x3d\x20\x3f\x73", $addon_id); goto T4_XZ; JBJg2: $logger_data = db_get_array("\123\105\x4c\105\x43\x54\40\x2a\x20\x46\x52\117\x4d\x20\77\x3a\163\x73\x5f\x6c\x6f\x67\x67\x65\x72\137\141\144\x64\157\156\x73\x20\x57\110\105\122\105\40\x31\40{$condition}\40{$group}\x20{$sorting}\x20{$limit}"); goto ST06S; ZuLGK: if (!(!empty($params[$addon_id . "\137\141\x63\164\x69\157\x6e"]) && is_int($params[$addon_id . "\137\163\145\141\x72\143\x68\x5f\x73\164\x72\x69\x6e\147"]))) { goto jSSXm; } goto MjkM6; TNrtY: $addon_id = LicenseAddons::instance()->getAddonID(); goto f6yk8; qQbaq: $condition .= db_quote("\x20\x4f\122\x20\77\72\x73\163\x5f\x6c\x6f\x67\x67\145\x72\x5f\141\x64\x64\x6f\x6e\x73\x2e\144\x69\x73\x70\x61\x74\x63\x68\40\114\x49\x4b\x45\40\x3f\x6c", "\x25" . $params[$addon_id . "\x5f\163\x65\x61\162\x63\150\x5f\x73\164\162\x69\x6e\x67"] . "\45"); goto eOY8a; Uv70M: $condition .= db_quote("\40\x41\116\104\40\x3f\x3a\163\x73\137\x6c\x6f\x67\x67\x65\x72\137\x61\144\x64\x6f\156\x73\x2e\144\x61\164\145\137\141\x64\x64\x20\x3c\40\x3f\163", $timestamp_to); goto vl4aP; vl4aP: lELT5: goto JYteJ; T4_XZ: $condition .= fn_get_company_condition("\77\72\x73\x73\x5f\x6c\x6f\x67\x67\x65\x72\x5f\141\x64\144\x6f\x6e\x73\56\x63\157\155\160\141\x6e\x79\x5f\151\144"); goto e8XrU; oRZpG: if (!(isset($params["\x74\151\155\145\x5f\x66\x72\157\155"]) && isset($params["\x74\x69\155\x65\x5f\164\157"]) && !empty($params["\x74\151\x6d\x65\137\x66\x72\x6f\155"]) && !empty($params["\164\x69\155\x65\137\x74\157"]))) { goto lELT5; } goto ESxEj; beHaF: $group .= "\x20\x47\x52\117\x55\x50\x20\102\x59\x20\77\72\x73\x73\137\x6c\157\x67\147\x65\x72\137\x61\x64\x64\157\156\163\x2e\x69\x64"; goto F2a1U; eOY8a: $condition .= db_quote("\40\117\122\40\x3f\x3a\x73\x73\x5f\x6c\157\x67\x67\145\x72\137\x61\144\144\x6f\156\x73\56\163\145\156\x64\137\144\141\164\141\x20\114\x49\113\105\40\77\154\x29", "\45" . $params[$addon_id . "\x5f\x73\x65\x61\x72\143\150\137\163\164\x72\151\x6e\147"] . "\x25"); goto QYKOP; gN13g: $timestamp_to = date("\x59\55\155\55\144\40\x48\x3a\151\x3a\x73", mktime(23, 59, 59, $date_to["\164\x6d\137\x6d\x6f\x6e"] + 1, $date_to["\x74\155\x5f\155\144\141\x79"], $date_to["\x74\x6d\137\171\x65\x61\x72"] + 1900)); goto C3zgC; iyERG: $date_to = strptime($params["\x74\151\x6d\145\x5f\164\x6f"], "\45\x64\x2f\45\155\57\45\x59"); goto gN13g; jeRqn: AZpjt: goto JRs_m; vvwn8: if (empty($params[$addon_id . "\x5f\x73\x65\141\x72\x63\150\137\x73\164\162\151\x6e\147"])) { goto f9_p0; } goto NCRrv; FzArG: $fields = array("\77\x3a\163\x73\x5f\x6c\157\147\x67\145\162\137\141\144\x64\x6f\156\x73\56\151\144", "\x3f\72\163\163\137\154\x6f\x67\147\x65\x72\x5f\x61\x64\144\157\x6e\x73\x2e\x6d\145\x73\x73\x61\147\x65"); goto S8EtS; f6yk8: LoggerAddons::instance()->checkTable(); goto lZavD; VkFc8: ZrW2K: goto ZuLGK; xczfi: tVp04: goto eNz5W; TolgL: $limit = db_paginate($params["\x70\x61\147\x65"], $params["\151\164\145\x6d\163\x5f\x70\145\162\x5f\x70\x61\x67\x65"]); goto xczfi; zoLXj: $condition = $join = $group = ''; goto WGyML; eNz5W: $logger_data = array(); goto JBJg2; ESxEj: $date_from = strptime($params["\164\x69\155\x65\x5f\x66\162\157\x6d"], "\45\x64\57\45\x6d\57\x25\x59"); goto WKrIG; Kk0MH: $params["\164\157\x74\141\154\137\x69\164\x65\x6d\163"] = db_get_field("\123\105\x4c\x45\103\124\40\x43\x4f\x55\x4e\x54\x28\x44\111\x53\x54\111\x4e\103\124\50\77\72\x73\x73\x5f\x6c\x6f\147\147\145\162\x5f\141\x64\144\157\156\163\56\151\144\51\51\x20\106\122\x4f\x4d\40\x3f\x3a\x73\163\137\x6c\157\147\147\145\162\x5f\141\x64\x64\157\156\163\x20\127\x48\x45\122\105\40\x31\x20{$condition}"); goto TolgL; JRs_m: if (empty($params[$addon_id . "\137\x61\x63\x74\x69\x6f\156"])) { goto ZrW2K; } goto rJF6D; mdKmU: jgbOa: goto beHaF; u9FgQ: $condition .= db_quote("\40\x4f\x52\40\x3f\72\x73\x73\x5f\x6c\157\x67\147\x65\162\137\x61\x64\144\157\156\x73\56\x6d\x65\x73\163\141\x67\x65\x20\x4c\x49\113\x45\40\x3f\x6c", "\45" . $params[$addon_id . "\137\x73\145\x61\162\143\x68\x5f\163\x74\162\x69\x6e\147"] . "\x25"); goto qQbaq; GweLY: $default_params = array("\160\141\x67\145" => 1, "\151\x74\145\x6d\x73\137\x70\x65\162\137\x70\141\x67\145" => $items_per_page); goto fd2b4; IWviL: $limit = ''; goto cw9tH; QYKOP: f9_p0: goto oRZpG; WKrIG: $timestamp_from = date("\x59\x2d\x6d\x2d\x64\x20\110\72\x69\x3a\163", mktime(0, 0, 0, $date_from["\x74\x6d\137\155\157\x6e"] + 1, $date_from["\164\x6d\137\155\x64\x61\x79"], $date_from["\164\x6d\x5f\x79\x65\x61\x72"] + 1900)); goto iyERG; cw9tH: if (empty($params["\151\164\x65\155\163\137\x70\145\162\137\x70\x61\147\145"])) { goto tVp04; } goto Kk0MH; b5EqZ: jSSXm: goto vvwn8; e8XrU: if (empty($params[$addon_id . "\x5f\x6c\163\x5f\146\165\x6e\143\x74\x69\x6f\156"])) { goto AZpjt; } goto RwNPU; ST06S: return array($logger_data, $params, $addon_id); goto y5pJs; nJMMc: $condition .= db_quote("\40\x41\x4e\104\40\x3f\x3a\163\x73\x5f\x6c\157\147\147\145\162\x5f\141\144\144\157\156\163\x2e\163\x65\156\x64\137\x64\141\164\x61\x20\114\x49\113\105\40\x3f\154", "\x25" . $params[$addon_id . "\x5f\x65\162\x72\157\x72\137\164\x79\160\x65"] . "\45"); goto mdKmU; S8EtS: $sortings = array("\x69\x64" => "\x3f\x3a\163\x73\x5f\x6c\157\147\147\x65\162\x5f\141\x64\x64\157\x6e\163\x2e\x69\144", "\155\x65\x73\x73\141\147\145" => "\77\x3a\163\163\137\x6c\157\147\147\x65\162\137\141\x64\144\157\x6e\x73\56\x6d\145\x73\x73\141\147\145", "\x64\141\x74\145\137\x61\144\x64" => "\x3f\x3a\x73\x73\x5f\154\x6f\147\x67\145\162\x5f\141\144\144\157\x6e\x73\56\144\141\x74\x65\x5f\141\144\x64", "\x63\x61\154\154\x5f\x66\165\x6e\143\164\151\157\x6e" => "\x3f\72\x73\163\x5f\154\x6f\x67\147\x65\162\x5f\141\144\144\157\x6e\163\56\x63\141\x6c\154\137\146\x75\x6e\x63\x74\151\x6f\x6e", "\x64\151\163\x70\x61\x74\x63\x68" => "\77\72\x73\163\x5f\154\x6f\x67\147\x65\162\137\141\144\x64\157\156\163\x2e\144\x69\163\x70\x61\x74\143\150", "\x6c\157\147\x5f\x6c\145\x76\x65\154" => "\77\x3a\x73\x73\137\x6c\x6f\147\147\145\x72\137\x61\144\x64\157\156\163\x2e\x6c\x6f\147\137\x6c\x65\166\145\x6c"); goto zoLXj; JYteJ: if (empty($params[$addon_id . "\137\x65\x72\162\157\162\137\164\171\160\145"])) { goto jgbOa; } goto nJMMc; Bmyfc: $condition .= db_quote("\x20\x3f\72\163\163\137\154\157\147\147\145\162\x5f\141\x64\x64\157\x6e\163\56\151\144\x20\75\40\x3f\163", $params[$addon_id . "\137\163\x65\x61\x72\143\150\137\163\164\162\151\x6e\x67"]); goto u9FgQ; RwNPU: $condition .= db_quote("\40\101\x4e\104\40\77\x3a\x73\x73\137\154\x6f\147\147\x65\x72\x5f\x61\x64\144\x6f\156\x73\x2e\143\x61\x6c\x6c\137\146\165\156\x63\164\x69\157\156\40\75\40\x3f\x73", $params[$addon_id . "\x5f\x6c\x73\137\146\165\x6e\x63\x74\151\x6f\x6e"]); goto jeRqn; fd2b4: $params = array_merge($default_params, $params); goto FzArG; Yol7P: $params = LastView::instance()->update($_view, $params); goto GweLY; y5pJs: } goto p_CmI; ZIJ1V: if (defined("\102\117\117\x54\123\x54\122\x41\x50")) { goto YAhHh; } goto XLN59; XLN59: die("\101\143\143\145\163\x73\40\144\145\x6e\151\x65\x64"); goto uS38P; uS38P: YAhHh: goto fUjx5; p_CmI: function fn_ss_omnibus_logger_delete($ss_omnibus_logger_id) { goto vxypr; vxypr: $condition = fn_get_company_condition("\x3f\x3a\x73\x73\x5f\x6c\x6f\147\147\145\162\x5f\141\144\144\157\x6e\163\56\x63\x6f\x6d\x70\141\156\171\137\151\x64"); goto nNijG; WVDPC: db_query("\x44\105\x4c\x45\x54\x45\x20\106\122\117\x4d\x20\x3f\x3a\163\163\137\154\157\x67\147\145\x72\x5f\141\x64\144\x6f\156\163\40\127\x48\105\122\x45\40\x69\144\40\75\40\x3f\x69\x20{$condition}", $ss_omnibus_logger_id); goto ggTYO; ggTYO: Idn8T: goto OCI_D; nNijG: if (!$ss_omnibus_logger_id) { goto Idn8T; } goto WVDPC; OCI_D: }

Function Calls

None

Variables

None

Stats

MD5 a0420b72136c7aeaf24435aa46871a91
Eval Count 0
Decode Time 64 ms