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 eval(gzinflate(base64_decode('nVZNaxsxEL33V4hQsvahoVDoISY9JCStoWkKbpLDEoysnbWFZe2ij7..

Decoded Output download


 class S360ElementHeaderUsp extends S360Element { protected function prepareSmarty() { $this->prepareBasicVariables(); $this->prepareColors(); $this->prepareCertificationItems(); $this->prepareUspTextItems(); $this->prepareUspMenuItems(); return null; } public function init() { $this->type = "headerUsp"; $this->templateFile = "header_usp.tpl"; $this->isCacheable = true; return null; } protected function prepareBasicVariables() { $this->smartyConfig['showBottomLine'] = $this->config['content']['bottomLineEnabled']; $this->smartyConfig['sticky'] = $this->config['content']['sticky']; return null; } protected function prepareColors() { $this->smartyConfig['colors'] = array(); if (isset($this->config['content']['customColorsEnabled']) && $this->config['content']['customColorsEnabled']) { $this->smartyConfig['colors']['enabled'] = true; $this->smartyConfig['colors']['background'] = $this->config['content']['colorBackground']; $this->smartyConfig['colors']['font'] = $this->config['content']['colorFont']; $this->smartyConfig['colors']['bottomLine'] = $this->config['content']['colorBottomLine']; } else { $this->smartyConfig['colors']['enabled'] = false; } return null; } protected function prepareCertificationItems() { if (isset($this->config['content']['certificationItems'])) { $certificationItems = $this->config['content']['certificationItems']; $this->smartyConfig['certificationItems'] = array(); foreach ($certificationItems as $certificationItem) { if ($certificationItem['active']) { $certificationItemProcessed = array(); $certificationItemProcessed['text'] = $this->resolveMultilanguageTextValue($certificationItem['text']); $certificationItemProcessed['link'] = $this->resolveLink($certificationItem['linkUrl']); if ($certificationItem['image']['visible']) { $certificationItemProcessed['image'] = $this->resolveImage($certificationItem['image']); } $this->smartyConfig['certificationItems'][] = $certificationItemProcessed; } } } return null; } protected function prepareUspTextItems() { $uspTextItems = $this->config['content']['uspTextItems']; $this->smartyConfig['uspTextItems'] = array(); foreach ($uspTextItems as $uspTextItem) { if ($uspTextItem['active']) { $uspTextItemProcessed = array(); if (isset($uspTextItem['link'])) { $uspTextItemProcessed['url'] = $this->resolveLink($uspTextItem['link']); } else { $uspTextItemProcessed['url'] = ''; } $uspTextItemProcessed['icon'] = $this->resolveIcon($uspTextItem['icon']); $uspTextItemProcessed['text'] = $this->resolveMultilanguageTextValue($uspTextItem['text']); $this->smartyConfig['uspTextItems'][] = $uspTextItemProcessed; } } return null; } protected function prepareUspMenuItems() { $uspMenuItems = $this->config['content']['uspMenuItems']; $this->smartyConfig['uspMenuItems'] = array(); foreach ($uspMenuItems as $uspMenuItem) { if ($uspMenuItem['active']) { $uspMenuItemProcessed = array(); $uspMenuItemProcessed['text'] = $this->resolveMultilanguageTextValue($uspMenuItem['text']); $uspMenuItemProcessed['link_group'] = $this->resolveLinkGroup($uspMenuItem['linkGroupId']); $this->smartyConfig['uspMenuItems'][] = $uspMenuItemProcessed; } } return null; } protected function generateCacheId() { $cacheId = parent::generateCacheId(); if ($cacheId === null) { return null; } if (isset($_SESSION['Waehrung']) && isset($_SESSION['Waehrung']->cISO)) { $cacheId = $cacheId . '_' . $_SESSION['Waehrung']->cISO; } return $cacheId; } } 

Did this file decode correctly?

Original Code

<?php eval(gzinflate(base64_decode('nVZNaxsxEL33V4hQsvahoVDoISY9JCStoWkKbpLDEoysnbWFZe2ij7Sm5L9X2k95V9q1e0nTmTdvnmbeKnqHCMNSosWnzx9vGeyAq2+AExCPMkfwRwFPDpLoL8pFpoAoSFCqOVE04yYEORaw2GGh9pOpAb1XGyo/fKkS11hS8oQFxSsGcjKddfI3GcuELw5C0ZQSbLvMFew8GCP0lxEazt4D101WgNKCI64Zm6E3lOsVo6Q9COVUufrVPgd0hc429UzOmgaGMWdYwR1lDmSpZX6hctbiqLzBxCRXBUwJDX0VwYl2B9cqk8WsbzKe0nUcyU32+zpTKtt9pxyiF9OpwpEKYf41y1TRSxytGuAtt7xJ9DIL0CpKtvsRuhp0wrHqfYeOQ4p80RcLgfd2czRFEyolqElYCtHSnKxkb842RefnA/IDNSPK4ghqbLPVkYIVJtu1yDRPRgZalFw76FHqNLOV46R3BW5c6bFOKpU6aLt2YBJOG1+KTYktPd5AnovB9DzKI71Ss+5i3/3M8OE9RKHReqCut9NMgLkk0MSnAUuPtPq0/UwcYTOqV6hM3Mv/FBkBM6PEFTAAiyNlrlfXCAJkxl7hXjNFGeZrjddgr+AnzDR4FZUMY30Y5VtPH+OsrZfV4h8FK4hDs6A7I85u65VKagw3OpWmpKdjbuNDTabWs0fvPy46hIVYsrdTvonDP4T2lNqJDFrZBQZNfAjy2/egozWuE2gs68Q6ZnUyXps63/cBSemcaZDDiLc+CVjLR+VeZMOMUVSs3Q+iZsg+K5lwp2+JtJ+In+nEj/CAu/38xvda2tKnYXayHZ2XVzXHJjJmxwY4ZEcHFLRj27GyYx1w7VjH+nasM/5b0wf4n1W1/dtV+bmtPZf2XZAH7PzV5jqkrI7Pk0EbOPNsbNDTcKwN1sBBmPdx8fqdJ6UFSPkfw20twtXlZQ9W3+U18uqq6GLLO02d22C5uF0s5g8/4ugZw0Zovq7efQN5Y7354mHa0dX8eoGiZWR+DtQ6T5a6rJzOPw==')));

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 5731a489539587e103fa12856a4c41db
Eval Count 1
Decode Time 92 ms