PHP Classes

File: error/skin/sk_bs4_server_error.php

Recommend this page to a friend!
  Classes of Francisco Núñez   BEH Basic PHP Error Handler Class   error/skin/sk_bs4_server_error.php   Download  
File: error/skin/sk_bs4_server_error.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BEH Basic PHP Error Handler Class
Handle PHP errors displaying them using templates
Author: By
Last change:
Date: 3 years ago
Size: 2,808 bytes


Class file image Download
 * @var string $error_text
 * @var integer $code

<!DOCTYPE html>
<html lang="en">

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $code; ?> Error | Server Error Control</title>
    <link rel="shortcut icon" href="/error/skin/src/favicon.ico"/>
    <link rel="icon" href="/error/skin/src/favicon.png" type="image/png"/>
    <link rel="stylesheet" href="/error/skin/src/reset.css">
    <link rel="stylesheet" href="/error/skin/src/destyle.css">
    <link rel="stylesheet" href="/error/skin/src/bootstrap.css">
    <link rel="stylesheet" href="/error/skin/src/all.min.css">
    <link rel="stylesheet" href="/error/skin/src/animate.css">
    <link rel="stylesheet" href="/error/skin/src/error.css">

<div class="container">
    <div class="row" style="margin-top: 10%;">
        <div class="offset-lg-3 col-lg-6">
            <div class="middle-box text-center animated fadeInDown">
                <h1 class="text-danger">
                    <?php echo $code; ?>
                <h3 class="font-bold">
                    <?php echo $error_text; ?>
                <div class="error-desc">
                    Sorry, but the page you are looking for is not available.<br>Try checking the URL for errors, then press the update button on your browser or try to find help from the technical service.
                <button type="button" class="btn btn-info" id="return">Refresh to Home</button>
                <div class="error-desc">
                    <strong class="fo-copy">
                        <i class="fas fa-registered"></i>
                        Developed by:
                        <a href="" class="text-decoration-none">Walter Nuñez </a>
                        and Powered by:
                        <a href="" class="text-decoration-none">Last Hammer </a>
                        <i class="fas fa-copyright"></i>
<!-- JS Files -->
<script defer src="/error/skin/src/jquery.min.js"></script>
<script defer src="/error/skin/src/popper.min.js"></script>
<script defer src="/error/skin/src/bootstrap.js"></script>
<!-- Return Home Script -->
<script type="text/javascript">
    document.addEventListener("DOMContentLoaded", function () {
        function refresh() {
            document.location.href = "/";

        document.getElementById("return").addEventListener("click", function () {