<?php
$title='Governance Performance Center';
?>

<div class="container-fluid py-4">

<div class="card border-0 shadow-lg rounded-4">

<div class="card-body">

<h2 class="fw-bold">

<i class="fa fa-medal text-primary"></i>

Governance Performance Center

</h2>

<table class="table table-hover">

<thead>

<tr>

<th>User</th>
<th>Role</th>
<th>Assignments</th>
<th>Overdue</th>
<th>Score</th>

</tr>

</thead>

<tbody>

<?php foreach($rows as $row): ?>

<tr>

<td><?= htmlspecialchars($row['user_name']) ?></td>

<td><?= htmlspecialchars($row['assigned_role']) ?></td>

<td><?= (int)$row['assignments'] ?></td>

<td><?= (int)$row['overdue'] ?></td>

<td><?= (int)$row['score'] ?></td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>
