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("DVY1rsWKEd1Lqv/lwkxKZWZmN5GZ2de0+rwNjEaHqysb/2m+bq7H7K..
Decoded Output download
<?php
include_once(\'./_common.php\');
define(\'_INDEX_\', true);
if(!defined(\'THEMA_PATH\')) {
include_once(G5_LIB_PATH.\'/apms.thema.lib.php\');
}
// Page Iframe Modal
if(APMS_PIM) {
include_once(G5_PATH.\'/head.sub.php\');
@include_once(THEMA_PATH.\'/head.sub.php\');
return;
}
echo \"################################\";
//Change Mode
$as_href[\'pc_mobile\'] = (G5_DEVICE_BUTTON_DISPLAY) ? get_device_change_url() : \'\';
// Head Sub
include_once(G5_PATH.\'/head.sub.php\');
include_once(G5_LIB_PATH.\'/latest.lib.php\');
$page_title = apms_fa($page_title);
$page_desc = apms_fa($page_desc);
$menu = apms_auto_menu();
$menu = apms_multi_menu($menu, $at[\'id\'], $at[\'multi\']);
if($is_member) thema_member();
//Statistics
$stats = apms_stats();
include_once(G5_PATH.\'/head.ani.php\');
?>
<?php //echo latest(\"simpleslide\", \"main_banner\", 2,25); ?>
<div style=\"height:30px\"></div>
<?php //echo latest(\"color_effect_pic1\", \"catconNotice\",4,25); ?>
<i class=\"fixed_transform simple icon-user\"></i>
<?php
//Level Up
if($member[\'mb_id\']) {
//Auto Grade
if($xp[\'xp_from\'] > 1 && $xp[\'xp_to\'] >= $xp[\'xp_from\']) {
if($member[\'mb_level\'] >= $xp[\'xp_from\'] && $member[\'mb_level\'] <= $xp[\'xp_to\']) {
$level = $member[\'mb_level\'];
$n = 1;
for($i = $xp[\'xp_from\']; $i <= $xp[\'xp_to\']; $i++) {
$g = \'xp_auto\'.$n;
if($member[\'as_level\'] < $xp[$g]) {
$level = $i;
break;
}
$n++;
}
if($level == $member[\'mb_level\']) {
;
} else {
$member[\'as_msg\'] = ($member[\'mb_level\'] > $level) ? 4 : 3; //3 : , 4 :
$member[\'mb_level\'] = $level;
}
}
}
switch($member[\'as_msg\']) { //Message
case \'1\' : $levelup_msg = \"! \".$member[\'as_level\'].\" .\"; break;
case \'2\' : $levelup_msg = $member[\'as_level\'].\" .\"; break;
case \'3\' : $mg = \'xp_grade\'.$member[\'mb_level\']; $levelup_msg = $xp[$mg].\"(\".$member[\'mb_level\'].\") .\"; break;
case \'4\' : $mg = \'xp_grade\'.$member[\'mb_level\']; $levelup_msg = $xp[$mg].\"(\".$member[\'mb_level\'].\") .\"; break;
}
if($member[\'as_msg\']) {
//
sql_query(\" update {$g5[\'member_table\']} set mb_level = \'{$member[\'mb_level\']}\', as_msg = \'0\' where mb_id = \'{$member[\'mb_id\']}\' \", false);
//
change_xp($member[\'mb_id\'], $member[\'as_level\']);
echo \"<script> alert(\'\".$levelup_msg.\"\');</script>\";
}
}
if(IS_SHOP) echo \'<script src=\"\'.G5_JS_URL.\'/sns.js\"></script>\'.PHP_EOL;
if(USE_G5_THEME && defined(\'G5_THEME_PATH\')) {
require_once(G5_THEME_PATH.\'/tail.php\');
return;
}
if (isset($config[\'cf_analytics\']) && $config[\'cf_analytics\']) {
echo $config[\'cf_analytics\'];
}
// Page Iframe Modal
if(APMS_PIM) {
@include_once(THEMA_PATH.\'/tail.sub.php\');
include_once(G5_PATH.\'/tail.sub.php\');
return;
}
if(IS_SHOP) {
if(file_exists(THEMA_PATH.\'/shop.tail.php\')) {
include_once(THEMA_PATH.\'/shop.tail.php\');
} else {
include_once(THEMA_PATH.\'/tail.php\');
}
} else {
if(file_exists(THEMA_PATH.\'/tail.php\')) {
include_once(THEMA_PATH.\'/tail.php\');
} else {
include_once(THEMA_PATH.\'/shop.tail.php\');
}
}
include_once(G5_PATH.\"/tail.sub.php\");
?>
Did this file decode correctly?
Original Code
<?php eval(gzinflate(base64_decode("DVY1rsWKEd1Lqv/lwkxKZWZmN5GZ2de0+rwNjEaHqysb/2m+bq7H7Kz+ybOjIrD/lVWxlNU//xHTChZ+jyYMPoiHM9o29/MUSZZMW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rzz3G4GKnAVELBhJdi12GMA2gIa9rYY99sMC9HMQY7h5BMfLNFx/6DtWJJgyQuJh+ZnvE55/vEIaHOiPgB4B+NePmGkTkcAGqDkiF84Mn3Z6y9GQLd4qnbAh40a5U3ARMCxedr+BehKnOJb/ESdc95Y8E4QCt8pM7hsq2lEZNUwK/SrczZ7ytYn40jC1lX1Kjhd8StGgPPcX0sGziHDHqpjXwygKAuCFkjNI8f/5999///t/"))); ?>
Function Calls
strrev | 6 |
gzinflate | 18 |
base64_decode | 18 |
Stats
MD5 | d2582249ff5d91b0c534bfde22d7c96a |
Eval Count | 18 |
Decode Time | 125 ms |