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
402 B
PHP
Raw Normal View History

<?php
/*
2015-03-29 03:16:42 +00:00
* Sakura Main Index
*/
// Declare Namespace
2015-03-25 09:59:10 +00:00
namespace Sakura;
2015-03-08 08:37:12 +00:00
// Include components
2015-03-29 21:07:55 +00:00
require_once '/var/www/flashii.net/_sakura/sakura.php';
2015-04-01 15:15:12 +00:00
print 'yeah';
// Add page specific things
$renderData['page'] = [
'title' => 'Flashii Dev'
];
2015-03-29 20:54:30 +00:00
$renderData['newsPosts'] = Main::getNewsPosts(3);
// Print page contents
print Main::$_TPL->render('main/index.tpl', $renderData);