Guest User

Untitled

a guest
May 26th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 15.05.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. require_once __DIR__ . '/../../includes/admin.php';
  15. require_once __DIR__ . '/../../../includes/permalinks.php';
  16. require_once __DIR__ . '/../../../db/dbTableApplication.php';
  17. require_once __DIR__ . '/../../../db/dbTableDomains.php';
  18.  
  19. if (DBTableApplication::isManaged()) {
  20. $host = Permalinks::getCurrentHost();
  21.  
  22. if (strpos($host, DBTableDomains::MANAGED_DASH_PREFIX) !== 0) {
  23. $requiredLoginDomain = DBTableDomains::getRegisteredDomain();
  24.  
  25. if (strpos($requiredLoginDomain, DBTableDomains::MANAGED_DASH_PREFIX) === false) {
  26. Cache::quickFlush();
  27. $requiredLoginDomain = DBTableDomains::MANAGED_DASH_PREFIX . $requiredLoginDomain;
  28. }
  29.  
  30. $scheme = Permalinks::getScheme();
  31. echo '<h1>Please login through <a href=\'' . $scheme . $requiredLoginDomain . '/admin/\'>' . $scheme . $requiredLoginDomain . '/admin</a></h1>';
  32. exit();
  33. }
  34. }
  35.  
  36. echo "\n" . '<!doctype html>' . "\n" . '<html xmlns="http://www.w3.org/1999/xhtml">' . "\n\n" . '<head>' . "\n" . ' <meta charset="utf-8" />' . "\n" . ' <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />' . "\n" . ' <meta name="viewport" content="width=device-width, initial-scale=1.0" />' . "\n" . ' <meta name="robots" content="noindex, nofollow" />' . "\n\n" . ' <link rel="shortcut icon" href="images/favicon.png" type=\'image/x-icon\'>' . "\n" . ' <link rel="stylesheet" type="text/css" href="libs/notification_menu/css/style_light.css?v=';
  37. echo $filesVersion;
  38. echo '">' . "\n" . ' <link rel="stylesheet" href="css/ionicons.css?v=';
  39. echo $filesVersion;
  40. echo '" />' . "\n" . ' <script src="libs/fontsmoothie.min.js"></script>' . "\n\n" . ' <link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i" rel="stylesheet">' . "\n" . ' <link rel="stylesheet" href="libs/gridstack/src/gridstack.css?v=';
  41. echo $filesVersion;
  42. .......................................................
  43. .............................
  44. ..............
Add Comment
Please, Sign In to add comment