public function init()
 {
     if (isset($_GET['page'])) {
         $temp = htmlentities($_GET['page']);
         if (is_array($this->page_list) && in_array($temp, $this->page_list)) {
             $this->setCurrent($temp);
         } else {
             $this->setCurrent('error');
         }
     }
     self::$loadedSources = array('main', 'header', 'footer', $this->getCurrent());
 }