Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. <html class="gr__flare-radio_com"><head>
  2. <title>FlareRadio</title>
  3. <link rel="stylesheet" href="style.css">
  4. <link rel="stylesheet" href="bootstrap.css">
  5. <link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.css">
  6. <link rel="stylesheet" type="text/css" href="fontello-9bf5554a/css/fontello.css">
  7. <script src="https://code.jquery.com/jquery-1.12.4.js"></script><script>
  8. <script
  9. src="https://code.jquery.com/jquery-3.1.1.js"
  10. integrity="sha256-16cdPddA6VdVInumRGo6IbivbERE8p7CQR3HzTBuELA="
  11. crossorigin="anonymous"></script><script>
  12. function setVolume() {
  13. document.getElementById("radioplayer").volume
  14. = document.getElementById('volume').value;
  15. }
  16. </script><script>
  17. function StartOrStop(audioFile) {
  18. var audie = document.getElementById("radioplayer");
  19. if (!audie.src || audie.src !== audioFile) audie.src = audioFile;
  20. console.log(audie.paused);
  21. if (audie.paused == false) {
  22. console.log('pause');
  23. audie.pause();
  24. } else {
  25. console.log('play');
  26. audie.play();
  27. }
  28. }
  29. </script><script>
  30. $(function() {
  31. $('.play').click(function() {
  32. var wasPlay = $(this).hasClass('fa-play');
  33. $(this).removeClass('fa-play fa-pause');
  34. var klass = wasPlay ? 'fa-pause' : 'fa-play';
  35. $(this).addClass(klass)
  36. });
  37. });
  38. </script><script>
  39. $(document).ready(function(){
  40. refreshTable();
  41. });
  42.  
  43. function refreshTable(){
  44. setInterval(function() {
  45. $.get('stream_artist.php', function(data) {
  46. $("#artistname").html(data);
  47. }, 'text');
  48. $.get('stream_song.php', function(data) {
  49. $("#songname").html(data);
  50. }, 'text');
  51. $.get('stream_presenter.php', function(data) {
  52. $("#presentername").html(data);
  53. }, 'text');
  54. }, 1000);
  55. }
  56. </script></head>
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. <body data-gr-c-s-loaded="true">
  65. <nav class="navbar">
  66. <ul>
  67. <li class="logo"><a class="logo"><img src="logo.png" class="logo"></a></li>
  68. <li><a>Forums</a></li>
  69. <li><a>Wiki</a></li>
  70. <div class="social">
  71. <ul class="pull-right">
  72. <li><a><i class="fa fa-lg icon-discord"></i></a></li>
  73. <li><a><i class="fa fa-lg fa-twitter"></i></a></li>
  74. <li><a><i class="fa fa-lg fa-steam"></i></a></li>
  75. <li><a><i class="fa fa-lg fa-instagram"></i></a></li>
  76. </ul>
  77. </div>
  78. </ul>
  79.  
  80. </nav>
  81. <div class="currentsong">
  82. <div class="container">
  83. <div class="songname">
  84.  
  85. <img src="http://srv2.badatgaming.com/flare-text.php" height="175" style="
  86. float: left;
  87. margin-right: 30px;
  88. border: #fff solid;
  89. margin-top: -38px;
  90. ">
  91.  
  92. <h2 id="songname">Jet Black Heart </h2>
  93. <h3 class="capitalize" id="artistname">5 Seconds Of Summer </h3>
  94. </div>
  95.  
  96. </div>
  97. </div>
  98. <div class="songcontrols">
  99. <div class="container">
  100. <a id="playpause" onclick="StartOrStop('http://srv.flare-radio.com:8000/stream')">
  101. <i class="play fa fa-pause"></i>
  102. </a>
  103. <i class="spacer"></i>
  104. <i class="fa fa-volume-up"></i>
  105. <audio id="radioplayer" src="http://srv.flare-radio.com:8000/stream" autoplay=""></audio>
  106. <input id="volume" name="volume" min="0" max="0.5" step="0.01" type="range" onchange="setVolume()">
  107. <div class="pull-right presenter">
  108. <i class="fa fa-user"></i>
  109. <span>Presenter: </span>
  110. <span id="presentername">Fudge </span>
  111. </div>
  112.  
  113. </div>
  114. </div>
  115.  
  116. <div class="info group">
  117. <div class="container">
  118. <div class="col span_1_of_3">
  119. <h1 class="number">3</h1>
  120. <h2 class="caption">Listeners</h2>
  121. </div>
  122. <div class="col span_1_of_3">
  123. <h1 class="number">7</h1>
  124. <h2 class="caption">Peak Listeners</h2>
  125. </div>
  126. <div class="col span_1_of_3">
  127. <h1 class="number">4</h1>
  128. <h2 class="caption">Presenters</h2>
  129. </div>
  130. </div>
  131. </div>
  132.  
  133. </body><span class="gr__tooltip"><span class="gr__tooltip-content"></span><i class="gr__tooltip-logo"></i><span class="gr__triangle"></span></span></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement