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/index.php

20 lines
366 B
PHP
Raw Normal View History

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