89 lines
1.6 KiB
PHP
89 lines
1.6 KiB
PHP
<?php
|
|
session_start();
|
|
|
|
$name = $_GET['name'] ?? 'Student';
|
|
$roll = $_GET['roll'] ?? 'NA';
|
|
$class = $_GET['class'] ?? '';
|
|
$topic_id = $_GET['topic_id'] ?? 1; // 🔥 IMPORTANT ADD
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Final Assessment | RS Learning Lab</title>
|
|
<style>
|
|
body{
|
|
margin:0;
|
|
min-height:100vh;
|
|
background:radial-gradient(circle at top,#020617,#0f172a);
|
|
font-family:Arial;
|
|
color:#e5e7eb;
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:center;
|
|
}
|
|
.card{
|
|
background:#020617;
|
|
padding:50px 60px;
|
|
border-radius:24px;
|
|
box-shadow:0 0 40px rgba(0,0,0,.75);
|
|
max-width:560px;
|
|
text-align:center;
|
|
}
|
|
h1{
|
|
margin-bottom:8px;
|
|
font-size:30px;
|
|
}
|
|
.subtitle{
|
|
opacity:.85;
|
|
margin-bottom:26px;
|
|
}
|
|
.info{
|
|
margin-bottom:28px;
|
|
line-height:1.7;
|
|
}
|
|
.footer{
|
|
margin-top:30px;
|
|
font-size:13px;
|
|
opacity:.55;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="card">
|
|
<h1>🏁 Final Assessment</h1>
|
|
<div class="subtitle">Last step of your learning journey</div>
|
|
|
|
<div class="info">
|
|
<b><?= htmlspecialchars($name) ?></b> (<?= htmlspecialchars($roll) ?>)<br>
|
|
Class <?= htmlspecialchars($class) ?>
|
|
<br><br>
|
|
This assessment evaluates your understanding and application skills.<br>
|
|
Complete it carefully to unlock your certificate.
|
|
</div>
|
|
|
|
<a href="/rs_lab/final_assessment_test.php
|
|
?topic_id=<?= $topic_id ?>
|
|
&name=<?= urlencode($name) ?>
|
|
&roll=<?= urlencode($roll) ?>
|
|
&class=<?= urlencode($class) ?>"
|
|
style="
|
|
display:inline-block;
|
|
padding:14px 36px;
|
|
border-radius:999px;
|
|
background:linear-gradient(135deg,#22c55e,#06b6d4);
|
|
color:#020617;
|
|
font-weight:bold;
|
|
text-decoration:none;
|
|
">
|
|
▶ Start Final Assessment
|
|
</a>
|
|
|
|
<div class="footer">
|
|
© RS Learning Lab — Learning Behaviour Platform
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|