Files
CSiCoDB2/app/Views/layouts/main.php
2026-05-06 11:04:41 +02:00

55 lines
1.7 KiB
PHP

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="<?= base_url('assets/bootstrap-4.5.0/css/bootstrap.min.css'); ?>">
<link rel="stylesheet" href="<?= base_url('assets/css/style.css'); ?>">
<title>CSiCoDB</title>
<style>
body {
background-color: white;
}
</style>
</head>
<body role="document">
<!-- Carico la barra di navigazione sul sito -->
<?php if (CheckLevel(0, false)): ?>
<?= $this->include('cmpnts/layout/bar_logins_user') ?>
<?php else: ?>
<?= $this->include('cmpnts/layout/bar_logins_ghost') ?>
<?php endif; ?>
<!-- Carico la barra dei tab sul sito -->
<?= $this->include('cmpnts/layout/bar_tabs',) ?>
<div class="container-md" role="main" >
<!-- Flash messages -->
<?= $this->include('cmpnts/layout/bar_flash') ?> <!-- per questa non uso le sezioni, ma la inserisco direttamente nel layout -->
<!-- Content -->
<?= $this->renderSection('part_body') ?>
</div> <!-- /container -->
<br />
<br />
<?= $this->include('cmpnts/layout/footer') ?>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="<?= base_url('assets/js/jquery-3.5.1.slim.min.js'); ?>"></script>
<script src="<?= base_url('assets/js/popper.min.js'); ?>"></script>
<script src="<?= base_url('assets/bootstrap-4.5.0/js/bootstrap.min.js'); ?>"></script>
</body>
</html>