-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpgdstage1.php
185 lines (173 loc) · 13.4 KB
/
pgdstage1.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
176
177
178
179
180
181
182
183
184
185
<?php
// starting the session
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>DataBoard</title>
<!-- Internal css links -->
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<!--Include fonts -->
<link rel="stylesheet" href="fonts/icons_font.css" type="text/css"/>
<link rel="stylesheet" href="fonts/comfortaa/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="fonts/nunito/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="fonts/quicksand/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="fonts/ubuntu/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="fonts/worksans/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="fonts/sourcesanspro/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="fonts/montserrat/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="fonts/lato/stylesheet.css" type="text/css"/>
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<!-- External css -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
</head>
<body>
<section id="">
<!-- Side navbar -->
<div class="container-fluid">
<div class="row">
<div class="col-md-2 f-col">
<div class="container pro">
<img class="first-img" src="images/Subtract (1).png">
<h4 class="first-h4">Data <span class="board-color">Board</span></h4>
</div>
<hr class="line">
<div class="container pt-2 home">
<p class=""><a class="home-button nav-link font-12" href="home.php">HOME</a></p>
</div>
<nav class="container navbar navbar-expand-lg navbar-light bg-transparent pt-3">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo03">
<ul class="navbar-nav mt-2 mt-lg-0 pl-3">
<li class="nav-item dropdown">
<a class="nav-link font-12 font-12 px-3 button" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">PGD LEVEL</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item font-14" href="#">STAGE 1</a>
<a class="dropdown-item font-14" href="#">STAGE 2</a>
<a class="dropdown-item font-14" href="#">STAGE 3</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link font-12 px-3 button" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">MASTERS LEVEL</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item font-14" href="#">STAGE 1</a>
<a class="dropdown-item font-14" href="#">STAGE 2</a>
<a class="dropdown-item font-14" href="#">STAGE 3</a>
<a class="dropdown-item font-14" href="#">STAGE 4</a>
<a class="dropdown-item font-14" href="#">STAGE 5</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link font-12 px-3 button" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">PHD LEVEL</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item font-14" href="#">STAGE 1</a>
<a class="dropdown-item font-14" href="#">STAGE 2</a>
<a class="dropdown-item font-14" href="#">STAGE 3</a>
<a class="dropdown-item font-14" href="#">STAGE 4</a>
<a class="dropdown-item font-14" href="#">STAGE 5</a>
<a class="dropdown-item font-14" href="#">STAGE 6</a>
<a class="dropdown-item font-14" href="#">STAGE 7</a>
</div>
</li>
<div class="settings pt-5 mt-5">
<a href="#"><i class="fa fa-cog f-icon2 fa-1x mt-5"style="color:white" aria-hidden="true"></i></a>
<a href="#"><p class="trans3">Settings</p></a>
<i class=""></i>
</div>
</nav>
</div>
<div class="col-md-10 ">
<div class="container-fluid">
<div class="row pt-3">
<div class="col-3">
</div>
<div class="col-lg-6 col-md-6 col-xs-12 myform">
<!-- php code that allows a notification message to show after form submits successfully -->
<?php
if(isset($_SESSION['prosper']))
{
echo "<div id='form-msg'>".$_SESSION['prosper']."</div>";
unset($_SESSION['prosper']);
}
?>
<form method="POST" action="Script/formscript.php" enctype="multipart/form-data">
<div class="form-group">
<i class="fa fa-user"style="color:lightgrey" aria-hidden="true"></i>
<label class="col-form-label" for="formGroupExampleInput">Full Name</label>
<input type="text" name="full_name" class="form-control" id="mform" placeholder="Surname other-names">
</div>
<div class="form-group">
<i class="fa fa-napster"style="color:grey" aria-hidden="true"></i>
<label class="col-form-label" for="formGroupExampleInput2">Reg number</label>
<input type="number" name="reg_number" class="form-control" id="m-form" placeholder="e.g 20151010176">
</div>
<div class="form-group">
<i class="fa fa-napster"style="color:grey" aria-hidden="true"></i>
<label class="mr-sm-2" for="inlineFormCustomSelect">Select department</label>
<select class="custom-select mb-2 mr-sm-2 mb-sm-0" name="department" id="inlineFormCustomSelect">
<option selected>Choose...</option>
<option value="1">IMT</option>
<option value="2">PMT</option>
<option value="3">MMT</option>
<option value="4">FMT</option>
<option value="5">TMT</option>
</select>
</div>
<div class="form-group">
<i class="fas fa-mail-bulk"style="color:lightgrey"></i>
<label class="col-form-label" for="formGroupExampleInput2">Email</label>
<input type="email" name="email" class="form-control" id="m-form" placeholder="">
</div>
<div class="form-group">
<i class="fa fa-phone"style="color:grey" aria-hidden="true"></i>
<label class="col-form-label" for="formGroupExampleInput2">Phone</label>
<input type="number" name="phone" class="form-control" id="m-form" placeholder="">
</div>
<div class="form-group">
<i class="fa fa-file-powerpoint"style="color:grey" aria-hidden="true"></i>
<label class="col-form-label" for="formGroupExampleInput2">PPT file</label>
<input id="file-upload" type="file" name="ppt_file" id="fileToUpload" onchange="fileSeleted()" style="display: none; width: 0px;">
<button id='file-btn' type="button" class="btn btn-primary btn-floating" onclick="document.getElementById('file-upload').click()">+</button>
<h6 style='display: inline;' id="upload-data"></h6>
</div>
<div class="modal-footer">
<button class="btn btn-primary odom-submit">Submit</button>
</div>
<!-- <div class="modal-footer">
<button type="button" class="btn modal-btn btn-primary">Submit</button>
</div> -->
</form>
</div>
<div class="col-3">
</div>
</div>
</div>
</div>
</div>
</section>
<!-- External JQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<!-- <script></script>
$(function () {
$('body').on('click', '.odom-submit', function (e) {
$(this.form).submit();
$('#myModal').modal('hide');
});
});
</script> -->
</body>
</html>