<?php

declare(strict_types=1);

require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'fate_template.php';
$fatePageHitCount = isset($fatePageHitCount) ? $fatePageHitCount : null;
$fatePageStatsDbOk = isset($fatePageStatsDbOk) ? $fatePageStatsDbOk : null;
fate_template_footer_render('light', [
    'fatePageHitCount' => $fatePageHitCount,
    'fatePageStatsDbOk' => $fatePageStatsDbOk,
]);
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'fate_mobile_member_bar.php';
$mobileBarOpts = ['urlPrefix' => './'];
if (isset($fateAuthLoginNext) && is_string($fateAuthLoginNext) && $fateAuthLoginNext !== '') {
    $mobileBarOpts['loginNext'] = $fateAuthLoginNext;
}
fate_mobile_member_bar_emit_footer($mobileBarOpts);
?>
<script src="./static/crowd-report.js?v=2" defer></script>
</body>
</html>
