Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel='stylesheet' href='styles/main.css'>
  5. <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'></script>
  6. </head>
  7. <?php
  8. function hd($job = ""){
  9. $name = name;
  10. $query = file_get_contents('http://mcapi.ca/query/saovn.xyz/info');
  11. $json = json_decode($query, true);
  12. echo '<div class="notis"></div>';
  13. echo "<div class='header'>";
  14. echo "<div class='layer'></div>";
  15. echo "<br></br>";
  16. echo "<br></br>";
  17. echo "<br></br>";
  18. echo "<h1><font face='Orator Std' color='white'>SERVER MINECRAFT VIแป†T NAM</font></h1>";
  19. echo "<br></br>";
  20. echo "<h1><button class='button'><font size='3' face='Comic sans MS' color='white'>ONLINE:<font color='3366cc'><big> {$json["players"]["online"]}</font></font></button></h1>";
  21. echo "<br></br>";
  22.  
  23. if($job == ""){
  24. }else {
  25. echo "<h2><font face='Comic sans MS' color='white'><mark>$job</mark></font></h2>";
  26. }
  27. echo "</div>";
  28. }
  29. ?>
  30. <script>
  31. $('button').click(function(event) {
  32. event.preventDefault();
  33. $('html, body').animate({ scrollTop: $(document).height() }, 1000);
  34. });
  35. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement