-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapplication.php
130 lines (120 loc) · 3.26 KB
/
application.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
<?php require_once ("includes/session.php");?>
<?php require_once ("includes/connection.php");?>
<?php require_once ("includes/functions.php");?>
<?php
$sid = $_GET['sid'];
$std = getstd($sid);
$surname = strtoupper($std['surname']);
$name = $std['name'];
$jambreg = $std['jambreg'];
$email = $std['email'];
$phone = $std['phone'];
$gender = $std['gender'];
$address = $std['h_address'];
$passport = $std['passport'];
$local = $std['local'];
$state_id = $std['state_id'];
$lc = getlocal($local);
$lcname = $lc['local_name'];
$sn = getstate($state_id);
$sname = $sn['name'];
?>
<head>
<title>Gateway Polytechnic,Ogun State</title>
<meta name="description" content="website" />
<meta name="keywords" content="enter your keywords here" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
<style type="text/css">
h1{
font-family: arial;
font-size: 40px;
float: right;
margin-right: 10%;
width: 60%;
}
h1 >small{
font-size: 14px;
font-weight: bold;
color: black;
}
.wrap{
width: 100%;
height: 150px;
color: black
}
.wrap> .img{
float: left;
width: 30%;
}
h4{
text-decoration: underline;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
text-align: left;
}
</style>
</head>
<body>
<center>
<div class="container" style="height: 100%;">
<div class="wrap">
<div class="img">
<img src="images/gatewaypic.png" width="100" height="100" style="margin-top: 2%">
</div>
<h1>Gateway Polytechnic,Saapade<br>
<small>Saapade, Ogun State</small>
</h1>
</div>
<div style="clear: both"></div>
<h4>Application Form</h4>
<div class="row">
<div class="col-md-8">
<h4>Bio-Data</h4>
<table style="width:50%">
<tr>
<th>Name:</th>
<td><?php echo $surname.","." ".$name; ?></td>
</tr>
<tr>
<th rowspan="1">Jamb Reg. No:</th>
<td><?php echo $jambreg; ?></td>
</tr>
<tr>
<th rowspan="1">Email:</th>
<td><?php echo $email; ?></td>
</tr>
<tr>
<th rowspan="1">GSM No:</th>
<td><?php echo $phone; ?></td>
</tr>
<tr>
<th rowspan="1">Gender:</th>
<td><?php echo $gender; ?></td>
</tr>
<tr>
<th rowspan="1">State:</th>
<td><?php echo $sname; ?></td>
</tr>
<tr>
<th rowspan="1">Local Govt:</th>
<td><?php echo $lcname; ?></td>
</tr>
</table>
</div>
<div class="col-md-3 col-md-offset-1">
<h4>GTP 2017/2018</h4>
<img src="<?php echo $passport; ?>" width="120px" height="100px" class="img img-responsive thumbnail">
</div>
</div>
</div>
</center>
</body>