'; - if ($GLOBALS['config']['onlyThumb'] === false) { - echo '
'; - } - echo ''; -} diff --git a/inc/install.php b/inc/install.php deleted file mode 100644 index 7d205bf..0000000 --- a/inc/install.php +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/inc/login.php b/inc/login.php deleted file mode 100644 index 82608b9..0000000 --- a/inc/login.php +++ /dev/null @@ -1,11 +0,0 @@ - \ No newline at end of file diff --git a/index.php b/index.php deleted file mode 100644 index 6dd6b0d..0000000 --- a/index.php +++ /dev/null @@ -1,608 +0,0 @@ - '120x90', - 'm' => '200x160', - 'l' => '300x240', - 'xl' => '400x320', - 'xxl' => '500x400' -); -// Remove image older than 12 hours -$GLOBALS['config']['expireCache'] = 12; -// Disable exec command and use cron task -$GLOBALS['config']['disableExec'] = true; -// Enable log for success, suspect, error -$GLOBALS['config']['log'] = false; - -if (file_exists('cache/config/options.php')) { - require 'cache/config/options.php'; -} - -if (get_magic_quotes_gpc()) { - function stripslashes_deep($value) { - $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); - return $value; - } - - $_POST = array_map('stripslashes_deep', $_POST); - $_GET = array_map('stripslashes_deep', $_GET); - $_COOKIE = array_map('stripslashes_deep', $_COOKIE); -} - -if (!empty($_POST)) { - $ui = $_POST; - $ui['request'] = 'form'; - $ui['iw'] = 1; - unset($_POST); -} -if (!empty($_GET)) { - $ui = $_GET; - $ui['request'] = 'api'; - unset($_GET); -} - -if (empty($ui['request'])) { - $ui['request'] = ''; -} - -if (empty($ui['p'])) { - $ui['p'] = 'index'; -} - -if (empty($ui['fr'])) { - $ui['fr'] = ''; -} - -if (isset($ui['logout']) && (int)$ui['logout'] === 1) { - session_destroy(); - header("Location:?"); - exit(); -} - -if (!file_exists('cache/config/genConf.php')) { - $serverKey = install(); - $ui['p'] = 'install'; -} - -require 'cache/config/genConf.php'; - -if ($GLOBALS['config']['pwd'] === 'install' && $ui['p'] !== 'install') { - reloadInstall(); - header("Location:?"); -} - -if (($GLOBALS['config']['onlyLocalServer'] === true && $_SERVER['REMOTE_ADDR'] !== '127.0.0.1') || checkIfBan() === true) { - header("HTTP/1.0 404 Not Found"); - echo "Domain | +Created | +Complete | +Full | +HD | +nHD | +Thumb | +Favicon | +Og | +|
= Domains::getDomain($value->url); ?> | += $value->created; ?> | += ConvertStatus::convertToIcon($value->complete); ?> | += ConvertStatus::convertToIcon($value->full); ?> | += ConvertStatus::convertToIcon($value->hd); ?> | += ConvertStatus::convertToIcon($value->nhd); ?> | += ConvertStatus::convertToIcon($value->thumb); ?> | += ConvertStatus::convertToIcon($value->fav); ?> | += ConvertStatus::convertToIcon($value->og); ?> | += ConvertStatus::convertToIcon($value->pdf); ?> | +