public static function render($layout) { $browser = Get::user_agent(); header("Content-Type: text/html; charset=" . self::charset() . ""); if ($browser["browser"] !== 'msie') { $intest = '<?xml version="1.0" encoding="' . self::charset() . '"?' . '>' . "\n"; } include _base_ . '/templates/' . getTemplate() . '/layout/' . $layout . '.php'; }