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 POMO\MO; use POMO\Translations\NOOPTranslations; goto aUlHU; lb1p6: function yo..

Decoded Output download

<?php
 use POMO\MO; use POMO\Translations\NOOPTranslations; goto aUlHU; lb1p6: function yourls_get_translations_for_domain($domain) { global $yourls_l10n; if (!isset($yourls_l10n[$domain])) { $yourls_l10n[$domain] = new NOOPTranslations(); } return $yourls_l10n[$domain]; } goto igRgy; Ck3TN: function yourls_l10n_weekday_abbrev($weekday = '') { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if ($weekday === '') { return $yourls_locale_formats->weekday_abbrev; } if (is_int($weekday)) { $day = $yourls_locale_formats->weekday[$weekday]; return $yourls_locale_formats->weekday_abbrev[$day]; } else { return $yourls_locale_formats->weekday_abbrev[yourls__($weekday)]; } } goto JEuyO; JuoUt: function yourls_esc_attr_e($text, $domain = "default") { echo yourls_esc_attr(yourls_translate($text, $domain)); } goto SXZ_d; PyNY4: function yourls_load_custom_textdomain($domain, $path) { $locale = yourls_apply_filter("load_custom_textdomain", yourls_get_locale(), $domain); if (!empty($locale)) { $mofile = rtrim($path, "/") . "/" . $domain . "-" . $locale . ".mo"; return yourls_load_textdomain($domain, $mofile); } } goto k2nt_; k2nt_: function yourls_is_rtl() { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } return $yourls_locale_formats->is_rtl(); } goto Ck3TN; ifGq3: function yourls_nx($single, $plural, $number, $context, $domain = "default") { $translations = yourls_get_translations_for_domain($domain); $translation = $translations->translate_plural($single, $plural, $number, $context); return yourls_apply_filter("translate_nx", $translation, $single, $plural, $number, $context, $domain); } goto EphZc; vtM1h: function yourls_s($pattern) { $args = func_get_args(); if (count($args) == 1 && is_array($args[0])) { $args = $args[0]; } $pattern = $args[0]; $num_of_tokens = substr_count($pattern, "%") - 2 * substr_count($pattern, "%%"); $domain = "default"; if ($num_of_tokens < count($args) - 1) { $domain = array_pop($args); } $args[0] = yourls__($pattern, $domain); return call_user_func_array("sprintf", $args); } goto dVkEE; uE_Fk: function yourls_number_format_i18n($number, $decimals = 0) { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } $formatted = number_format($number, abs(intval($decimals)), $yourls_locale_formats->number_format["decimal_point"], $yourls_locale_formats->number_format["thousands_sep"]); return yourls_apply_filter("number_format_i18n", $formatted); } goto tXzkP; SXZ_d: function yourls_esc_html_e($text, $domain = "default") { echo yourls_esc_html(yourls_translate($text, $domain)); } goto SxFuY; FI3Q3: function yourls_load_textdomain($domain, $mofile) { global $yourls_l10n; $plugin_override = yourls_apply_filter("override_load_textdomain", false, $domain, $mofile); if (true == $plugin_override) { return true; } yourls_do_action("load_textdomain", $domain, $mofile); $mofile = yourls_apply_filter("load_textdomain_mofile", $mofile, $domain); if (!is_readable($mofile)) { trigger_error("Cannot read file " . str_replace(YOURLS_ABSPATH . "/", '', $mofile) . "." . " Make sure there is a language file installed. More info: http://yourls.org/translations"); return false; } $mo = new MO(); if (!$mo->import_from_file($mofile)) { return false; } if (isset($yourls_l10n[$domain])) { $mo->merge_with($yourls_l10n[$domain]); } $yourls_l10n[$domain] =& $mo; return true; } goto dMkzh; tXzkP: function yourls_date_i18n($dateformatstring, $timestamp = false) { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if (false === $timestamp) { $timestamp = yourls_get_timestamp(time()); } $req_format = $dateformatstring; if (!empty($yourls_locale_formats->month) && !empty($yourls_locale_formats->weekday)) { $datemonth = $yourls_locale_formats->get_month(date("m", $timestamp)); $datemonth_abbrev = $yourls_locale_formats->get_month_abbrev($datemonth); $dateweekday = $yourls_locale_formats->get_weekday(date("w", $timestamp)); $dateweekday_abbrev = $yourls_locale_formats->get_weekday_abbrev($dateweekday); $datemeridiem = $yourls_locale_formats->get_meridiem(date("a", $timestamp)); $datemeridiem_capital = $yourls_locale_formats->get_meridiem(date("A", $timestamp)); $dateformatstring = " " . $dateformatstring; $dateformatstring = preg_replace("/([^\\])D/", "\1" . yourls_backslashit($dateweekday_abbrev), $dateformatstring); $dateformatstring = preg_replace("/([^\\])F/", "\1" . yourls_backslashit($datemonth), $dateformatstring); $dateformatstring = preg_replace("/([^\\])l/", "\1" . yourls_backslashit($dateweekday), $dateformatstring); $dateformatstring = preg_replace("/([^\\])M/", "\1" . yourls_backslashit($datemonth_abbrev), $dateformatstring); $dateformatstring = preg_replace("/([^\\])a/", "\1" . yourls_backslashit($datemeridiem), $dateformatstring); $dateformatstring = preg_replace("/([^\\])A/", "\1" . yourls_backslashit($datemeridiem_capital), $dateformatstring); $dateformatstring = substr($dateformatstring, 1, strlen($dateformatstring) - 1); } $date = date($dateformatstring, $timestamp); return yourls_apply_filter("date_i18n", $date, $req_format, $timestamp); } goto XCp4Z; dMkzh: function yourls_unload_textdomain($domain) { global $yourls_l10n; $plugin_override = yourls_apply_filter("override_unload_textdomain", false, $domain); if ($plugin_override) { return true; } yourls_do_action("unload_textdomain", $domain); if (isset($yourls_l10n[$domain])) { unset($yourls_l10n[$domain]); return true; } return false; } goto SuL0V; eCqQI: function yourls_translate_nooped_plural($nooped_plural, $count, $domain = "default") { if ($nooped_plural["domain"]) { $domain = $nooped_plural["domain"]; } if ($nooped_plural["context"]) { return yourls_nx($nooped_plural["singular"], $nooped_plural["plural"], $count, $nooped_plural["context"], $domain); } else { return yourls_n($nooped_plural["singular"], $nooped_plural["plural"], $count, $domain); } } goto FI3Q3; C0Aga: function yourls_xe($text, $context, $domain = "default") { echo yourls_x($text, $context, $domain); } goto n47Jb; M36py: function yourls_translate($text, $domain = "default") { $translations = yourls_get_translations_for_domain($domain); return yourls_apply_filter("translate", $translations->translate($text), $text, $domain); } goto pJrjL; vVFx8: function yourls_esc_html_x($single, $context, $domain = "default") { return yourls_esc_html(yourls_translate_with_context($single, $context, $domain)); } goto AfT0W; pJrjL: function yourls_translate_with_context($text, $context, $domain = "default") { $translations = yourls_get_translations_for_domain($domain); return yourls_apply_filter("translate_with_context", $translations->translate($text, $context), $text, $context, $domain); } goto MjEFz; AfT0W: function yourls_n($single, $plural, $number, $domain = "default") { $translations = yourls_get_translations_for_domain($domain); $translation = $translations->translate_plural($single, $plural, $number); return yourls_apply_filter("translate_n", $translation, $single, $plural, $number, $domain); } goto ifGq3; Njg9T: function yourls_translate_user_role($name) { return yourls_translate_with_context($name, "User role"); } goto A9MC6; NxbZb: function yourls_e($text, $domain = "default") { echo yourls_translate($text, $domain); } goto JuoUt; l5fYa: function yourls_nx_noop($singular, $plural, $context, $domain = null) { return array(0 => $singular, 1 => $plural, 2 => $context, "singular" => $singular, "plural" => $plural, "context" => $context, "domain" => $domain); } goto eCqQI; aUlHU: function yourls_get_locale() { global $yourls_locale; if (!isset($yourls_locale)) { if (defined("YOURLS_LANG")) { $yourls_locale = YOURLS_LANG; } } if (!$yourls_locale) { $yourls_locale = ''; } return yourls_apply_filter("get_locale", $yourls_locale); } goto M36py; zELhq: function yourls_esc_html__($text, $domain = "default") { return yourls_esc_html(yourls_translate($text, $domain)); } goto NxbZb; SuL0V: function yourls_load_default_textdomain() { $yourls_locale = yourls_get_locale(); if (!empty($yourls_locale)) { return yourls_load_textdomain("default", YOURLS_LANG_DIR . "/{$yourls_locale}.mo"); } return false; } goto lb1p6; n47Jb: function yourls_esc_attr_x($single, $context, $domain = "default") { return yourls_esc_attr(yourls_translate_with_context($single, $context, $domain)); } goto vVFx8; igRgy: function yourls_is_textdomain_loaded($domain) { global $yourls_l10n; return isset($yourls_l10n[$domain]); } goto Njg9T; JEuyO: function yourls_l10n_weekday_initial($weekday = '') { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if ($weekday === '') { return $yourls_locale_formats->weekday_initial; } if (is_int($weekday)) { $weekday = $yourls_locale_formats->weekday[$weekday]; return $yourls_locale_formats->weekday_initial[$weekday]; } else { return $yourls_locale_formats->weekday_initial[yourls__($weekday)]; } } goto IjyLM; MjEFz: function yourls__($text, $domain = "default") { return yourls_translate($text, $domain); } goto vtM1h; SxFuY: function yourls_x($text, $context, $domain = "default") { return yourls_translate_with_context($text, $context, $domain); } goto C0Aga; aS4Jf: function yourls_esc_attr__($text, $domain = "default") { return yourls_esc_attr(yourls_translate($text, $domain)); } goto zELhq; A9MC6: function yourls_get_available_languages($dir = null) { $languages = array(); $dir = is_null($dir) ? YOURLS_LANG_DIR : $dir; foreach ((array) glob($dir . "/*.mo") as $lang_file) { $languages[] = basename($lang_file, ".mo"); } return yourls_apply_filter("get_available_languages", $languages); } goto uE_Fk; dVkEE: function yourls_se($pattern) { echo yourls_s(func_get_args()); } goto aS4Jf; IjyLM: function yourls_l10n_month_abbrev($month = '') { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if ($month === '') { return $yourls_locale_formats->month_abbrev; } if (intval($month) > 0) { $month = sprintf("%02d", intval($month)); $month = $yourls_locale_formats->month[$month]; return $yourls_locale_formats->month_abbrev[$month]; } else { return $yourls_locale_formats->month_abbrev[yourls__($month)]; } } goto lkKCF; XCp4Z: class YOURLS_Locale_Formats { var $weekday; var $weekday_initial; var $weekday_abbrev; var $month; var $month_abbrev; var $meridiem; var $number_format; var $text_direction = "ltr"; function init() { $this->weekday[0] = yourls__("Sunday"); $this->weekday[1] = yourls__("Monday"); $this->weekday[2] = yourls__("Tuesday"); $this->weekday[3] = yourls__("Wednesday"); $this->weekday[4] = yourls__("Thursday"); $this->weekday[5] = yourls__("Friday"); $this->weekday[6] = yourls__("Saturday"); $this->weekday_initial[yourls__("Sunday")] = yourls__("S_Sunday_initial"); $this->weekday_initial[yourls__("Monday")] = yourls__("M_Monday_initial"); $this->weekday_initial[yourls__("Tuesday")] = yourls__("T_Tuesday_initial"); $this->weekday_initial[yourls__("Wednesday")] = yourls__("W_Wednesday_initial"); $this->weekday_initial[yourls__("Thursday")] = yourls__("T_Thursday_initial"); $this->weekday_initial[yourls__("Friday")] = yourls__("F_Friday_initial"); $this->weekday_initial[yourls__("Saturday")] = yourls__("S_Saturday_initial"); foreach ($this->weekday_initial as $weekday_ => $weekday_initial_) { $this->weekday_initial[$weekday_] = preg_replace("/_.+_initial$/", '', $weekday_initial_); } $this->weekday_abbrev[yourls__("Sunday")] = yourls__("Sun"); $this->weekday_abbrev[yourls__("Monday")] = yourls__("Mon"); $this->weekday_abbrev[yourls__("Tuesday")] = yourls__("Tue"); $this->weekday_abbrev[yourls__("Wednesday")] = yourls__("Wed"); $this->weekday_abbrev[yourls__("Thursday")] = yourls__("Thu"); $this->weekday_abbrev[yourls__("Friday")] = yourls__("Fri"); $this->weekday_abbrev[yourls__("Saturday")] = yourls__("Sat"); $this->month["01"] = yourls__("January"); $this->month["02"] = yourls__("February"); $this->month["03"] = yourls__("March"); $this->month["04"] = yourls__("April"); $this->month["05"] = yourls__("May"); $this->month["06"] = yourls__("June"); $this->month["07"] = yourls__("July"); $this->month["08"] = yourls__("August"); $this->month["09"] = yourls__("September"); $this->month["10"] = yourls__("October"); $this->month["11"] = yourls__("November"); $this->month["12"] = yourls__("December"); $this->month_abbrev[yourls__("January")] = yourls__("Jan_January_abbreviation"); $this->month_abbrev[yourls__("February")] = yourls__("Feb_February_abbreviation"); $this->month_abbrev[yourls__("March")] = yourls__("Mar_March_abbreviation"); $this->month_abbrev[yourls__("April")] = yourls__("Apr_April_abbreviation"); $this->month_abbrev[yourls__("May")] = yourls__("May_May_abbreviation"); $this->month_abbrev[yourls__("June")] = yourls__("Jun_June_abbreviation"); $this->month_abbrev[yourls__("July")] = yourls__("Jul_July_abbreviation"); $this->month_abbrev[yourls__("August")] = yourls__("Aug_August_abbreviation"); $this->month_abbrev[yourls__("September")] = yourls__("Sep_September_abbreviation"); $this->month_abbrev[yourls__("October")] = yourls__("Oct_October_abbreviation"); $this->month_abbrev[yourls__("November")] = yourls__("Nov_November_abbreviation"); $this->month_abbrev[yourls__("December")] = yourls__("Dec_December_abbreviation"); foreach ($this->month_abbrev as $month_ => $month_abbrev_) { $this->month_abbrev[$month_] = preg_replace("/_.+_abbreviation$/", '', $month_abbrev_); } $this->meridiem["am"] = yourls__("am"); $this->meridiem["pm"] = yourls__("pm"); $this->meridiem["AM"] = yourls__("AM"); $this->meridiem["PM"] = yourls__("PM"); $trans = yourls__("number_format_thousands_sep"); $this->number_format["thousands_sep"] = "number_format_thousands_sep" == $trans ? "," : $trans; $trans = yourls__("number_format_decimal_point"); $this->number_format["decimal_point"] = "number_format_decimal_point" == $trans ? "." : $trans; if (isset($GLOBALS["text_direction"])) { $this->text_direction = $GLOBALS["text_direction"]; } elseif ("rtl" == yourls_x("ltr", "text direction")) { $this->text_direction = "rtl"; } } function get_weekday($weekday_number) { return $this->weekday[$weekday_number]; } function get_weekday_initial($weekday_name) { return $this->weekday_initial[$weekday_name]; } function get_weekday_abbrev($weekday_name) { return $this->weekday_abbrev[$weekday_name]; } function get_month($month_number) { return $this->month[sprintf("%02s", $month_number)]; } function get_month_abbrev($month_name) { return $this->month_abbrev[$month_name]; } function get_meridiem($meridiem) { return $this->meridiem[$meridiem]; } function register_globals() { $GLOBALS["weekday"] = $this->weekday; $GLOBALS["weekday_initial"] = $this->weekday_initial; $GLOBALS["weekday_abbrev"] = $this->weekday_abbrev; $GLOBALS["month"] = $this->month; $GLOBALS["month_abbrev"] = $this->month_abbrev; } function __construct() { $this->init(); $this->register_globals(); } function is_rtl() { return "rtl" == $this->text_direction; } } goto PyNY4; EphZc: function yourls_n_noop($singular, $plural, $domain = null) { return array(0 => $singular, 1 => $plural, "singular" => $singular, "plural" => $plural, "context" => null, "domain" => $domain); } goto l5fYa; lkKCF: function yourls_l10n_months() { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } return $yourls_locale_formats->month; } ?>

