<?php global $pdo; $tawk = getSetting($pdo, 'tawk_widget_id', ''); ?>
<footer class="portal-footer mt-auto py-3">
  <div class="container text-center">
    <p class="mb-0 text-muted small">&copy; <?= date('Y') ?> <?= htmlspecialchars(getSetting($pdo,'site_name',SITE_NAME)) ?>. All rights reserved.
      &nbsp;|&nbsp; <a href="/support.php" class="text-muted">Support</a>
      &nbsp;|&nbsp; <a href="/#privacy" class="text-muted">Privacy</a>
    </p>
  </div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.2/dist/chart.umd.min.js"></script>
<script src="/assets/js/main.js"></script>
<?php if ($tawk): echo $tawk; endif; ?>
</body>
</html>
