1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 3/** 4 * phpMyAdmin fatal error display page 5 * 6 * @package PhpMyAdmin 7 */ 8use PhpMyAdmin\Sanitize; 9 10if (! defined('PHPMYADMIN')) { 11 exit; 12} 13 14if (! defined('TESTSUITE')) { 15 http_response_code(500); 16 header('Content-Type: text/html; charset=utf-8'); 17} 18?> 19<!DOCTYPE HTML> 20<html lang="<?php echo $lang; ?>" dir="<?php echo $dir; ?>"> 21<head> 22 <link rel="icon" href="favicon.ico" type="image/x-icon" /> 23 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> 24 <title>phpMyAdmin</title> 25 <meta charset="utf-8" /> 26 <style type="text/css"> 27 <!-- 28 html { 29 padding: 0; 30 margin: 0; 31 } 32 body { 33 font-family: sans-serif; 34 font-size: small; 35 color: #000000; 36 background-color: #F5F5F5; 37 margin: 1em; 38 } 39 h1 { 40 margin: 0; 41 padding: 0.3em; 42 font-size: 1.4em; 43 font-weight: bold; 44 color: #ffffff; 45 background-color: #ff0000; 46 } 47 p { 48 margin: 0; 49 padding: 0.5em; 50 border: 0.1em solid red; 51 background-color: #ffeeee; 52 } 53 //--> 54 </style> 55</head> 56<body> 57<h1>phpMyAdmin - <?php echo $error_header; ?></h1> 58<p><?php echo Sanitize::sanitize($error_message); ?></p> 59</body> 60</html> 61