mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 08:01:27 +00:00
27 lines
701 B
PHP
27 lines
701 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Models\UsenetGroup;
|
|
|
|
class BrowseGroupController extends BasePageController
|
|
{
|
|
/**
|
|
* @throws \Exception
|
|
*/
|
|
public function show(): void
|
|
{
|
|
$this->setPreferences();
|
|
$groupList = UsenetGroup::getGroupsRange('', 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(compact('content', 'meta_title', 'meta_keywords', 'meta_description'));
|
|
$this->pagerender();
|
|
}
|
|
}
|