nocc_webmail/webmail/html/error.php
2022-01-03 15:03:38 +01:00

32 lines
947 B
PHP

<!-- start of $Id: error.php 2728 2017-11-20 10:22:45Z oheil $ -->
<?php
if (!isset($conf->loaded))
die('Hacking attempt');
?>
<div class="error">
<table class="errorTable">
<tr class="errorTitle">
<td><?php echo convertLang2Html($html_error_occurred) ?></td>
</tr>
<tr class="errorText">
<td>
<p><?php echo convertLang2Html($ev->getMessage()); ?></p>
<p>
<?php
if(isset($_SESSION['nocc_loggedin']) && $_SESSION['nocc_loggedin']) {
?>
<a href=""><?php echo convertLang2Html($html_retry) ?></a>&nbsp;&nbsp;
<a href="logout.php?<?php echo NOCC_Session::getUrlGetSession(); ?>"><?php echo convertLang2Html($html_logout) ?></a>
<?php
} else {
?>
<a href="logout.php?<?php echo NOCC_Session::getUrlGetSession(); ?>"><?php echo convertLang2Html($html_back) ?></a>
<?php
}
?>
</p>
</td>
</tr>
</table>
</div>
<!-- end of $Id: error.php 2728 2017-11-20 10:22:45Z oheil $ -->