-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
65 lines (45 loc) · 1.97 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
<?php
$remove_sidebar = true;
require('app.php');
if(PupilAuth::isLoggedIn()) {
header( 'Location: home.php' ) ;
exit;
}
require('templates/header.php');
?>
<div class="five column centered row">
<div class="five wide column">
<?php if(isset($_GET['failure']) && $_GET['failure'] == 1) { ?>
<div class="ui red inverted segment">Login details incorrect. Please try again.</div>
<?php } ?>
<div class="ui red segment">
<img src="/images/alleyns_logo.png" style="width: 60%; margin-left: 20%;"/>
<div class="ui red inverted segment">
<div class="ui red inverted form">
<form action="/performlogin.php">
<p>Uniware Card Number</p>
<div class="field">
<input type="text" name="recordnumber" placeholder="Uniware Card Number">
</div>
<p>Date of Birth</p>
<div class="three fields" method="get">
<div class="field">
<input type="text" placeholder="DD" maxlength="2" name="dobdd">
</div>
<div class="field">
<input type="text" placeholder="MM" maxlength="2" name="dobmm">
</div>
<div class="field">
<input type="text" placeholder="YY" maxlength="2" name="dobyy">
</div>
</div>
<input type="submit" value="Login" class="ui white inverted button">
</div>
</div>
</div>
</div>
</div>
</div>
<?php
require('templates/footer.php');
?>