<?php
class theme404page
{
public function index()
{
self::makeContent('404page');
}
public function makeContent($viewName,$inputData=array())
{
$themePath=System::getThemePath().'view/';
$inputData['themePath']=$themePath;
View::makeWithPath('head',array(),$themePath);
View::makeWithPath($viewName,$inputData,$themePath);
View::makeWithPath('footer',array(),$themePath);
}
}
?>
|