36459-vm/student_assessment.php
2026-05-27 14:29:58 +05:30

135 lines
3.6 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// student_assessment.php
// RS Learning Lab OMR-only Facilitated Assessment Flow
session_start();
// -----------------------------
// BASIC SESSION DATA (DEMO)
// -----------------------------
$session_name = $_SESSION['session_name'] ?? "Facilitated Learning Session";
$teacher_name = $_SESSION['teacher_name'] ?? "Facilitator";
// -----------------------------
// STUDENT LIST (FROM CSV / DB)
// For demo: static array
// -----------------------------
$students = [
['roll' => '01', 'name' => 'Arjun K'],
['roll' => '02', 'name' => 'Meena S'],
['roll' => '03', 'name' => 'Rahul M'],
['roll' => '04', 'name' => 'Priya R']
];
?>
<!DOCTYPE html>
<html>
<head>
<title>Student Assessment RS Learning Lab</title>
<style>
body {
background: #0b1020;
color: #ffffff;
font-family: Arial, sans-serif;
padding: 30px;
}
h1 {
color: #38bdf8;
}
.card {
background: #111827;
padding: 25px;
border-radius: 14px;
max-width: 900px;
margin: auto;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 12px;
border-bottom: 1px solid #1f2933;
text-align: left;
}
th {
color: #93c5fd;
}
.btn {
background: #0ea5e9;
padding: 8px 14px;
border-radius: 8px;
color: #fff;
text-decoration: none;
font-size: 14px;
}
.badge {
background: #022c22;
color: #6ee7b7;
padding: 4px 10px;
border-radius: 20px;
font-size: 12px;
}
.note {
margin-top: 25px;
font-size: 14px;
color: #cbd5f5;
background: #020617;
padding: 15px;
border-radius: 10px;
}
</style>
</head>
<body>
<div class="card">
<h1>Facilitated Assessment Session</h1>
<p>
<strong>Session:</strong> <?php echo $session_name; ?><br>
<strong>Facilitator:</strong> <?php echo $teacher_name; ?>
</p>
<p class="badge">OMR-based Learning Behaviour Assessment</p>
<table>
<thead>
<tr>
<th>Roll No</th>
<th>Student Name</th>
<th>Assessment Mode</th>
</tr>
</thead>
<tbody>
<?php foreach ($students as $student): ?>
<tr>
<td><?php echo $student['roll']; ?></td>
<td><?php echo $student['name']; ?></td>
<td>
<a class="btn"
href="omr_test.php?roll=<?php echo urlencode($student['roll']); ?>&name=<?php echo urlencode($student['name']); ?>">
Scan OMR
</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="note">
<strong>Important:</strong><br>
• This assessment does not evaluate right or wrong answers.<br>
• OMR is used only to capture learning preferences at scale.<br>
• Results focus on learning style, improvement signals, and consistency.<br>
• No marks, ranks, or exam pressure involved.
</div>
<p style="margin-top:30px;font-size:13px;">
© 2026 RS Learning Lab · Facilitated Learning Mode
</p>
</div>
</body>
</html>