mirror of https://github.com/itflow-org/itflow
31 lines
825 B
PHP
31 lines
825 B
PHP
<!-- Content Wrapper. Contains page content -->
|
|
<div class="content-wrapper">
|
|
|
|
<!-- Main content -->
|
|
<div class="content mt-3">
|
|
<div class="container-fluid">
|
|
|
|
<?php
|
|
//Alert Feedback
|
|
if(!empty($_SESSION['alert_message'])){
|
|
if (!isset($_SESSION['alert_type'])){
|
|
$_SESSION['alert_type'] = "info";
|
|
}
|
|
?>
|
|
<div class="alert alert-<?php echo $_SESSION['alert_type']; ?>" id="alert">
|
|
<?php echo $_SESSION['alert_message']; ?>
|
|
<button class='close' data-dismiss='alert'>×</button>
|
|
</div>
|
|
<?php
|
|
|
|
unset($_SESSION['alert_type']);
|
|
unset($_SESSION['alert_message']);
|
|
|
|
}
|
|
|
|
//Set Records Per Page
|
|
if(empty($_SESSION['records_per_page'])){
|
|
$_SESSION['records_per_page'] = 10;
|
|
}
|
|
|
|
?>
|