<div class="sidebar-wrapper" sidebar-layout="stroke-svg">
  <div>
    <div class="logo-wrapper"><a href="/index"><img class="img-fluid for-light" src="<?= $cfg_baseurl; ?>assets/images/logo/logo.png" alt=""><img class="img-fluid for-dark" src="<?= $cfg_baseurl; ?>assets/images/logo/logo_dark.png" alt=""></a>
      <div class="toggle-sidebar"><i class="status_toggle middle sidebar-toggle" data-feather="grid"> </i></div>
    </div>
    <div class="logo-icon-wrapper"><a href="/index"><img class="img-fluid" src="<?= $cfg_baseurl; ?>assets/images/logo/logo-icon.png" alt=""></a></div>
    <nav class="sidebar-main">
      <div class="left-arrow" id="left-arrow"><i data-feather="arrow-left"></i></div>
      <div id="sidebar-menu">
        <ul class="sidebar-links" id="simple-bar">
          <li class="back-btn"><a href="/index"><img class="img-fluid" src="<?= $cfg_baseurl; ?>assets/images/logo/logo-icon.png" alt=""></a>
            <div class="mobile-back text-end"><span>Back</span><i class="fa fa-angle-right ps-2" aria-hidden="true"></i></div>
          </li>
          <li class="pin-title sidebar-main-title">
            <div>
                <h6>Pinned</h6>
            </div>
          </li>
            <?php
							if (isset($_SESSION[ 'user'])) {
							?>
							<?php
							if ($data_user['level'] == "Developers") {
			?>
			        <li class="sidebar-list">
                      <i class="fa fa-thumb-tack"></i>
                      <a class="sidebar-link sidebar-title" href="#">
                        <svg class="stroke-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-user"></use>
                        </svg>
                        <svg class="fill-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-user"></use>
                        </svg>
                        <span class="nav-link-text">Developers Menu</span>
                      </a>
                      <ul class="sidebar-submenu">
                        <li><a href="/pages/admin/cron_monitor" class="nav-link">Monitor CronJob</a></li>
                        <li><a href="/pages/admin/users" class="nav-link">Kelola Pengguna</a></li>
                        <li><a href="/pages/admin/ticket" class="nav-link">Kelola Ticket</a></li>
                        <li><a href="/pages/admin/services" class="nav-link">Kelola layanan</a></li>
                        <li><a href="/pages/admin/orders" class="nav-link">Kelola Pesanan</a></li>
                        <li><a href="/pages/admin/topup" class="nav-link">Kelola Topup</a></li>
                        <li><a href="/pages/admin/news" class="nav-link">Kelola Berita</a></li>
                        <li><a href="/pages/admin/staffs" class="nav-link">Kelola Staff</a></li>
                        <li><a href="/pages/admin/transfer_history" class="nav-link">Riwayat Transfer</a></li>
                        <li><a href="/pages/admin/aktifitas" class="nav-link">Aktifitas Penggguna</a></li>
                        <li><a href="/payment" class="nav-link">Tes QRIS</a></li>
                      </ul>
                    </li>
            <?php } if ($data_user[ 'level'] != "Member" ) {
			?>
			<li class="sidebar-list">
                      <i class="fa fa-thumb-tack"></i>
                      <a class="sidebar-link sidebar-title" href="#">
                        <svg class="stroke-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-user"></use>
                        </svg>
                        <svg class="fill-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-user"></use>
                        </svg>
                        <span class="nav-link-text">Admin Menu</span>
                      </a>
                      <ul class="sidebar-submenu">
                        <li><a href="/pages/staff/add_member" class="nav-link">Tambah Member</a></li>
                        <li><a href="/pages/staff/transfer_balance" class="nav-link">Transfer Saldo</a></li>
                      </ul>
                    </li>
          <li class="sidebar-main-title">
            <div>
              <h6 class="lan-1">General</h6>
            </div>
          </li>
          <? } ?>
                    <li class="sidebar-list"><i class="fa fa-thumb-tack"></i><a class="sidebar-link sidebar-title link-nav" href="/index">
              <svg class="stroke-icon">
                <use href="<?= $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-home"></use>
              </svg>
              <svg class="fill-icon">
                <use href="<?= $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-home"></use>
              </svg><span>Dashboard</span></a></li>
              <li class="sidebar-list"><i class="fa fa-thumb-tack"></i><a class="sidebar-link sidebar-title link-nav" href="/pages/hall_of_fame">
              <svg class="stroke-icon">
                <use href="<?= $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-bookmark"></use>
              </svg>
              <svg class="fill-icon">
                <use href="<?= $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-bookmark"></use>
              </svg><span>Hall Of Fame</span></a></li>
                    <li class="sidebar-main-title">
                    <div>
                      <h6 class="lan-8">Applications</h6>
                    </div>
                  </li>
                    <li class="sidebar-list">
                      <a class="sidebar-link sidebar-title" href="#">
                        <svg class="stroke-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-ecommerce"></use>
                        </svg>
                        <svg class="fill-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-ecommerce"></use>
                        </svg>
                        <span class="nav-link-text">Pemesanan</span>
                      </a>
                      <ul class="sidebar-submenu">
                        <li><a href="/pages/order" class="nav-link">Pemesanan Baru</a></li>
                        <li><a href="/pages/order_history" class="nav-link">Riwayat Pemesanan</a></li>
                      </ul>
                    </li>
                    <li class="sidebar-list">
                      <a class="sidebar-link sidebar-title" href="#">
                        <svg class="stroke-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-support-tickets"></use>
                        </svg>
                        <svg class="fill-icon">
                          <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-support-tickets"></use>
                        </svg>
                        <span class="nav-link-text">Deposit Saldo</span>
                      </a>
                      <ul class="sidebar-submenu">
                        <li><a href="/pages/deposit" class="nav-link">Deposit Baru</a></li>
                        <li><a href="/pages/deposit_history" class="nav-link">Riwayat Deposit</a></li>
                      </ul>
                    </li>
                    <li class="sidebar-list">
                    <i class="fa fa-thumb-tack"></i>
                    <a class="sidebar-link sidebar-title link-nav" href="/pages/ticket">
                      <svg class="stroke-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-ui-kits"></use>
                      </svg>
                      <svg class="fill-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-ui-kits"></use>
                      </svg><span>Ticket Support</span>
                    </a></li>
            <? } ?>
            <li class="sidebar-list">
                    <i class="fa fa-thumb-tack"></i>
                    <a class="sidebar-link sidebar-title link-nav" href="/pages/price_list">
                      <svg class="stroke-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-charts"></use>
                      </svg>
                      <svg class="fill-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-charts"></use>
                      </svg><span>Daftar Harga</span>
                    </a></li>
                    <li class="sidebar-list">
                    <i class="fa fa-thumb-tack"></i>
                    <a class="sidebar-link sidebar-title link-nav" href="/pages/staff_list">
                      <svg class="stroke-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-contact"></use>
                      </svg>
                      <svg class="fill-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-contact"></use>
                      </svg><span>Bantuan</span>
                    </a></li>
                    
                    <li class="sidebar-list">
                    <i class="fa fa-thumb-tack"></i>
                    <a class="sidebar-link sidebar-title link-nav" target="blank" href="https://drive.google.com/file/d/1O-sJwvOPcmN8knd9pamuAkBudTC7FWGR/view?usp=sharing">
                      <svg class="stroke-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-file"></use>
                      </svg>
                      <svg class="fill-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-file"></use>
                      </svg><span>Download Aplikasi</span>
                    </a></li>
                    
                    <li class="sidebar-list">
                    <i class="fa fa-thumb-tack"></i>
                    <a class="sidebar-link sidebar-title link-nav" href="/pages/terms">
                      <svg class="stroke-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-faq"></use>
                      </svg>
                      <svg class="fill-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-faq"></use>
                      </svg><span>Ketentuan</span>
                    </a></li> 
                    <li class="sidebar-list">
                    <i class="fa fa-thumb-tack"></i>
                    <a class="sidebar-link sidebar-title link-nav" href="/pages/kritik_dan_saran">
                      <svg class="stroke-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#stroke-knowledgebase"></use>
                      </svg>
                      <svg class="fill-icon">
                        <use href="<?php echo $cfg_baseurl; ?>assets/svg/icon-sprite.svg#fill-knowledgebase"></use>
                      </svg><span>Kritik & Saran</span>
                    </a></li>
        </ul>
      </div>
      <div class="right-arrow" id="right-arrow"><i data-feather="arrow-right"></i></div>
    </nav>
  </div>
</div>