PHP Classes

File: aksara/Views/errors/html/error_400.php

Recommend this page to a friend!
  Packages of Aby Dahana   Aksara   aksara/Views/errors/html/error_400.php   Download  
File: aksara/Views/errors/html/error_400.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Refine subscriber dashboard UI, update technical dashboard with videos, and change WhatsApp link to GitHub
Date: 12 days ago
Size: 2,185 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="msapplication-navbutton-color" content="#007bff" />
        <meta name="theme-color" content="#007bff" />
        <meta name="apple-mobile-web-app-status-bar-style" content="#007bff" />
        <meta name="mobile-web-app-capable" content="yes" />
        <meta name="viewport" content="user-scalable=no, width=device-width, height=device-height, initial-scale=1, maximum-scale=1" />
        <link rel="icon" type="image/x-icon" href="uploads/settings/icons/logo.png">
        <title>400 Bad Request</title>
        <style>
            html,
            body {
                min-height: 100%;
                margin: 0;
                padding: 0
            }
            body {
                height: 100%;
                background: #fafafa;
                font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
                color: #777;
                font-weight: 400;
            }
            h1 {
                font-weight: lighter;
                letter-spacing: 0.8;
                font-size: 3rem;
                margin-top: 0;
                margin-bottom: 0;
                color: #222;
            }
            .centered {
                position: fixed;
                width: 100%;
                top: 50%;
                transform: translateY(-50%);
                text-align: center
            }
            a:active,
            a:link,
            a:visited {
                color: #007bff;
            }
        </style>
    </head>
    <body>
        <div class="centered">
            <img src="<?= base_url('assets/yao-ming.png'); ?>" width="128" alt="404" />
            <h1>400 - Bad Request</h1>
            <p>
                <?php if (ENVIRONMENT !== 'production') : ?>
<?= nl2br(esc(isset($message) && $message !== '(null)' ? $message : lang('Errors.sorryBadRequest'))) ?>
<?php else : ?>
<?= lang('Errors.sorryBadRequest') ?>
<?php endif; ?>
</p>
        </div>
    </body>
</html>