SHARE
TWEET

HTML který jsem použil

a guest Oct 27th, 2019 40 in 323 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.           <!DOCTYPE html>
  2.           <html lang="en">
  3.           <head>
  4.           <title>FactionsMC | Status</title>
  5.           <meta charset="utf-8">
  6.           <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.           <meta name="viewport" content="width=device-width, initial-scale=1">
  8.           <meta name="description" content="FactionsMC">
  9.           <script type="text/javascript">
  10.           //<![CDATA[
  11.          try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok9v=02fcfa4f56/"},atok:"9848c3d78ba1a15cf21436229451df3c",petok:"048a35fe6ae96387c911831bbab592e03754a611-1399735338-1800",zone:"factionsmc.net",rocket:"0",apps:{}}];CloudFlare.push({"apps":{"ape":"949d63a024fa26cd3cc918b8c8a1fc4d"}});!function(a,b){a=document.createElement("script"),b=document.getElementsByTagName("script")[0],a.async=!0,a.src="//ajax.cloudflare.com/cdn-cgi/nexp/dok9v=97fb4d042e/cloudflare.min.js",b.parentNode.insertBefore(a,b)}()}}catch(e){};
  12.          //]]>
  13.           </script>
  14.           <link rel="shortcut icon" href="img/favicon.ico">
  15.           <link href="css/bootstrap.min.css" rel="stylesheet">
  16.           <link href="css/font-awesome.min.css" rel="stylesheet">
  17.           <link href="css/custom.css" rel="stylesheet">
  18.           </head>
  19.           <div class="progress progress-striped active">
  20.           <div class="progress-bar" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
  21.           <span class="sr-only"></span>
  22.           <div class="PlayersOnline">Players:<span id="online"> 0</span></div>
  23.           </div>
  24.           </div>
  25.           </style>
  26.           <script src="//use.edgefonts.net/bebas-neue.js"></script>
  27.           <script>
  28.           $(document).ready(function() {
  29.           var ip = "mc.wolfcraftmc.eu";
  30.           var xhr = new XMLHttpRequest();
  31.           xhr.open("GET", "http://www.minecraft-api.com/v1/get/?server=" + ip, true);
  32.           xhr.onreadystatechange = function() {
  33.             if (xhr.readyState == 4) {
  34.              data = JSON.parse(xhr.responseText);
  35.              if (data.status) {
  36.               $('#online').html(data.players.online);
  37.              } else {
  38.               $('#online').html(0);
  39.              }
  40.             }
  41.           }
  42.           xhr.send();
  43.           });
  44.           </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top