<!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></title>
  <link href="/rs/all.css" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
  <link rel="stylesheet" href="/rs/bootstrap.min.css">
  <link rel="stylesheet" href="/rs/jquery-ui.min.css">
  <link rel="stylesheet" href="/rs/jquery-ui.theme.min.css">
  <link rel="stylesheet" href="/rs/select2.min.css"/>
  <link rel="stylesheet" href="/rs/select2-bootstrap.min.css"/>
  <link href="/rs/dataTables.bootstrap4.min.css" rel="stylesheet">
  <link href="/rs/bootstrap4-toggle.min.css" rel="stylesheet">
  <script src="/rs/jquery-3.3.1.min.js"></script>
  <script src="/rs/jquery.dataTables.min.js"></script>
  <script src="/rs/jquery.validate.js"></script>  
  <script src="/rs/additional-methods.min.js"></script>    
  <link href="/rs/app.css" rel="stylesheet">
 </head>
 <body id="page-top" class="sidebar-toggled">
  <div id="wrapper">
   <?php 
    $validation = \Config\Services::validation(); 
    $us = session()->get('role'); 
    if ($us ==1){ ?>
   <?= $this->include('rs/sidebar-administration')?><?php } else {} ?>
   <div id="content-wrapper" class="d-flex flex-column">
    <div id="content" class="subpage bg-white">
     <?php if ($us ==1){ ?><?= $this->include('rs/topbar-admin')?><?php } else {?><?= $this->include('rs/topbar-users')?><?php }?>
     <input type="hidden" class="csrf_cookie_name" name="<?= csrf_token() ?>" value="<?= csrf_hash() ?>" />
     <?= $this->renderSection('content'); ?>
    </div>
    <?= $this->include('rs/footer'); ?>
   </div>
  </div>
  <?= $this->include('rs/modal'); ?>
  <script src="/rs/jquery-ui.min.js"></script>
  <script src="/rs/moment.js"></script>
  <script src="/rs/bootstrap.bundle.min.js"></script>    
  <script src="/rs/jquery.slimscroll.min.js"></script>
  <script src="/rs/select2.full.min.js"></script>
  <script src="/rs/select2.script.js"></script>
  <script src="/rs/jquery.dataTables.min.js"></script>
  <script src="/rs/dataTables.bootstrap4.min.js"></script>
  <script src="/rs/bootstrap4-toggle.min.js"></script>
  <script src="/rs/app.js"></script>
 </body>
</html>