<?php
/*** This text should be at the top of all code files ***
 * footer.php – used for the shared QR App Lite footer
 * Made by: Morten Pilekær
 * Rev. 0.4.0 Owner: Morten Pilekær
 * Location: /qr-app-lite/footer.php
 ***/
declare(strict_types=1);

require_once __DIR__ . '/app-config.php';

$appVersion = isset($appVersion) ? (string)$appVersion : QR_APP_VERSION;
?>
<footer class="app-footer border-top mt-5 py-3">
  <div class="container small text-secondary">
    <div class="d-flex flex-column flex-lg-row justify-content-between gap-2">
      <div>
        <span class="fw-semibold">QR App Lite <?= appE($appVersion) ?></span>
      </div>
      <div class="text-lg-end">
        <div>&copy; <?= date('Y') ?> Morten Pilekær. All Rights Reserved gælder kun egne programdele og med de tilladelser, der fremgår af <a href="LICENSE.txt">LICENSE.txt</a>.</div>
        <div>Tredjepartsdele følger deres respektive licenser; se <a href="THIRD-PARTY-LICENSES.txt">THIRD-PARTY-LICENSES.txt</a>.</div>
      </div>
    </div>
  </div>
</footer>
