<div class="content"> <h1>Apps</h1> <p>Disable or Remove installed apps. You can find and install more Apps from <a href="<?php echo L_URL; ?> /admin/lobby-store.php">Lobby Store</a>.</p> <?php if (isset($_GET['action']) && isset($_GET['app']) && H::csrf()) { $action = $_GET['action']; $app = $_GET['app']; $App = new \Lobby\Apps($app); if (!$App->exists) { ser("Error", "I checked all over, but App does not Exist"); } if ($action == "disable") { if ($App->disableApp()) { sss("Disabled", "The App <strong>{$app}</strong> has been disabled."); } else { ser("Error", "The App <strong>{$app}</strong> couldn't be disabled. Try again.", false); } } else { if ($action == "remove") { ?> <h2>Confirm</h2> <p>Are you sure you want to remove the app <b><?php echo $app; ?> </b> ?</p> <div clear></div> <a class="button green" href="<?php echo L_URL . "/admin/install-app.php?action=remove&id={$app}&" . H::csrf("g");