-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-> Done #79
- Loading branch information
Showing
8 changed files
with
258 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE `mythicaldash_settings` ADD `enable_adblocker_detection` ENUM('true','false') NOT NULL AFTER `enable_ads`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
use MythicalDash\SettingsManager; | ||
http_response_code(401); | ||
?> | ||
<!DOCTYPE html> | ||
|
||
<html lang="en" class="dark-style customizer-hide" dir="ltr" data-theme="theme-semi-dark" | ||
data-assets-path="<?= $appURL ?>/assets/" data-template="vertical-menu-template"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" | ||
content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" /> | ||
<title> | ||
<?= SettingsManager::getSetting("name") ?> - Not Allowed | ||
</title> | ||
<?php include(__DIR__ . '/../requirements/head.php'); ?> | ||
<link rel="stylesheet" href="<?= $appURL ?>/assets/vendor/css/pages/page-misc.css" /> | ||
</head> | ||
|
||
<body> | ||
<div id="preloader" class="discord-preloader"> | ||
<div class="spinner"></div> | ||
</div> | ||
<div class="container-xxl container-p-y"> | ||
<div class="misc-wrapper"> | ||
<h2 class="mb-1 mx-2">Please disable your adblocker!</h2> | ||
<p class="mb-4 mx-2"> | ||
You do not have permission to view this page. It is really sad when you try to use an adblocker on a free host! <br /> | ||
</p> | ||
<a href="/" class="btn btn-primary mb-4">Back to home</a> | ||
<div class="mt-4"> | ||
<img src="<?= $appURL ?>/assets/img/illustrations/page-misc-you-are-not-authorized.png" | ||
alt="page-misc-not-authorized" width="170" class="img-fluid" /> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container-fluid misc-bg-wrapper"> | ||
<img src="<?= $appURL ?>/assets/img/illustrations/bg-shape-image-light.png" alt="page-misc-not-authorized" | ||
data-app-light-img="illustrations/bg-shape-image-light.png" | ||
data-app-dark-img="illustrations/bg-shape-image-dark.png" /> | ||
</div> | ||
<?php include(__DIR__ . '/../requirements/footer.php'); ?> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters