This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/main/news.php

20 lines
364 B
PHP
Raw Normal View History

2015-04-02 13:41:05 +00:00
<?php
/*
* Sakura News Page
*/
// Declare Namespace
namespace Sakura;
// Include components
require_once '/var/www/flashii.net/_sakura/sakura.php';
// Add page specific things
$renderData['page'] = [
'title' => 'Flashii News'
];
$renderData['newsPosts'] = Main::getNewsPosts();
// Print page contents
print Main::tplRender('main/news.tpl', $renderData);