Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
- <script type="text/javascript">
- function getStates(value)
- {
- $.post("/is/htdocs/xxxxxxxxxxxxxxxx/www/main/wp-content/uploads/jb/search.php", {partialState:value}, function(data)
- {
- $("#results").html(data);
- });
- }
- </script>
- </head>
- <body>
- <?php
- if ($_POST["sub"] == "ADD")
- {
- $file = file_get_contents('/is/htdocs/xxxxxxxxxxxxxxxx/www/main/wp-content/uploads/jb/res/songs');
- $file .= $_POST["bandsong"]."\n";
- file_put_contents('/is/htdocs/xxxxxxxxxxxxxxxx/www/main/wp-content/uploads/jb/res/songs', $file);
- $file = file_get_contents('/is/htdocs/xxxxxxxxxxxxxxxx/www/main/wp-content/uploads/jb/res/res/urls');
- $file .= $_POST["url"]."\n";
- file_put_contents('/is/htdocs/xxxxxxxxxxxxxxxx/www/main/wp-content/uploads/jb/res/urls',$file);
- }
- ?>
- <table>
- <tr>
- <form action="#" method="POST">
- <td>Band - Song: <br><input type="text" name="bandsong" onkeyup="getStates(this.value)" required ><br><div style="color: lightgrey;font-size: 9px;position: relative; top: -25px;">Britney Spears - Stronger</div></td>
- <td>URL:<br><input type="text" name="url" value="" required><br><div style="color: lightgrey;font-size: 8px;position: relative; top: -25px;">https://www.youtube.com/watch?v=AJWtLf4-WWs</div></td>
- <td><div style="position: relative; top: -15px;"><input type="submit" name="sub" value="ADD"></div></td>
- </form>
- </tr>
- </table>
- Ähnliche Songs in der Jukebox:
- <div id="results"></div>
- </body>
Add Comment
Please, Sign In to add comment