Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
goto lWsND; lWsND: include_once "\x73\x70\x65\145\x64\x79\x2f\163\x70\145\145\x64\171\137..
Decoded Output download
<? goto lWsND; lWsND: include_once "speedy/speedy_assist.php"; goto UCPF3; UCPF3: error_reporting(0); goto dtxgs; dtxgs: class ControllerExtensionThemeSpeedy extends Controller { private $error = array(); public function index() { include_once "speedy/speedy_update.php"; $this->load->model("localisation/language"); $data["languages"] = $this->model_localisation_language->getLanguages(); $this->load->model("tool/image"); $this->load->language("extension/theme/speedy"); $this->document->setTitle($this->language->get("heading_title_text")); $data["heading_title"] = $this->language->get("heading_title"); $this->load->model("setting/setting"); if ($this->request->server["REQUEST_METHOD"] == "POST" && $this->validate()) { $this->model_setting_setting->editSetting("theme_speedy", $this->request->post, $this->request->get["store_id"]); $this->session->data["success"] = $this->language->get("text_success"); $this->response->redirect($this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=theme", true)); } $this->document->addScript("https://cdn.jsdelivr.net/npm/spectrum-colorpicker2/dist/spectrum.min.js"); $this->document->addStyle("https://cdn.jsdelivr.net/npm/spectrum-colorpicker2/dist/spectrum.min.css"); if (isset($this->error["warning"])) { $data["error_warning"] = $this->error["warning"]; } else { $data["error_warning"] = ''; } if (isset($this->error["product_limit"])) { $data["error_product_limit"] = $this->error["product_limit"]; } else { $data["error_product_limit"] = ''; } if (isset($this->error["product_description_length"])) { $data["error_product_description_length"] = $this->error["product_description_length"]; } else { $data["error_product_description_length"] = ''; } if (isset($this->error["image_category"])) { $data["error_image_category"] = $this->error["image_category"]; } else { $data["error_image_category"] = ''; } if (isset($this->error["image_manufacturer"])) { $data["error_image_manufacturer"] = $this->error["image_manufacturer"]; } else { $data["error_image_manufacturer"] = ''; } if (isset($this->error["image_thumb"])) { $data["error_image_thumb"] = $this->error["image_thumb"]; } else { $data["error_image_thumb"] = ''; } if (isset($this->error["image_popup"])) { $data["error_image_popup"] = $this->error["image_popup"]; } else { $data["error_image_popup"] = ''; } if (isset($this->error["image_product"])) { $data["error_image_product"] = $this->error["image_product"]; } else { $data["error_image_product"] = ''; } if (isset($this->error["image_additional"])) { $data["error_image_additional"] = $this->error["image_additional"]; } else { $data["error_image_additional"] = ''; } if (isset($this->error["image_related"])) { $data["error_image_related"] = $this->error["image_related"]; } else { $data["error_image_related"] = ''; } if (isset($this->error["image_compare"])) { $data["error_image_compare"] = $this->error["image_compare"]; } else { $data["error_image_compare"] = ''; } if (isset($this->error["image_wishlist"])) { $data["error_image_wishlist"] = $this->error["image_wishlist"]; } else { $data["error_image_wishlist"] = ''; } if (isset($this->error["image_cart"])) { $data["error_image_cart"] = $this->error["image_cart"]; } else { $data["error_image_cart"] = ''; } if (isset($this->error["image_location"])) { $data["error_image_location"] = $this->error["image_location"]; } else { $data["error_image_location"] = ''; } $data["breadcrumbs"] = array(); $data["breadcrumbs"][] = array("text" => $this->language->get("text_home"), "href" => $this->url->link("common/dashboard", "user_token=" . $this->session->data["user_token"], true)); $data["breadcrumbs"][] = array("text" => $this->language->get("text_extension"), "href" => $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=theme", true)); $data["breadcrumbs"][] = array("text" => $this->language->get("heading_title"), "href" => $this->url->link("extension/theme/speedy", "user_token=" . $this->session->data["user_token"] . "&store_id=" . $this->request->get["store_id"], true)); $data["action"] = $this->url->link("extension/theme/speedy", "user_token=" . $this->session->data["user_token"] . "&store_id=" . $this->request->get["store_id"], true); $data["cancel"] = $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=theme", true); if (isset($this->request->get["store_id"]) && $this->request->server["REQUEST_METHOD"] != "POST") { $setting_info = $this->model_setting_setting->getSetting("theme_speedy", $this->request->get["store_id"]); } $data["user_token"] = $this->session->data["user_token"]; $data["speedy_update_link"] = $this->url->link("extension/module/speedy_update", "user_token=" . $this->session->data["user_token"], true); if (isset($this->request->post["theme_speedy_directory"])) { $data["theme_speedy_directory"] = $this->request->post["theme_speedy_directory"]; } elseif (isset($setting_info["theme_speedy_directory"])) { $data["theme_speedy_directory"] = $setting_info["theme_speedy_directory"]; } else { $data["theme_speedy_directory"] = "speedy"; } $data["directories"] = array(); $directories = glob(DIR_CATALOG . "view/theme/*", GLOB_ONLYDIR); foreach ($directories as $directory) { $data["directories"][] = basename($directory); } include_once "speedy/speedy_functions.php"; $data["placeholder"] = $this->model_tool_image->resize("no_image.png", 100, 100); include_once "speedy/speedy_help.php"; } protected function validate() { if (!$this->user->hasPermission("modify", "extension/theme/speedy")) { $this->error["warning"] = $this->language->get("error_permission"); } if (!$this->request->post["theme_speedy_product_limit"]) { $this->error["product_limit"] = $this->language->get("error_limit"); } if (!$this->request->post["theme_speedy_product_description_length"]) { $this->error["product_description_length"] = $this->language->get("error_limit"); } if (!$this->request->post["theme_speedy_image_category_width"] || !$this->request->post["theme_speedy_image_category_height"]) { $this->error["image_category"] = $this->language->get("error_image_category"); } if (!$this->request->post["theme_speedy_image_manufacturer_width"] || !$this->request->post["theme_speedy_image_manufacturer_height"]) { $this->error["image_manufacturer"] = $this->language->get("error_image_manufacturer"); } if (!$this->request->post["theme_speedy_image_thumb_width"] || !$this->request->post["theme_speedy_image_thumb_height"]) { $this->error["image_thumb"] = $this->language->get("error_image_thumb"); } if (!$this->request->post["theme_speedy_image_popup_width"] || !$this->request->post["theme_speedy_image_popup_height"]) { $this->error["image_popup"] = $this->language->get("error_image_popup"); } if (!$this->request->post["theme_speedy_image_product_width"] || !$this->request->post["theme_speedy_image_product_height"]) { $this->error["image_product"] = $this->language->get("error_image_product"); } if (!$this->request->post["theme_speedy_image_additional_width"] || !$this->request->post["theme_speedy_image_additional_height"]) { $this->error["image_additional"] = $this->language->get("error_image_additional"); } if (!$this->request->post["theme_speedy_image_related_width"] || !$this->request->post["theme_speedy_image_related_height"]) { $this->error["image_related"] = $this->language->get("error_image_related"); } if (!$this->request->post["theme_speedy_image_compare_width"] || !$this->request->post["theme_speedy_image_compare_height"]) { $this->error["image_compare"] = $this->language->get("error_image_compare"); } if (!$this->request->post["theme_speedy_image_wishlist_width"] || !$this->request->post["theme_speedy_image_wishlist_height"]) { $this->error["image_wishlist"] = $this->language->get("error_image_wishlist"); } if (!$this->request->post["theme_speedy_image_cart_width"] || !$this->request->post["theme_speedy_image_cart_height"]) { $this->error["image_cart"] = $this->language->get("error_image_cart"); } if (!$this->request->post["theme_speedy_image_location_width"] || !$this->request->post["theme_speedy_image_location_height"]) { $this->error["image_location"] = $this->language->get("error_image_location"); } return !$this->error; } public function install() { $this->load->model("extension/theme/speedy"); $this->model_extension_theme_speedy->install(); } } ?>
Did this file decode correctly?
Original Code
goto lWsND; lWsND: include_once "\x73\x70\x65\145\x64\x79\x2f\163\x70\145\145\x64\171\137\141\x73\x73\x69\163\164\56\160\x68\x70"; goto UCPF3; UCPF3: error_reporting(0); goto dtxgs; dtxgs: class ControllerExtensionThemeSpeedy extends Controller { private $error = array(); public function index() { include_once "\x73\160\x65\145\x64\x79\57\163\160\145\x65\x64\171\x5f\x75\x70\144\141\164\x65\x2e\160\150\160"; $this->load->model("\x6c\x6f\143\141\x6c\x69\163\141\164\x69\157\x6e\x2f\154\x61\156\147\x75\141\147\x65"); $data["\x6c\141\156\147\165\x61\147\145\x73"] = $this->model_localisation_language->getLanguages(); $this->load->model("\164\157\x6f\154\x2f\x69\155\141\147\x65"); $this->load->language("\x65\x78\164\145\156\x73\151\157\156\x2f\x74\x68\x65\155\145\x2f\163\160\x65\145\144\x79"); $this->document->setTitle($this->language->get("\150\145\141\x64\x69\x6e\147\x5f\x74\x69\164\x6c\145\x5f\x74\x65\170\164")); $data["\150\145\x61\x64\x69\156\x67\x5f\164\151\x74\154\x65"] = $this->language->get("\150\145\141\x64\x69\156\x67\137\x74\x69\164\x6c\145"); $this->load->model("\163\x65\164\x74\151\156\x67\57\x73\145\164\x74\151\156\147"); if ($this->request->server["\122\x45\x51\125\x45\x53\x54\x5f\115\x45\124\110\x4f\104"] == "\x50\x4f\x53\124" && $this->validate()) { $this->model_setting_setting->editSetting("\164\150\x65\155\x65\x5f\x73\160\x65\145\x64\171", $this->request->post, $this->request->get["\163\x74\157\162\x65\137\151\x64"]); $this->session->data["\x73\x75\x63\x63\x65\163\163"] = $this->language->get("\164\145\170\164\x5f\x73\165\143\x63\145\x73\163"); $this->response->redirect($this->url->link("\155\x61\162\x6b\x65\x74\160\x6c\x61\143\x65\57\145\170\164\x65\x6e\163\x69\x6f\156", "\x75\163\145\x72\x5f\x74\x6f\x6b\145\x6e\75" . $this->session->data["\x75\x73\x65\162\x5f\x74\157\153\145\x6e"] . "\46\x74\171\x70\x65\x3d\164\150\x65\x6d\145", true)); } $this->document->addScript("\150\x74\x74\x70\x73\x3a\x2f\57\143\x64\156\x2e\152\163\144\145\x6c\x69\x76\x72\56\156\145\x74\57\x6e\x70\x6d\57\x73\160\x65\143\x74\162\x75\x6d\x2d\143\x6f\x6c\x6f\162\x70\x69\143\x6b\x65\x72\62\57\144\151\x73\x74\x2f\163\160\145\143\164\x72\x75\x6d\56\x6d\x69\156\x2e\x6a\x73"); $this->document->addStyle("\x68\164\164\x70\163\72\x2f\x2f\143\x64\156\x2e\152\163\x64\x65\154\151\166\x72\56\156\145\x74\x2f\x6e\x70\155\x2f\163\160\x65\143\x74\162\x75\x6d\55\x63\157\154\x6f\x72\160\x69\143\x6b\145\162\x32\57\x64\151\163\164\x2f\x73\160\145\143\x74\x72\165\155\x2e\155\151\156\56\143\x73\x73"); if (isset($this->error["\x77\x61\162\x6e\151\x6e\147"])) { $data["\x65\162\x72\x6f\162\137\167\x61\x72\156\x69\156\x67"] = $this->error["\x77\141\162\156\151\x6e\147"]; } else { $data["\x65\x72\162\157\x72\137\167\141\162\156\151\156\x67"] = ''; } if (isset($this->error["\160\162\157\144\x75\x63\164\x5f\x6c\x69\x6d\151\164"])) { $data["\145\x72\162\x6f\162\x5f\x70\x72\x6f\144\165\x63\x74\x5f\x6c\x69\x6d\151\164"] = $this->error["\x70\162\x6f\x64\165\x63\164\137\x6c\x69\155\x69\164"]; } else { $data["\x65\162\x72\157\162\x5f\x70\162\x6f\144\x75\x63\x74\x5f\154\x69\155\x69\x74"] = ''; } if (isset($this->error["\160\x72\157\144\x75\143\164\x5f\x64\x65\x73\143\162\x69\160\x74\x69\157\156\137\154\145\156\x67\x74\150"])) { $data["\145\162\x72\x6f\x72\x5f\160\162\157\144\165\x63\164\137\144\x65\x73\143\162\x69\x70\x74\151\157\156\137\x6c\145\156\x67\164\x68"] = $this->error["\160\162\157\144\x75\x63\x74\x5f\x64\x65\163\143\x72\x69\x70\x74\151\x6f\156\x5f\154\x65\x6e\x67\164\150"]; } else { $data["\145\x72\x72\x6f\162\x5f\160\x72\157\x64\165\143\x74\137\144\145\163\143\162\x69\x70\164\x69\x6f\156\x5f\x6c\145\156\147\164\150"] = ''; } if (isset($this->error["\x69\155\x61\x67\145\137\x63\x61\164\x65\x67\x6f\x72\171"])) { $data["\145\162\162\157\162\137\151\x6d\x61\147\145\x5f\143\141\x74\145\x67\157\162\171"] = $this->error["\151\155\x61\147\145\137\143\141\x74\x65\x67\157\162\x79"]; } else { $data["\145\x72\162\157\x72\137\151\x6d\x61\x67\x65\137\x63\141\164\145\x67\x6f\x72\171"] = ''; } if (isset($this->error["\151\x6d\x61\147\145\137\x6d\141\156\165\146\x61\x63\x74\165\x72\x65\162"])) { $data["\x65\x72\x72\x6f\x72\x5f\x69\x6d\x61\x67\x65\x5f\x6d\x61\x6e\x75\146\x61\143\x74\165\x72\x65\x72"] = $this->error["\x69\155\x61\x67\145\137\155\141\x6e\165\x66\x61\143\x74\165\162\145\162"]; } else { $data["\145\162\x72\x6f\162\137\151\155\141\147\x65\x5f\x6d\x61\156\x75\x66\141\x63\x74\x75\162\x65\162"] = ''; } if (isset($this->error["\x69\x6d\141\147\145\137\164\x68\165\x6d\x62"])) { $data["\145\162\x72\157\162\137\x69\x6d\141\147\x65\x5f\164\x68\165\155\142"] = $this->error["\151\155\141\147\145\x5f\x74\150\x75\x6d\142"]; } else { $data["\145\x72\x72\157\x72\137\x69\x6d\x61\x67\145\137\x74\x68\165\155\x62"] = ''; } if (isset($this->error["\151\155\x61\147\x65\x5f\160\x6f\x70\165\160"])) { $data["\145\162\x72\x6f\162\x5f\x69\155\141\x67\145\137\x70\x6f\x70\165\x70"] = $this->error["\x69\x6d\x61\x67\x65\x5f\160\157\160\165\160"]; } else { $data["\x65\x72\162\x6f\162\137\151\155\141\147\x65\x5f\x70\x6f\160\165\x70"] = ''; } if (isset($this->error["\x69\x6d\x61\147\x65\x5f\x70\162\157\x64\165\143\x74"])) { $data["\x65\162\x72\157\162\x5f\x69\x6d\x61\147\x65\137\x70\162\x6f\144\x75\143\164"] = $this->error["\151\155\141\147\145\137\160\162\157\x64\165\143\x74"]; } else { $data["\145\162\162\x6f\x72\137\151\155\141\x67\145\137\160\x72\x6f\144\165\143\x74"] = ''; } if (isset($this->error["\151\155\x61\147\x65\x5f\141\144\x64\x69\x74\x69\157\x6e\141\154"])) { $data["\x65\x72\x72\x6f\162\137\x69\155\x61\x67\x65\x5f\x61\x64\144\x69\x74\151\157\156\141\154"] = $this->error["\x69\155\x61\x67\145\137\x61\144\144\151\x74\x69\157\156\141\154"]; } else { $data["\145\162\x72\157\162\137\x69\x6d\141\147\x65\x5f\x61\144\144\x69\x74\151\157\x6e\x61\154"] = ''; } if (isset($this->error["\151\155\x61\x67\145\x5f\162\x65\154\x61\164\145\x64"])) { $data["\x65\162\x72\x6f\162\x5f\151\155\x61\x67\x65\137\x72\145\x6c\141\x74\145\x64"] = $this->error["\x69\155\141\147\145\x5f\162\145\x6c\x61\164\x65\x64"]; } else { $data["\145\x72\x72\x6f\162\137\151\x6d\x61\x67\145\x5f\x72\145\x6c\x61\164\x65\144"] = ''; } if (isset($this->error["\x69\155\x61\x67\145\137\x63\157\x6d\x70\141\162\145"])) { $data["\145\162\162\x6f\162\x5f\x69\155\141\x67\145\x5f\143\x6f\x6d\x70\x61\x72\x65"] = $this->error["\151\155\141\x67\x65\137\143\157\x6d\x70\141\x72\145"]; } else { $data["\145\x72\x72\x6f\x72\x5f\x69\155\141\147\x65\137\143\157\x6d\x70\141\x72\x65"] = ''; } if (isset($this->error["\x69\x6d\x61\147\145\137\167\151\x73\x68\154\151\x73\x74"])) { $data["\145\162\162\157\x72\137\151\x6d\x61\x67\145\x5f\167\151\163\150\154\151\x73\164"] = $this->error["\151\x6d\141\147\145\x5f\167\151\x73\x68\154\x69\163\164"]; } else { $data["\x65\x72\162\157\162\x5f\x69\155\141\x67\x65\x5f\x77\x69\x73\x68\x6c\151\163\164"] = ''; } if (isset($this->error["\151\155\x61\147\145\137\x63\x61\162\x74"])) { $data["\145\162\x72\157\x72\x5f\x69\x6d\x61\147\x65\x5f\x63\141\162\164"] = $this->error["\151\155\141\147\x65\137\x63\x61\162\x74"]; } else { $data["\x65\x72\162\157\x72\x5f\x69\155\x61\x67\x65\137\x63\x61\162\x74"] = ''; } if (isset($this->error["\x69\x6d\x61\147\x65\137\x6c\157\143\x61\164\151\157\156"])) { $data["\x65\x72\x72\x6f\x72\x5f\151\155\x61\x67\145\137\154\x6f\x63\141\164\x69\157\x6e"] = $this->error["\151\155\x61\x67\x65\137\154\157\143\141\x74\x69\x6f\x6e"]; } else { $data["\x65\162\162\x6f\x72\x5f\x69\155\x61\147\145\x5f\154\157\143\x61\164\151\x6f\156"] = ''; } $data["\142\x72\x65\x61\144\143\162\x75\155\142\163"] = array(); $data["\x62\162\x65\141\144\x63\x72\165\x6d\142\163"][] = array("\164\145\170\x74" => $this->language->get("\x74\145\170\164\137\150\x6f\x6d\145"), "\x68\162\x65\146" => $this->url->link("\x63\x6f\x6d\x6d\157\156\57\x64\141\163\150\142\157\141\x72\x64", "\165\x73\145\162\x5f\x74\157\153\x65\x6e\x3d" . $this->session->data["\x75\163\x65\162\x5f\x74\x6f\x6b\145\156"], true)); $data["\142\162\145\x61\144\143\x72\165\155\x62\x73"][] = array("\x74\145\x78\164" => $this->language->get("\164\145\x78\164\x5f\x65\x78\x74\145\x6e\163\151\x6f\156"), "\x68\162\145\146" => $this->url->link("\x6d\141\x72\x6b\145\164\160\154\141\143\145\57\145\x78\164\x65\x6e\163\x69\x6f\x6e", "\x75\x73\x65\162\x5f\x74\157\153\x65\x6e\x3d" . $this->session->data["\x75\163\145\162\137\x74\157\x6b\x65\x6e"] . "\x26\164\x79\160\145\x3d\x74\150\145\155\145", true)); $data["\142\x72\145\x61\x64\x63\x72\x75\x6d\x62\163"][] = array("\x74\x65\x78\x74" => $this->language->get("\x68\x65\x61\x64\151\x6e\x67\x5f\x74\151\164\x6c\x65"), "\x68\x72\x65\x66" => $this->url->link("\145\x78\164\145\156\163\x69\x6f\156\57\x74\150\145\155\x65\57\163\x70\x65\145\x64\x79", "\165\163\x65\162\x5f\x74\157\x6b\x65\x6e\x3d" . $this->session->data["\165\163\x65\162\137\164\157\153\x65\156"] . "\46\163\x74\x6f\162\x65\x5f\151\x64\75" . $this->request->get["\x73\x74\157\162\x65\137\151\x64"], true)); $data["\141\x63\164\151\x6f\156"] = $this->url->link("\145\170\x74\145\156\163\151\x6f\156\x2f\x74\x68\145\x6d\x65\x2f\163\160\x65\x65\x64\x79", "\x75\x73\145\x72\137\164\x6f\x6b\145\x6e\75" . $this->session->data["\165\163\145\x72\137\x74\x6f\153\145\x6e"] . "\x26\163\x74\x6f\162\145\137\151\x64\x3d" . $this->request->get["\163\x74\157\162\x65\x5f\x69\144"], true); $data["\143\141\x6e\x63\145\x6c"] = $this->url->link("\x6d\141\162\x6b\145\x74\x70\x6c\x61\x63\145\57\145\x78\x74\145\156\x73\151\157\156", "\165\163\x65\x72\137\x74\x6f\153\145\x6e\x3d" . $this->session->data["\x75\163\x65\162\137\164\x6f\153\x65\156"] . "\x26\164\171\x70\145\x3d\x74\150\x65\x6d\x65", true); if (isset($this->request->get["\x73\164\x6f\162\145\137\x69\144"]) && $this->request->server["\122\105\121\x55\105\x53\124\x5f\115\x45\x54\110\x4f\x44"] != "\x50\x4f\x53\x54") { $setting_info = $this->model_setting_setting->getSetting("\164\150\x65\x6d\x65\137\163\x70\x65\x65\144\171", $this->request->get["\163\164\157\x72\x65\x5f\x69\x64"]); } $data["\x75\163\145\x72\137\164\x6f\x6b\145\x6e"] = $this->session->data["\x75\163\x65\162\137\164\157\x6b\145\x6e"]; $data["\163\160\145\145\x64\171\137\x75\x70\144\x61\x74\145\137\x6c\151\156\153"] = $this->url->link("\x65\170\164\x65\x6e\x73\x69\157\x6e\x2f\x6d\x6f\144\x75\x6c\145\57\x73\160\x65\145\x64\171\x5f\165\x70\x64\x61\164\145", "\x75\163\x65\x72\137\x74\x6f\153\145\156\75" . $this->session->data["\165\163\145\162\137\x74\157\153\145\x6e"], true); if (isset($this->request->post["\x74\150\145\155\145\x5f\163\160\x65\145\x64\x79\137\x64\x69\162\x65\143\164\157\x72\171"])) { $data["\x74\150\x65\155\x65\137\x73\160\x65\145\144\x79\137\x64\151\162\145\143\x74\x6f\x72\171"] = $this->request->post["\x74\150\145\x6d\x65\137\163\160\145\145\x64\171\137\x64\151\x72\x65\x63\164\157\x72\171"]; } elseif (isset($setting_info["\164\x68\x65\x6d\x65\x5f\x73\160\x65\x65\x64\171\137\144\151\x72\145\x63\164\x6f\162\x79"])) { $data["\164\x68\x65\x6d\x65\x5f\163\x70\145\145\144\x79\x5f\x64\x69\x72\x65\143\x74\157\x72\x79"] = $setting_info["\164\150\x65\x6d\145\x5f\x73\160\x65\145\144\171\x5f\x64\x69\162\x65\143\164\x6f\x72\x79"]; } else { $data["\164\x68\x65\155\x65\x5f\163\160\x65\x65\144\171\137\144\x69\162\145\143\x74\x6f\162\171"] = "\x73\x70\145\x65\144\171"; } $data["\x64\x69\x72\145\x63\x74\x6f\x72\151\x65\163"] = array(); $directories = glob(DIR_CATALOG . "\166\151\145\167\57\164\x68\145\x6d\x65\x2f\x2a", GLOB_ONLYDIR); foreach ($directories as $directory) { $data["\144\x69\162\145\143\x74\157\162\x69\x65\x73"][] = basename($directory); } include_once "\163\160\145\x65\144\171\x2f\163\x70\x65\x65\x64\171\x5f\x66\165\156\143\164\151\157\156\x73\56\x70\150\x70"; $data["\160\x6c\x61\x63\x65\x68\157\154\x64\145\162"] = $this->model_tool_image->resize("\156\x6f\137\151\x6d\141\x67\x65\x2e\160\156\147", 100, 100); include_once "\x73\160\x65\x65\x64\x79\x2f\x73\x70\x65\145\x64\x79\137\150\145\154\x70\56\160\150\x70"; } protected function validate() { if (!$this->user->hasPermission("\x6d\157\x64\151\146\171", "\145\170\164\x65\x6e\163\x69\157\x6e\x2f\164\150\145\x6d\145\57\163\160\x65\x65\x64\x79")) { $this->error["\x77\141\162\x6e\151\156\x67"] = $this->language->get("\x65\162\x72\x6f\162\x5f\x70\145\x72\x6d\151\x73\163\x69\x6f\x6e"); } if (!$this->request->post["\x74\150\145\155\145\137\163\160\145\145\144\x79\137\x70\162\x6f\144\x75\143\164\x5f\x6c\x69\155\x69\164"]) { $this->error["\160\162\x6f\x64\165\x63\164\x5f\154\x69\x6d\x69\164"] = $this->language->get("\x65\162\x72\x6f\162\x5f\154\x69\x6d\151\x74"); } if (!$this->request->post["\x74\x68\145\155\145\137\x73\x70\x65\145\x64\x79\x5f\x70\x72\x6f\x64\x75\143\164\x5f\144\x65\x73\143\162\x69\160\164\x69\x6f\x6e\x5f\154\145\x6e\x67\x74\150"]) { $this->error["\160\x72\157\144\x75\143\x74\x5f\x64\145\x73\x63\162\151\x70\x74\151\x6f\x6e\x5f\154\145\x6e\147\x74\x68"] = $this->language->get("\x65\162\162\157\x72\x5f\154\151\x6d\x69\x74"); } if (!$this->request->post["\x74\x68\145\155\x65\x5f\x73\160\x65\x65\144\x79\137\151\x6d\x61\147\x65\x5f\x63\141\164\145\147\x6f\162\171\137\x77\151\x64\x74\x68"] || !$this->request->post["\164\150\145\155\145\137\163\160\145\x65\144\x79\137\x69\155\141\147\x65\x5f\x63\x61\x74\x65\x67\x6f\162\x79\x5f\x68\x65\151\x67\x68\x74"]) { $this->error["\x69\155\x61\x67\x65\x5f\143\x61\164\145\x67\157\x72\x79"] = $this->language->get("\145\x72\162\x6f\x72\x5f\x69\155\x61\x67\145\x5f\x63\141\x74\145\147\x6f\162\171"); } if (!$this->request->post["\164\150\145\x6d\x65\x5f\163\x70\145\145\x64\x79\x5f\151\x6d\x61\147\145\x5f\x6d\141\x6e\165\146\x61\x63\164\x75\162\145\162\137\x77\151\x64\x74\150"] || !$this->request->post["\x74\x68\145\155\x65\x5f\163\x70\x65\145\144\x79\x5f\151\x6d\141\147\x65\137\x6d\141\156\x75\x66\x61\x63\x74\165\x72\145\x72\x5f\150\145\151\x67\150\x74"]) { $this->error["\x69\x6d\x61\147\145\137\x6d\x61\x6e\x75\146\x61\143\x74\x75\162\x65\x72"] = $this->language->get("\145\162\x72\157\162\x5f\151\155\x61\147\145\137\155\x61\156\x75\146\141\x63\x74\x75\162\x65\x72"); } if (!$this->request->post["\164\x68\145\155\x65\x5f\x73\160\145\145\x64\171\137\151\x6d\x61\147\145\137\164\x68\x75\x6d\x62\x5f\x77\151\x64\164\150"] || !$this->request->post["\164\x68\145\155\x65\137\x73\160\145\145\144\171\x5f\x69\x6d\x61\x67\x65\137\x74\x68\x75\x6d\142\x5f\150\x65\151\x67\x68\x74"]) { $this->error["\x69\x6d\141\x67\x65\137\x74\x68\x75\155\142"] = $this->language->get("\145\162\162\157\162\x5f\x69\155\x61\147\x65\137\x74\x68\165\x6d\x62"); } if (!$this->request->post["\164\150\145\x6d\x65\x5f\163\x70\145\x65\x64\x79\x5f\151\155\x61\x67\145\137\160\x6f\160\x75\160\x5f\167\x69\x64\x74\x68"] || !$this->request->post["\x74\x68\145\155\145\x5f\x73\x70\x65\145\x64\x79\137\151\x6d\141\147\145\x5f\160\x6f\160\165\x70\137\150\x65\151\147\x68\164"]) { $this->error["\x69\155\141\x67\145\x5f\x70\x6f\x70\x75\160"] = $this->language->get("\x65\162\x72\x6f\162\x5f\151\155\141\147\x65\x5f\160\x6f\x70\x75\x70"); } if (!$this->request->post["\x74\150\x65\x6d\145\137\x73\x70\x65\x65\x64\171\137\151\x6d\141\147\145\x5f\160\162\157\144\165\143\164\x5f\x77\x69\x64\x74\x68"] || !$this->request->post["\x74\150\145\155\x65\x5f\163\x70\x65\145\x64\x79\x5f\151\x6d\x61\147\145\137\x70\162\x6f\x64\x75\x63\164\137\150\x65\151\x67\150\164"]) { $this->error["\151\155\x61\147\145\x5f\x70\162\x6f\x64\x75\x63\164"] = $this->language->get("\145\x72\162\x6f\162\137\151\x6d\x61\x67\145\137\160\x72\157\x64\x75\143\164"); } if (!$this->request->post["\x74\x68\145\x6d\145\x5f\x73\160\x65\145\x64\171\137\x69\155\x61\147\x65\x5f\x61\144\144\x69\164\151\x6f\156\141\154\x5f\x77\x69\x64\164\150"] || !$this->request->post["\164\150\145\x6d\x65\137\x73\x70\145\x65\x64\171\137\x69\155\141\147\145\x5f\141\144\144\x69\164\151\157\x6e\141\154\137\150\145\151\x67\x68\x74"]) { $this->error["\x69\x6d\x61\147\145\x5f\141\144\144\151\164\151\157\x6e\141\154"] = $this->language->get("\x65\x72\162\157\x72\x5f\x69\155\141\147\145\x5f\x61\x64\x64\x69\164\x69\157\156\x61\154"); } if (!$this->request->post["\x74\x68\x65\155\x65\137\163\160\145\x65\144\x79\x5f\x69\155\x61\x67\145\137\162\145\x6c\x61\164\145\144\137\x77\151\x64\164\150"] || !$this->request->post["\x74\150\145\155\145\x5f\x73\160\x65\x65\144\x79\x5f\x69\155\141\x67\145\137\162\x65\x6c\141\x74\145\x64\137\x68\x65\151\147\x68\164"]) { $this->error["\x69\x6d\x61\x67\145\x5f\x72\145\x6c\141\164\145\x64"] = $this->language->get("\x65\162\162\x6f\x72\x5f\x69\155\x61\147\x65\137\x72\x65\154\141\x74\145\x64"); } if (!$this->request->post["\164\150\x65\x6d\x65\137\163\160\x65\145\144\171\137\x69\155\141\147\x65\137\143\157\155\160\141\162\x65\x5f\x77\x69\144\164\x68"] || !$this->request->post["\164\150\x65\155\x65\137\163\x70\145\145\144\x79\137\x69\155\141\147\x65\137\x63\157\155\x70\x61\162\x65\x5f\x68\145\x69\147\x68\x74"]) { $this->error["\151\x6d\141\147\x65\137\143\x6f\x6d\160\x61\162\145"] = $this->language->get("\145\162\162\157\162\137\151\155\x61\x67\x65\137\x63\157\x6d\160\x61\x72\145"); } if (!$this->request->post["\x74\150\x65\155\x65\137\163\x70\145\x65\144\x79\x5f\x69\155\x61\x67\145\x5f\x77\151\163\150\x6c\x69\163\164\137\167\x69\x64\x74\x68"] || !$this->request->post["\164\x68\145\x6d\x65\x5f\163\x70\145\x65\x64\171\137\x69\x6d\141\147\145\x5f\167\x69\163\150\x6c\x69\163\164\x5f\150\x65\x69\147\x68\x74"]) { $this->error["\x69\155\x61\x67\x65\x5f\167\x69\163\150\154\151\x73\x74"] = $this->language->get("\x65\x72\x72\157\x72\137\151\155\x61\147\145\x5f\x77\x69\x73\150\154\x69\x73\164"); } if (!$this->request->post["\x74\150\145\x6d\145\x5f\163\160\145\145\144\x79\x5f\x69\x6d\141\x67\145\137\143\x61\x72\164\137\167\151\144\x74\x68"] || !$this->request->post["\164\150\145\155\145\137\163\160\x65\x65\x64\171\x5f\x69\x6d\141\x67\x65\x5f\143\x61\162\x74\137\x68\x65\151\147\x68\x74"]) { $this->error["\x69\x6d\141\147\145\137\143\141\x72\164"] = $this->language->get("\145\x72\x72\x6f\x72\137\151\155\x61\x67\x65\137\x63\141\162\164"); } if (!$this->request->post["\x74\150\145\155\145\x5f\163\x70\x65\145\144\x79\x5f\151\155\x61\x67\145\137\154\157\143\x61\x74\x69\157\x6e\x5f\x77\x69\144\x74\150"] || !$this->request->post["\x74\150\145\x6d\145\137\x73\x70\145\145\144\x79\137\151\155\141\147\145\137\154\157\x63\141\164\x69\157\x6e\137\150\x65\151\x67\x68\x74"]) { $this->error["\151\155\x61\x67\x65\137\154\x6f\x63\x61\x74\x69\x6f\x6e"] = $this->language->get("\145\162\162\157\x72\137\x69\x6d\141\147\x65\137\x6c\157\143\x61\164\x69\157\x6e"); } return !$this->error; } public function install() { $this->load->model("\x65\170\164\x65\156\163\x69\x6f\x6e\x2f\164\x68\145\155\145\x2f\x73\160\x65\145\144\171"); $this->model_extension_theme_speedy->install(); } }
Function Calls
None |
Stats
MD5 | d50ac1e84c16b03a3fe8cb342177eeca |
Eval Count | 0 |
Decode Time | 58 ms |