File "footer.php"

Full path: /home/itsevak/public_html/prepaiddev.itsevak.com/includes/footer.php
File size: 2.26 B (2.26 KB bytes)
MIME-type: text/html
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

    </main>

    <!-- Footer -->
    <footer class="bg-dark text-light py-4 mt-5">
        <div class="container">
            <div class="row">
                <div class="col-md-4">
                    <h5>Prepaid Auto Rickshaw Service</h5>
                    <p class="mb-3">Connecting auto rickshaw owners and passengers for a better transportation experience.</p>
                    <?php if (!isLoggedIn()): ?>
                        <div class="d-flex flex-column gap-2">
                            <a href="<?php echo url_for('auth/register.php'); ?>" class="btn btn-outline-light btn-sm">Register as Passenger</a>
                            <a href="<?php echo url_for('auth/register_owner.php'); ?>" class="btn btn-outline-light btn-sm">Register as Auto Owner</a>
                        </div>
                    <?php endif; ?>
                </div>
                <div class="col-md-4">
                    <h6>Quick Links</h6>
                    <ul class="list-unstyled">
                        <li><a href="<?php echo url_for('/'); ?>" class="text-light text-decoration-none">Home</a></li>
                        <?php if (!isLoggedIn()): ?>
                            <li><a href="<?php echo url_for('auth/login.php'); ?>" class="text-light text-decoration-none">Login</a></li>
                        <?php else: ?>
                            <li><a href="<?php echo url_for('dashboard/'); ?>" class="text-light text-decoration-none">Dashboard</a></li>
                        <?php endif; ?>
                    </ul>
                </div>
                <div class="col-md-4 text-md-end">
                    <p class="mb-0">&copy; <?php echo date('Y'); ?> Prepaid Auto Services. All rights reserved.</p>
                </div>
            </div>
        </div>
    </footer>

    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <!-- Custom JavaScript -->
    <script src="<?php echo url_for('assets/js/app.js'); ?>"></script>
    
    <?php if (isset($pageScripts)): ?>
        <?php foreach ($pageScripts as $script): ?>
            <script src="<?php echo $script; ?>"></script>
        <?php endforeach; ?>
    <?php endif; ?>
</body>
</html>