<?php
include ('SampQueryAPI.php');
$query = new SampQueryAPI('91.215.86.11', '7777');
$server1 = $query->getInfo();
$query = new SampQueryAPI('91.215.86.12', '7777');
$server2 = $query->getInfo();
?>
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>SAMP Eternity Role Play - играй в GTA San Andreas по сети</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="shortcut icon" href="/files/favicon.ico">
    <meta content="/images/vklogo.png">
    <meta name="keywords" content="gta, san andreas по интернету, samp, youtube, etrp.ru, eternity rp, multiplayer, etrp, etrp.su, etrp, samp, etrp, hitok, lennyfirst">
    <meta name="description" content="Лучший проект GTA San Andreas Multiplayer, чтобы начать играть в GTA SAMP по интернету">
    <link href="/files/bootstrap.min.css" rel="stylesheet">
    <link href="/files/stylesheet.css" rel="stylesheet">
    <link href="/files/animate.css" rel="stylesheet">
    <link href="/files/reset.css" rel="stylesheet">
    <link href="/files/style.css" rel="stylesheet">
    <link href="/files/responsive.css" rel="stylesheet">
    <link href="/files/dd.css" rel="stylesheet">
    <link href="/files/tippy.css" rel="stylesheet">
    <link href="/files/style-less.css" rel="stylesheet">
    <link href="/files/jquery.scrollbar.css" rel="stylesheet">
    <script type="text/javascript" async="" src="/files/watch.js"></script><script type="text/javascript" async="" src="/files/recaptcha__ru.js"></script><script src="/files/jquery.min.js"></script>
    <script src="/files/api.js"></script>
</head>
<body class="homepage">
<!-- HEADER START -->
<div id="header">
    <div class="burger-menu" data-toggle="modal" data-target="#burgermainmenu" data-dismiss="modal">
        <div class="burger-click-region"> <span class="burger-menu-piece"></span> <span class="burger-menu-piece"></span> <span class="burger-menu-piece"></span> </div>
    </div>
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-3">
                <a href="/" class="logo"><img src="/files/logo_all.svg" title="Главная страница" width="268"></a>
            </div>
            <div class="col-md-9">
                <ul class="main-menu">
                    <li>
                        <a href="https://vk.com/etrp.life"><img src="/files/mi-news.svg"> Новости</a>
                    </li>
                    <li>
                        <a href="https://forum.eternity-rp.ru/" target="_blank"><img src="/files/mi-forum.svg"> Форум</a>
                    </li>
                    <li>
                        <a href="/shop"><img src="/files/mi-donate.svg"> Донат</a>
                    </li>
                    <li>
                        <a href="/howtoplay/"><img src="/files/mi-how.svg"> Как&nbsp;начать&nbsp;играть</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- HEADER END -->

<div id="content" class="howgogame" style="height: 668px;">
    <div class="container-fluid fleex">
        <div class="row">
            <div class="col-md-6 col-md-offset-6 col-mega">
                <div id="sizePage">
                    <div>
                        <p class="large-text ml12">Выбери свой путь,
                            <br>будь кем угодно и где угодно!</p>
                        <p class="large-desc">Присоединяйся к нам, нас сейчас онлайн: <span><img src="/files/user-online.svg" width="16" alt=""> <?php echo $server1['players']+$server2['players'] ?></span></p> <a href="/howtoplay" class="main-button gobut">Играть в один клик <img src="/files/arrow-right-dark.svg" width="30" alt=""></a> </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="man"></div>
<div id="servers">
    <div class="container-fluid fleex"> <a class="button-servers" data-toggle="modal" data-target="#serverlist" href="/#">Список серверов</a>
        <ul class="servers">
            <li class="quartz"> <i class="copy-server" data-clipboard-text="91.215.86.11:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Life</div>
                    <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                    <div class="size"><span><?php echo $server1['players'] ?></span> онлайн</div>
                </a>
            </li>
            
            <li class="onyx"> <i class="copy-server" data-clipboard-text="91.215.86.12:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Mega</div>
                    <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                    <div class="size"><span><?php echo $server2['players'] ?></span> онлайн</div>
                </a>
            </li>
            <!--<li class="trilliant"> <i class="copy-server" data-clipboard-text="178.250.159.57:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Onyx</div>
                    <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                    <div class="size"><span><?php echo $server1['players'] ?></span> онлайн</div>
                </a>
            </li>
            <li class="crystal"> <i class="copy-server" data-clipboard-text="185.146.157.228:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Empire</div>
                    <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                    <div class="size"><span><?php echo $server1['players'] ?></span> онлайн</div>
                </a>
            </li>
            <li class="sapphire"> <i class="copy-server" data-clipboard-text="5.254.123.6:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Dominant</div>
                    <div class="progress-wrap"><i style="width: 47.6%"></i></div>
                    <div class="size"><span>476</span> онлайн</div>
                </a>
            </li>
            <li class="onyx"> <i class="copy-server" data-clipboard-text="5.254.105.202:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Hype</div>
                    <div class="progress-wrap"><i style="width: 62.6%"></i></div>
                    <div class="size"><span>626</span> онлайн</div>
                </a>
            </li>
            <li class="amber"> <i class="copy-server" data-clipboard-text="	.254.105.203:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Amber</div>
                    <div class="progress-wrap"><i style="width: 93.6%"></i></div>
                    <div class="size"><span>936</span> онлайн</div>
                </a>
            </li>
            <li class="quartz"> <i class="copy-server" data-clipboard-text="5.254.105.204:7777" title="Скопировать IP адрес сервера"></i>
                <a href="#">
                    <div class="s-name"><i class="s-ico"></i> Quartz</div>
                    <div class="progress-wrap"><i style="width: 54.3%"></i></div>
                    <div class="size"><span>543</span> онлайн</div>
                </a>-->
            </li>
        </ul>
    </div>
