14 lines
295 B
PHP
14 lines
295 B
PHP
<?php
|
|
|
|
// '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>';
|
|
}
|
|
|
|
?>
|