-
Notifications
You must be signed in to change notification settings - Fork 0
/
lagos.php
146 lines (111 loc) · 5.24 KB
/
lagos.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
<?php
$latitude = 6.5244;
$longitude = 3.3792;
require 'php/api.php';
date_default_timezone_set($tz);
$activePage = "lag";
?>
<!DOCTYPE html>
<html lang="en">
<!-- HEADER -->
<?php require 'partials/part_header.php' ?>
<body onload="getLocation()">
<div id="emptycontainer">
<div class="empty">
<div class="logo">
<img src="img/wt.png" height="120" width="120"/>
</div>
<div class="logo1">
<p>Nigeria Weather Forecast Portal</p>
</div>
</div>
</div>
<div class="wrapper">
<!-- Sidebar Holder -->
<nav id="sidebar">
<div class="sidebar-header">
<h3><img src="img/flag.png" width="120" height="120"/></h3>
<h3>Nigeria Aviation Weather Portal</h3>
<strong><img src="img/flag.png" width="50" height="50"/></strong>
<strong>NW</strong>
</div>
<ul class="list-unstyled components">
<li <?php if ($activePage == "lag") {?> class="active" <?php } ?>><a href="lagos.php"><i class="glyphicon glyphicon-globe"></i>Lagos</a></li>
<li <?php if ($activePage == "abj") {?> class="" <?php } ?>><a href="abuja.php"><i class="glyphicon glyphicon-globe"></i>Abuja</a></li>
<li <?php if ($activePage == "aku") {?> class="" <?php } ?>><a href="akure.php"><i class="glyphicon glyphicon-globe"></i>Akure</a></li>
<li <?php if ($activePage == "kad") {?> class="" <?php } ?>><a href="kaduna.php"><i class="glyphicon glyphicon-globe"></i>Kaduna</a></li>
<li <?php if ($activePage == "sok") {?> class="" <?php } ?>><a href="sokoto.php"><i class="glyphicon glyphicon-globe"></i>Sokoto</a></li>
<li <?php if ($activePage == "kn") {?> class="" <?php } ?>><a href="kano.php"><i class="glyphicon glyphicon-globe"></i>Kano</a></li>
<li <?php if ($activePage == "ph") {?> class="" <?php } ?>><a href="ph.php"><i class="glyphicon glyphicon-globe"></i>Port Harcourt</a></li>
</ul>
</nav>
<!-- Page Content Holder -->
<div id="content">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" id="sidebarCollapse" class="btn btn-info navbar-btn">
<i class="glyphicon glyphicon-align-left"></i>
</button>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.php" id="goo"><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="#"><i class="fa fa-clock-o"></i> <?php echo date("g:i a | l, F j", $curTime); ?></a></li> <!-- forecast time -->
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<h3 class="ml-15 text-info">Lagos, LAG</small></h3>
<!-- CURRENT CONDITIONS -->
<?php require 'partials/part_current.php' ?>
<!-- TODAY FORECAST -->
<?php require 'partials/part_today.php' ?>
</div> <!-- /row -->
<!-- HOURLY -->
<?php require 'partials/part_hourly.php' ?>
<!-- WEEK FORECAST -->
<?php require 'partials/part_daily.php' ?>
</div> <!-- /container -->
<?php require 'partials/part_footer.php' ?>
</div>
</div>
<div id="ss_menu">
<div> <a target="_blank" href="lagos.php"><i class="glyphicon glyphicon-globe"></i></a> <span>Lagos
</span></div>
<div> <a target="_blank" href="ph.php"><i class="glyphicon glyphicon-globe"></i></a> <span>Port<br>
Harcourt</span></div>
<div> <a target="_blank" href="akure.php"><i class="glyphicon glyphicon-globe"></i></a> <span>Akure
</span></div>
<div> <a target="_blank" href="kano.php"><i class="glyphicon glyphicon-globe" aria-hidden="true"></i> </a> <span>Kano
</span></div>
<div> <a target="_blank" href="kaduna.php"><i class="glyphicon glyphicon-globe" aria-hidden="true"></i></a> <span>Kaduna
</span></div>
<div class="menu_check">
<div class="share" id="ss_toggle" data-rot="180"> <img src="img/add.png" width="" class="img-responsive" id="btt" alt="" />
<div class="bar"></div>
</div>
</div>
</div>
<script src="js/jquery-3.1.1.min.js"></script>
<script>
$('#ss_toggle').on('click', function(ev) {
$('body').toggleClass('shadow_bg');
$(this).parents('#ss_menu').toggleClass('activated');
});
</script>
<!-- jQuery CDN -->
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<!-- Bootstrap Js CDN -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
});
});
</script>
</body>
</html>