mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
18 lines
410 B
PHP
18 lines
410 B
PHP
<?php
|
|
|
|
use App\Models\Category;
|
|
use Blacklight\http\BasePage;
|
|
|
|
require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'resources/views/themes/smarty.php';
|
|
|
|
$page = new BasePage();
|
|
$page->setAdminPrefs();
|
|
$page->title = 'Category List';
|
|
|
|
$categorylist = Category::getFlat();
|
|
|
|
$page->smarty->assign('categorylist', $categorylist);
|
|
|
|
$page->content = $page->smarty->fetch('category-list.tpl');
|
|
$page->adminrender();
|