-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.php
102 lines (102 loc) · 3.03 KB
/
template.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
<?php
/**
* @package Qhtml5
* @subpackage Templates.qhtml5
* @author Quantility
* @copyright Copyright (C) 2019. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<section class="header">
<header class="container">
<div id="header" class="row">
<?php if ($this->countModules('top')): ?>
<div id="top">
<jdoc:include type="modules" name="top" style="html5"/>
</div>
<?php endif; ?>
<?php if ($this->countModules('logo')): ?>
<div id="logo">
<jdoc:include type="modules" name="logo" style="html5"/>
</div>
<?php endif; ?>
<?php if ($this->countModules('payoff')): ?>
<div id="payoff">
<jdoc:include type="modules" name="payoff" style="html5"/>
</div>
<?php endif; ?>
<nav>
<div id="menu">
<jdoc:include type="modules" name="menu" style="html5"/>
</div>
</nav>
</div>
</header>
</section>
<?php if ($this->countModules('section-top')): ?>
<section class="container">
<div id="section-top" class="row">
<jdoc:include type="modules" name="section-top" style="html5"/>
</div>
</section>
<?php endif; ?>
<section class="container">
<div id="center" class="row">
<?php if ($this->countModules('left')){ ?>
<aside id="left" class="<?php echo $leftspan; ?>">
<jdoc:include type="modules" name="left" style="html5"/>
</aside>
<?php } ?>
<div id="content" class="<?php echo $contentwidth; ?>">
<jdoc:include type="message"/>
<?php if ($this->countModules('center-top')): ?>
<section class="row-fluid">
<div id="center-top">
<jdoc:include type="modules" name="center-top" style="html5"/>
</div>
</section>
<?php endif; ?>
<?php if ( $this->params->get('showcomponent') == 0 OR $menu != $app->getMenu()->getDefault($lang->getTag())) { ?>
<section>
<jdoc:include type="component" />
</section>
<?php } ?>
<?php if ($this->countModules('center-bottom')): ?>
<section class="row-fluid">
<div id="center-bottom">
<jdoc:include type="modules" name="center-bottom" style="html5"/>
</div>
</section>
<?php endif; ?>
</div>
<?php if ($this->countModules('right')) { ?>
<aside id="right" class="<?php echo $rightspan; ?>">
<jdoc:include type="modules" name="right" style="html5"/>
</aside>
<?php } ?>
</div>
</section>
<!-- end center -->
<?php if ($this->countModules('section-bottom')): ?>
<section class="container">
<div id="section-bottom" class="row">
<jdoc:include type="modules" name="section-bottom" style="html5"/>
</div>
</section>
<?php endif; ?>
<div id="bottom">
<footer class="container">
<div id="footer" class="row">
<jdoc:include type="modules" name="footer" style="html5" />
</div>
</footer>
<?php if ($this->countModules('copyright')): ?>
<section class="container">
<div id="copyright" class="row">
<jdoc:include type="modules" name="copyright" style="html5"/>
</div>
</section>
<?php endif; ?>
</div>