<?php

System::loadLanguageFile('exception');
$lang = (object) $GLOBALS['TL_LANG']['XPT'];

?>
<!DOCTYPE html>
<html>
<head>

  <meta charset="utf-8">
  <title><?= $lang->unavailable ?></title>
  <meta name="generator" content="Contao Open Source CMS">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">

  <style>
    <?php include TL_ROOT . '/assets/contao/css/reset.css'; ?>
    body {
      background:#e3e3e3;
    }
    #container {
      max-width:640px;
      margin:10% auto 2em;
      text-align:center;
      background:#fff;
      border:1px solid #ccc;
      border-radius:6px;
      padding:4em 6px 6px;
    }
    #container h1 {
      color:#6d2000;
    }
    #container p {
      background:#f6f6f6;
      border:1px solid #ddd;
      border-radius:3px;
      padding:3em 1em;
      margin:4em 0 0;
      font-size:14px;
      color:#666;
      line-height:1.5;
    }
    .hint {
      color:#999;
      text-align:center
    }
  </style>

</head>
<body class="<?= Environment::get('agent')->class ?>">

  <div id="container">

    <img src="data:image/png;base64,[encoded data, 16420 characters]" width="128" height="128" alt="">

    <h1><?= $lang->unavailable ?></h1>
    <p><?= $lang->maintenance ?></p>

  </div>

  <p class="hint"><?php printf($lang->hint, 'templates/be_unavailable.html5'); ?></p>

</body>
</html>