Feature Request #3187076
[phpmyadmin-regexreplace.git] / libraries / error.inc.php
blob95d88479214863a2a3a155445b897c167f85f847
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * phpMyAdmin fatal error display page
6 * @package phpMyAdmin
7 */
9 if (! defined('PHPMYADMIN')) {
10 exit;
13 header('Content-Type: text/html; charset=utf-8');
15 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
16 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang; ?>" dir="<?php echo $dir; ?>">
17 <head>
18 <link rel="icon" href="./favicon.ico" type="image/x-icon" />
19 <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
20 <title>phpMyAdmin</title>
21 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
22 <style type="text/css">
23 <!--
24 html {
25 padding: 0;
26 margin: 0;
28 body {
29 font-family: sans-serif;
30 font-size: small;
31 color: #000000;
32 background-color: #F5F5F5;
33 margin: 1em;
35 h1 {
36 margin: 0;
37 padding: 0.3em;
38 font-size: 1.4em;
39 font-weight: bold;
40 color: #ffffff;
41 background-color: #ff0000;
43 p {
44 margin: 0;
45 padding: 0.5em;
46 border: 0.1em solid red;
47 background-color: #ffeeee;
49 //-->
50 </style>
51 </head>
52 <body>
53 <h1>phpMyAdmin - <?php echo $error_header; ?></h1>
54 <p><?php echo PMA_sanitize($error_message); ?></p>
55 </body>
56 </html>