-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
283 lines (260 loc) · 15.6 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
<!DOCTYPE html>
<html>
<head>
<title>Abd2dev School</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<link rel="stylesheet" href="css/animate.min.css">
<link rel="stylesheet" href="css/styles.css">
<style>
#logOutForm{
display: inline;
margin-top: 10px;
}
#logOutForm input{
margin-top: 13px;
background-color: #2c2c2d;
color: #ccc;
border: 0px;
}
#logOutForm input:hover{
color: #FFF;
}
.scrollBtn span{
font-size: 50px;
position: fixed;
top: 530px;
right: 40px;
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#ourTarget" 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" href="index.php">Abd2dev School</a>
</div>
<!-- Brand and toggle get grouped for better mobile display -->
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-right" id="ourTarget">
<ul class="nav navbar-nav">
<li class="active"><a href="index.php">Home</a></li>
<li><a href="myInfo.php">My Information</a></li>
<?php
error_reporting(0);
session_start();
if($_SESSION['newSession'] == null){
echo "<li><a href='login.php'>Sign in</a></li>";
} else{
echo "<li><form action='some.php' method='post' id='logOutForm'>
<input type='submit' value='Log out'>
</form></li>";
}
?>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- Start Carousel -->
<div id="mySlide" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#mySlide" data-slide-to="0" class="active"></li>
<li data-target="#mySlide" data-slide-to="1"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="images/1.jpg" alt="pic1">
<div class="carousel-caption">
<h2 class="h1">Abd2dev School</h2>
<p>This school .. Information about the school .. Information about the school .. Information about the school .. Information about the school .. Information about the school </p>
<a href="about.html"><div class="btn btn-primary">Read more</div></a>
</div>
</div>
<div class="item">
<img src="images/1.jpg" alt="pic2">
<div class="carousel-caption">
<h2 class="h1">We are more than school</h2>
<p>We are not just a school, we are More Information here .. we are More Information here .. we are More Information here .. we are More Information here .. we are More Information here .. we are More Information here .. we are More Information here ..</p>
</div>
</div>
</div>
<!-- Start Controls -->
<a class="left carousel-control" href="#mySlide" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#mySlide" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<!-- End Controls -->
</div>
<!-- End Carousel -->
<!-- End Carousel -->
<!-- Start Admin Section -->
<section class="price-table text-center">
<div class="container">
<h2 class="h1">Administration</h2>
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="leftContainer">
<img src="images/Admin.png" alt="admin pic" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<div class="leftSide">
<h2>Admin</h2>
<p>Mr. Admin Name</p>
</div>
</div>
</div>
<div class="rightSide col-md-8 col-sm-12 wow fadeInRight"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h1>Mr. Admin Name</h1>
<p>Here We Can Write Some Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information ... More Information</p>
</div>
</div>
</div>
</section>
<!-- End Admin Section -->
<!-- Start Teacher Section-->
<section class="teachers text-center">
<div class="data">
<div class="container">
<h2 class="h1">Our Teachers</h2>
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher1.png" alt="teacher1" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_1</h2>
<p>Here are some information about the teacher_1 ... more information ... more information ... more information ... more information ... more information ... more information ... more information... more information ... more information ... more information ... more information ... more information </p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher2.png" alt="teacher2" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_2</h2>
<p>Here are some information ... more information ... more information </p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher3.png" alt="teacher3" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_3</h2>
<p>Here are some information about the teacher_3 ... more information ... more information ... more information ... more information ... moron ... more information ... more information </p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher4.png" alt="teacher4" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_4</h2>
<p>Here are some information about the teacher_4 ... more information ... more information ... more information ... more information ... more information ... more information ... more information... more information ... more information ... more information ... more information ... more information </p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher5.png" alt="teacher5" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_5</h2>
<p>Here are some information about the teacher_5 ... more information ... more information ... more information ... more information ... more information ... more information ... more information... more information ... more information ... more information ... more information ... more information </p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher6.png" alt="teacher6" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_6</h2>
<p>Here are some information about the teacher_6 ... more information ... more information ... more information ... more information ... more information ... more information ... more information... more information ... more information ... more information ... more information ... more information </p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher7.png" alt="teacher7" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_7</h2>
<p>Here are some information abourmation ... more information ... more information... more information ... more information ... more information ... more information ... more information </p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="stats">
<img src="images/teacher8.png" alt="teacher8" class="wow flipInX"
data-wow-duration="2s"
data-wow-delay="0.4s"
data-wow-offset="200">
<h2>Mr. Teacher_8</h2>
<p>Here are some information about the teacher_8 ... more information ... more information ... more information ... more information ... more information ... more information ... more information... more information ... more information ... more information ... more information ... more information </p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End Teacher Section -->
<!-- Start Footer Section -->
<div class="footer">
<div class="hiddenDiv">[email protected]</div>
<p>Copyright_<span class="yearCopyRight"><?php echo date("Y"); ?> </span><span class="logo">ABD<span class="two">2</span>Dev</span> ©</p>
</div>
<!-- End Footer Section -->
<!-- Scroll button-->
<a href="#" class="scrollBtn"><span class="glyphicon glyphicon-upload" aria-hidden="true"></span></a>
<script src="JS/jquery-3.1.1.min.js"></script>
<script src="JS/scriptMain.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="js/plugins.js"></script>
<script src="js/jquery.nicescroll.min.js"></script>
<script src="js/wow.min.js"></script>
<script>new WOW().init();</script>
<script>
$(document).ready(function(){
$('.scrollBtn').hide();
//Check to see if the window is top if not then display button
$(window).scroll(function(){
if ($(this).scrollTop() > 400) {
$('.scrollBtn').fadeIn();
} else {
$('.scrollBtn').fadeOut();
}
});
//Click event to scroll to top
$('.scrollBtn').click(function(){
$('html, body').animate({scrollTop : 0},1000);
return false;
});
});
</script>
</body>
</html>