forked from goodylabs/internship-exercise2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
116 lines (96 loc) · 3.85 KB
/
index.php
File metadata and controls
116 lines (96 loc) · 3.85 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
<?php
/**
* @package tpl_justified_nav
* @version 1.0.0
* @author Joomla Bootstrapped
* @link http://cambridgesoftware.co.uk/
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
//No Direct Access
defined('_JEXEC') or die;
//Include Logic
include('logic.php');
?>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- Joomla Head -->
<jdoc:include type="head" />
<!-- Bootstrap core CSS -->
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/bootstrap.css" rel="stylesheet">
<!-- Justified-Nav CSS -->
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/jumbotron.css" rel="stylesheet">
<!-- Font Awesome CSS -->
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/custom.css" rel="stylesheet">
</head>
<body>
<!-- Menu Module -->
<jdoc:include type="modules" name="menu" style="none" />
<!-- Showcase Module -->
<?php if($this->countModules('showcase')) : ?>
<jdoc:include type="modules" name="showcase" style="none" />
<?php endif; ?>
<div class="container">
<div class="row">
<?php echo (isset($sidebar) ? '<div class="col-md-8">' : '<div class="col-md-12">'); ?>
<!-- Messages -->
<jdoc:include type="message" />
<?php if($show_frontpage_component == 0 && $menu->getActive() == $menu->getDefault()) : ?>
<!-- Do not show component -->
<?php else : ?>
<!-- Main Component -->
<jdoc:include type="component" />
<?php endif; ?>
</div><!--/. col-md-12 or .col-md-8 -->
<!-- Sidebar -->
<?php if(isset($sidebar)) : ?>
<div class="col-md-4">
<jdoc:include type="modules" name="sidebar" style="xhtml" />
</div>
<?php endif; ?>
</div><!--./ row -->
<?php if($this->countModules('box1') || $this->countModules('box2') || $this->countModules('box3')) : ?>
<!-- Example row of columns -->
<div class="row">
<?php if($this->countModules('box1')) : ?>
<div class="col-lg-4">
<jdoc:include type="modules" name="box1" style="none" />
</div>
<?php endif; ?>
<?php if($this->countModules('box2')) : ?>
<div class="col-lg-4">
<jdoc:include type="modules" name="box2" style="none" />
</div>
<?php endif; ?>
<?php if($this->countModules('box3')) : ?>
<div class="col-lg-4">
<jdoc:include type="modules" name="box3" style="none" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<hr>
<footer>
<p><?php echo $copyright; ?></p>
</footer>
</div> <!-- /container -->
<script defer src="templates/<?php echo $this->template ?>/js/bootstrap.js"></script>
<script defer src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script defer src="templates/<?php echo $this->template ?>/js/script.js"></script>
<!-- end scripts-->
<script> // Change UA-XXXXX-X to be your site's ID
window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
Modernizr.load({
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
});
</script>
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->
</body>
</html>