Repository navigation
Expand file tree
/
Copy pathsolus_enterPro.php
More file actions
92 lines (80 loc) · 2.91 KB
/
Copy pathsolus_enterPro.php
File metadata and controls
92 lines (80 loc) · 2.91 KB
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
<!-- Purpose: To enter a program information into the database
Author: Songyu Yang -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Student Management System</title>
<link rel="stylesheet" type = "text/css" href="main.css">
<link rel="stylesheet" type = "text/css" href="Table_CSS.css">
</head>
<style>
.textClass{
height: 25px;
width: 360px;
}
.textClass label{
/*width: 50px;*/
}
.textClass input{
height: 25px;
}
.labelClass{
width: 240px;
}
</style>
<body>
<?php
// Include the database connection file
include 'solus_connectdb.php';
?>
<div>
<div style="display: flex">
<div style="margin: auto">
<h1>Welcome to Solus</h1>
<h3>Add a Program Information</h3>
</div>
</div>
<div class="header" style="display: flex;">
<div style="margin: auto">
<form action="solus_enterProInfo.php" method="post">
<table>
<tr>
<div >
<td class="labelClass"><label for="code">Code:</label></td>
<td><input type="text" id="code" name="code" class="textClass"><em>The value cannot exceed 8 characters</em></td>
</div>
</tr>
<tr>
<div >
<td class="labelClass"><label for="name">Degree Plan Name:</label></td>
<td><input type="text" name="name" class="textClass"></td>
</div>
</tr>
<tr>
<div >
<td class="labelClass"><label for="automaticAcceptanceGPA">Automatic Acceptance GPA:</label></td>
<td><input type="text" name="automaticAcceptanceGPA" class="textClass"></td>
</div>
</tr>
<tr>
<div >
<td class="labelClass"><label for="pendingListAcceptanceGPA">Pending List Acceptance GPA:</label></td>
<td><input type="text" name="pendingListAcceptanceGPA" class="textClass"></td>
</div>
</tr>
</table>
<div class="">
<div>
<div style="margin-left: 50px;margin-top: 10px">
<input type="submit" value="Add Program" style="height: 28px">
<a href="index.php" style="padding: 2px 6px;background: #54c4e5;color: white">Home</a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>