/** * @param bool $template * @param string $base */ public function render($template = FALSE, $base = 'base') { global $board, $db, $action, $top; defined('ADVANCED_ON') or define('ADVANCED_ON', false); self::$_action = self::generateContent($template); include DIR . '/design/' . $this->getTheme() . '/' . $base . '.phtml'; }