<?php $this->db->join("pages", "menu.page=pages.id"); $getmenu = $this->db->get('menu'); ?>
<div class="navbar-bottom">
    <div class="main">
        <a href="<?= base_url(); ?>">Home</a>
        <a href="<?= base_url(); ?>tracking">Cek Pesanan</a>
        <?php foreach($getmenu->result_array() as $d): ?>
        <a href="<?= base_url(); ?><?= $d['slug']; ?>"><?= $d['title']; ?></a>
        <?php endforeach; ?>
    </div>
</div>
<div class="navbar-bottom-mobile" style="background-color: <?= $this->Settings_model->general()["navbar_color"]; ?>">
    <div class="main-mobile-bottom">
        <form action="<?= base_url(); ?>search" method="get">
            <input type="text" name="q"  placeholder="Cari produk" autocomplete="off">
            <i class="icofont-search"></i>
        </form>
    </div>
</div>