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 namespace DiegoLeite; class IncludeFiles { public static function Templa..
Decoded Output download
<?php
namespace DiegoLeite;
class IncludeFiles
{
public static function Template($expression)
{
$filesinclude = explode('@', $expression, 2);
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/head.php';
include_once 'controllers/' . $filesinclude[1] . '.php';
include_once 'controllers/sidebar.php';
include_once 'views/default/header.php';
include_once 'views/default/sidebar.php';
include_once 'views/' . $filesinclude[0] . '.php';
include_once 'views/default/footer.php';
/*print_r($_SESSION);*/
/*$content = ob_get_flush();*/
/*return $content->render();*/
/*ob_end_clean();*/
}
public static function Authentication($expression)
{
$filesinclude = $expression;
/* ob_start();*/
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/head.php';
include_once 'controllers/authentication/' . $filesinclude . '.php';
include_once 'views/authentication/header.php';
include_once 'views/authentication/' . $filesinclude . '.php';
include_once 'views/authentication/footer.php';
/* $content = ob_get_contents();
return $content;*/
/*ob_end_clean();*/
}
public static function CallBack($expression)
{
$filesinclude = $expression;
/* ob_start();*/
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/head.php';
include_once 'controllers/callback-' . $filesinclude . '.php';
/* $content = ob_get_contents();
return $content;*/
}
public static function AuthenticationValidator($expression)
{
$filesinclude = $expression;
/* ob_start();*/
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/head.php';
include_once 'controllers/authentication/' . $filesinclude . '.php';
/* $content = ob_get_contents();
return $content;*/
}
public static function Request($expression)
{
$filesinclude = explode('@', $expression, 2);
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/auth.php';
include_once 'controllers/request/' . $filesinclude[1] . '/' . $filesinclude[0] . '.php';
}
public static function TemplateView($expression)
{
$filesinclude = explode('@', $expression, 2);
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/data.php';
include_once 'controllers/functions.php';
include_once 'controllers/' . $filesinclude[1] . '.php';
include_once 'views/default/header.php';
include_once 'views/' . $filesinclude[0] . '.php';
include_once 'views/default/footer.php';
}
public static function Error($expression)
{
$filesinclude = $expression;
/* ob_start();*/
if ($filesinclude == '404') {
header('HTTP/1.0 404 Not Found');
$errortitle = 'Not Found';
$error_number = '404';
$error_text = 'Not Found';
} elseif ($filesinclude == '403') {
header('HTTP/1.0 403 Forbidden');
$errortitle = 'Forbidden';
$error_number = '403';
$error_text = 'Forbidden';
} else {
header('HTTP/1.0 404 Not Found');
$errortitle = 'Not Found';
$error_number = '404';
$error_text = 'Not Found';
}
include_once 'controllers/data.php';
include_once 'views/error.php';
/* $content = ob_get_contents();
return $content;*/
/*ob_end_clean();*/
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace DiegoLeite;
class IncludeFiles
{
public static function Template($expression)
{
$filesinclude = explode('@', $expression, 2);
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/head.php';
include_once 'controllers/' . $filesinclude[1] . '.php';
include_once 'controllers/sidebar.php';
include_once 'views/default/header.php';
include_once 'views/default/sidebar.php';
include_once 'views/' . $filesinclude[0] . '.php';
include_once 'views/default/footer.php';
/*print_r($_SESSION);*/
/*$content = ob_get_flush();*/
/*return $content->render();*/
/*ob_end_clean();*/
}
public static function Authentication($expression)
{
$filesinclude = $expression;
/* ob_start();*/
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/head.php';
include_once 'controllers/authentication/' . $filesinclude . '.php';
include_once 'views/authentication/header.php';
include_once 'views/authentication/' . $filesinclude . '.php';
include_once 'views/authentication/footer.php';
/* $content = ob_get_contents();
return $content;*/
/*ob_end_clean();*/
}
public static function CallBack($expression)
{
$filesinclude = $expression;
/* ob_start();*/
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/head.php';
include_once 'controllers/callback-' . $filesinclude . '.php';
/* $content = ob_get_contents();
return $content;*/
}
public static function AuthenticationValidator($expression)
{
$filesinclude = $expression;
/* ob_start();*/
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/custom.php';
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/head.php';
include_once 'controllers/authentication/' . $filesinclude . '.php';
/* $content = ob_get_contents();
return $content;*/
}
public static function Request($expression)
{
$filesinclude = explode('@', $expression, 2);
include_once 'controllers/data.php';
include_once 'controllers/database/mysql.php';
include_once 'controllers/functions.php';
include_once 'controllers/auth.php';
include_once 'controllers/request/' . $filesinclude[1] . '/' . $filesinclude[0] . '.php';
}
public static function TemplateView($expression)
{
$filesinclude = explode('@', $expression, 2);
$PAGECONFIG = $filesinclude[0];
include_once 'controllers/data.php';
include_once 'controllers/functions.php';
include_once 'controllers/' . $filesinclude[1] . '.php';
include_once 'views/default/header.php';
include_once 'views/' . $filesinclude[0] . '.php';
include_once 'views/default/footer.php';
}
public static function Error($expression)
{
$filesinclude = $expression;
/* ob_start();*/
if ($filesinclude == '404') {
header('HTTP/1.0 404 Not Found');
$errortitle = 'Not Found';
$error_number = '404';
$error_text = 'Not Found';
} elseif ($filesinclude == '403') {
header('HTTP/1.0 403 Forbidden');
$errortitle = 'Forbidden';
$error_number = '403';
$error_text = 'Forbidden';
} else {
header('HTTP/1.0 404 Not Found');
$errortitle = 'Not Found';
$error_number = '404';
$error_text = 'Not Found';
}
include_once 'controllers/data.php';
include_once 'views/error.php';
/* $content = ob_get_contents();
return $content;*/
/*ob_end_clean();*/
}
}
?>
Function Calls
None |
Stats
MD5 | 188dd0995709e8edaa6f31f3fb1566aa |
Eval Count | 0 |
Decode Time | 49 ms |