<?php
$title='My Reputation';
?>

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

<h2 class="mb-4">
<i class="fa-solid fa-shield-halved"></i>
My Reputation
</h2>

<div class="row g-3">

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Reputation Score</h6>
<h2><?= htmlspecialchars($profile['reputation_score'] ?? '0') ?></h2>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Trust Index</h6>
<h2><?= htmlspecialchars($profile['trust_index'] ?? '0') ?></h2>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Global Rank</h6>
<h2>#<?= htmlspecialchars($profile['global_rank'] ?? '-') ?></h2>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Status</h6>
<h2><?= htmlspecialchars($profile['reputation_status'] ?? '-') ?></h2>
</div>
</div>
</div>

</div>

<div class="card shadow-sm mt-4">

<div class="card-body">

<h4>
<?= htmlspecialchars(
$profile['reputation_tier']
?? '-'
) ?>
</h4>

</div>

</div>

</div>
