echo "<p>"; echo "<a href='" . $strEsUrl . "' title='Download Spanish subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> Spanish</a>"; echo " <a href='" . $strPtUrl . "' title='Download Português subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> Português</a>"; echo " <a href='" . $strFrUrl . "' title='Download French subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> French</a>"; echo " <a href='" . $strEnUrl . "' title='Download English subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> English</a>"; echo "</p>"; $vikiStreams = $viki->streams($_GET['episode']); if ($vikiStreams !== FALSE) { echo "<h3>2. Download video. Choose your quality:</h3>"; echo "<p>Click, wait 5 sec, and then click again on the right up corner yellow button.</p>"; echo "<p>"; foreach ($vikiStreams as $quality => $data) { if ($quality == "external") { echo "Sory. No streams available to download :-("; } else { $adflyUrl = $adfly->getLink($_SERVER['SERVER_NAME'] . "/stream.php?id=" . $_GET['episode'] . "&quality=" . $quality); echo "<a href='" . $adflyUrl . "' title='Download video in " . $quality . "' class='btn btn-large btn-primary'><i class='icon-download-alt icon-white'></i> " . $quality . "</a> "; } } echo "</p>"; } } else { echo "<p>Sory. No streams available to download :-(</p>"; } ?> </div> <? include('inc/footer.inc.php'); ?> </body>
<!-- Start add banner --> <?php $propaganda = new propaganda(); $propaganda->printRandAdd(); ?> <!-- End add banner --> <!-- EpisodeResults --> <div class="page-header"> <h1>Select your download preferences</h1> </div> <?php echo "<h3>1. Download subtitles. Choose your lang:</h3>"; echo "<p>Right-click -> Save as...</p>"; $strEsUrl = $adfly->getLink($viki->subtitles($_GET['episode'], "es")); $strPtUrl = $adfly->getLink($viki->subtitles($_GET['episode'], "pt")); $strEnUrl = $adfly->getLink($viki->subtitles($_GET['episode'], "en")); $strFrUrl = $adfly->getLink($viki->subtitles($_GET['episode'], "fr")); echo "<p>"; echo "<a href='" . $strEsUrl . "' title='Download Spanish subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> Spanish</a>"; echo " <a href='" . $strPtUrl . "' title='Download Português subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> Português</a>"; echo " <a href='" . $strFrUrl . "' title='Download French subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> French</a>"; echo " <a href='" . $strEnUrl . "' title='Download English subtitles' class='btn btn-large btn-primary'><i class='icon-list-alt icon-white'></i> English</a>"; echo "</p>"; $vikiStreams = $viki->streams($_GET['episode']); if ($vikiStreams !== FALSE) { echo "<h3>2. Download video. Choose your quality:</h3>"; echo "<p>Click, wait 5 sec, and then click again on the right up corner yellow button.</p>"; echo "<p>"; foreach ($vikiStreams as $quality => $data) {