<?php
declare(strict_types=1);
require_once __DIR__.'/../../authentication/api/connect.php';
header('Cache-Control: no-store');header('Referrer-Policy: no-referrer');header("Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; connect-src 'self'; base-uri 'none'; frame-ancestors 'none'");
?><!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="referrer" content="no-referrer"><title>Practical Transcript | Rockview University</title><link rel="stylesheet" href="<?=htmlspecialchars(app_path(),ENT_QUOTES)?>/shared/css/transcript.css?v=2"><script src="<?=htmlspecialchars(app_path(),ENT_QUOTES)?>/shared/vendor/qr-code.js?v=1" defer></script><script src="<?=htmlspecialchars(app_path(),ENT_QUOTES)?>/shared/js/transcript.js?v=2" defer></script></head><body data-app-base="<?=htmlspecialchars(app_path(),ENT_QUOTES)?>"><div class="transcript-toolbar"><a href="<?=htmlspecialchars(app_path(),ENT_QUOTES)?>/shared/views/modules/practical-examinations.php">← Practical examinations</a><span id="transcriptStatus" role="status">Checking transcript…</span><button id="transcriptPrint" type="button" disabled>Print / Save PDF</button></div><main id="transcriptPaper" class="transcript-paper" hidden><div id="transcriptContent" class="transcript-content"><header class="transcript-header"><img src="<?=htmlspecialchars(app_path(),ENT_QUOTES)?>/shared/images/logo.png" alt="Rockview University logo" width="88" height="88"><div><p class="transcript-eyebrow">OFFICIAL ACADEMIC RECORD</p><h1>ROCKVIEW UNIVERSITY</h1><p class="transcript-subtitle">Practical Examination Transcript</p><p class="transcript-certification">A statement of the published practical examination results of the student named below.</p></div></header><div class="transcript-reference"><span id="transcriptReference"></span><span id="transcriptIssued"></span></div><section id="transcriptStudent" class="transcript-student" aria-label="Student information"></section><section class="transcript-results"><div class="transcript-section-title"><h2>Examination results</h2><span id="transcriptPeriod"></span></div><div class="transcript-table-wrap"><table><thead><tr><th>Course / examination</th><th>Level 1<br><small>/25</small></th><th>Level 2<br><small>/25</small></th><th>Final<br><small>/50</small></th><th>Total<br><small>/100</small></th><th>Grade</th></tr></thead><tbody id="transcriptRows"></tbody></table></div><p id="transcriptScope" class="transcript-note"></p></section><section class="transcript-grading"><h2>Grading criteria</h2><div class="transcript-grade-grid"><div><strong>D</strong><span>0–50%</span><small>Fail</small></div><div><strong>B</strong><span>51–60%</span><small>Pass</small></div><div><strong>B+</strong><span>61–70%</span><small>Pass</small></div><div><strong>A</strong><span>71–80%</span><small>Pass</small></div><div><strong>A+</strong><span>81–100%</span><small>Pass</small></div></div><p class="transcript-note">Level 1 (25%) + Level 2 (25%) = 50%. Final examination = 50%. Overall total = 100%. Decimal results use continuous bands: over 50–60 B; over 60–70 B+; over 70–80 A; over 80–100 A+.</p></section><section class="transcript-authentication"><div><h2>Verify this transcript</h2><p>Scan the QR code to view the published results and check this transcript’s current verification status.</p><a id="transcriptVerifyLink" rel="noreferrer">Open verification page</a><p id="transcriptLocalNotice" class="transcript-note"></p></div><div id="transcriptQr" class="transcript-qr" role="img" aria-label="QR code linking to transcript verification"></div></section><section class="transcript-signatures"><div><h3>Practical instructor</h3><p>Name <span></span></p><p>Signature <span></span></p><p>Date <span></span></p></div><div><h3>Head of Department (HOD)</h3><p>Name <span></span></p><p>Signature <span></span></p><p>Date <span></span></p></div></section><footer class="transcript-footer"><strong>Rockview University · Practical Examination Record</strong><p>QR verification confirms the published academic results. Signature approval is completed separately by the responsible officers.</p></footer></div></main><section id="transcriptError" class="transcript-error" hidden></section></body></html>
