-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
184 lines (157 loc) · 6.95 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<?php
/**
* @package Expose Baase Theme
* @version 2.4
* @author ThemeXpert http://www.themexpert.com
* @copyright Copyright (C) 2010 - 2011 ThemeXpert
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3
*
**/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
//framework bootstrap
if( file_exists( JPATH_LIBRARIES . '/expose/expose.php' ) ){
require_once JPATH_LIBRARIES . '/expose/expose.php';
}else{
echo JText::_('Unable to find Expose library. Please make sure you have it installed.');
die();
}
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $expose->direction ;?>" class="no-js">
<head>
<?php
$expose->displayHead();
$expose->addLink(array('typography.less','template.less','responsive.less'),'less');
$expose->addLink( array('template.js') ,'js', 11 );
?>
<!--[if (gte IE 6) & (lte IE 8)]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="<?php echo $expose->exposeUrl; ?>/interface/js/respond.js"></script>
<script src="<?php echo $expose->exposeUrl; ?>/interface/js/selectivizr.js"></script>
<![endif]-->
</head>
<body <?php echo $expose->generateBodyClass();?> >
<?php /**Begin Roof**/ if($expose->countModules('roof')): ?>
<!--Start Roof Modules-->
<section id="roof" class="row">
<section class="container">
<?php $expose->renderModules('roof'); ?>
</section>
</section>
<!--End Roof Modules-->
<?php /**End Roof**/ endif;?>
<header id="header-wrap">
<?php /**Begin Top**/ if($expose->countModules('top')): ?>
<!--Start Top Modules-->
<section id="top" class="row">
<section class="container">
<?php $expose->renderModules('top'); ?>
</section>
</section>
<!--End Top Modules-->
<?php /**End Top**/ endif;?>
<?php /**Begin Header**/ if($expose->countModules('header')): ?>
<!--Start Header Modules-->
<section id="header" class="row">
<section class="container">
<?php $expose->renderModules('header'); ?>
</section>
</section>
<!--End Header Modules-->
<?php /**End Header**/ endif;?>
</header>
<?php /**Begin Utility**/ if($expose->countModules('utility')): ?>
<!--Start Utility Modules-->
<section id="utility" class="row">
<section class="container">
<?php $expose->renderModules('utility'); ?>
</section>
</section>
<!--End Utility Modules-->
<?php /**End Utility**/ endif;?>
<?php /**Begin Feature**/ if($expose->countModules('feature')): ?>
<!--Start Feature Modules-->
<section id="feature" class="row">
<section class="container">
<?php $expose->renderModules('feature'); ?>
</section>
</section>
<!--End Feature Modules-->
<?php /**End Feature**/ endif;?>
<?php /**Begin Main-Top**/ if($expose->countModules('maintop')): ?>
<!--Start Main-Top Modules-->
<section id="main-top" class="row">
<section class="container">
<?php $expose->renderModules('maintop'); ?>
</section>
</section>
<!--End Main-Top Modules-->
<?php /**End Main-Top**/ endif;?>
<?php /**Begin Breadcrumbs**/ if($expose->countModules('breadcrumbs')): ?>
<!--Start Breadcrumbs Module-->
<section id="breadcrumbs" class="row">
<section class="container">
<?php $expose->renderModules('breadcrumbs'); ?>
</section>
</section>
<!--End Breadcrumbs Module-->
<?php /**End Breadcrumbs**/ endif;?>
<!--Start Main Body-->
<section id="main" class="row">
<section class="container">
<?php $expose->renderBody();?>
</section>
</section>
<!--End Main Body Modules-->
<?php /**Begin Main-Bottom**/ if($expose->countModules('mainbottom')): ?>
<!--Start Main-Bottom Modules-->
<section id="main-bottom" class="row">
<section class="container">
<?php $expose->renderModules('mainbottom'); ?>
</section>
</section>
<!--End Main Bottom Modules-->
<?php /**End Main Bottom**/ endif;?>
<?php /**Begin Bottom**/ if($expose->countModules('bottom')): ?>
<!--Start Bottom Modules-->
<section id="bottom" class="row">
<section class="container">
<?php $expose->renderModules('bottom'); ?>
</section>
</section>
<!--End Bottom Modules-->
<?php /**End Bottom**/ endif;?>
<footer id="footer-wrap">
<section class="container">
<?php /**Begin Footer**/ if($expose->countModules('footer')): ?>
<!--Start Footer Modules-->
<section id="footer" class="row">
<?php $expose->renderModules('footer'); ?>
</section>
<!--End Footer Modules-->
<?php /**End Footer**/ endif;?>
<?php /**Begin Copyright**/ if($expose->countModules('copyright')): ?>
<section id="copyright" class="row">
<?php $expose->renderModules('copyright'); ?>
</section>
<?php /**End Copyright**/ endif;?>
</section>
</footer>
<?php /**Begin Absolute**/ if($expose->countModules('absolute')): ?>
<div id="absolute">
<?php $expose->renderModules('absolute'); ?>
</div>
<?php /**End Absolute**/ endif;?>
<?php /** Begin Off-canvas **/ if($expose->countModules('offcanvas')): ?>
<div id="offcanvas" class="uk-offcanvas">
<div class="uk-offcanvas-bar">
<?php $expose->renderModules('offcanvas'); ?>
</div>
</div>
<?php /** End Offcanvas **/ endif;?>
</body>
</html>
<?php
$expose->finalizedExpose();
?>