Repository navigation
Expand file tree
/
Copy pathindex.php
More file actions
146 lines (133 loc) · 5.58 KB
/
Copy pathindex.php
File metadata and controls
146 lines (133 loc) · 5.58 KB
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
<?php defined('_JEXEC') or die;
// Load template framework
include_once JPATH_THEMES . '/' . $this->template . '/framework.php';
?>
<!DOCTYPE html>
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en" >
<![endif]-->
<!--[if gt IE 8]>
<!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/normalize.css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/foundation.css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/siegeengine.css" />
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/custom.modernizr.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<?php if ($setWidth != $defaultWidth) : ?>
<style>
.row {
max-width: <?php echo $setWidth ?><?php echo $widthUnit ?>;
}
</style>
<?php endif; ?>
</head>
<body>
<?php if ($this->countModules( 'top' )) : ?>
<section class="row">
<!--toprow-->
<jdoc:include type="modules" name="top" style="siegeEngine" />
</section>
<?php endif; ?>
<?php if ($this->countModules( 'above' )) : ?>
<section class="row">
<!--aboverow-->
<jdoc:include type="modules" name="above" style="siegeEngine" />
</section>
<?php endif; ?>
<div class="row">
<!--mainrow-->
<?php if ($this->countModules( 'left' )) : ?>
<section class="<?php echo $leftWidth ?> columns sidebar">
<!--left-row-->
<jdoc:include type="modules" name="left" style="siegeEngine" />
</section>
<?php endif; ?>
<div class="<?php echo $mainwidth ?> columns">
<!--mainrow-->
<?php if ($this->countModules( 'above-content' )) : ?>
<div class="above-content">
<!--above-content-->
<jdoc:include type="modules" name="above-content" style="siegeEngine" />
</div>
<?php endif; ?>
<?php if ($this->countModules( 'breadcrumbs' )) : ?>
<div class="large-12">
<jdoc:include type="modules" name="breadcrumbs" style="none" />
</div>
<?php endif; ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
<?php if ($this->countModules( 'below-content' )) : ?>
<section class="below-content">
<!--below-content-->
<jdoc:include type="modules" name="below-content" style="siegeEngine" />
</section>
<?php endif; ?>
</div>
<?php if ($this->countModules( 'right' )) : ?>
<section class="<?php echo $rightWidth ?> columns sidebar">
<!--right-row-->
<jdoc:include type="modules" name="right" style="siegeEngine" />
</section>
<?php endif; ?>
</div>
<?php if ($this->countModules( 'below' )) : ?>
<section class="row">
<!--belowrow-->
<jdoc:include type="modules" name="below" style="siegeEngine" />
</section>
<?php endif; ?>
<?php if ($this->countModules( 'bottom' )) : ?>
<section class="row">
<!--bottomrow-->
<jdoc:include type="modules" name="bottom" style="siegeEngine" />
</section>
<?php endif; ?>
<?php if ($this->countModules( 'footer' )) : ?>
<footer class="row">
<!--footerrow-->
<jdoc:include type="modules" name="footer" style="siegeEngine" />
</footer>
<?php endif; ?>
<?php if ($jQueryOff == 0) : ?>
<?php if ($jQuery == 1) : ?>
<script>
document.write('<script src=<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/' +
('__proto__' in {} ? 'zepto' : 'jquery') +
'.js><\/script>')
</script>
<?php else : ?>
<script src=<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery.js></script>
<?php endif; ?>
<?php endif; ?>
<?php if ($noConflict == 0) :?>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
<?php else : ?>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/foundation.se.js"></script>
<script>
jQuery(document).foundation();
</script>
<?php endif; ?>
<!-- Load respond.js for shit browsers -->
<!--[if lte IE 8]> <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/respond.js"></script> <![endif]-->
<?php if ($analytics != "UA-XXXXX-X") : ?>
<!-- http://mths.be/aab -->
<script>
var _gaq=[['_setAccount','<?php echo htmlspecialchars($analytics); ?>'],["_trackPageview"]];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
s.parentNode.insertBefore(g,s)}(document,"script"));
</script>
<?php endif; ?>
<noscript>JavaScript is unavailable or disabled; so you are probably going to miss out on a few things. Everything should still work, but with a little less pzazz!</noscript>
</body>
</html>