svrjs-mods-directory/includes/page_modremoved.php

22 lines
720 B
PHP
Raw Permalink Normal View History

2024-12-27 15:05:54 +01:00
<?php
if (!defined('SVRJS_MOD_DIRECTORY')) die;
$pageTitle = "Mod removed";
$pageDescription = "Mod removed";
include 'header.php';
?>
<main class="content">
<h1>Mod removed</h1>
<p><?php
if ($modData['is_user_suspended']) {
echo 'The mod is unavailable due to its publisher being suspended.';
} elseif ($modData['is_user_deleted']) {
echo 'The mod is unavailable due to its publisher being deleted.';
} else {
echo 'The mod has been removed either by user or by moderator.';
}
?></p>
<p><a href="<?php echo htmlspecialchars(URL_REWRITTEN ? APP_ROOT : APP_ROOT . APP_FILENAME . '/') ?>" class="btn">Return to home</a></p>
</main>
<?php
include 'footer.php';
?>