Initial commit as of 2018-10-16
This commit is contained in:
42
application/views/404.php
Normal file
42
application/views/404.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
<style>
|
||||
body {
|
||||
background-color: #fff;
|
||||
}
|
||||
#error {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
</style>
|
||||
<?php if($random == 1) { ?>
|
||||
<section id="error" class="container">
|
||||
<center>
|
||||
<img src="<?= base_url('assets/images/404-dog.jpg'); ?>" class="img-fluid">
|
||||
<h1>4:04 Uhr - Die Seite konnte nicht erreicht werden!</h1>
|
||||
<p>Bitte hinterlassen Sie eine Nachricht oder versuchen Sie es später erneut!</p>
|
||||
<a class="btn btn-red round raised" href="<?= base_url(''); ?>">Auflegen</a>
|
||||
</center>
|
||||
</section><!--/#error-->
|
||||
<?php } ?>
|
||||
<?php if($random == 2) { ?>
|
||||
<section id="error" class="container">
|
||||
<center>
|
||||
<img src="<?= base_url('assets/images/404-empty-room.jpg'); ?>" class="img-fluid">
|
||||
<h1>4.04.<?= date('Y'); ?> - Es wird Geschichte geschrieben!</h1>
|
||||
<p>Aber nicht auf dieser Seite... na los sieh dich weiter um!</p>
|
||||
<a class="btn btn-red round raised" href="<?= base_url(''); ?>">Abenteuer erleben</a>
|
||||
</center>
|
||||
</section><!--/#error-->
|
||||
<?php } ?>
|
||||
<?php if($random == 3) { ?>
|
||||
<section id="error" class="container">
|
||||
<center>
|
||||
<img src="<?= base_url('assets/images/404-smartphone.png'); ?>" width="550px" class="img-fluid">
|
||||
<h1>Sie haben 404 neue Nachrichten!</h1>
|
||||
<p>Aber nicht auf dieser Seite... na los sieh dich weiter um!</p>
|
||||
<a class="btn btn-red round raised" href="<?= base_url(''); ?>">Ignorieren</a>
|
||||
</center>
|
||||
</section><!--/#error-->
|
||||
<?php } ?>
|
Reference in New Issue
Block a user