-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapply.php
68 lines (63 loc) · 2.82 KB
/
apply.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
<?php
include 'php/includes/header.php';
if(!isset($_SESSION['email'])){
Header('Location:logout.php');
}
?>
<div class="container" id="wrapper">
<div id="header">
<div class="mainLogo">
<div class="logo"><img src="images/lg.jpg" width="60px" height="50px"/>Speak Up <span>Desk</span></div>
</div>
<div id="login">
<?php if(isset($_SESSION['email'])){?>
You are logged in as: <b><?php echo $_SESSION['email']; ?></b>
<?php } else { ?>
<a href="login.php">Login</a> | <a href="register.php">Register</a>
<?php } ?>
</div>
</div>
<div id="nav">
<?php include 'php/includes/navigation.php'?>
</div>
<div id="main">
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-9">
<div class="col-lg-12">
<div class="well">
<form class="bs-example form-horizontal" method="post" action="" id="apply">
<fieldset>
<input type="hidden" name="applicationForm" value="apply">
<legend style="font-family: trebuchet ms;">Applications:</legend>
<div id="application_alert"></div>
<div class="form-group">
<label for="national_id" class="col-lg-2 control-label">ID number:</label><br>
<div class="col-lg-4">
<input class="form-control" id="national_id" placeholder="National ID Number" type="number" min="5" title="National Id required and should contain numbers only" required/>
</div>
</div>
<div class="form-group">
<label for="app_type" class="col-lg-2 control-label">Application Type:</label><br>
<div class="col-lg-4">
<select class="form-control" id="app_type" title="Please select application type!" required name="app_type" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;">
<option value="">-- Select --</option>
<option value="certificate">Cert. of Conduct</option>
<option value="abstract">Police Abstract</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-lg-4 col-lg-offset-2">
<button type="submit" class="btn btn-primary pull-right" style="padding:5px 7px;border-radius:6px;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;" id="application">Submit</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="clearer" style="height:8px;"></div>
<?php include 'php/includes/footer.php'; ?>