<!DOCTYPE html>
<html lang="en" dir="ltr" data-bs-theme="light" data-color-theme="Blue_Theme" data-layout="horizontal" >
<head>
    <?php
        $currentPath = uri_string(); //current_url(); // Get the current URI path
    ?>
    <title><?= $this->renderSection('title'); ?></title>    
    <?php include(APPPATH . 'Views/layouts/head.php'); ?>
    <?= $this->renderSection('css'); ?>
</head>
<body class="link-sidebar">
    <!-- Preloader -->
    <div class="preloader">
        <img src="<?= base_url('assets/images/logos/favicon.png'); ?>" alt="loader" class="lds-ripple img-fluid" />
    </div>
    <div id="main-wrapper">

        <!-- Sidebar Start -->
        <aside class="left-sidebar with-vertical">
            <div><?php include(APPPATH . 'Views/layouts/sidebar.php'); ?></div>
        </aside>
        <!-- Sidebar End -->

        <div class="page-wrapper">
            <!-- Header Start -->
            <header class="topbar">
                <div class="with-vertical"><?php include(APPPATH . 'Views/layouts/header.php'); ?></div>
                <div class="app-header with-horizontal"><?php include(APPPATH . 'Views/layouts/horizontal-header.php'); ?></div>
            </header>
            <!-- Header End -->
            
            <aside class="left-sidebar with-horizontal">
                <?php include(APPPATH . 'Views/layouts/horizontal-sidebar.php'); ?>
            </aside>

            <div class="body-wrapper">
                <div class="container-fluid">
                <?= $this->renderSection('pageContent'); ?>
                </div>
            </div>
            <?php // include(APPPATH . 'Views/layouts/customizer.php'); ?>
        </div>

        <?php include(APPPATH . 'Views/layouts/headers/dd-searchbar.php'); ?>
        <?php include(APPPATH . 'Views/layouts/headers/dd-shopping-cart.php'); ?>
    </div>
    <div class="dark-transparent sidebartoggler"></div>
    <?php include(APPPATH . 'Views/common/scripts.php'); ?>
    <?php include(APPPATH . 'Views/layouts/scripts.php'); ?>
    <?= $this->renderSection('scripts'); ?>
   

</body>
</html> 