mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
33 lines
676 B
PHP
33 lines
676 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Admin;
|
|
|
|
use App\Http\Controllers\BasePageController;
|
|
use App\Models\Release;
|
|
|
|
class FailedReleasesController extends BasePageController
|
|
{
|
|
/**
|
|
* @throws \Exception
|
|
*/
|
|
public function index()
|
|
{
|
|
$this->setAdminPrefs();
|
|
|
|
$title = 'Failed Releases List';
|
|
|
|
$frellist = Release::getFailedRange();
|
|
$this->smarty->assign('releaselist', $frellist);
|
|
|
|
$content = $this->smarty->fetch('failrel-list.tpl');
|
|
|
|
$this->smarty->assign(
|
|
[
|
|
'title' => $title,
|
|
'content' => $content,
|
|
]
|
|
);
|
|
$this->adminrender();
|
|
}
|
|
}
|