/
Frontpage.php
29 lines (27 loc) · 904 Bytes
/
Frontpage.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* phpVMS - Virtual Airline Administration Software
* Copyright (c) 2008 Nabeel Shahzad
* For more information, visit www.phpvms.net
* Forums: http://www.phpvms.net/forum
* Documentation: http://www.phpvms.net/docs
*
* phpVMS is licenced under the following license:
* Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)
* View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/
*
* @author Nabeel Shahzad
* @copyright Copyright (c) 2008, Nabeel Shahzad
* @link http://www.phpvms.net
* @license http://creativecommons.org/licenses/by-nc-sa/3.0/ * @package module_frontpage
*/
class Frontpage extends CodonModule
{
public $title = 'Welcome';
public function index()
{
$this->set('usersonline', StatsData::UsersOnline());
$this->set('guestsonline', StatsData::GuestsOnline());
$this->render('frontpage_main.tpl');
}
}