<div class="sidebar">

    
    <div class="sidebar-title">
        MENU ADMIN
    </div>

    <a class="<?php if(basename($_SERVER['PHP_SELF'])=='dashboard.php') echo 'active'; ?>" href="dashboard.php">
        <i class="fa-solid fa-house"></i>
        Dashboard
    </a>

    <a class="<?php if(basename($_SERVER['PHP_SELF'])=='peta.php') echo 'active'; ?>" href="peta.php">
        <i class="fa-solid fa-map-location-dot"></i>
        Peta GIS
    </a>

    <a class="<?php if(basename($_SERVER['PHP_SELF'])=='validasi.php') echo 'active'; ?>" href="validasi.php">
        <i class="fa-solid fa-circle-check"></i>
        Validasi Laporan
    </a>

    <a class="<?php if(basename($_SERVER['PHP_SELF'])=='data_bantuan.php') echo 'active'; ?>" href="data_bantuan.php">
        <i class="fa-solid fa-hand-holding-heart"></i>
        Data Bantuan
    </a>

    <a class="<?php if(basename($_SERVER['PHP_SELF'])=='rumah_ibadah.php') echo 'active'; ?>" href="rumah_ibadah.php">
        <i class="fa-solid fa-building"></i>
        Rumah Ibadah
    </a>

    <div class="sidebar-footer">

        <a href="../logout.php" onclick="return confirm('Logout sekarang?')">

            <i class="fa-solid fa-right-from-bracket"></i>
            Logout

        </a>

    </div>


</div>