Beispiel #1
0
<?php

require_once "config.php";
require_once WWW_DIR . "/lib/adminpage.php";
require_once WWW_DIR . "/lib/content.php";
$page = new AdminPage();
$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();