MaketRandevu/application/views/components/booking_footer.php

31 lines
882 B
PHP
Raw Normal View History

<?php
2023-12-31 21:46:27 +03:00
/**
* Local variables.
*
* @var bool $display_login_button
*/
?>
<div id="frame-footer">
<small>
<span class="footer-powered-by">
2023-12-31 21:46:27 +03:00
<?= lang("powered_by") ?>
</span>
<span class="footer-options">
<span id="select-language" class="badge bg-secondary">
2021-11-23 10:41:37 +03:00
<i class="fas fa-language me-2"></i>
<?= ucfirst(config('language')) ?>
</span>
2023-12-31 21:46:27 +03:00
<?php if ($display_login_button) : ?>
<a class="backend-link badge bg-primary text-decoration-none px-2" href="<?= session('user_id') ? site_url('calendar') : site_url('login') ?>">
<i class="fas fa-sign-in-alt me-2"></i>
<?= session('user_id') ? lang('backend_section') : lang('login') ?>
</a>
<?php endif; ?>
</span>
</small>
</div>