<?php require dirname(__DIR__).'/app/core.php';require_login();if(empty($_SESSION['board_logged'])){audit('view','LAB_BOARD_SESSION_STARTED');$_SESSION['board_logged']=1;}$rows=$pdo->query("SELECT a.serial_number,r.workflow_type,r.designated_at FROM recertification_workflows r JOIN afguards a ON a.id=r.afguard_id WHERE r.workflow_status IN('Awaiting Test','Testing') ORDER BY r.designated_at")->fetchAll();?><!doctype html><html><body style="margin:0;background:#142552;color:white;font:24px Arial;padding:3vw"><div style="float:right"><span id="date"></span><br><b id="time"></b></div><h1>Recertification Laboratory</h1><h2><?=count($rows)?> Sensors</h2><?php foreach($rows as $x):?><p style="background:white;color:#142552;padding:15px;border-radius:12px"><?=e($x['serial_number'])?> — <?=e($x['workflow_type'])?></p><?php endforeach;?><script>function t(){let n=new Date;date.textContent=n.toLocaleDateString(undefined,{dateStyle:'full'});time.textContent=n.toLocaleTimeString()}t();setInterval(t,1000)</script></body></html>