</div><!-- Modal Menu -->
<div id="burgermainmenu" data-keyboard="false" data-backdrop="static" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-md">
        <div class="modal-content textcenter">
            <ul class="main-menu modaling">
                <li>
                    <a href="https://vk.com/etrp.life"><img src="/files/mi-news.svg" alt=""> Новости</a>
                </li>
                <li>
                    <a href="https://forum.eternity-rp.ru/" target="_blank"><img src="/files/mi-forum.svg" alt=""> Форум</a>
                </li>
                <li>
                    <a href="/shop"><img src="/files/mi-donate.svg" alt=""> Донат</a>
                </li>
                <li>
                    <a href="/howtoplay/"><img src="/files/mi-how.svg" alt=""> Как начать играть</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!-- Modal Servers -->
<div id="serversmodal"> <i class="closethis"></i>
    <ul class="servers modaling">
        <li class="quartz"> <i class="copy"></i>
            <li class="quartz"> <i class="copy-server" data-clipboard-text="91.215.86.11:7777" title="Скопировать IP адрес сервера"></i>
            <a href="#">
                <div class="s-name"><i class="s-ico"></i> Life</div>
                <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                <div class="size"><span><?php echo $server1['players'] ?></span> онлайн</div>
            </a>
        </li>
        <li class="onyx"> <i class="copy"></i>
            <li class="onyx"> <i class="copy-server" data-clipboard-text="91.215.86.12:7777" title="Скопировать IP адрес сервера"></i>
            <a href="#">
                <div class="s-name"><i class="s-ico"></i> Mega</div>
                <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                <div class="size"><span><?php echo $server2['players'] ?></span> онлайн</div>
            </a>
        </li>
       <!-- <li class="trilliant"> <i class="copy"></i>
            <li class="trilliant"> <i class="copy-server" data-clipboard-text="178.250.159.57:7777" title="Скопировать IP адрес сервера"></i>
            <a href="#">
                <div class="s-name"><i class="s-ico"></i> Onyx</div>
                <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                <div class="size"><span><?php echo $server1['players'] ?></span> онлайн</div>
            </a>
        </li>
        <li class="crystal"> <i class="copy"></i>
            <li class="crystal"> <i class="copy-server" data-clipboard-text="185.146.157.228:7777" title="Скопировать IP адрес сервера"></i>
            <a href="#">
                <div class="s-name"><i class="s-ico"></i> Empire</div>
                <div class="progress-wrap"><i style="width: 67.7%"></i></div>
                <div class="size"><span><?php echo $server1['players'] ?></span> онлайн</div>
            </a>
        </li>
        <li class="sapphire"> <i class="copy"></i>
            <a href="#">
                <div class="s-name"><i class="s-ico"></i> Sapphire</div>
                <div class="progress-wrap"><i style="width: 47.6%"></i></div>
                <div class="size"><span>476</span> онлайн</div>
            </a>
        </li>
        <li class="onyx"> <i class="copy-server"></i>
            <a href="#">
                <div class="s-name"><i class="s-ico"></i> Onyx</div>
                <div class="progress-wrap"><i style="width: 62.6%"></i></div>
                <div class="size"><span>626</span> онлайн</div>
            </a>
        </li>
        <li class="amber"> <i class="copy-server" data-clipboard-text="Just because you ca"></i>
            <a href="#">
                <div class="s-name"><i class="s-ico"></i> Amber</div>
                <div class="progress-wrap"><i style="width: 93.6%"></i></div>
                <div class="size"><span>936</span> онлайн</div>
            </a>
        </li>
        <li class="quartz">
            <a href="#"> <i class="copy-server" data-clipboard-text="Just because you ca"></i>
                <div class="s-name"><i class="s-ico"></i> Quartz</div>
                <div class="progress-wrap"><i style="width: 54.3%"></i></div>
                <div class="size"><span>543</span> онлайн</div>
            </a>-->
        </li>
    </ul>
</div>
<script src="/files/owl.carousel.min.js"></script>
<script src="/files/bootstrap.min.js"></script>
<script src="/files/anime.min.js"></script>
<script src="/files/jquery.toTop.min.js"></script>
<script src="/files/jquery.dd.min.js"></script>
<script src="/files/clipboard.min.js"></script>
<script src="/files/jquery.scrollbar.min.js"></script>
<script src="/files/script.js"></script>
<script src="/files/script_all.js"></script>
<!-- Yandex.Metrika counter -->
<script type="text/javascript"> (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter43262034 = new Ya.Metrika({ id:43262034, clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true }); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = "https://mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks"); </script><noscript>&lt;div&gt;&lt;img src="https://mc.yandex.ru/watch/43262034" style="position:absolute; left:-9999px;" alt="" /&gt;&lt;/div&gt;</noscript>
<!-- /Yandex.Metrika counter -->


</body></html>
