mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
21 lines
534 B
PHP
21 lines
534 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'resources/views/themes/smarty.php';
|
|
|
|
use App\Models\Release;
|
|
use Blacklight\http\AdminPage;
|
|
|
|
$page = new AdminPage();
|
|
|
|
$success = false;
|
|
|
|
if (request()->has('id')) {
|
|
$success = Release::removeAnidbIdFromReleases(request()->input('id'));
|
|
$page->smarty->assign('anidbid', request()->input('id'));
|
|
}
|
|
$page->smarty->assign('success', $success);
|
|
|
|
$page->title = 'Remove anidbID from Releases';
|
|
$page->content = $page->smarty->fetch('anidb-remove.tpl');
|
|
$page->render();
|