-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tpl.php
65 lines (52 loc) · 2.38 KB
/
index.tpl.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
<!DOCTYPE html>
<html lang = "en-us">
<head>
<meta charset = "utf-8">
<meta name = "viewport" content = "width=device-width, initial-scale = 1.0">
<title>PROCOMS</title>
<link rel = "stylesheet" href = "static/index.css" type = "text/css">
</head>
<body>
<main id = "main">
<header class = "row">
<div col = "col-12">
<h3>Barbados Registration Authority</h3>
<h3>Vehicle Registration Management System</h3>
</div>
</header>
<section class = "row x">
<div col = "col-12">
<div style='color:red'>
<?php if(isset($errors)){
if(!isset($errors['natl_id']) || !isset($errors['natl_id'])){
echo $errors[0];
}else{
echo $errors['natl_id'];
echo '<br />';
echo $errors['user_password'];
}
}
?>
</div>
<form id="form" action="index.php" method="POST" autocomplete = "off">
<label class = "label">National ID</label>
<input id = "natl_id" type = "text" name="natl_id" class="form_fields" placeholder = "National ID">
<br>
<p id="error_natlid"></p>
<br><br>
<label class = "label">Password</label>
<input id = "user_password" type = "password" name = "user_password" class="form_fields" required>
<br>
<p id="error_password"></p>
<br><br>
<button id = "btn" type = "submit" name = "signIn" value = "Sign In">Sign In</button> <br><br><br>
<p id = "status"></p>
<a id = "forgot" href = "#forgot"> Forgot Password</a>
</form>
</div>
</section>
</main>
<!-- <script src = "scripts/index.js" type = "text/javascript"></script> -->
<script src="static/index.js" type = "text/javascript"></script>
</body>
</html>