You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
488 B
20 lines
488 B
<?php
|
|
require_once './config.php';
|
|
|
|
use nzedb\Releases;
|
|
|
|
$page = new AdminPage();
|
|
$releases = new Releases(['Settings' => $page->settings]);
|
|
|
|
$success = false;
|
|
|
|
if (isset($_GET["id"])) {
|
|
$success = $releases->removeVideoIdFromReleases($_GET["id"]);
|
|
$page->smarty->assign('videoid', $_GET["id"]);
|
|
}
|
|
|
|
$page->smarty->assign('success', $success);
|
|
|
|
$page->title = "Remove Video and Episode IDs from Releases";
|
|
$page->content = $page->smarty->fetch('show-remove.tpl');
|
|
$page->render();
|
|
|