-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex_onepage.php
135 lines (130 loc) · 4.58 KB
/
index_onepage.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
<body class="<?php echo (($isFrontpage) ? ('front') : ('page')).' '.$active_alias.' '.$pageclass; ?>">
<?php $pos='logo';if ($this->countModules($pos)): ?>
<div class="container">
<!-- <?php echo $pos; ?> -->
<div class="row <?php echo $pos; ?>">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="html5"/>
<div class="clearfix"></div>
</div><!-- div.row -->
</div>
<?php endif;?>
<!-- RESPONSIVE MENU-->
<?php $pos='menu'; ?>
<?php if ($this->countModules($pos)): ?>
<div class="container">
<!-- Static navbar -->
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo $this->baseurl; ?>/"><?php echo $app->getCfg('sitename'); ?></a>
</div>
<div class="navbar-collapse collapse">
<jdoc:include type="modules" name="menu"/>
<jdoc:include type="modules" name="search" />
</div><!--/.nav-collapse -->
</div><!--/.container-fluid -->
</nav>
</div>
<?php endif;?>
<div class="wrapper">
<?php $pos='onepage'; ?>
<?php if ($this->countModules($pos)): ?>
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="kicktemponepage"/>
<?php endif;?>
<?php $pos='top'; ?>
<?php if ($this->countModules($pos)): ?>
<div class="container">
<!-- <?php echo $pos; ?> -->
<div class="row <?php echo $pos; ?>">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="kicktemp"/>
<div class="clearfix"></div>
</div><!-- div.row -->
</div>
<?php endif;?>
<?php if (!$hidecontentwrapper) : ?>
<div class="container">
<!-- CONTENT -->
<div class="contentwrapper">
<div class="row">
<?php $pos='sidebar-a'; ?>
<?php if ($this->countModules($pos)): ?>
<!-- <?php echo $pos; ?> -->
<div class="<?php echo $sidebar_a; ?> <?php echo $pos; ?>">
<div class="row">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="html5"/>
</div><!-- div.row -->
</div><!-- .<?php echo $pos; ?> -->
<?php endif;?>
<div class="content <?php echo $contentclass; ?>">
<?php $pos='inner-top'; ?>
<?php if ($this->countModules($pos)): ?>
<!-- <?php echo $pos; ?> -->
<div class="row <?php echo $pos; ?>">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="kicktemp"/>
</div><!-- div.row -->
<?php endif;?>
<?php if (!$showsystemoutput) : ?>
<jdoc:include type="message" />
<!-- Component Start -->
<jdoc:include type="component" />
<!-- Component End -->
<?php endif; ?>
<?php $pos='inner-bottom'; ?>
<?php if ($this->countModules($pos)): ?>
<!-- <?php echo $pos; ?> -->
<div class="row <?php echo $pos; ?>">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="kicktemp"/>
</div><!-- div.row -->
<?php endif;?>
</div><!-- .content -->
<?php $pos='sidebar-b'; ?>
<?php if ($this->countModules($pos)): ?>
<!-- <?php echo $pos; ?> -->
<div class="<?php echo $sidebar_b; ?> <?php echo $pos; ?>">
<div class="row">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="html5"/>
</div><!-- div.row -->
</div><!-- .<?php echo $pos; ?> -->
<?php endif;?>
</div><!-- div.row -->
</div><!-- div.contentwrapper -->
</div><!-- div.container -->
<?php endif; ?>
<?php $pos='bottom'; ?>
<?php if ($this->countModules($pos)): ?>
<div class="container">
<!-- <?php echo $pos; ?> -->
<div class="row <?php echo $pos; ?>">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="kicktemp"/>
</div><!-- div.row -->
</div>
<?php endif;?>
<?php $pos='onepagebottom'; ?>
<?php if ($this->countModules($pos)): ?>
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="kicktemponepage"/>
<?php endif;?>
</div>
<?php $pos='footer'; ?>
<?php if ($this->countModules($pos)): ?>
<!-- <?php echo $pos; ?> -->
<footer>
<div class="container">
<div class="row <?php echo $pos; ?>">
<jdoc:include type="modules" name="<?php echo $pos; ?>" style="kicktemp"/>
</div><!-- div.row -->
</div>
</footer>
<!-- End <?php echo $pos; ?> -->
<?php endif;?>
<div class="container">
<div class="row copyright">
<div class="col-md-12 col-lg-12"><?php echo '© '.date('Y').' - '.$app->getCfg('sitename');?></div>
</div><!-- .copyright -->
</div><!-- .container -->
</body>