-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshop.php
423 lines (281 loc) · 12.4 KB
/
shop.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
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!DOCTYPE html>
<html>
<head>
<title>Effulgence</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/animate.min.css">
<script type='text/javascript' src='js/jquery-1.11.1.min.js'></script><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript">// <![CDATA[
$(window).load(function() { $("#spinner").fadeOut("slow"); })
// ]]></script>
<!--===============================scrolling-->
<link rel="stylesheet" href="css/jquery.mCustomScrollbar.css" />
<script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/component.css" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/magic.min.css" />
<link href='http://fonts.googleapis.com/css?family=Federant' rel='stylesheet' type='text/css'>
</head>
<body>
<?php include_once("analyticstracking.php") ?>
<div id="spinner">
<center>
<img class="load" src="img/loading.gif"/>
</center>
</div>
<div id="particles-js"></div>
<!--====================================-->
<nav class="navbar navbar-inverse navbar-fixed-top transparent">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav1" aria-expanded="false">
<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" id="hide1"href="#"><img src="img/neon1.png" height="45" width="45" style="margin-right:px; margin-left:px; margin-top:-8px;" /></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="nav1" >
<ul class="nav navbar-nav abc">
<li class="active"><a href="index.php">Home <span class="sr-only">(current)</span></a></li>
<li><a href="aboutus.php">About us</a></li>
<li><a href="pronites.php">Pronites</a></li>
<li><a href="event.php">Events</a></li>
<li><a href="registers.php">Signup</a></li>
<li id="hide2"><a href="#"> <img src="img/neon1.png" style="margin-top:-15px;"height="60" width="60" style="margin-right:px; margin-left:px; margin-top:px;" /></a></li>
<li><a href="exhibition.php">Exhibition</a></li>
<li><a href="workshop.php">Workshops</a></li>
<li><a href="sponsor.php">Sponsors</a></li>
<li><a href="contact.php">Contact</a></li>
<li><?php session_start();
if(!(isset($_SESSION['u_id']))){
echo '<a href="log.php">Login</a>';
}
else
{
$u_id = $_SESSION['u_id'];
include_once 'dbConnection.php';
$query=mysqli_query($con,"SELECT name FROM users WHERE u_id='$u_id'");
while($row = mysqli_fetch_array($query)) {
$name = $row['0'];
}
echo '<a href="logout.php">logout</a><span class="pull-right sny" >Hello, <a href="user_profile.php">'.$name.'</a></span>';
}?></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="row top">
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12 bich1">
<center><a href="index.php" id="h1">
<h1 class="" >EFFULGENCE'17</h1>
</a></center>
</div>
</div>
<!--==============================================================================-->
<div class="row container-fluid">
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12 " style="">
<div class="area1">
<?php
if(@$_GET['q1']=='temp')
{
echo "<script type='text/javascript'>alert('Successfully Registered ...! Thanks for Registration,Please Pay Now.');</script>";
}
if(@$_GET['q']=='3d'){
echo "<center> <h3>3D Printing</h3> </center>";
}
else if(@$_GET['q']=='ic'){
echo "<center> <h3>Automobile & IC Engine</h3> </center>";
}else if(@$_GET['q']=='ges'){
echo "<center> <h3>Gesture Based Robotic</h3></center>";
}else if(@$_GET['q']=='ani'){
echo "<center> <h3>Animatronics</h3> </center>";
}
else if(@$_GET['q']=='cld'){
echo "<center> <h3>Cloud Computing</h3> </center>";
}
else if(@$_GET['q']=='six'){
echo "<center> <h3>Sixth sense Robotics using DIP</h3> </center>";
}
else if(@$_GET['q']=='cat'){
echo "<center> <h3>Catia(AutoCad/Cam)</h3> </center>";
}
?>
</div>
<!--scoll area start-->
<div class="area mCustomScrollbar" data-mcs-theme="light" data-mcs-axis="y">
<!--=========================================================================================================-->
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12 ">
<?php
if(@$_GET['q']=='cld'){
echo"
<p>Cloud Computing Systems, where data is available over the internet rather than local servers and networks are changing the face of on-demand computing. Within the next decade, half of all information technology is estimated to be in the cloud.</p>
";
echo '<center><p>Workshop Fee: ₹1190</br>Date:10 Oct- 11 Oct</p></center>';
if(isset($_SESSION['u_id'])){
$uid=$_SESSION['u_id'];
$query = mysqli_query($con,"SELECT * FROM work_reg WHERE u_id='$uid' AND workshop='Cloud Computing' ") or die ('Error');
$count=mysqli_num_rows($query);
if($count==1){
echo '<center><a href="fee.php"><button class="sunny">Pay</button></a></center>';
}
else{
echo '<center><a href="cap/work_reg.php"><button class="sunny">Register</button></a></center>';
}
}
else{
echo '<center><p>*For Register Please Login...</p></center>';
}
}
else if(@$_GET['q']=='ani'){
echo "<p>Animatronics is the illusion of life achieved via electronic devices. Animatronics techniques using robots to imitate human and animal activities are widely practiced in movie making to create imaginary life-like creatures. Animatronics technology makes it possible to replicate a living being's action and facial expressions. In this program, we train the students to design, fabricate and control an Animatronic hand using embedded systems.</p></br>
";
echo '<center><p>Workshop Fee: ₹1600</br>Date:11 Oct- 12 Oct</p></center>';
if(isset($_SESSION['u_id'])){
$uid=$_SESSION['u_id'];
$query = mysqli_query($con,"SELECT * FROM work_reg WHERE u_id='$uid' AND workshop='Animatronics' ") or die ('Error');
$count=mysqli_num_rows($query);
if($count==1){
echo '<center><a href="fee.php"><button class="sunny">Pay</button></a></center>';
}
else{
echo '<center><a href="cap/work_reg.php"><button class="sunny">Register</button></a></center>';
}
}
else{
echo '<center><p>*For Register Please Login...</p></center>';
}
}else if(@$_GET['q']=='ges'){
echo"<p>Gesture Based Robotics (also known as Accelerometer Controlled Robotics) deals with robots which involve human-machine interaction - where a robot is controlled through hand movements sensed by an accelerometer.
The workshop helps participants understand the concepts and applications of an accelerometer sensor, microcontrollers and other electronic components used in Robotics. It includes practical training on building robots based on gesture recognition technology, providing students a glimpse into Human Machine Interaction technologies.
</p>";
echo '<center><p>Workshop Fee: ₹1300</br>Date:8 Oct- 9 Oct</p></center>';
if(isset($_SESSION['u_id'])){
$uid=$_SESSION['u_id'];
$query = mysqli_query($con,"SELECT * FROM work_reg WHERE u_id='$uid' AND workshop=' Gesture Based Robotics' ") or die ('Error');
$count=mysqli_num_rows($query);
if($count==1){
echo '<center><a href="fee.php"><button class="sunny">Pay</button></a></center>';
}
else{
echo '<center><a href="cap/work_reg.php"><button class="sunny">Register</button></a></center>';
}
}
else{
echo '<center><p>*For Register Please Login...</p></center>';
}
}else if(@$_GET['q']=='six'){
echo "
";
echo '<center><p>Workshop Fee: ₹1300</br>Date:6 Oct- 7 Oct</p></center>';
if(isset($_SESSION['u_id'])){
$uid=$_SESSION['u_id'];
$query = mysqli_query($con,"SELECT * FROM work_reg WHERE u_id='$uid' AND workshop='Sixth sense Robotics using DIP' ") or die ('Error');
$count=mysqli_num_rows($query);
if($count==1){
echo '<center><a href="fee.php"><button class="sunny">Pay</button></a></center>';
}
else{
echo '<center><a href="cap/work_reg.php"><button class="sunny">Register</button></a></center>';
}
}
else{
echo '<center><p>*For Register Please Login...</p></center>';
}
}
else if(@$_GET['q']=='cat'){
echo "
";
echo '<center><p>Workshop Fee: ₹1290</br>Date:6 Oct- 7 Oct</p></center>';
if(isset($_SESSION['u_id'])){
$uid=$_SESSION['u_id'];
$query = mysqli_query($con,"SELECT * FROM work_reg WHERE u_id='$uid' AND workshop='Catia(AutoCad/Cam)' ") or die ('Error');
$count=mysqli_num_rows($query);
if($count==1){
echo '<center><a href="fee.php"><button class="sunny">Pay</button></a></center>';
}
else{
echo '<center><a href="cap/work_reg.php"><button class="sunny">Register</button></a></center>';
}
}
else{
echo '<center><p>*For Register Please Login...</p></center>';
}
}
else if(@$_GET['q']=='3d'){
echo "
<p>3D Printing is an Additive Manufacturing technique that creates a physical object from a virtual 3D CAD model by depositing successive layers of material. They work like the traditional inkjet printers, but instead of ink, a 3D printer deposits desired material to manufacture an object from its digital format. 3D printing and rapid prototyping, in general, are widely claimed to have revolutionized not only the manufacturing industry but also many other walks of life like medicine, aerospace and automotive industry. This program on 3D Printing helps the participants understand the design, functioning and operation of a basic 3D Printer.
</p>
";
echo '<center><p>Workshop Fee: ₹1290</br>Date:10 Oct- 11 Oct</p></center>';
if(isset($_SESSION['u_id'])){
$uid=$_SESSION['u_id'];
$query = mysqli_query($con,"SELECT * FROM work_reg WHERE u_id='$uid' AND workshop='3D Printing' ") or die ('Error');
$count=mysqli_num_rows($query);
if($count==1){
echo '<center><a href="fee.php"><button class="sunny">Pay</button></a></center>';
}
else{
echo '<center><a href="cap/work_reg.php"><button class="sunny">Register</button></a></center>';
}
}
else{
echo '<center><p>*For Register Please Login...</p></center>';
}
}
else if(@$_GET['q']=='ic'){
echo "<p>Internal Combustion or IC Engines have had a great impact on human life. These engines produce immense power in contrast to their size and weight. Today, these engines power almost all air and land vehicles.
In this workshop students get firsthand experience of the working principles for IC Engine Design. By dismantling a real IC Engine into components, participants can explore the engineering involved in an automotive engine system.</p>
";
echo '<center><p>Workshop Fee: ₹1090</br>Date:8 Oct- 9 Oct</p></center>';
if(isset($_SESSION['u_id'])){
$uid=$_SESSION['u_id'];
$query = mysqli_query($con,"SELECT * FROM work_reg WHERE u_id='$uid' AND workshop='Automobile & IC Engine' ") or die ('Error');
$count=mysqli_num_rows($query);
if($count==1){
echo '<center><a href="fee.php"><button class="sunny">Pay</button></a></center>';
}
else{
echo '<center><a href="cap/work_reg.php"><button class="sunny">Register</button></a></center>';
}
}
else{
echo '<center><p>*For Register Please Login...</p></center>';
}
}
?>
</div>
<center >
</br></br><img src="img/skyfi.jpg" height="100px" width="150px" ></br>
<?php
?>
</center>
<!--================================================================-->
</div><hr>
<!--scroll area end-->
</div>
</div>
<!--===============================================================================-->
<script src="js/particles.js"></script>
<script src="js/app.js"></script>
<script>
$(".button-fill").hover(function () {
$(this).children(".button-inside").addClass('full');
}, function() {
$(this).children(".button-inside").removeClass('full');
});
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="js/jquery.1.10.2.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>