<!-- Right navbar links -->

<ul class="navbar-nav ml-auto">
    <div id="livekotakpertanyaan"></div>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <li class="nav-item">
      <a href="#" data-toggle="modal" data-target="#logout" class="btn btn-danger">
        <i class="fas fa-power-off"></i> KELUAR
      </a>
  </li>
</ul>
</nav>
$cek_user = $this->db->select('*')->from('pinjam_inv')->join('inventaris','pinjam_inv.id_inv=inventaris.id_inv')->join('user','pinjam_inv.id_user=user.id_user')->status=0