forked from ArnavAdhikary05/TeacherStudentFeedbackSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeedback_step_2.php
More file actions
209 lines (175 loc) · 5.31 KB
/
Copy pathfeedback_step_2.php
File metadata and controls
209 lines (175 loc) · 5.31 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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?php
include "configASL.php";
session_start();
if(isset($_POST['roll']))
{
$_SESSION['roll']=$_POST['roll'];
}
?>
<!DOCTYPE html>
<html lang="en">
<!-- Designed & Developed by Arnab Adhikary (arnabadhikary35@gmail.com) | Not for Commercial Use -->
<head>
<meta charset="UTF-8">
<title>Student Feedback System</title>
<style>
body {
margin: 0;
font-family: "Segoe UI", sans-serif;
background: linear-gradient(to right,
rgba(196,196,196,1) 0%,
rgba(191,191,191,1) 44%,
rgba(222,220,218,1) 100%);
animation: fadeBg 2s ease-in-out;
}
@keyframes fadeBg {
from { opacity: 0; }
to { opacity: 1; }
}
#topHeader {
width: 100%;
text-align: center;
background-color: rgba(59,59,59,1);
padding: 18px 0;
font-size: 26px;
color: rgba(215,215,215,1);
box-shadow: 0px 15px 35px rgba(107,90,107,1);
animation: slideDown 1s ease;
}
@keyframes slideDown {
from { transform: translateY(-40px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.tag {
color: rgba(253,146,40,1);
font-size: 18px;
display: block;
margin-top: 5px;
font-weight: bold;
text-decoration: underline;
}
#content {
width: 480px;
margin: 80px auto;
padding: 20px 30px;
border: 4px solid rgba(107,107,107,1);
border-radius: 10px;
background: rgba(255,255,255,0.45);
backdrop-filter: blur(4px);
box-shadow: 0px 6px 20px rgba(0,0,0,0.25);
animation: fadeUp 1.2s ease;
}
@keyframes fadeUp {
from { transform: translateY(40px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.SubHead {
font-size: 20px;
font-weight: bold;
color: rgba(207,103,0,1);
text-shadow: 0px 0px 4px rgba(255,255,255,0.8);
}
#table {
margin-top: 25px;
display: flex;
flex-direction: column;
gap: 15px;
width: 100%;
justify-content: center;
align-items: center;
}
.tr {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
width: 100%;
}
label {
font-size: 17px;
color: rgba(55,55,55,1);
font-weight: 600;
min-width: 100px;
text-align: right;
}
input[type='text'] {
font-size: 16px;
padding: 6px;
width: 80px;
background-color: rgba(181,181,181,1);
border: 1px solid rgba(107,107,107,1);
border-radius: 5px;
}
select {
font-size: 15px;
padding: 6px;
width: 180px;
background-color: rgba(181,181,181,1);
border: 1px solid rgba(107,107,107,1);
border-radius: 5px;
transition: 0.3s ease;
}
select:hover {
box-shadow: 0 0 8px rgba(207,103,0,0.9);
transform: scale(1.05);
}
input[type='submit'],
input[type='button'] {
font-size: 17px;
padding: 8px 15px;
background: transparent;
border: 2px solid rgba(107,107,107,1);
color: rgba(41,41,41,1);
cursor: pointer;
border-radius: 6px;
margin: 20px 10px 0 10px;
transition: 0.3s ease;
}
input[type='submit']:hover,
input[type='button']:hover {
background: rgba(41,41,41,1);
color: white;
transform: scale(1.05);
box-shadow: 0px 4px 15px rgba(0,0,0,0.25);
}
</style>
</head>
<body>
<div id="topHeader">
DBMS PROJECT
<span class="tag">STUDENT FEEDBACK SYSTEM</span>
</div>
<div id="content">
<span class="SubHead">Step II</span>
<form method="post" action="feedback_step_3.php">
<div id="table">
<!-- Roll No -->
<div class="tr">
<label>Roll No :</label>
<input type="text" disabled size="5" value="<?php echo $_SESSION['roll']; ?>" />
</div>
<!-- Faculty Selection -->
<div class="tr">
<label>Faculty :</label>
<select name="faculty_id" required>
<option value="NA" disabled selected>-- Select Faculty --</option>
<?php
$x = mysqli_query($al, "select * from faculty");
while ($y = mysqli_fetch_array($x)) {
?>
<option value="<?php echo $y['faculty_id']; ?>">
<?php echo $y['name']; ?>
</option>
<?php } ?>
</select>
</div>
</div>
<div style="text-align:center;">
<input type="button" value="BACK" onclick="window.location='feedback.php'">
<input type="button" value="EXIT" onclick="window.location='exit.php'">
<input type="submit" value="NEXT">
</div>
</form>
</div>
</body>
</html>