mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
22 lines
468 B
PHP
Executable File
22 lines
468 B
PHP
Executable File
<?php
|
|
|
|
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
|
|
|
|
use App\Models\Release;
|
|
|
|
|
|
|
|
|
|
$success = false;
|
|
|
|
if (request()->has('id')) {
|
|
$success = Release::removeVideoIdFromReleases(request()->input('id'));
|
|
$page->smarty->assign('videoid', request()->input('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();
|