-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddsubject.php
68 lines (56 loc) · 1.61 KB
/
addsubject.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
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "header.php";
include_once("header.php");
include_once("navbar.php");
?>
<html>
<head>
<style>
body {
background-color: white;
}
</body>
</style>
</head>
<body>
<br><div class="container">
<div class="row" align="center">
<div class="col-lg-6">
<div class="jumbotron">
Here you will Add subjects
<form class="form-horizontal" method= "POST" action="add.sub.php">
<fieldset>
<!-- Form Name -->
<legend>Add Subjects</legend>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="subcode">Subject Code</label>
<div class="col-md-5">
<input id="subcode" name="subcode" type="text" placeholder="" class="form-control input-md" required="">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="subdescription">Subject Description</label>
<div class="col-md-5">
<input id="subdescription" name="subdescription" type="text" placeholder="" class="form-control input-md" required="">
</div>
</div>
<!-- Button -->
<div class="form-group" align="right">
<label class="col-md-4 control-label" for="submit"></label>
<div class="col-md-5">
<input type="submit" id="submit" name="submit" class="btn btn-primary" value="Add Subject"></input>
</div>
</div>
</fieldset>
</form>
</div>
</div>
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "footer.php";
include_once("footer.php");
include_once("navbar.php");
?>