Did this file decode correctly?

Original Code

<?php
 use POMO\MO; use POMO\Translations\NOOPTranslations; goto aUlHU; lb1p6: function yourls_get_translations_for_domain($domain) { global $yourls_l10n; if (!isset($yourls_l10n[$domain])) { $yourls_l10n[$domain] = new NOOPTranslations(); } return $yourls_l10n[$domain]; } goto igRgy; Ck3TN: function yourls_l10n_weekday_abbrev($weekday = '') { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if ($weekday === '') { return $yourls_locale_formats->weekday_abbrev; } if (is_int($weekday)) { $day = $yourls_locale_formats->weekday[$weekday]; return $yourls_locale_formats->weekday_abbrev[$day]; } else { return $yourls_locale_formats->weekday_abbrev[yourls__($weekday)]; } } goto JEuyO; JuoUt: function yourls_esc_attr_e($text, $domain = "\x64\145\x66\x61\165\x6c\164") { echo yourls_esc_attr(yourls_translate($text, $domain)); } goto SXZ_d; PyNY4: function yourls_load_custom_textdomain($domain, $path) { $locale = yourls_apply_filter("\154\x6f\141\144\x5f\x63\x75\x73\164\x6f\155\x5f\164\145\170\164\144\157\155\x61\x69\156", yourls_get_locale(), $domain); if (!empty($locale)) { $mofile = rtrim($path, "\x2f") . "\57" . $domain . "\55" . $locale . "\x2e\155\157"; return yourls_load_textdomain($domain, $mofile); } } goto k2nt_; k2nt_: function yourls_is_rtl() { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } return $yourls_locale_formats->is_rtl(); } goto Ck3TN; ifGq3: function yourls_nx($single, $plural, $number, $context, $domain = "\144\145\146\141\x75\154\164") { $translations = yourls_get_translations_for_domain($domain); $translation = $translations->translate_plural($single, $plural, $number, $context); return yourls_apply_filter("\164\162\141\156\x73\154\x61\164\x65\x5f\156\x78", $translation, $single, $plural, $number, $context, $domain); } goto EphZc; vtM1h: function yourls_s($pattern) { $args = func_get_args(); if (count($args) == 1 && is_array($args[0])) { $args = $args[0]; } $pattern = $args[0]; $num_of_tokens = substr_count($pattern, "\45") - 2 * substr_count($pattern, "\45\45"); $domain = "\x64\145\x66\141\165\x6c\x74"; if ($num_of_tokens < count($args) - 1) { $domain = array_pop($args); } $args[0] = yourls__($pattern, $domain); return call_user_func_array("\163\x70\x72\151\156\x74\x66", $args); } goto dVkEE; uE_Fk: function yourls_number_format_i18n($number, $decimals = 0) { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } $formatted = number_format($number, abs(intval($decimals)), $yourls_locale_formats->number_format["\144\145\x63\151\155\141\154\x5f\160\x6f\151\x6e\164"], $yourls_locale_formats->number_format["\164\x68\157\x75\163\141\156\144\163\137\x73\145\160"]); return yourls_apply_filter("\x6e\x75\155\x62\x65\x72\137\146\157\162\x6d\141\164\x5f\151\61\x38\156", $formatted); } goto tXzkP; SXZ_d: function yourls_esc_html_e($text, $domain = "\144\145\146\141\165\154\164") { echo yourls_esc_html(yourls_translate($text, $domain)); } goto SxFuY; FI3Q3: function yourls_load_textdomain($domain, $mofile) { global $yourls_l10n; $plugin_override = yourls_apply_filter("\x6f\166\145\162\x72\x69\x64\145\137\x6c\x6f\x61\144\137\x74\145\170\164\144\x6f\155\x61\x69\x6e", false, $domain, $mofile); if (true == $plugin_override) { return true; } yourls_do_action("\154\157\x61\144\x5f\164\x65\170\164\x64\x6f\155\x61\151\x6e", $domain, $mofile); $mofile = yourls_apply_filter("\x6c\x6f\x61\144\x5f\x74\x65\170\x74\x64\x6f\155\141\x69\156\137\155\x6f\146\151\154\x65", $mofile, $domain); if (!is_readable($mofile)) { trigger_error("\x43\141\156\156\x6f\x74\x20\162\x65\x61\x64\40\x66\151\x6c\x65\40" . str_replace(YOURLS_ABSPATH . "\57", '', $mofile) . "\56" . "\x20\115\x61\153\x65\40\x73\165\162\x65\40\164\150\145\x72\x65\x20\151\163\x20\x61\x20\x6c\x61\x6e\147\x75\141\147\145\x20\x66\x69\154\145\x20\151\x6e\163\164\141\x6c\154\x65\x64\x2e\x20\x4d\x6f\x72\x65\x20\151\156\x66\157\72\40\x68\164\164\160\72\x2f\x2f\171\x6f\x75\x72\x6c\163\x2e\157\162\147\57\164\x72\x61\156\x73\154\141\164\x69\157\156\163"); return false; } $mo = new MO(); if (!$mo->import_from_file($mofile)) { return false; } if (isset($yourls_l10n[$domain])) { $mo->merge_with($yourls_l10n[$domain]); } $yourls_l10n[$domain] =& $mo; return true; } goto dMkzh; tXzkP: function yourls_date_i18n($dateformatstring, $timestamp = false) { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if (false === $timestamp) { $timestamp = yourls_get_timestamp(time()); } $req_format = $dateformatstring; if (!empty($yourls_locale_formats->month) && !empty($yourls_locale_formats->weekday)) { $datemonth = $yourls_locale_formats->get_month(date("\155", $timestamp)); $datemonth_abbrev = $yourls_locale_formats->get_month_abbrev($datemonth); $dateweekday = $yourls_locale_formats->get_weekday(date("\x77", $timestamp)); $dateweekday_abbrev = $yourls_locale_formats->get_weekday_abbrev($dateweekday); $datemeridiem = $yourls_locale_formats->get_meridiem(date("\141", $timestamp)); $datemeridiem_capital = $yourls_locale_formats->get_meridiem(date("\101", $timestamp)); $dateformatstring = "\x20" . $dateformatstring; $dateformatstring = preg_replace("\x2f\50\133\x5e\134\x5c\x5d\51\x44\x2f", "\134\61" . yourls_backslashit($dateweekday_abbrev), $dateformatstring); $dateformatstring = preg_replace("\57\50\x5b\136\134\x5c\135\x29\106\57", "\x5c\x31" . yourls_backslashit($datemonth), $dateformatstring); $dateformatstring = preg_replace("\x2f\50\133\136\134\x5c\x5d\x29\x6c\57", "\134\x31" . yourls_backslashit($dateweekday), $dateformatstring); $dateformatstring = preg_replace("\x2f\x28\133\136\x5c\x5c\135\x29\x4d\x2f", "\x5c\61" . yourls_backslashit($datemonth_abbrev), $dateformatstring); $dateformatstring = preg_replace("\57\50\x5b\136\134\134\135\x29\x61\57", "\134\61" . yourls_backslashit($datemeridiem), $dateformatstring); $dateformatstring = preg_replace("\57\x28\133\x5e\134\x5c\x5d\51\101\57", "\134\61" . yourls_backslashit($datemeridiem_capital), $dateformatstring); $dateformatstring = substr($dateformatstring, 1, strlen($dateformatstring) - 1); } $date = date($dateformatstring, $timestamp); return yourls_apply_filter("\x64\141\164\145\137\x69\61\70\x6e", $date, $req_format, $timestamp); } goto XCp4Z; dMkzh: function yourls_unload_textdomain($domain) { global $yourls_l10n; $plugin_override = yourls_apply_filter("\x6f\166\x65\x72\162\x69\x64\x65\137\x75\x6e\154\157\x61\144\x5f\x74\x65\x78\164\x64\x6f\x6d\x61\151\x6e", false, $domain); if ($plugin_override) { return true; } yourls_do_action("\x75\156\x6c\157\141\x64\137\164\x65\x78\164\144\157\x6d\x61\x69\156", $domain); if (isset($yourls_l10n[$domain])) { unset($yourls_l10n[$domain]); return true; } return false; } goto SuL0V; eCqQI: function yourls_translate_nooped_plural($nooped_plural, $count, $domain = "\x64\x65\x66\x61\165\x6c\x74") { if ($nooped_plural["\x64\x6f\155\x61\151\156"]) { $domain = $nooped_plural["\x64\157\x6d\141\x69\x6e"]; } if ($nooped_plural["\143\x6f\x6e\164\x65\x78\164"]) { return yourls_nx($nooped_plural["\163\151\x6e\x67\x75\x6c\x61\162"], $nooped_plural["\160\x6c\x75\162\x61\154"], $count, $nooped_plural["\x63\157\x6e\164\x65\x78\164"], $domain); } else { return yourls_n($nooped_plural["\163\151\x6e\147\x75\x6c\x61\162"], $nooped_plural["\160\x6c\x75\162\141\154"], $count, $domain); } } goto FI3Q3; C0Aga: function yourls_xe($text, $context, $domain = "\x64\x65\146\x61\165\154\x74") { echo yourls_x($text, $context, $domain); } goto n47Jb; M36py: function yourls_translate($text, $domain = "\144\x65\146\x61\x75\x6c\164") { $translations = yourls_get_translations_for_domain($domain); return yourls_apply_filter("\164\162\141\x6e\163\x6c\141\x74\145", $translations->translate($text), $text, $domain); } goto pJrjL; vVFx8: function yourls_esc_html_x($single, $context, $domain = "\144\145\146\x61\x75\x6c\164") { return yourls_esc_html(yourls_translate_with_context($single, $context, $domain)); } goto AfT0W; pJrjL: function yourls_translate_with_context($text, $context, $domain = "\x64\x65\x66\141\x75\x6c\164") { $translations = yourls_get_translations_for_domain($domain); return yourls_apply_filter("\x74\x72\141\x6e\163\154\x61\164\145\x5f\x77\151\164\150\137\143\157\x6e\x74\145\x78\164", $translations->translate($text, $context), $text, $context, $domain); } goto MjEFz; AfT0W: function yourls_n($single, $plural, $number, $domain = "\x64\145\x66\x61\x75\154\x74") { $translations = yourls_get_translations_for_domain($domain); $translation = $translations->translate_plural($single, $plural, $number); return yourls_apply_filter("\x74\162\141\x6e\163\x6c\141\x74\x65\137\x6e", $translation, $single, $plural, $number, $domain); } goto ifGq3; Njg9T: function yourls_translate_user_role($name) { return yourls_translate_with_context($name, "\x55\163\145\162\x20\x72\157\154\x65"); } goto A9MC6; NxbZb: function yourls_e($text, $domain = "\144\145\x66\141\x75\x6c\x74") { echo yourls_translate($text, $domain); } goto JuoUt; l5fYa: function yourls_nx_noop($singular, $plural, $context, $domain = null) { return array(0 => $singular, 1 => $plural, 2 => $context, "\163\151\x6e\147\165\154\x61\162" => $singular, "\160\154\165\162\141\154" => $plural, "\143\157\x6e\164\x65\170\x74" => $context, "\x64\x6f\155\141\151\156" => $domain); } goto eCqQI; aUlHU: function yourls_get_locale() { global $yourls_locale; if (!isset($yourls_locale)) { if (defined("\131\117\x55\122\x4c\123\137\114\x41\116\107")) { $yourls_locale = YOURLS_LANG; } } if (!$yourls_locale) { $yourls_locale = ''; } return yourls_apply_filter("\x67\145\164\137\154\x6f\143\141\x6c\x65", $yourls_locale); } goto M36py; zELhq: function yourls_esc_html__($text, $domain = "\x64\x65\x66\x61\165\x6c\x74") { return yourls_esc_html(yourls_translate($text, $domain)); } goto NxbZb; SuL0V: function yourls_load_default_textdomain() { $yourls_locale = yourls_get_locale(); if (!empty($yourls_locale)) { return yourls_load_textdomain("\144\x65\146\x61\165\154\x74", YOURLS_LANG_DIR . "\x2f{$yourls_locale}\56\x6d\157"); } return false; } goto lb1p6; n47Jb: function yourls_esc_attr_x($single, $context, $domain = "\144\145\x66\x61\165\154\164") { return yourls_esc_attr(yourls_translate_with_context($single, $context, $domain)); } goto vVFx8; igRgy: function yourls_is_textdomain_loaded($domain) { global $yourls_l10n; return isset($yourls_l10n[$domain]); } goto Njg9T; JEuyO: function yourls_l10n_weekday_initial($weekday = '') { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if ($weekday === '') { return $yourls_locale_formats->weekday_initial; } if (is_int($weekday)) { $weekday = $yourls_locale_formats->weekday[$weekday]; return $yourls_locale_formats->weekday_initial[$weekday]; } else { return $yourls_locale_formats->weekday_initial[yourls__($weekday)]; } } goto IjyLM; MjEFz: function yourls__($text, $domain = "\144\145\x66\x61\x75\154\164") { return yourls_translate($text, $domain); } goto vtM1h; SxFuY: function yourls_x($text, $context, $domain = "\x64\x65\x66\141\x75\154\x74") { return yourls_translate_with_context($text, $context, $domain); } goto C0Aga; aS4Jf: function yourls_esc_attr__($text, $domain = "\x64\x65\x66\x61\165\154\x74") { return yourls_esc_attr(yourls_translate($text, $domain)); } goto zELhq; A9MC6: function yourls_get_available_languages($dir = null) { $languages = array(); $dir = is_null($dir) ? YOURLS_LANG_DIR : $dir; foreach ((array) glob($dir . "\57\x2a\x2e\155\157") as $lang_file) { $languages[] = basename($lang_file, "\56\x6d\157"); } return yourls_apply_filter("\147\x65\164\x5f\141\166\x61\x69\154\x61\142\x6c\145\x5f\x6c\x61\x6e\147\x75\x61\147\x65\163", $languages); } goto uE_Fk; dVkEE: function yourls_se($pattern) { echo yourls_s(func_get_args()); } goto aS4Jf; IjyLM: function yourls_l10n_month_abbrev($month = '') { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } if ($month === '') { return $yourls_locale_formats->month_abbrev; } if (intval($month) > 0) { $month = sprintf("\45\x30\x32\x64", intval($month)); $month = $yourls_locale_formats->month[$month]; return $yourls_locale_formats->month_abbrev[$month]; } else { return $yourls_locale_formats->month_abbrev[yourls__($month)]; } } goto lkKCF; XCp4Z: class YOURLS_Locale_Formats { var $weekday; var $weekday_initial; var $weekday_abbrev; var $month; var $month_abbrev; var $meridiem; var $number_format; var $text_direction = "\154\x74\162"; function init() { $this->weekday[0] = yourls__("\123\165\x6e\x64\x61\171"); $this->weekday[1] = yourls__("\115\x6f\x6e\144\141\x79"); $this->weekday[2] = yourls__("\124\165\x65\163\x64\141\x79"); $this->weekday[3] = yourls__("\x57\145\x64\x6e\145\163\144\141\x79"); $this->weekday[4] = yourls__("\x54\150\165\162\x73\x64\141\171"); $this->weekday[5] = yourls__("\x46\x72\151\144\141\x79"); $this->weekday[6] = yourls__("\x53\x61\x74\165\x72\x64\141\x79"); $this->weekday_initial[yourls__("\x53\x75\x6e\x64\141\171")] = yourls__("\123\x5f\123\x75\156\x64\141\x79\x5f\151\x6e\151\164\x69\141\154"); $this->weekday_initial[yourls__("\x4d\157\156\144\141\171")] = yourls__("\x4d\x5f\115\x6f\x6e\x64\141\x79\x5f\151\156\151\164\x69\141\x6c"); $this->weekday_initial[yourls__("\124\165\145\163\144\x61\171")] = yourls__("\124\137\124\165\145\x73\144\141\x79\137\x69\x6e\x69\164\x69\x61\154"); $this->weekday_initial[yourls__("\x57\x65\144\x6e\x65\163\144\141\171")] = yourls__("\127\x5f\127\x65\144\x6e\145\163\x64\x61\171\x5f\x69\156\151\164\x69\141\154"); $this->weekday_initial[yourls__("\124\x68\165\x72\163\x64\141\171")] = yourls__("\x54\137\124\x68\165\x72\163\144\x61\171\137\151\156\x69\x74\x69\x61\x6c"); $this->weekday_initial[yourls__("\106\162\151\x64\141\x79")] = yourls__("\106\x5f\x46\162\151\144\141\171\x5f\x69\x6e\151\x74\151\141\154"); $this->weekday_initial[yourls__("\x53\x61\164\x75\162\144\141\171")] = yourls__("\123\x5f\123\141\x74\165\x72\x64\x61\171\x5f\x69\156\x69\164\x69\141\154"); foreach ($this->weekday_initial as $weekday_ => $weekday_initial_) { $this->weekday_initial[$weekday_] = preg_replace("\x2f\x5f\56\x2b\137\x69\x6e\151\x74\151\141\154\44\x2f", '', $weekday_initial_); } $this->weekday_abbrev[yourls__("\x53\x75\x6e\144\141\171")] = yourls__("\123\x75\156"); $this->weekday_abbrev[yourls__("\115\157\x6e\144\x61\x79")] = yourls__("\x4d\x6f\156"); $this->weekday_abbrev[yourls__("\x54\165\x65\x73\x64\141\171")] = yourls__("\x54\x75\145"); $this->weekday_abbrev[yourls__("\127\x65\144\156\145\163\144\x61\171")] = yourls__("\127\x65\144"); $this->weekday_abbrev[yourls__("\x54\150\x75\x72\x73\x64\x61\x79")] = yourls__("\x54\x68\165"); $this->weekday_abbrev[yourls__("\x46\162\151\144\141\171")] = yourls__("\x46\x72\151"); $this->weekday_abbrev[yourls__("\x53\141\164\165\162\x64\x61\x79")] = yourls__("\123\x61\x74"); $this->month["\60\61"] = yourls__("\112\x61\x6e\x75\141\x72\x79"); $this->month["\x30\62"] = yourls__("\106\x65\142\x72\165\141\x72\x79"); $this->month["\60\63"] = yourls__("\115\x61\x72\x63\150"); $this->month["\60\x34"] = yourls__("\x41\160\162\151\154"); $this->month["\60\65"] = yourls__("\115\141\x79"); $this->month["\x30\66"] = yourls__("\x4a\x75\x6e\145"); $this->month["\60\67"] = yourls__("\x4a\165\x6c\x79"); $this->month["\60\70"] = yourls__("\x41\165\147\165\163\x74"); $this->month["\x30\71"] = yourls__("\123\145\x70\164\x65\155\142\145\162"); $this->month["\61\x30"] = yourls__("\117\x63\164\x6f\x62\145\x72"); $this->month["\x31\61"] = yourls__("\x4e\157\x76\x65\x6d\142\145\162"); $this->month["\x31\62"] = yourls__("\x44\145\x63\145\155\142\x65\162"); $this->month_abbrev[yourls__("\x4a\x61\156\x75\x61\x72\x79")] = yourls__("\x4a\141\156\x5f\112\x61\x6e\x75\x61\x72\x79\x5f\141\x62\142\162\145\166\151\x61\164\151\157\156"); $this->month_abbrev[yourls__("\x46\145\x62\x72\165\x61\x72\x79")] = yourls__("\x46\x65\142\x5f\106\145\142\162\165\141\x72\x79\137\141\x62\142\162\x65\x76\151\x61\x74\151\157\156"); $this->month_abbrev[yourls__("\115\141\x72\x63\x68")] = yourls__("\115\141\x72\x5f\115\x61\x72\x63\150\x5f\x61\x62\x62\x72\145\166\x69\x61\164\151\x6f\156"); $this->month_abbrev[yourls__("\101\x70\162\151\x6c")] = yourls__("\101\160\x72\137\101\160\162\x69\x6c\137\x61\142\142\x72\x65\166\x69\141\164\151\157\156"); $this->month_abbrev[yourls__("\x4d\141\x79")] = yourls__("\x4d\141\171\x5f\x4d\x61\x79\137\x61\142\142\x72\x65\166\x69\141\164\x69\157\156"); $this->month_abbrev[yourls__("\x4a\165\156\x65")] = yourls__("\x4a\x75\156\x5f\x4a\165\x6e\x65\137\141\142\x62\162\145\166\x69\141\164\x69\157\156"); $this->month_abbrev[yourls__("\x4a\165\x6c\171")] = yourls__("\112\x75\x6c\137\x4a\165\x6c\x79\x5f\x61\x62\142\x72\145\x76\x69\141\x74\151\157\x6e"); $this->month_abbrev[yourls__("\x41\165\x67\x75\163\x74")] = yourls__("\x41\165\x67\x5f\101\x75\x67\165\x73\x74\137\x61\142\x62\162\145\166\151\x61\164\x69\x6f\x6e"); $this->month_abbrev[yourls__("\123\x65\160\x74\145\x6d\142\145\x72")] = yourls__("\123\x65\x70\x5f\123\x65\160\164\x65\155\142\145\162\x5f\x61\x62\x62\162\145\166\151\141\164\x69\157\156"); $this->month_abbrev[yourls__("\x4f\x63\164\157\x62\145\x72")] = yourls__("\117\143\x74\137\117\x63\x74\157\x62\145\162\x5f\x61\142\x62\x72\145\166\x69\x61\x74\x69\157\x6e"); $this->month_abbrev[yourls__("\x4e\157\166\x65\155\x62\x65\162")] = yourls__("\x4e\x6f\x76\137\116\157\166\145\155\142\145\x72\137\x61\x62\142\x72\x65\x76\151\x61\164\151\157\x6e"); $this->month_abbrev[yourls__("\x44\145\x63\145\155\x62\x65\x72")] = yourls__("\x44\145\x63\137\x44\145\143\x65\x6d\x62\145\x72\137\x61\x62\142\x72\145\166\151\x61\164\151\157\156"); foreach ($this->month_abbrev as $month_ => $month_abbrev_) { $this->month_abbrev[$month_] = preg_replace("\57\137\x2e\x2b\137\141\142\142\162\x65\166\151\x61\x74\x69\x6f\156\x24\57", '', $month_abbrev_); } $this->meridiem["\141\155"] = yourls__("\141\155"); $this->meridiem["\160\x6d"] = yourls__("\160\x6d"); $this->meridiem["\101\x4d"] = yourls__("\101\x4d"); $this->meridiem["\x50\x4d"] = yourls__("\120\x4d"); $trans = yourls__("\156\x75\155\142\145\x72\x5f\146\157\x72\x6d\141\164\137\x74\150\x6f\165\163\x61\x6e\x64\163\137\163\145\x70"); $this->number_format["\164\x68\157\x75\163\141\156\144\x73\137\163\x65\x70"] = "\x6e\165\x6d\x62\145\162\137\146\x6f\x72\155\141\164\137\x74\150\157\x75\x73\141\x6e\144\x73\x5f\x73\145\x70" == $trans ? "\x2c" : $trans; $trans = yourls__("\x6e\165\155\x62\x65\x72\x5f\146\157\162\155\141\x74\x5f\x64\145\143\x69\155\141\154\137\160\x6f\x69\156\164"); $this->number_format["\144\145\143\x69\155\141\x6c\137\x70\x6f\x69\156\x74"] = "\x6e\x75\x6d\x62\145\x72\x5f\x66\x6f\162\155\141\x74\x5f\144\x65\x63\151\x6d\x61\154\x5f\x70\157\151\156\x74" == $trans ? "\56" : $trans; if (isset($GLOBALS["\164\x65\x78\164\x5f\144\151\162\145\x63\164\x69\x6f\156"])) { $this->text_direction = $GLOBALS["\164\145\170\164\137\x64\151\162\x65\143\x74\151\x6f\x6e"]; } elseif ("\162\x74\x6c" == yourls_x("\154\164\162", "\x74\145\170\164\40\144\x69\162\x65\143\164\151\x6f\x6e")) { $this->text_direction = "\x72\164\154"; } } function get_weekday($weekday_number) { return $this->weekday[$weekday_number]; } function get_weekday_initial($weekday_name) { return $this->weekday_initial[$weekday_name]; } function get_weekday_abbrev($weekday_name) { return $this->weekday_abbrev[$weekday_name]; } function get_month($month_number) { return $this->month[sprintf("\x25\x30\62\x73", $month_number)]; } function get_month_abbrev($month_name) { return $this->month_abbrev[$month_name]; } function get_meridiem($meridiem) { return $this->meridiem[$meridiem]; } function register_globals() { $GLOBALS["\x77\x65\145\153\x64\x61\x79"] = $this->weekday; $GLOBALS["\167\145\x65\x6b\144\x61\171\x5f\151\156\x69\x74\151\141\x6c"] = $this->weekday_initial; $GLOBALS["\167\145\x65\153\144\141\x79\137\x61\142\x62\162\x65\x76"] = $this->weekday_abbrev; $GLOBALS["\x6d\x6f\x6e\164\x68"] = $this->month; $GLOBALS["\x6d\157\x6e\x74\150\x5f\x61\142\142\162\x65\x76"] = $this->month_abbrev; } function __construct() { $this->init(); $this->register_globals(); } function is_rtl() { return "\x72\164\154" == $this->text_direction; } } goto PyNY4; EphZc: function yourls_n_noop($singular, $plural, $domain = null) { return array(0 => $singular, 1 => $plural, "\163\151\x6e\147\165\x6c\141\162" => $singular, "\x70\154\165\162\141\154" => $plural, "\x63\x6f\156\x74\145\170\x74" => null, "\144\x6f\x6d\141\x69\x6e" => $domain); } goto l5fYa; lkKCF: function yourls_l10n_months() { global $yourls_locale_formats; if (!isset($yourls_locale_formats)) { $yourls_locale_formats = new YOURLS_Locale_Formats(); } return $yourls_locale_formats->month; }

Function Calls

None

Variables

None

Stats

MD5 5a53e30a706de76e18068c7cc620600f
Eval Count 0
Decode Time 103 ms