  <!-- Sidebar -->
  <div class="sidebar" id="sidebar">
      <div class="sidebar-header">
          <div class="sidebar-logo">
              <a href="index.php">
                  <img src="assets/img/logo.png" class="img-fluid logo" alt="">
              </a>
              <a href="index.php">
                  <img src="assets/img/logo.png" class="img-fluid logo-small" alt="">
              </a>
          </div>

      </div>

      <div class="sidebar-inner slimscroll">
          <div id="sidebar-menu" class="sidebar-menu">
              <ul>
                  <?php
                    // Get the current page URL
                    $current_page_url = $_SERVER['PHP_SELF'];

                    // Get the basename (page name) from the URL
                    $page_name = basename($current_page_url);

                    // Output the page name

                    ?>

                  <li class="menu-title m-0">
                      <h6>Home</h6>
                  </li>
                  <li>
                      <a href="index.php" class="<?php echo ($page_name == 'index.php') ? 'active' : ''; ?>"><i
                              class="fe fe-grid"></i>
                          <span>Dashboard</span></a>
                  </li>
                  <li>
                      <a href="hero-banner-list.php"
                          class="<?php echo ($page_name == 'hero-banner-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Banner Image</span></a>
                  </li>
                  <li class="menu-title">
                      <h6>Listing</h6>
                  </li>
                  <li>
                      <a href="flash-news-list.php"
                          class="<?php echo ($page_name == 'flash-news-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Flash News</span></a>
                  </li>
                  <li class="menu-title">
                      <h6>About Us</h6>
                  </li>
                  <li>
                      <a href="organization-structure-list.php"
                          class="<?php echo ($page_name == 'organization-structure-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Organization Structure</span></a>
                  </li>
                  <li>
                      <a href="board-administration-list.php"
                          class="<?php echo ($page_name == 'board-administration-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Board Administration</span></a>
                  </li>
                   <li class="menu-title">
                      <h6>About Us - Constitution</h6>
                  </li>
                  <li>
                      <a href="members-having-Jurisdiction-list.php"
                    class="<?php echo ($page_name == 'members-having-Jurisdiction-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Members having Jurisdiction </span></a>
                  </li>
                  <li>
                      <a href="chairman-of-the-board-list.php"
                          class="<?php echo ($page_name == 'chairman-of-the-board-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Chairman of the Board</span></a>
                  </li>
                   <li>
                      <a href="secretary-of-the-board-list.php"
                          class="<?php echo ($page_name == 'secretary-of-the-board-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Secretary of the Board</span></a>
                  </li>
                  <li class="menu-title">
                      <h6>Listing</h6>
                  </li>
                  <li>
                      <a href="archives-list.php"
                          class="<?php echo ($page_name == 'archives-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Archives</span></a>
                  </li>

                  <li class="menu-title">
                      <h6>
                          Annual Reports</h6>
                  </li>
                  <li>
                      <a href="annual-accounts-list.php"
                          class="<?php echo ($page_name == 'annual-accounts-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Annual Accounts</span></a>
                      <a href="internal-auditor-report-list.php"
                          class="<?php echo ($page_name == 'internal-auditor-report-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Internal Auditor Report</span></a>
                  </li>

                  <li class="menu-title">
                      <h6>Planning</h6>
                  </li>
                  <li>
                      <a href="action-plan-list.php"
                          class="<?php echo ($page_name == 'action-plan-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Action Plan</span></a>
                  </li>

                  <li class="menu-title">
                      <h6>Listing</h6>
                  </li>
                  <li>
                      <a href="circulars-list.php"
                          class="<?php echo ($page_name == 'circulars-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Circulars</span></a>
                  </li>

                  <li class="menu-title">
                      <h6>Listing</h6>
                  </li>
                  <li>
                      <a href="tender-notification-list.php"
                          class="<?php echo ($page_name == 'tender-notification-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Tender Notification</span></a>
                  </li>

                  <li class="menu-title">
                      <h6>Listing</h6>
                  </li>
                  <li>
                      <a href="gallery-list.php"
                          class="<?php echo ($page_name == 'gallery-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Gallery</span></a>
                  </li>

                  <li class="menu-title">
                      <h6>RTI</h6>
                  </li>
                  <li>
                      <a href="rti-list.php" class="<?php echo ($page_name == 'rti-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>RTI </span></a>
                  </li>

                  <li>
                      <a href="officer-details-list.php" class="<?php echo ($page_name == 'officer-details-list.php') ? 'active' : ''; ?>"><i
                              class="fe fe-file-text"></i>
                          <span>Officer Details </span></a>
                  </li>


                  <li class="menu-title">
                      <h6>Settings</h6>
                  </li>
                  <li class="mb-3">
                      <a href="logout.php"><i class="fe fe-log-out"></i> <span>Logout</span></a>
                  </li>


              </ul>
          </div>
      </div>
  </div>
  <!-- /Sidebar -->