mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-11 15:46:16 +00:00
Initial commit, Ecard system build with CodeIgniter PHP framework
Currently working - Basic structure - Basic caching and gzip compression for speed - Admin authentication
This commit is contained in:
committed by
Ismo Vuorinen
parent
345d8ea65a
commit
c10c9e3131
30
application/errors/error_404.php
Normal file
30
application/errors/error_404.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
$ci = &get_instance();
|
||||
|
||||
$data = array(
|
||||
"user" => $ci->erkana->getUser()
|
||||
);
|
||||
|
||||
$ci->load->view("_header", $data);
|
||||
|
||||
if (!isset($heading)) {
|
||||
$heading = "Otsikko";
|
||||
}
|
||||
if (!isset($message)) {
|
||||
$message = "Viesti";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
<div class="small-12 large-12 columns" id="adminmenu">
|
||||
<div class="panel">
|
||||
|
||||
<h2><?php echo $heading; ?></h2>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $ci->load->view("_footer", $data);
|
||||
Reference in New Issue
Block a user