mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 13:01:33 +00:00
e88ddbf0ac
[ci skip] [skip ci]
34 lines
851 B
PHP
34 lines
851 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Models\Group;
|
|
|
|
class BrowseGroupController extends BasePageController
|
|
{
|
|
/**
|
|
* @throws \Exception
|
|
*/
|
|
public function show()
|
|
{
|
|
$this->setPrefs();
|
|
$groupList = Group::getGroupsRange(false, false, '', true);
|
|
$this->smarty->assign('results', $groupList);
|
|
|
|
$meta_title = 'Browse Groups';
|
|
$meta_keywords = 'browse,groups,description,details';
|
|
$meta_description = 'Browse groups';
|
|
|
|
$content = $this->smarty->fetch('browsegroup.tpl');
|
|
$this->smarty->assign(
|
|
[
|
|
'content' => $content,
|
|
'meta_title' => $meta_title,
|
|
'meta_keywords' => $meta_keywords,
|
|
'meta_description' => $meta_description,
|
|
]
|
|
);
|
|
$this->pagerender();
|
|
}
|
|
}
|