<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <title>Analis Dashboard</title>
        <link rel="stylesheet" href="<?=base_url();?>assets/css/icons/font/bootstrap-icons.min.css">
        <link rel="stylesheet" href="<?=base_url();?>assets/datatables/datatables.min.css">
        <link href="<?=base_url();?>assets/css/styles.css" rel="stylesheet" />
    </head>
    
    <!-- <body class="sb-nav-fixed sb-sidenav-toggled"> -->
    <body class="sb-nav-fixed">
		<?= $this->include('sampling/layout/topbar'); ?>        
		
        <div id="layoutSidenav">
			
			<?= $this->include('sampling/layout/sidebar'); ?>	
            
            <div id="layoutSidenav_content">
				<main>
					<div class="container-fluid px-2 py-2">
						
						<?php
						if(isset($_SESSION['alertmsg'])) {
						?>
						<div class="alert alert-warning alert-dismissible fade show" role="alert">
							<?=$_SESSION['alertmsg'];?>
							<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
						</div>
						<?php
						}
						?>
						
						<?= $this->renderSection('content'); ?>
						
					</div>
				</main>

                <footer class="py-3 bg-light mt-auto">
                    <div class="container-fluid px-4">
                        <div class="d-flex align-items-center justify-content-between small">
                            <div class="text-muted ms-auto ">Copyright &copy; 4SKAI 2024</div>
                        </div>
                    </div>
                </footer>
            </div>
        </div>
		<script src="<?=base_url();?>assets/jquery-3.6.0.min.js"></script>
        <script src="<?=base_url();?>assets/js/bootstrap.bundle.min.js"></script>
        <script src="<?=base_url();?>assets/datatables/datatables.min.js"></script>
		<script src="<?=base_url();?>assets/js/scripts.js"></script>
        <?= $this->renderSection('script'); ?>        
    </body>
</html>
