File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/includes/pages/notfound.php
<?php
/**
* This file contains the iwp_page_notfound class
*
* @version $Id$
*
*
* @package IWP
* @subpackage IWP_FrontEnd
*/
/**
* IWP Frontend Error Page Class
* This class extends the iwp_engine abstract class.
* This class handles the actions for displaying error pages on the frontend
*
* @package IWP
* @subpackage IWP_FrontEnd
*/
class iwp_page_notfound extends iwp_engine {
/**
* Calls the parent constructor
*
* @return void Doesn't return anything
*/
public function __construct(){
parent::__construct();
}
/**
* This function displays a 404 error page including sending the 404 header
*
* @return void Doesn't return anything
*/
public function ShowPage() {
header(' ', true, 404);
$this->template->Assign(array('urls', 'search'), $this->urls->GetStaticURL('search'));
$this->controller->SetContent($this->template->ParseInput($this->lang->GetHtml('error.404')));
$this->controller->ShowTemplate('error');
}
}