PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/randomizer/index.php

https://github.com/Allikin/SpotifyTools.php
PHP | 57 lines | 57 code | 0 blank | 0 comment | 0 complexity | bb302814111f23a4b992cfd32f7bd8a7 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
  3. <head>
  4. <title>Randomize your Spotify playlist</title>
  5. <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
  6. <link rel="stylesheet" type="text/css" href="../styles.css" />
  7. <meta name="description" content="Randomize your Spotify playlist" />
  8. <meta property="og:title" content="Randomize your Spotify playlist" />
  9. <meta property="og:type" content="website" />
  10. <meta property="og:url" content="http://thoseannoyingdupes.com/randomizer/" />
  11. <meta property="og:image" content="http://thoseannoyingdupes.com/dupes_250x250.jpg" />
  12. <meta property="og:site_name" content="Playlist randomizer" />
  13. <meta property="fb:admins" content="anita.berge" />
  14. </head>
  15. <body topmargin="20px">
  16. <div id="fb-root"></div>
  17. <?php
  18. include('../java.js');
  19. include('../functions.php');
  20. ?>
  21. <div id="top" class="center">
  22. <h2>Randomize Spotify playlist</h2>
  23. <b>Simply choose your desired Spotify playlist and drag/copy it to one of the fields below</b><br/>
  24. <br/>
  25. - generates a randomized list of tracks<br/>
  26. &nbsp;<br/>&nbsp;<br/>&nbsp;<br/>
  27. <div class="menu">
  28. <a href="../">Remove dupes</a>
  29. &nbsp;|&nbsp;
  30. <a href="../compare/">Compare</a>
  31. &nbsp;|&nbsp;
  32. Randomize
  33. &nbsp;|&nbsp;
  34. <a href="../split/">Split up</a>
  35. &nbsp;|&nbsp;
  36. <a href="/">Home</a>
  37. </div>
  38. </div>
  39. <div id="middle" class="center">
  40. <div id="col1" class="col">
  41. <form name='playlist' action='' method='POST'>
  42. <b>Drag/copy your <i>playlist</i> here - limited</b><br/>
  43. &nbsp;&nbsp;<font size='-2'>- will only accept up to 1000 tracks<br/>
  44. &nbsp;&nbsp;- does not handle local tracks</font><br/>&nbsp;<br/>
  45. <input type='text' name='playlist' size='37' value=""><br/>&nbsp;<br/>&nbsp;<br/>
  46. <b>or</b><br/>&nbsp;<br/>&nbsp;<br/>
  47. <b>...drag/copy your <i>tracks</i> here - no limit!</b><br/>
  48. &nbsp;&nbsp;<font size='-2'>- as many as you want, local ones too</font><br/>&nbsp;<br/>
  49. <textarea name='tracks' rows='10' cols='35' wrap='off'></textarea><br/>&nbsp;<br/>
  50. <input type="submit" name="submit" value="Submit"/>
  51. <input type='submit' name='reset' value="Reset"/>
  52. </div>
  53. <div id="col2" class="col">
  54. <?php include('randomize.php'); ?>
  55. </div>
  56. </div>
  57. <?php include('../footer.php');?>