diff --git a/www/application/controllers/Wrb404.php b/www/application/controllers/Wrb404.php index b1a15e2d..480fcede 100644 --- a/www/application/controllers/Wrb404.php +++ b/www/application/controllers/Wrb404.php @@ -10,14 +10,21 @@ class Wrb404 extends CI_Controller { public function index() { //echo 'Ameye'; - $this->output->set_status_header('404'); - $data['content'] = 'error_4042'; // View name + // $this->output->set_status_header('404'); + // $data['error_content'] = 'error_4042'; // View name - - $this->load->view('templates/header_boxed', $data); - $this->load->view('errors/cli/error_wrb_404', $data); //loading in my template - $this->load->view('users/view_external_footer'); - + //view_errorpage + + // $this->load->view('templates/header_boxed', $data); + // $this->load->view('errors/cli/error_wrb_404', $data); //loading in my template + // $this->load->view('users/view_external_footer'); + + $data['error_content'] = $this->load->view('errors/cli/error_wrb_404','', true); + + // $data['terms'] = $terms_checked; + // $data['error_content'] =''; + $this->load->view('site3/external/view_errorpage',$data); + } } diff --git a/www/application/views/errors/cli/error_wrb_404.php b/www/application/views/errors/cli/error_wrb_404.php index ae896151..267d8a11 100644 --- a/www/application/views/errors/cli/error_wrb_404.php +++ b/www/application/views/errors/cli/error_wrb_404.php @@ -1,44 +1,50 @@ + +
+ +
+ +
+ + + Logo + + + +
+ +

System Error

+ + +
Oops, an error has occurred. Page not found! +
Please try another page or return home.
+ + + + +
+ + +
+ +
+ + +
+ + + +
+ +
+ +
+ + - -
- - -
- - -
- - -
-

404

-
Oops, an error has occurred. Page not found!
-
- - - - -
-
- -
-
- - -
- - -
- - -
- - - - \ No newline at end of file diff --git a/www/application/views/site3/external/view_errorpage.php b/www/application/views/site3/external/view_errorpage.php new file mode 100644 index 00000000..b2765a12 --- /dev/null +++ b/www/application/views/site3/external/view_errorpage.php @@ -0,0 +1,27 @@ + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/www/site3/assets/img/404-error-message.png b/www/site3/assets/img/404-error-message.png new file mode 100644 index 00000000..7b5d74d7 Binary files /dev/null and b/www/site3/assets/img/404-error-message.png differ