mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 22:01:30 +00:00
24fa162413
[ci skip] [skip ci]
19 lines
353 B
PHP
19 lines
353 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
|
|
|
|
use nntmux\Category;
|
|
|
|
$page = new AdminPage();
|
|
|
|
$category = new Category();
|
|
|
|
$page->title = 'Category List';
|
|
|
|
$categorylist = $category->getFlat();
|
|
|
|
$page->smarty->assign('categorylist', $categorylist);
|
|
|
|
$page->content = $page->smarty->fetch('category-list.tpl');
|
|
$page->render();
|