-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
175 lines (130 loc) · 6.67 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
<?php //include 'utility/secure.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Obaju e-commerce template">
<meta name="author" content="Ondrej Svestka | ondrejsvestka.cz">
<meta name="keywords" content="">
<title>
Obaju : e-commerce template
</title>
<meta name="keywords" content="">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100' rel='stylesheet' type='text/css'>
<!-- styles -->
<link href="../css/font-awesome.css" rel="stylesheet">
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/animate.min.css" rel="stylesheet">
<link href="../css/owl.carousel.css" rel="stylesheet">
<link href="../css/owl.theme.css" rel="stylesheet">
<!-- theme stylesheet -->
<link href="../css/style.default.css" rel="stylesheet" id="theme-stylesheet">
<!-- your stylesheet with modifications -->
<link href="../css/custom.css" rel="stylesheet">
<script src="../js/respond.min.js"></script>
<link rel="shortcut icon" href="../favicon.png">
</head>
<body>
<!-- *** TOPBAR ***
_________________________________________________________ -->
<div id="top" style="background:#8e1c1c;">
<div class="container">
<div class="col-md-6 offer" data-animate="fadeInDown">
</div>
<div class="col-md-6" data-animate="fadeInDown">
<ul class="menu">
<!-- <li><a href="welcome.php" data-toggle="modal" data-target="#login-modal">Login</a>
</li> -->
<form action="../controller/route.php" method="POST">
<input type="hidden" name="action" value="login">
<input type="" name="email" value="" placeholder="Email"><span><input type="password" name="password" value="" placeholder="Password"><span><input type="submit" name="" value="Login"></span></span>
<?php if(isset($error_message)){
echo $error_message;
}?>
<h6><a href="">Forgot password?</a> <br><a href="">Not registered</a></h6>
</form>
</ul>
</div>
</div>
<div class="modal fade" id="login-modal" tabindex="-1" role="dialog" aria-labelledby="Login" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="Login">Customer login</h4>
</div>
<div class="modal-body">
<form action="customer-orders.html" method="post">
<div class="form-group">
<input type="text" class="form-control" id="email-modal" placeholder="email">
</div>
<div class="form-group">
<input type="password" class="form-control" id="password-modal" placeholder="password">
</div>
<p class="text-center">
<button class="btn btn-primary"><i class="fa fa-sign-in"></i> Log in</button>
</p>
</form>
<p class="text-center text-muted">Not registered yet?</p>
<p class="text-center text-muted"><a href="register.html"><strong>Register now</strong></a>! It is easy and done in 1 minute and gives you access to special discounts and much more!</p>
</div>
</div>
</div>
</div>
</div>
<!-- *** TOP BAR END *** -->
<div class="col-xs-6 col-xs-offset-3" style="margin-bottom:0px">
<table style="border:1px solid black;" class="table table-borderd text-center">
<?php foreach($schools as $school){ ?>
<tr>
<td colspan="3" style="border-top:1px solid black" ><b><a style="color:black" href="route.php?action=page&schoolID=<?php echo $school['schoolID']; ?>"><?php echo $school['schoolName']; ?></a></b></td>
</tr>
<?php } ?>
</table>
</div>
<!-- *** FOOTER ***
_________________________________________________________ -->
<div id="footer" data-animate="">
<div class="container">
<!-- /.row -->
</div>
<!-- /.container -->
</div>
<!-- /#footer -->
<!-- *** FOOTER END *** -->
<!-- *** COPYRIGHT ***
_________________________________________________________ -->
<div id="copyright">
<div class="container">
<div class="col-md-6">
<p class="pull-left">© 2015 Your name goes here.</p>
</div>
<div class="col-md-6">
<p class="pull-right">
<a href="#" class="facebook external" data-animate-hover="shake"><i class="fa fa-facebook"></i></a>
<a href="#" class="twitter external" data-animate-hover="shake"><i class="fa fa-twitter"></i></a>
<a href="#" class="instagram external" data-animate-hover="shake"><i class="fa fa-instagram"></i></a>
<a href="#" class="gplus external" data-animate-hover="shake"><i class="fa fa-google-plus"></i></a>
<a href="#" class="email external" data-animate-hover="shake"><i class="fa fa-envelope"></i></a>
</p>
</div>
</div>
</div>
<!-- *** COPYRIGHT END *** -->
</div>
<!-- /#all -->
<!-- *** SCRIPTS TO INCLUDE ***
_________________________________________________________ -->
<script src="./js/jquery-1.11.0.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.cookie.js"></script>
<script src="../js/waypoints.min.js"></script>
<script src="../js/modernizr.js"></script>
<script src="../js/bootstrap-hover-dropdown.js"></script>
<script src="../js/owl.carousel.min.js"></script>
<script src="../js/front.js"></script>
</body>
</html>