7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
53 lines
1.6 KiB
PHP
53 lines
1.6 KiB
PHP
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
|
<title>Error</title>
|
|
</head>
|
|
<body style="background-color:#000000;">
|
|
<?php
|
|
$timestamp = time();
|
|
$errmsg = '';
|
|
$dberror = $this->error();
|
|
$dberrno = $this->errno();
|
|
if($dberrno == 1114) {
|
|
?>
|
|
<table cellpadding="0" cellspacing="0" border="0" width="600" align="center" height="85%">
|
|
<tr align="center" valign="middle">
|
|
<td>
|
|
<table cellpadding="10" cellspacing="0" border="0" width="80%" align="center">
|
|
<tr>
|
|
<td valign="middle" align="center" bgcolor="#EBEBEB">
|
|
<br><b style="font-size: 10px">Forum onlines reached the upper limit</b>
|
|
<br><br><br>Sorry, the number of online visitors has reached the upper limit.
|
|
<br>Please wait for someone else going offline or visit us in idle hours.
|
|
<br><br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
<?php
|
|
function_exists('dexit') ? dexit() : exit();
|
|
|
|
} else {
|
|
|
|
if($message) {
|
|
$errmsg = "<div style=\"padding:10px;color:#ffffff;\"><div align=\"center\" style=\"color:#ffffff;\"><input type=\"button\" value=\" Back \" style=\"height:30px;font-size:12pt;font-weight:bold;\" onclick=\"history.back();\"></div>
|
|
<b>EDT error info</b>: $message\n\n";
|
|
}
|
|
$errmsg .= "<b>Time</b>: ".gmdate("Y-n-j g:ia", $timestamp + ($GLOBALS['timeoffset'] * 3600))."\n";
|
|
if($sql) {
|
|
$errmsg .= "<b>SQL</b>: ".htmlspecialchars($sql)."\n";
|
|
}
|
|
$errmsg .= "<b>Error</b>: $dberror\n";
|
|
$errmsg .= "<b>Errno.</b>: $dberrno";
|
|
echo "<p style=\"background: #FFFFFF;\">";
|
|
echo nl2br($errmsg);
|
|
echo '</p></div></body></html>';
|
|
function_exists('dexit') ? dexit() : exit();
|
|
|
|
}
|
|
?>
|