Ejemplo n.º 1
0
    fetchSearch($type, $pageTitle);
} else {
    if (isset($_GET["letter"])) {
        $letter = $_GET["letter"];
        $type = "http://kino.to/Series.html";
        fetchLetterItems($type, $letter, "Series: " . $letter);
    } else {
        if (isset($_GET["serie"])) {
            $serie = base64_decode($_GET["serie"]);
            $title = base64_decode($_GET["title"]);
            fetchSerieSeasons($serie, $title);
        } else {
            if (isset($_GET["season"])) {
                $season = base64_decode($_GET["season"]);
                $title = base64_decode($_GET["title"]);
                fetchSerieSeasonEpisodes($season, $title);
            } else {
                if (isset($_GET["episode"])) {
                    $episode = base64_decode($_GET["episode"]);
                    $title = base64_decode($_GET["title"]);
                    fetchSerieSeasonEpisodeLinks($episode, $title);
                } else {
                    if (isset($_GET["host"])) {
                        $host = base64_decode($_GET["host"]);
                        $link = base64_decode($_GET["link"]);
                        fetchPlayEpisode($host, $link);
                    } else {
                        fetchCategories();
                    }
                }
            }
Ejemplo n.º 2
0
     $item = base64_decode($_GET["item"]);
     $title = base64_decode($_GET["title"]);
     fetchMovie($type, $item, $title);
 } else {
     if (isset($_GET["serie"])) {
         // Serie seasons view ---------------------
         $type = $_GET["type"];
         $serieLink = base64_decode($_GET["serie"]);
         $title = base64_decode($_GET["title"]);
         fetchSerieSeasons($type, $serieLink, $title);
     } else {
         if (isset($_GET["season"])) {
             // Serie season episodes view ------------
             $type = $_GET["type"];
             $seasonLink = base64_decode($_GET["season"]);
             fetchSerieSeasonEpisodes($type, $seasonLink);
         } else {
             if (isset($_GET["episode"])) {
                 // Serie episode links view -------------
                 $type = $_GET["type"];
                 $episodeLink = base64_decode($_GET["episode"]);
                 $episodeName = base64_decode($_GET["episodeName"]);
                 $seasonTitle = base64_decode($_GET["seasonTitle"]);
                 fetchSerieSeasonEpisodeLinks($type, $episodeLink, $episodeName, $seasonTitle);
             } else {
                 if (isset($_GET["type"])) {
                     // Show home view --------------------------
                     $type = $_GET["type"];
                     switch ($type) {
                         case "mov":
                             fetchMovieCategories($type);