public static function render() { if (REQUEST::$HTML) { HTML::render(); print self::$HTML; } elseif (REQUEST::$MOBILE) { HTML::render("MOBILE"); print self::$MOBILE; } elseif (REQUEST::$JSON) { JSON::render(); print self::$JSON; } exit; }