Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $_SERVER['ipdomeny']='https://api.mcsrvstat.us/2/mc.hypixel.net';
- $_SERVER['OFIRMIE']='<p>zSpookyPL</p>
- <p>NIP: {NIP}</p>
- <p>REGON: {REGON}</p>
- <p>Email: <a href="mailto:kontakt@overgames.pl">kontakt@overgames.pl</a>
- <p>Firma jak i serwer nie są w żaden sposób powiązane z Mojang, AB.</p>';
- $_SERVER['SKLEP']='<p>Doładowując skarbonkę wspomagasz serwer i jednocześnie możesz odblokować niesamowite rangi i gadżety!</p><p>
- <a href="https://overgames.pl/sklep" class="btn btn-outline-light">
- <i class="fa fa-piggy-bank"></i> Doładuj skarbonkę
- </a>
- </p>';
- $status = json_decode(file_get_contents($_SERVER['ipdomeny']));
- ?>
- <!DOCTYPE html>
- <html lang="pl">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <title>OverGames.pl - Najlepsze minigry w Polsce</title>
- <link rel="shortcut icon" type="image/png" href="/../_img/favikonka.png"/>
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
- <script src="https://wchat.freshchat.com/js/widget.js"></script>
- <link rel="stylesheet" href="/../_css/style.css">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
- <style type="text/css" id="slider-css"></style>
- </head>
- <body>
- <script>
- window.fcWidget.init({
- token: "a9c93634-5341-424c-9d7c-1e7713448c2d",
- host: "https://wchat.freshchat.com"
- });
- </script>
- <header>
- <nav class="navbar fixed-top navbar-expand-lg navbar-dark menu">
- <div class="container">
- <a class="navbar-brand" href="https://overgames.pl">
- <img alt="logo" src="/../_img/favicon.png" width="64" height="64">
- </a>
- <a class="navbar-brand-text" href="#">
- OVERGAMES
- </a>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon icon" style="color: white;"></span>
- </button>
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <ul class="navbar-nav ml-auto">
- <li class="nav-item" id="home">
- <a class="nav-link" href="https://overgames.pl/"><i class="fas fa-home icon"></i> Główna</a>
- </li>
- <li class="nav-item" id="forum">
- <a class="nav-link" href="https://overgames.pl/forum/"><i class="far fa-comments icon"></i> Forum</a>
- </li>
- <li class="nav-item" id="shop">
- <a class="nav-link" href="https://overgames.pl/mcpremium/"><i class="fas fa-shopping-cart icon"></i> MC PREMIUM</a>
- </li>
- <li class="nav-item" id="shop">
- <a class="nav-link" href="https://overgames.pl/sklep/"><i class="fas fa-shopping-cart icon"></i> Sklep</a>
- </li>
- <li class="nav-item" id="rankpage">
- <a class="nav-link" href="https://overgames.pl/rankpage/"><i class="fas fa-trophy icon"></i> Statystyki</a>
- </li>
- <li class="nav-item" id="rules">
- <a class="nav-link" href="https://overgames.pl/regulamin/"><i class="fas fa-book icon"></i> Regulamin</a>
- </li>
- <li class="nav-item" id="support">
- <a class="nav-link" href="https://overgames.pl/support/"><i class="fas fa-life-ring icon"></i> Pomoc</a>
- </li>
- </ul>
- </div>
- </div>
- </nav>
- <div class="top-panel">
- <div class="container">
- <div class="row">
- <div class="col-md-6 top-players">
- <div class="top-tile">
- <h5>OverGames NETWORK <span class="badge badge-warning"><?php $online = "OFFLINE"; if($status->online) $online ="ONLINE"; echo $online; ?></span></h5>
- </div>
- <div class="top-players-text"><span class="players-text-color"><?php echo $status->players->online; ?> </span> <?php $procent = 0; $online = $status->players->online; $max = $status->players->max; if($max == 0){ $procent = 0;}else{$procent = $online*100/$max;}
- if($procent <= 10){
- echo '<span class="players-text-color">• • </span> <span color=#FF0000>• • • • • • • • • • • • • • • • • • </span>';
- }else if($procent <= 20){
- echo '<span class="players-text-color">• • • • </span> <span color=#FF0000>• • • • • • • • • • • • • • • • </span>';
- }else if($procent <= 30){
- echo '<span class="players-text-color">• • • • • • </span> <span color=#FF0000>• • • • • • • • • • • • • • </span>';
- }else if($procent <= 40){
- echo '<span class="players-text-color">• • • • • • • • </span> <span color=#FF0000>• • • • • • • • • • • • </span>';
- }else if($procent <= 50){
- echo '<span class="players-text-color">• • • • • • • • • • </span> <span color=#FF0000>• • • • • • • • • • </span>';
- }else if($procent <= 60){
- echo '<span class="players-text-color">• • • • • • • • • • • • </span> <span color=#FF0000>• • • • • • • • </span>';
- }else if($procent <= 70){
- echo '<span class="players-text-color">• • • • • • • • • • • • • • </span> <span color=#FF0000>• • • • • • </span>';
- }else if($procent <= 80){
- echo '<span class="players-text-color">• • • • • • • • • • • • • • • • </span> <span color=#FF0000>• • • • </span>';
- }else if($procent <= 90){
- echo '<span class="players-text-color">• • • • • • • • • • • • • • • • • • </span> <span color=#FF0000>• • </span>';
- }else if($procent <= 100){
- echo '<span class="players-text-color">• • • • • • • • • • • • • • • • • • • • </span>';
- }
- ?><span class="players-text-color"><?php echo $status->players->max; ?></span></div>
- <div class="top-players-progress">
- <div class="progress">
- <div class="progress-bar" style="width: <?php $online = $status->players->online; $max = $status->players->max; if($max == 0){ echo 0;}else{echo $online*100/$max;} ?>%;" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
- </div>
- </div>
- <div class="top-players-info">
- <p>Aktualnie na naszym serwerze gra <span class="panel-count"><?php echo $status->players->online; ?></span> graczy</p>
- <p>Dołącz do nich! <a href="#">Jak zagrać?</a></p>
- </div>
- </div>
- <div class="col-md-6">
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <!-- Banner -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:468px;height:60px"
- data-ad-client="ca-pub-6236090985160149"
- data-ad-slot="6220957523"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- </div>
- </div>
- </div>
- </div>
- </div>
- </header>
- <main>
- <div class="forum-panel">
- <div class="container">
- <h5 class="desktop">Forum jest w trakcie budowy. <a href="https://overgames.pl/" class="forum-link">Powrót</a></h5>
- <h5 class="phone">Forum jest w trakcie budowy<h5><a href="https://overgames.pl/" class="btn btn-info phone">Powrót</a>
- </div>
- </div>
- </main>
- <footer>
- <div class="container">
- <div class="row">
- <div class="col-md-3 desktop">
- <h6 class="light-title">
- <i class="fas fa-user-secret"></i>
- O firmie
- </h6>
- <hr>
- <?php echo $niek ?>
- </div>
- <div class="col-md-3 desktop">
- <h6 class="light-title">
- <i class="fas fa-link"></i>
- Linki
- </h6>
- <hr>
- <p><a href="https://overgames.pl/">Strona głowna</a></p>
- <p><a href="https://overgames.pl/forum/">Forum</a></p>
- <p><a href="https://overgames.pl/regulamin/">Regulamin</a></p>
- <p><a href="https://overgames.pl/support/">Pomoc</a></p>
- </div>
- <div class="col-md-3 clearfix desktop">
- <h6 class="light-title">
- <i class="fas fa-users"></i> Społeczność
- </h6>
- <hr>
- Śledz nas w mediach społecznościowych, aby zawsze być na bieżąco.
- <hr>
- <a href="https://www.facebook.com/OverGamesPL/" target="_blank" class="social-link">
- <div class="social-media fanpage light-title" >
- <i class="fab fa-facebook-f"></i>
- </div>
- </a>
- <div class="social-media youtube light-title" data-toggle="modal" data-target="#youtubeModal">
- <i class="fab fa-youtube"></i>
- </div>
- <a href="https://discord.gg/zASDc2y">
- <div class="social-media discord-social light-title">
- <i class="fab fa-discord"></i>
- </div>
- </a>
- <a href="ts3server://over-ts.pl?port=9987"">
- <div class="social-media fanpage light-title">
- <i class="fab fa-teamspeak"></i>
- </div>
- </a>
- </div>
- <div class="col-md-3 shop">
- <h6 class="light-title">
- <i class="fas fa-shopping-cart"></i>
- Sklep
- </h6>
- <hr>
- <?php echo $_SERVER['SKLEP'] ?>
- </div>
- </div>
- </div>
- <div class="copy">
- <div class="container">
- <p>© OverGames.pl | Wszelkie prawa zastrzeżone</p>
- <p>Projekt i wykonanie: <a href="https://zspookypl.pl">zSpookyPL</a></p>
- </div>
- </div>
- </footer>
- <div class="modal fade dark" id="youtubeModal" tabindex="-1" role="dialog" aria-labelledby="youtubeModalTitle" aria-hidden="true">
- <div class="modal-dialog modal-dialog-centered" role="document">
- <div class="modal-content">
- <br>
- <div class="row" style="text-align: center;">
- <div class="col-md-4"><img src="/../_img/favicon.png" height="64"></div>
- <div class="col-md-4"><a href="https://www.youtube.com/channel/UCcbXJzELv6SO4onYH0hBOlw"><img src="https://cravatar.eu/helmavatar/OverGamesPL/64" alt="Avatar"></a></div>
- <div class="col-md-4"><a href="https://youtube.com/zSpookyPL"><img src="https://cravatar.eu/helmavatar/zSpookyPL/64" alt="Avatar"></a></div>
- </div>
- <br>
- </div>
- </div>
- </div>
- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
- <script src="/../_js/staff.js"></script>
- <script>
- $(document).ready(function(){
- $('[data-toggle="tooltip"]').tooltip();
- });
- </script>
- <script>
- var element = document.getElementById("forum");
- element.classList.add("active");
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement