HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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');
	}

}