-
Notifications
You must be signed in to change notification settings - Fork 0
/
test1.html
303 lines (268 loc) · 11.1 KB
/
test1.html
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<?php
/*require_once "classes/Users.php";
$result= new Users();
$result->Confirm_User();*/
session_start();
if($_SESSION['logged_in']!='Active'){
header("Location: index.php");
}
else{
$fname=$_SESSION['fname'];
$email=$_SESSION['email'];
$uname=$_SESSION['uname'];
}
?>
<!DOCTYPE html>
<html>
<head>
<title>German Project</title>
<link rel="stylesheet" href="test1.css" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="JS/validate.js"></script>
<link href="https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:300&display=swap" rel="stylesheet">
<meta name=”viewport” content=”width=device-width, initial-scale="1.0">
<meta content="width=device-width, initial-scale=1" name="viewport" />
</head>
<body>
<script type="text/javascript">
$(window).scroll(function() {
if ($(document).scrollTop() > 100) {
$('.navbar-scroll').addClass('color-change');
$('.navbar-logo').addClass('size-change');
$('.Nav_Button').addClass('margin-change');
} else {
$('.navbar-scroll').removeClass('color-change');
$('.navbar-logo').removeClass('size-change');
$('.Nav_Button').removeClass('margin-change');
}
});
</script>
<!-- ********************** OPENING PAGE ************************* -->
<div class="bodydiv">
<div class="navbar-scroll">
<img src="logo123.png" class="navbar-logo">
<div class="Nav_Bar_Body">
<div class="Nav_Button hvr-underline-from-center">
<a href="#About" class="Nav_Button_Link" style="text-decoration: none;">
<h4>Settings</h4>
</div>
<div class="Nav_Button hvr-underline-from-center">
<a href="#About" class="Nav_Button_Link" style="text-decoration: none;">
<h4>Logout</h4>
</a>
</div>
</div>
</div>
<div class="container1">
<div id="login-panel">
<center>
<div style="text-align: center; align-items: ceenter;">
<h1 style="color: rgba(255,255,255,0.7);letter-spacing: 20px;font-size: 200%; ">MY PROFILIA</h1></div>
<table class="det_table">
<tr>
<td class="attcell">N A M E</td><td class="valuecell"><?php echo $fname ?></td>
</tr>
<tr>
<td class="attcell">U S E R N A M E</td><td class="valuecell"><?php echo $uname ?></td>
</tr>
<tr>
<td class="attcell">D E V I C E S</td><td class="valuecell">3</td>
</tr>
<tr>
<td class="attcell">L O C A T I O N</td><td class="valuecell">Bangalore</td>
</tr>
<tr>
<td class="attcell">M A I L</td><td class="valuecell"><?php echo $email ?></td>
</tr>
</table>
</center>
</div>
<script type="text/javascript">
var TxtRotate = function(el, toRotate, period) {
this.toRotate = toRotate;
this.el = el;
this.loopNum = 0;
this.period = parseInt(period, 10) || 2000;
this.txt = '';
this.tick();
this.isDeleting = false;
};
TxtRotate.prototype.tick = function() {
var i = this.loopNum % this.toRotate.length;
var fullTxt = this.toRotate[i];
if (this.isDeleting) {
this.txt = fullTxt.substring(0, this.txt.length - 1);
} else {
this.txt = fullTxt.substring(0, this.txt.length + 1);
}
this.el.innerHTML = '<span class="wrap">'+this.txt+'</span>';
var that = this;
var delta = 300 - Math.random() * 100;
if (this.isDeleting) { delta /= 2; }
if (!this.isDeleting && this.txt === fullTxt) {
delta = this.period;
this.isDeleting = true;
} else if (this.isDeleting && this.txt === '') {
this.isDeleting = false;
this.loopNum++;
delta = 500;
}
setTimeout(function() {
that.tick();
}, delta);
};
window.onload = function() {
var elements = document.getElementsByClassName('txt-rotate');
for (var i=0; i<elements.length; i++) {
var toRotate = elements[i].getAttribute('data-rotate');
var period = elements[i].getAttribute('data-period');
if (toRotate) {
new TxtRotate(elements[i], JSON.parse(toRotate), period);
}
}
// INJECT CSS
var css = document.createElement("style");
css.type = "text/css";
css.innerHTML = ".txt-rotate > .wrap { border-right: 0.08em solid #666 }";
document.body.appendChild(css);
};
</script>
<div class="verticalline">
</div>
<div class="col">
<div class="tabs">
<div class="tab">
<input type="radio" id="rd1" name="rd">
<label class="tab-label" for="rd1">APPLIANCE 1</label>
<div class="tab-content">
<iframe class="graphs" src="https://thingspeak.com/channels/995714/charts/2?bgcolor=%23daf1f7&color=%2300c4f8&dynamic=true&results=60&title=Ampere&type=line"></iframe>
<iframe class="graphs" src="https://thingspeak.com/channels/995714/charts/4?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=60&type=line&update=15"></iframe>
</div>
</div>
<div class="tab">
<input type="radio" id="rd2" name="rd">
<label class="tab-label" for="rd2">APPLIANCE 2</label>
<div class="tab-content">
<iframe class="graphs" src="https://thingspeak.com/channels/995714/charts/2?bgcolor=%23daf1f7&color=%2300c4f8&dynamic=true&results=60&title=Ampere&type=line"></iframe>
<iframe class="graphs" src="https://thingspeak.com/channels/995714/charts/4?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=60&type=line&update=15"></iframe> </div>
</div>
<div class="tab">
<input type="radio" id="rd3" name="rd">
<label for="rd3" class="tab-close">Close All ×</label>
</div>
</div>
</div>
</div>
<!-- <script src="JS/scroll.js"></script>
-->
<!-- ************************************************************** -->
<?php if(isset($response)) echo "<h4 class='alert'>".$response."</h4>";?>
<!-- <div class="infoclass-out">
<h1 style="color: rgb(0,168,246);">About</h1>
<div class="infoclass-content">
The world is on the verge of finishing its almost all sources of non-renewable
energy. The current technologies can only predict an approximate electrical
consumption in households and other institutions [3] . The prediction of power
usage is useful only when we have an efficient way of using the electrical
power that is being produced. The idea of the project is to develop a wifi-based
network which would be used to monitor the electrical systems in urban
households and would be connected to the local wifi system (Hub) . This
network will be used to provide live electric usage data to the user’s mobile
device using an easy-to-use mobile application, the government as well as the
Power producing companies which can be used to detect power outages and
will also give the people a very meaningful insight on their power consumption
which include a reward-basis system for rewarding efficient power users and
will also give the current power load so as to prevent overloading and blackout(
power outage) . The network would include an embedded CPU or an Arduino
Uno. The sensors used in the system will be based on the AEON (Accurate
Prediction of Power Consumption) to quantitatively predict consumption of
electrical energy. [3] The sensors used in the system will be Mica2 sensor node
and ACS712 current sensor which would the network in collecting data
integrated by ThingSpeak.
The world of energy is changing. There is a global urge to drastically reduce CO2
emissions in order to slow down global warming.
Nations are reducing their dependency on imported fossil fuels by stimulating energy
savings and the use of renewable energy.
Sustainable sources, such as solar and wind energy, are not always available. Integrating
large shares of renewable energy in our current energy supply system in a reliable way
provides a real challenge.
Our energy use is shifting towards electricity. This trend is accelerated by the fast-
growing fleet of electric vehicles and the increase of electric space heating and cooling.
The electrification of our energy use adds to the challenges that our future energy supply
system faces.
Our project proposal is to develop a wireless based network which would be used to
monitor the electrical systems in urban households and would be connected to the local
wireless system (Hub). This network will be used to provide live electric usage data to the
user’s mobile device using an easy-to-use mobile application, the government as well as
the Power producing companies. This method can be used to detect power outages and
will also give the people a very meaningful insight on their power consumption which
include a reward-basis system for rewarding efficient power users and will also give the
current power load so as to prevent overloading and blackout (power outage).
</div>
</div> -->
<br>
<br>
<br>
<br>
<br>
<br>
<div class="footer">
<center>
<!-- <div class="footermid">
<div class="footermid-el">
<li style="list-style: none;">
<ul class="footer-list-el"><h3 class="footer-label"><b>THE TEAM</b></h3></ul>
<br>
<ul class="footer-list-el">Know us</ul>
<ul class="footer-list-el">Members</ul>
<ul class="footer-list-el">Acknowledgments</ul>
<ul class="footer-list-el">Thank Us</ul>
</li>
</div>
<div class="footermid-el">
<li style="list-style: none;">
<ul class="footer-list-el"><h3 class="footer-label"><b>HELP</b></h3></ul>
<br>
<ul class="footer-list-el">Documentation</ul>
<ul class="footer-list-el">Read Logs</ul>
<ul class="footer-list-el">Report an Issue</ul>
<ul class="footer-list-el">Customer Forum</ul>
</li>
</div>
<div class="footermid-el">
<li style="list-style: none;">
<ul class="footer-list-el"><h3 class="footer-label"><b>OUR SERVICES</b></h3></ul>
<br>
<ul class="footer-list-el">Energy Solutions</ul>
<ul class="footer-list-el">Remote Environment</ul>
<ul class="footer-list-el">Our Partners</ul>
<ul class="footer-list-el">Thank Us</ul>
</li>
</div>
</div> -->
<div class="footerend">
<img class="imgclass" src="instagram (1).png">
<img class="imgclass" src="facebook (1).png">
<img class="imgclass" src="whatsapp (1).png">
<img class="imgclass" src="twitter (1).png">
<img class="imgclass" src="github.png">
<img class="imgclass" src="linkedin.png">
</div>
<div class="footerin">
<br>
<input type="email" name="contact" placeholder="name @example.com" class="footerinput"><input type="submit" value="GO!" class="footerbut" placeholder="Ping!">
<br><br>
<h5>indra ©</h5>
<h7>a place for all your enrgy needs and solutions.</h7>
</div>
</center>
</div>
</body>
</html>