-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
212 lines (179 loc) · 7.94 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<?php
/**
* @version 1.0.3
* @package Takai
* @author Nuevvo - http://nuevvo.com
* @copyright Copyright (c) 2010 - 2013 Nuevvo Webware Ltd. All rights reserved.
* @license http://nuevvo.com/license
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once(dirname(__FILE__).'/includes/helper.php');
?>
<!DOCTYPE html>
<!--[if lte IE 6]><html class="isIE6 lt-ie9" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"><![endif]-->
<!--[if IE 7]><html class="isIE7 lt-ie9" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"><![endif]-->
<!--[if IE 8]><html class="ieIE8 lt-ie9" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"> <![endif]-->
<!--[if IE 9]><html class="isIE9" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"> <!--<![endif]-->
<head>
<?php echo NU_HEAD_TOP; ?>
<jdoc:include type="head" />
<?php echo NU_HEAD_BOTTOM; ?>
</head>
<body id="<?php echo NU_BODY_ID; ?>" class="<?php echo NU_BODY_CLASS; ?>">
<?php echo NU_BODY_TOP; ?>
<header class="row">
<jdoc:include type="message" />
<?php if ($this->countModules('takai-login')): ?>
<div class="small-8 large-4 loginArea">
<jdoc:include type="modules" name="takai-login" style="" />
</div>
<?php endif; ?>
<div class="column small-12 large-5 LogoArea">
<h1 id="Logo">
<a href="<?php echo $this->baseurl ?>" title="<?php echo $this->params->get('siteLogoAltText'); ?>">
<?php if($this->params->get('siteLogo')): ?>
<img src="<?php echo $this->params->get('siteLogo'); ?>" alt="<?php echo $this->params->get('siteLogoAltText'); ?>" />
<span class="hidden"><?php echo $this->params->get('siteLogoAltText'); ?></span>
<?php else: ?>
<span><?php echo $this->params->get('siteTextAsLogo'); ?></span>
<?php endif; ?>
</a>
</h1>
</div>
<?php if($this->countModules('takai-Main-Menu')): ?>
<a class="menuToggler hide-on-large show-on-small" href="#"></a>
<nav class="column small-10 large-7 MenuArea" id="mainNavigation">
<div class="menuWrapper">
<span class="menuCloseButton"></span>
<jdoc:include type="modules" name="takai-Main-Menu" style="takai" />
</div>
</nav>
<?php endif; ?>
<div class="clr"></div>
<?php if ($this->params->get('siteTagline')): ?>
<div class="column small-12 TagLine">
<h2 class="MotoHeader"><?php echo htmlspecialchars($this->params->get('siteTagline'));?></h2>
</div>
<?php endif; ?>
<?php if( $this->countModules('takai-Leaderboard') ): ?>
<div class="column small-12 Leaderboard">
<jdoc:include type="modules" name="takai-Leaderboard" style="takai"/>
</div>
<?php endif; ?>
</header>
<div class="row">
<section id="content" class="column small-12 <?php echo $sideBarCheck; ?>">
<?php
// The main section 'column' of the site
// The Checks bellow add the appropriate CCS classes to the columns
// The Classes are different for - The Home Page , the itemList View and the item View
// the checks are included on the helper.php file
// The catalogue check is done in the K2 Templates
?>
<div class="column small-12 <?php echo $viewCheck; ?> layoutGrid">
<?php if($this->countModules('takai-breadcrumbs')): ?>
<div class="breadcrumbs">
<jdoc:include type="modules" name="takai-breadcrumbs" style=""/>
</div>
<?php endif; ?>
<?php if($this->countModules('takai-component')): ?>
<jdoc:include type="modules" name="takai-component" style="takai"/>
<?php else: ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
<?php if($this->countModules('takai-Inner-Right')): ?>
<div class="column small-12 large-4 innerRight">
<jdoc:include type="modules" name="takai-Inner-Right" style="takai" />
</div>
<?php endif; ?>
<div class="clr"></div>
<?php if($this->countModules('takai-Index-Middle-Bottom')): ?>
<div class="column small-12 large-12 indexLower">
<jdoc:include type="modules" name="takai-Index-Middle-Bottom" style="takai" />
</div>
<?php endif; ?>
</section>
<?php if($this->countModules('takai-SideBar or takai-SideModulesLeft or takai-SideModulesRight or takai-SideBarLower')): ?>
<aside id="sidebar" class="column small-12 large-4">
<?php if($this->countModules('takai-SideBar')): ?>
<jdoc:include type="modules" name="takai-SideBar" style="takai" />
<?php endif; ?>
<?php if($this->countModules('takai-Tab1 or getK2-Tab2 or getK2-Tab3')): ?>
<ul class="moduleTabs">
<?php if($this->params->get('sidebartabsleft')): ?><li><?php echo htmlspecialchars($this->params->get('sidebartabsleft'));?></li> <?php endif; ?>
<?php if($this->params->get('sidebartabsmiddle')): ?><li><?php echo htmlspecialchars($this->params->get('sidebartabsmiddle'));?></li> <?php endif; ?>
<?php if($this->params->get('sidebartabsright')): ?><li><?php echo htmlspecialchars($this->params->get('sidebartabsright'));?></li> <?php endif; ?>
</ul>
<div class="tabbedModules">
<?php if($this->countModules('takai-Tab1')): ?>
<div class="Moduletab">
<jdoc:include type="modules" name="takai-Tab1" style="takai" />
</div>
<?php endif; ?>
<?php if($this->countModules('takai-Tab2')): ?>
<div class="Moduletab">
<jdoc:include type="modules" name="takai-Tab2" style="takai" />
</div>
<?php endif; ?>
<?php if($this->countModules('takai-Tab3')): ?>
<div class="Moduletab">
<jdoc:include type="modules" name="takai-Tab3" style="takai" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if($this->countModules('takai-SideBarLower')): ?>
<jdoc:include type="modules" name="takai-SideBarLower" style="takai" />
<?php endif; ?>
</aside>
<?php endif; ?>
</div>
<footer class="row">
<?php if($this->countModules('takai-Footer-Left or takai-Footer-Middle or takai-Footer-Right or takai-Footer-Top')): ?>
<div class="small-12 Footerwrap isFontIstok">
<?php if($this->countModules('takai-Footer-Top')): ?>
<div class="column small-12 FooterTop">
<jdoc:include type="modules" name="takai-Footer-Top" style="takai" />
</div>
<div class="clr"></div>
<?php endif; ?>
<?php if($this->countModules('takai-Footer-Left or takai-Footer-Middle or takai-Footer-Right')): ?>
<div class="row">
<div class="column small-12 FooterTopMiddle">
<?php if($this->countModules('takai-Footer-Left')): ?>
<div class="column small-12 large-5 FooterLeft equal">
<jdoc:include type="modules" name="takai-Footer-Left" style="takai" />
</div>
<?php endif; ?>
<?php if($this->countModules('takai-Footer-Middle')): ?>
<div class="column small-6 large-5 FooterMiddle equal">
<jdoc:include type="modules" name="takai-Footer-Middle" style="takai" />
</div>
<?php endif; ?>
<?php if($this->countModules('takai-Footer-Right')): ?>
<div class="column small-6 large-2 FooterRight equal">
<jdoc:include type="modules" name="takai-Footer-Right" style="takai" />
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</div>
<div class="clr"></div>
<?php endif; ?>
<div class="column small-12 cwrap isFontIstok">
<div class="column small-12 large-6 copyrights">
<small><?php echo NU_COPYRIGHTS; ?>. <?php echo JText::_('TPL_NU_FE_ALL_RIGHTS_RESERVED'); ?>.</small>
</div>
<div class="column small-12 large-6 textRight credits">
<small><?php echo NU_CREDITS; ?></small>
</div>
</div>
</footer>
<?php echo NU_BODY_BOTTOM; ?>
<jdoc:include type="modules" name="debug" />
</body>
</html>