-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
76 lines (54 loc) · 1.43 KB
/
index.php
File metadata and controls
76 lines (54 loc) · 1.43 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?
//test line
include('configuration.php');
require_once ($config['path_wp-config']);
define('ROOT', dirname(__FILE__));
//check debug mode
if ($config['debug_mode'] === true)
{
error_reporting(E_ALL);
ini_set('display_errors', 'off');
ini_set('log_errors', 'on');
ini_set('error_log', 'error.log');
}
//include the mail lib
include('libraries/alice/alice.php');
//check if user is logged in
if ( !is_user_logged_in() )
login($config['redirect_to']); // alice lib
?>
<!DOCTYPE html>
<html>
<head>
<?php require_once ('includes/head.php');?>
</head>
<body>
<!-- start: Header -->
<?if (!componentOnly()){loadModule('header');}?>
<!-- end: Header -->
<!-- start: Container -->
<div class="container">
<div class="row">
<!-- start: Main Menu -->
<?if (!componentOnly()){loadModule('main_menu');}?>
<!-- end: Main Menu -->
<!-- start: Content -->
<?if (!componentOnly()){?>
<div id="content" class="col-lg-10 col-sm-11 ">
<?}else{?>
<div id="content" class="col-sm-12 full">
<?}?>
<div class="row"> <!-- start row that holds all content-->
<!-- start: Component -->
<?include('includes/component_selector.php');?>
<!-- /component-->
</div>
</div> <!-- /row that holds all content -->
</div><!--content-->
</div><!--/container-->
<?loadModule('footer');?>
<?
?>
<div id="overlay"></div>
</body>
</html>