error.inc.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * phpMyAdmin fatal error display page
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. if (! defined('PHPMYADMIN')) {
  9. exit;
  10. }
  11. if (! defined('TESTSUITE')) {
  12. header('Content-Type: text/html; charset=utf-8');
  13. }
  14. ?>
  15. <!DOCTYPE HTML>
  16. <html 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 charset="utf-8" />
  22. <style type="text/css">
  23. <!--
  24. html {
  25. padding: 0;
  26. margin: 0;
  27. }
  28. body {
  29. font-family: sans-serif;
  30. font-size: small;
  31. color: #000000;
  32. background-color: #F5F5F5;
  33. margin: 1em;
  34. }
  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;
  42. }
  43. p {
  44. margin: 0;
  45. padding: 0.5em;
  46. border: 0.1em solid red;
  47. background-color: #ffeeee;
  48. }
  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>