mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
17 lines
325 B
PHP
17 lines
325 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
|
|
|
|
use Blacklight\Contents;
|
|
|
|
|
|
|
|
$contents = new Contents();
|
|
$contentlist = $contents->getAll();
|
|
$page->smarty->assign('contentlist', $contentlist);
|
|
|
|
$page->title = 'Content List';
|
|
|
|
$page->content = $page->smarty->fetch('content-list.tpl');
|
|
$page->render();
|