-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.php
158 lines (149 loc) · 7.67 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
<?php
/* ------------------------------------------------------------------------
# JBootstrap - Twitter's Bootstrap for Joomla (with RocketTheme's Gantry administration)
# ------------------------------------------------------------------------
# author Prieco S.A.
# copyright Copyright (C) 2012 Prieco.com. All Rights Reserved.
# @license - http://http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
# Websites: http://www.prieco.com
# Technical Support: Forum - http://www.prieco.com/en/forum/index.html
------------------------------------------------------------------------- */
// no direct access
defined('_JEXEC') or die('Restricted index access');
// load and inititialize gantry class
require_once('lib/gantry/gantry.php');
$jspath = $this->baseurl . '/templates/' . $this->template . '/js';
$imgpath = $this->baseurl . '/templates/' . $this->template . '/images';
JHTML::_('behavior.framework', false);
JHTML::_('behavior.mootools', false);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language; ?>" >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<?php
$gantry->displayHead();
$gantry->addStyles(array('bootstrap.css', 'bootstrap-responsive.css'));
?>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->
<link rel="apple-touch-icon" href="<?php echo $imgpath; ?>/apple-touch-icon-iphone.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo $imgpath; ?>/apple-touch-icon-ipad.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo $imgpath; ?>/apple-touch-icon-114x114.png"/>
</head>
<body <?php echo $gantry->displayBodyTag(); ?>>
<?php /** Begin Drawer * */ if ($gantry->countModules('drawer')) : ?>
<div id="jb-drawer" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('drawer', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Drawer * */ endif; ?>
<?php /** Begin Top * */ if ($gantry->countModules('top')) : ?>
<div id="jb-top" class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<?php echo $gantry->displayModules('top', 'basic', 'basic'); ?>
</div>
</div>
</div>
<?php /** End Top * */ endif; ?>
<?php /** Begin Header * */ if ($gantry->countModules('header')) : ?>
<div id="jb-header" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('header', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Header * */ endif; ?>
<?php /** Begin Menu * */ if ($gantry->countModules('navigation')) : ?>
<div id="jb-menu" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('navigation', 'basic', 'basic'); ?>
</div>
</div>
<?php /** End Menu * */ endif; ?>
<?php /** Begin Showcase * */ if ($gantry->countModules('showcase')) : ?>
<div id="jb-showcase" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('showcase', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Showcase * */ endif; ?>
<?php /** Begin Feature * */ if ($gantry->countModules('feature')) : ?>
<div id="jb-feature" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('feature', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Feature * */ endif; ?>
<?php /** Begin Utility * */ if ($gantry->countModules('utility')) : ?>
<div id="jb-utility" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('utility', 'standard', 'basic'); ?>
</div>
</div>
<?php /** End Utility * */ endif; ?>
<?php /** Begin Breadcrumbs * */ if ($gantry->countModules('breadcrumb')) : ?>
<div id="jb-breadcrumbs" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('breadcrumb', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Breadcrumbs * */ endif; ?>
<?php /** Begin Main Top * */ if ($gantry->countModules('maintop')) : ?>
<div id="jb-maintop" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('maintop', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Main Top * */ endif; ?>
<?php /** Begin Main Body * */ ?>
<?php echo $gantry->displayMainbody('mainbody', 'sidebar', 'standard', 'standard', 'standard', 'standard', 'standard'); ?>
<?php /** End Main Body * */ ?>
<?php /** Begin Main Bottom * */ if ($gantry->countModules('mainbottom')) : ?>
<div id="jb-mainbottom" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('mainbottom', 'standard', 'standard'); ?>
</div></div>
<?php /** End Main Bottom * */ endif; ?>
<?php /** Begin Bottom * */ if ($gantry->countModules('bottom')) : ?>
<div id="jb-bottom" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('bottom', 'standard', 'standard'); ?>
</div></div>
</div>
<?php /** End Bottom * */ endif; ?>
<?php /** Begin Footer * */ if ($gantry->countModules('footer')) : ?>
<div id="jb-footer" class="container-fluid">
<hr/>
<div class="row-fluid">
<?php echo $gantry->displayModules('footer', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Footer * */ endif; ?>
<?php /** Begin Copyright * */ if ($gantry->countModules('copyright')) : ?>
<div id="jb-copyright" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('copyright', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Copyright * */ endif; ?>
<?php /** Begin Debug * */ if ($gantry->countModules('debug')) : ?>
<div id="jb-debug" class="container-fluid">
<div class="row-fluid">
<?php echo $gantry->displayModules('debug', 'standard', 'standard'); ?>
</div>
</div>
<?php /** End Debug * */ endif; ?>
<?php /** Begin Analytics * */ if ($gantry->countModules('analytics')) : ?>
<?php echo $gantry->displayModules('analytics', 'basic', 'basic'); ?>
<?php /** End Analytics * */ endif; ?>
<script src="<?php echo $jspath; ?>/jquery.js" type="text/javascript"></script>
<script src="<?php echo $jspath; ?>/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>
<?php
$gantry->finalize();
?>