32 lines
947 B
PHP
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>
|
|
<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 $ -->
|