			<!-- ======= Footer ======= -->
  <footer class="footer"><div class="overlay">
    <div class="footer-top">
      <div class="container">
          <div class="row justify-content-between">
            <div class="col-lg-3 col-md-3 col-sm-6 footer-contact"> <?php  dynamic_sidebar('footera');?></div>
            <div class="col-lg-3 col-md-3 col-sm-6 footer-links about-links"> <?php  dynamic_sidebar('footerb');?></div>
            <div class="col-lg-3 col-md-3 col-sm-6 footer-links pub-links"><?php  dynamic_sidebar('footerc');?> </div>
            <div class="col-lg-3 col-md-3 col-sm-6 order-md-last order-first footer-links"><?php  dynamic_sidebar('footerd');?> 
          </div>
        </div>
      </div>
    </div>

    <div class="container">
      <div class="copyright">
       Copyright &copy;<?php echo date("Y") ?>  <strong><span><?php bloginfo('name'); ?></span></strong>. All Rights Reserved  
	   &nbsp;&nbsp;&nbsp;<small> Designed: <a href="https://www.lwegatech.com" target="_blank" title="LWEGATECH">Lwegatech</a></small>
      </div>
      <div class="credits">
        <a href="#top" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
      </div>
    </div>
    </div></footer><!-- End Footer -->
  </main>
	</div><!-- Main Area !-->
</div><!-- Wrapper !-->
 

    <?php wp_footer(); ?>
   

    <script>
    //For notifications & Alerts   
        function toasterOptions() {
        toastr.options = {
                "closeButton": false,
                "debug": false,
                "newestOnTop": false,
                "progressBar": true,
                "positionClass": "toast-top-right",
                "preventDuplicates": true,
                "onclick": null,
                "showDuration": "100",
                "hideDuration": "1000",
                "timeOut": "5000",
                "extendedTimeOut": "1000",
                "showEasing": "swing",
                "hideEasing": "linear",
                "showMethod": "show",
                "hideMethod": "hide"
        };
        };
    </script>
<!-- initialize scroll effect        
<script>
    AOS.init({
        duration: 1000,
        easing: "ease-in-out",
        once: true,
        mirror: false
    });
</script>!-->

<script>
document.addEventListener('DOMContentLoaded', function() {
    const btnOpenOffcanvasList = document.querySelectorAll('.btn-open-offcanvas');

    btnOpenOffcanvasList.forEach(btn => {
        btn.addEventListener('click', function() {
            const postId = this.getAttribute('data-post-id');
            const offcanvasContent = document.getElementById('offcanvas-content');

            // Use AJAX to fetch post content
            const xhr = new XMLHttpRequest();
            xhr.onreadystatechange = function() {
                if (xhr.readyState === 4 && xhr.status === 200) {
                    offcanvasContent.innerHTML = xhr.responseText;
                }
            };
            xhr.open('GET', '<?php echo admin_url('admin-ajax.php'); ?>?action=get_post_content&post_id=' + postId, true);
            xhr.send();
        });
    });
});
</script>
<script>
        jQuery(document).ready(function($) {
            $('#downloads-table').DataTable({
                // DataTables options here
                "paging": true,
                "searching": true,
                // Add more options as needed
            });
        });
    </script>



	</body>
</html>
