/
index.php
39 lines (30 loc) · 1 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
<?
/***************************************************************************
index.php
------------
product : PHP Invoice
version : 1.0 build 1 (Beta)
released : Sunday September 7 2003
copyright : Copyright © 2001-2009 Jeremy Hubert
email : support@illanti.com
website : http://www.illanti.com
Login page. DO NOT EDIT unless
you know what you are doing.
***************************************************************************/
define('SITE_ROOT','./');
require_once(SITE_ROOT . 'includes/common.php');
if (isset($_SESSION['ses_client_id']))
{
header("Location: " . SITE_ROOT . $_SESSION['ses_access'] . "/index.php");
exit;
}
securePage('none');
$tpl_main_file = 'login_framework.tpl';
$tpl = & new TemplateSystem();
$tpl->set('page_title',$lang['log_in']);
$tpl->set('toptext',$lang['pleaselogin']);
$tpl->set('bottomtext','<a href="' . SITE_ROOT .'forgotpass.php">' . $lang['forgot_password'] . '</a>');
$tpl->set('tbody','login.tpl');
$tpl->display();
exit;
?>