2024-10-31 09:35:41 +00:00
|
|
|
<?php
|
2024-07-01 09:45:07 +00:00
|
|
|
|
2024-10-31 09:35:41 +00:00
|
|
|
// 'notice' for all non-critical messages
|
|
|
|
if (isset($_SESSION['error'])) {
|
|
|
|
echo "\t\t" . '<div class="error">' . $_SESSION['error'] . '</div>';
|
|
|
|
}
|
|
|
|
|
|
|
|
// 'error' for errors
|
|
|
|
if (isset($_SESSION['notice'])) {
|
|
|
|
echo "\t\t" . '<div class="notice">' . $_SESSION['notice'] . '</div>';
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|