Initial commit

This commit is contained in:
Akamaru 2015-04-23 14:26:38 +02:00
parent 9469fe366d
commit 73fa72c2dd
2 changed files with 82 additions and 1 deletions

View File

@ -1,2 +1,2 @@
# PonyWave-FUS-RO-GA-Downloader
# PonyWave FUS RO GA! Downloader
A simple PHP script

81
index.php Normal file
View File

@ -0,0 +1,81 @@
<!DOCTYPE html>
<html>
<head>
<title>PonyWave - FUS RO GA! Downloader</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link href="//ponywave.de/wp-content/uploads/2014/02/ponywave_icon_150x150.png" rel="icon">
<style type="text/css">
body {
background-image: url("//ponywave.de/wp-content/uploads/2014/04/youtube21.png");
background-repeat: no-repeat;
background-position: center top;
background-color: #90b6a7;
min-height: 100%;
}
.container {
max-width: 1000px;
}
button[readonly],
html input[readonly] {
cursor: default !important;
}
</style>
</head>
<body>
<div class="container">
<img class="img-responsive" src="//ponywave.de/wp-content/uploads/2014/09/cropped-PonyWave_Header_Naira_New.png" alt="Header">
<nav class="navbar navbar-inverse" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="//ponywave.de/">Home</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div style="padding: 12px; background-color: #FFFFFF; line-height: 1.4; text-align:center;">
<?php
$linkanfang = "http://fusro.ga/flash/";
$linkende = ".swf";
$linkbeschriftung = "Hier geht es zur SFW-Datei";
$ueberschrift = "FUS RO GA! Downloader";
echo '<h1>'.$ueberschrift.'</h1>
<form action="'.$_SERVER['PHP_SELF'].'" method="POST">
Referenz: <input type="text" name="Teil"><input type="submit"><br/>';
if ($_POST['Teil'] == "") {
echo '<p>Bitte gebe eine Nummer ein.</p>';
}
else if (is_numeric($_POST['Teil'])) {
echo '<p><a href="'.$linkanfang.$_POST['Teil'].$linkende.'">'.$linkbeschriftung .'</a></p>';
}
else {
echo '<p>Pf, das war keine Nummer.</p>';
}
?>
</form>
<p>ID des gew&uuml;nschten Flashs eintragen und auf Senden dr&uuml;cken.<br>
Die ID von http://fusro.ga/6194 w&auml;re "6194".<br>
Dann ein Rechtsklick und auf "Link speichern unter..." um die .swf zu downloaden.</p>
<p><a href="http://fusro.ga/">FUS RO GA! Webseite</a><br>
Code von <a href="https://fabianpegel.de/">pegelf</a> und &uuml;berarbeitet von <a href="http://wiidatabase.de/author/icon/">iCON</a> und <a href="http://akamaru.de/">Akamaru</a><br>
</div>
</div>
</body>
</html>