public static function frame() { self::$frames = $_GET['frames'] ? $_GET['frames'] : $_POST['frames']; if (empty($_GET['app']) || self::$frames) { include self::view("admincp"); exit; } }