-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
363 lines (328 loc) · 19 KB
/
index.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
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7">
<![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8">
<![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9">
<![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->
<title>Directors' Office | IIT Guwahati</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/templatemo_misc.css">
<link rel="stylesheet" href="css/templatemo_style.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<![endif]-->
<div class="bg-overlay"></div>
<div class="container-fluid">
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="sidebar-menu">
<div class="logo-wrapper">
<h1 class="logo">
<a href="#"><img src="images/logo.png" style="width: 50%;" alt="Circle Template">
<span>Directors' Office</span></a>
</h1>
</div>
<!-- /.logo-wrapper -->
<div class="menu-wrapper">
<ul class="menu">
<li><a class="homebutton" href="#">Home</a></li>
<li><a class="show-5" href="#">Director</a></li>
<li><a class="show-2" href="#">Director's Message</a></li>
<li><a class="show-3" href="#">Gallery</a></li>
<li><a class="show-1" href="#">The Team</a></li>
<li><a class="show-4" href="#">Contact</a></li>
</ul>
<!-- /.menu -->
<a href="#" class="toggle-menu"><i class="fa fa-bars"></i></a>
</div>
<!-- /.menu-wrapper -->
<!--Arrow Navigation-->
<a id="prevslide" class="load-item"><i class="fa fa-angle-left"></i></a>
<a id="nextslide" class="load-item"><i class="fa fa-angle-right"></i></a>
</div>
<!-- /.sidebar-menu -->
</div>
<!-- /.col-md-4 -->
<div class="col-md-8 col-sm-12">
<div id="menu-container">
<div id="menu-5" class="about content">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="member-item">
<div class="thumb">
<img src="images/team/director.jpg" alt="Gautam Biswas">
</div>
<h4>Gautam Biswas</h4>
<p>Email: [email protected]<br>
Phone: +91-361-258-0001</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-8 col-sm-12">
<div id="menu-container">
<div id="menu-1" class="about content">
<!-- <div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="member-item">
<div class="thumb">
<img src="images/team/director.jpg" alt="Gautam Biswas">
</div>
<h4>Gautam Biswas</h4>
<p>Email: [email protected]<br>
Phone: +91-361-258-0001</p>
</div>
/.member-item
</div>
</div> -->
<div class="row">
<div class="col-md-4 col-sm-4">
<div class="member-item">
<div class="thumb">
<img src="images/team/_MG_9231.jpg" alt="">
</div>
<h4>Amaya</h4>
</div>
<!-- /.member-item -->
</div>
<!-- /.col-md-4 -->
<div class="col-md-4 col-sm-4">
<div class="member-item">
<div class="thumb">
<img src="images/team/_MG_9233.jpg" alt="">
</div>
<h4>Nilakshi</h4>
</div>
<!-- /.member-item -->
</div>
<!-- /.col-md-4 -->
<div class="col-md-4 col-sm-4">
<div class="member-item">
<div class="thumb">
<img src="images/team/_MG_9234.jpg" alt="">
</div>
<h4>Pankaj</h4>
</div>
<!-- /.member-item -->
</div>
<!-- /.col-md-4 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-md-4 col-sm-4">
<div class="member-item">
<div class="thumb">
<img src="images/team/_MG_9238.jpg" alt="">
</div>
<h4>Nandeswar</h4>
</div>
<!-- /.member-item -->
</div>
<!-- /.col-md-4 -->
<div class="col-md-4 col-sm-4">
<div class="member-item">
<div class="thumb">
<img src="images/team/_MG_9239.jpg" alt="">
</div>
<h4>Manoj</h4>
</div>
<!-- /.member-item -->
</div>
<!-- /.col-md-4 -->
<!-- /.col-md-4 -->
</div>
<!-- /.row -->
</div>
<!-- /.about -->
<div id="menu-2" class="services content">
<div class="row">
<!-- <ul class="tabs">
<li class="col-md-4 col-sm-4">
<a href="#tab4" class="icon-item">
Current Message
</a>
</li>
<li class="col-md-4 col-sm-4">
<a href="#tab5" class="icon-item">
Message 2014-15
</a>
</li>
<li class="col-md-4 col-sm-4">
<a href="#tab6" class="icon-item">
Message 2013
</a>
</li>
</ul> -->
<!-- /.tabs -->
<div class="col-md-12 col-sm-12">
<div class="toggle-content text-center" id="tab4">
<h3>Message for the New Year</h3>
<p>
<?php
$conn = mysqli_connect("localhost","root","", "logindir");
$result = mysqli_query($conn, "select content from dir");
if (mysqli_num_rows($result) > 0) {
// output data of each row
while($row = mysqli_fetch_assoc($result)) {
echo $row["content"]. "<br><br>";
}
} else {
echo "0 results";
}
?>
</p>
</div>
<!-- <div class="toggle-content text-center" id="tab5">
<h3>Musing for IIT Guwahati Community</h3>
<p>IIT Guwahati has been identified as one of most vibrant Institutes across the world by the major ranking agencies. The hard work of students, devotion of researchers to quality, contributions of illustrious alumni, dedication of the teachers and staff, and the vision of the administration were instrumental in achieving this.
</p>
</div>
<div class="toggle-content text-center" id="tab6">
<h3>Message from the Director</h3>
<p>The Institute has to develop the Mission, Vision, Goal and Values that would be instrumental in placing IITG among the top 200 academic institutions of the world. The strategies that we develop must create new opportunities for the faculty and the students for enhancement of knowledge, performing cutting edge research and development of professional skills. The ultimate aim is to provide the students with an educational training that emphasizes innovation and social awareness. Also there is a serious need to promote the spirit of creativity amongst our researchers.
</p>
</div> -->
</div>
<!-- /.col-md-12 -->
</div>
<!-- /.row -->
</div>
<!-- /.services -->
<div id="menu-3" class="gallery content">
<div class="row">
<?php
$conn = mysqli_connect("localhost","root","", "logindir");
$result = mysqli_query($conn, "select img from dirimg");
if (mysqli_num_rows($result) > 0) {
// output data of each row
while($row = mysqli_fetch_assoc($result)) {
echo "<div class='col-md-4 col-ms-6'>
<div class='g-item'>
<img src=" . $row['img'] . " alt='error'>
<a data-rel='lightbox' class='overlay'>
<span>+</span>
</a>
</div>
<!-- /.g-item -->
</div>";
}
} else {
echo "0 results";
}
?>
</div>
<!-- /.row -->
</div>
<!-- /.gallery -->
<div id="menu-4" class="contact content">
<div class="row">
<div class="col-md-12">
<div class="toggle-content text-center spacing">
<h3>Contact Us</h3>
<p><strong>Address:</strong> Directors' Office, Indian Institute of Technology Guwahati
<br><strong>Email:</strong> [email protected] | <strong>Tel:</strong> 0361-258-0001
</p>
</div>
</div>
<!-- /.col-md-12 -->
<!--
<div class="col-md-12">
<div class="contact-form">
<div class="row">
<form action="#" method="post">
<fieldset class="col-md-4">
<input id="name" type="text" name="name" placeholder="Name">
</fieldset>
<fieldset class="col-md-4">
<input type="email" name="email" id="email" placeholder="Email">
</fieldset>
<fieldset class="col-md-4">
<input type="text" name="subject" id="subject" placeholder="Subject">
</fieldset>
<fieldset class="col-md-12">
<textarea name="message" id="message" placeholder="Message"></textarea>
</fieldset>
<fieldset class="col-md-12">
<input type="submit" name="send" value="Send Message" id="submit" class="button">
</fieldset>
</form>
</div>
</div>
</div> -->
<!-- /.col-md-12 -->
</div>
<!-- /.row -->
</div>
<!-- /.contact -->
</div>
<!-- /#menu-container -->
</div>
<!-- /.col-md-8 -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
<div class="container-fluid">
<div class="row">
<div class="col-md-12 footer">
<p id="footer-text">
© <a href="http://iitg.ernet.in" target="_blank">SWC, IIT Guwahati | All Rights Reserved</a>
</p>
</div>
<!-- /.footer -->
</div>
</div>
<!-- /.container-fluid -->
<script src="js/vendor/jquery-1.10.1.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="js/jquery.easing-1.3.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script type="text/javascript">
jQuery(function ($) {
$.supersized({
// Functionality
slide_interval: 3000, // Length between transitions
transition: 1, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed: 700, // Speed of transition
// Components
slide_links: 'blank', // Individual links for each slide (Options: false, 'num', 'name', 'blank')
slides: [ // Slideshow Images
{
image: 'images/b1.jpg'
}, {
image: 'images/b2.jpg'
}, {
image: 'images/b3.jpg'
}, {
image: 'images/b4.jpg'
}
]
});
});
</script>
</body>
</html>