forked from EVE-SECURE/pos-tracker-eve
/
index.php
57 lines (49 loc) · 1.76 KB
/
index.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* Pos-Tracker2
*
* Index Page
*
* PHP version 5
*
* LICENSE: This file is part of POS-Tracker2.
* POS-Tracker2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* POS-Tracker2 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with POS-Tracker2. If not, see <http://www.gnu.org/licenses/>.
*
* @author Stephen Gulickk <stephenmg12@gmail.com>
* @author DeTox MinRohim <eve@onewayweb.com>
* @author Andy Snowden <forumadmin@eve-razor.com>
* @copyright 2007-2009 (C) Stephen Gulick, DeTox MinRohim, and Andy Snowden
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL 3.0
* @package POS-Tracker2
* @version SVN: $Id$
* @link https://sourceforge.net/projects/pos-tracker2/
* @link http://www.eve-online.com/
*/
include_once 'eveconfig/config.php';
include_once 'includes/eveclass.php';
include_once 'includes/eveRender.class.php';
$eveRender = New eveRender($config, $mod, false);
$colors = $eveRender->themeconfig;
$eve = New Eve();
$access = $eve->SessionGetVar('access');
$eveRender->Assign('access', $access);
$eveRender->Assign('config', $config);
if (isset($access)) {
$eve->SessionSetVar('errormsg', 'Welcome to the POS Tracker!');
$eve->RedirectUrl('track.php');
} else {
$eve->SessionSetVar('errormsg', 'Welcome to the POS Tracker!');
$eve->RedirectUrl('login.php');
//$eveRender->Display('home.tpl');
}
?>