https://restoredtanks.online/en.html

已提交的 URL:
https://restoredtanks.online/en.html
報告完成時間:

連結 · 找到 5 個

從頁面中識別的傳出連結

連結Text
https://ratings.ranked-rtanks.online/Rankings
https://forum-rtanks.online/Forum
https://discord.gg/7zh5sATuDiscord
https://t.me/rtanks2024Telegram
https://cdn.rtanks.space/launcher/RTanksSetup_.exeDownload the Game

JavaScript 變數 · 找到 5 個

在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取

名稱類型
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
showPagefunction
setLanguagefunction

主控台記錄訊息 · 找到 1 條

記錄到 Web 主控台的訊息

類型類別記錄
errornetwork
URL
https://restoredtanks.online/public/images/favico.png
Text
Failed to load resource: the server responded with a status of 404 ()

HTML

頁面的原始 HTML 主體

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>RTanks online</title>
    <link rel="icon" href="public/images/favico.png" type="image/x-icon">
    <link rel="stylesheet" href="public/style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>

<body><div id="preloader" style="display: none;"><div class="spinner"></div></div>
    <div class="language-selector-container">
        <div class="language-selector">
            <span class="lang-option" id="lang-ukr">
                <img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" alt="UA" class="lang-flag"> Ukrainian
            </span>
            <span class="lang-option" id="lang-rus">
                <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Flag_of_Russia.svg/800px-Flag_of_Russia.svg.png" alt="RU" class="lang-flag"> Russian
            </span>
            <span class="lang-option" id="lang-eng">
                <img src="https://upload.wikimedia.org/wikipedia/commons/a/a4/Flag_of_the_United_States.svg" alt="EN" class="lang-flag"> English
            </span>
        </div>
    </div>

    <nav class="navbar">
        <img src="/public/images/logo.png" alt="Logo" class="logo">
        <div class="portal-navigation">
            <a class="portal-navigation__link active" href="https://restoredtanks.online/" target="_blank">
                Game
            </a>
            <a class="portal-navigation__link" href="https://ratings.ranked-rtanks.online/" target="_blank">
                <i class="fas fa-trophy"></i>Rankings
            </a>
            <a class="portal-navigation__link" href="https://forum-rtanks.online/" target="_blank">
                <i class="fas fa-comments"></i>Forum
            </a>
            <a class="portal-navigation__link" href="#" target="_blank">
                <i class="fas fa-book"></i>Wiki
            </a>
            <a class="portal-navigation__link" href="https://discord.gg/7zh5sATu" target="_blank">
                <i class="fab fa-discord"></i>Discord
            </a>
            <a class="portal-navigation__link" href="https://t.me/rtanks2024" target="_blank">
                <i class="fab fa-telegram"></i>Telegram
            </a>
        </div>
    </nav>
        <div class="generic-selector lang-selector">
          <div class="generic-selector__itself lang-selector__itself">
            <span class="icon-country-flag icon-country-flag_en"></span>
            <span class="generic-selector__arrow"></span>
          </div>
        </div>
    

    <div class="blur-overlay"></div>
    <div class="content">
        <nav>
        </nav>
        <div class="container">
            <div class="project-info">
                <h1 class="topskoy">RTanks</h1>
                <p class="topskoy_test">Bringing back the classics with beloved features</p>
                <p>Creating a nostalgic atmosphere while preserving the best of the classics. Join us and feel the spirit of "Old Tanks Online" again!</p>
            </div>
            <a class="download-button" href="https://cdn.rtanks.space/launcher/RTanksSetup_.exe">Download the Game</a>
            <div class="news-container">
                <h2>News</h2>
                <div class="news-item active" data-id="1">
                    <div class="news-image" style="background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ1v6ftDpbQ7IAe-z_x6W_prcj8trJc2vCUAA&amp;s');"></div>
                    <div class="news-content">
                        <div class="news-title">Technical difficulties with donation processing in the game</div>
                        <div class="news-date">01.12.2024</div>
                        <div class="news-description">
                            <p>Due to restrictions on the <strong>FreeKassa</strong> platform, donations are processed manually via Paypal, Privat24, Moldova, RUB</p>
                        </div>
                    </div>
                </div>
                
                <div class="news-item active" data-id="2">
                    <div class="news-image" style="background-image: url('https://segment.ru/files/global/materials/470945/img/thumb300-preview-47094511-14-2024-04-28-53-8615151252.jpg');"></div>
                    <div class="news-content">
                        <div class="news-title">Black Friday Celebration in RTanks!</div>
                        <div class="news-date">27.11.2024</div>
                        <div class="news-description">
                            From November 28 (Thursday) to December 2 (Monday), the long-awaited event — Black Friday — begins in RTanks!
                        </div>
                    </div>
                </div>
                <div class="news-item active" data-id="3">
                    <div class="news-image" style="background-image: url('https://eu-wotp.wgcdn.co/dcont/fb/image/advent_calendar_2023_615x346.jpg');"></div>
                    <div class="news-content">
                        <div class="news-title">Advent Calendar in RTanks</div>
                        <div class="news-date">20.11.2024</div>
                        <div class="news-description">
                            From December 1 (Friday) to January 8 (Monday), the long-awaited event — the Advent Calendar — begins in RTanks! It is a unique opportunity for all tankers to get cool prizes every day!
                        </div>
                    </div>
                </div>
            </div>
            <div class="pagination">
                <button onclick="showPage(1)">Current Page: 1</button>
            </div>
        </div>
    </div>

    <footer>
        <div class="footer-section">
        </div>
    </footer>

    <div id="newsModal" class="modal">
        <div class="modal-content">
            <span class="close-btn">×</span>
            <h2 id="modalTitle">News Title</h2>
            <p id="modalDate">Date</p>
            <p id="modalDescription">Full news description...</p>
        </div>
    </div>

    <script>
const newsItems = document.querySelectorAll('.news-item');
const modal = document.getElementById('newsModal');
const closeBtn = document.querySelector('.close-btn');
const modalTitle = document.getElementById('modalTitle');
const modalDate = document.getElementById('modalDate');
const modalDescription = document.getElementById('modalDescription');

const newsDetails = [
{
    title: 'Donation',
    date: '01.12.2024',
    description: `
    <h1>Update for FreeKassa users</h1>
    <p>Due to restrictions on the <strong>FreeKassa</strong> platform, you now need to provide your username and item in the comments when making a transfer. This will help us process your order quickly! 🚀</p>
    <p class="important">❗ You will receive your item within <strong>15 minutes</strong> after completing the transfer.</p>
    <p>If you encounter issues with donations via FreeKassa, don't worry! You can use other transfer methods:</p>
    
    <div class="contact-info">
        <p><strong>Transfer details:</strong></p>
        <ul>
            <li><strong>RUB:</strong> 2202203275664805</li>
            <li><strong>UAH:</strong> 5457082259243967</li>
            <li><strong>PayPal:</strong> [email protected]</li>
        </ul>
        <p><strong>Telegram for UK and EN Donations:</strong> <a href="tg://resolve?domain=topskoy">@topskoy</a></p>
        <p><strong>Telegram for RU Donations:</strong> <a href="tg://resolve?domain=sourcecode0011">@sourcecode0011</a></p>
    `
},
{
        title: 'Black Friday Celebration in RTanks!',
        date: '27.11.2024',
        description: `
            Tankers!<br><br>
            From November 28 (Thursday) to December 2 (Monday), the long-awaited event — Black Friday — starts in RTanks! It’s a unique opportunity for all tankers to get tons of bonuses and participate in themed activities.<br><br>
            What awaits you:<br><br>
            <b>Special billboards will appear on all maps, creating the atmosphere of Black Friday.
Parachutes in the crates will be decorated in black and gold tones, adding atmosphere.
Themed golden crates, as well as containers and drop zones for golden crates, can be found in every battle.
Don’t miss your chance! Collect bonuses, participate in the promotion, and enjoy the festive atmosphere until Monday, December 2.</b><br>
            <ul>
                <br><br>X2 funds — double crystals per battle!<br><br>
                <br><br>X3 gold — get more golden crates!<br><br>
                <br><br>40% off guns, hulls, paints, and modules.<br><br>
                <br><br>50% off all supplies, including experience purchase.<br><br>
            </ul>
        `
    },
    {
        title: 'Advent Calendar in RTanks – Gifts Every Day!',
        date: '20.11.2024',
        description: `
            Tankers!<br><br>
            From December 1 (Friday) to January 8 (Monday), the long-awaited event — <strong>Advent Calendar!</strong> It’s a unique opportunity for all tankers to get cool prizes every day!<br><br>
            👉 Visit the site and participate in the celebration:<br><br>
            <a href="https://newyear.events-rtanks.online/" target="_blank"><strong>Open the Advent Calendar</strong></a><br><br>
            Gifts await you from December 1 to January 8 – don’t miss your chance! 🎉
        `
    },
];

newsItems.forEach((item, index) => {
    item.addEventListener('click', () => {
        const newsId = index;
        modalTitle.textContent = newsDetails[newsId].title; 
        modalDate.textContent = newsDetails[newsId].date;  
        modalDescription.innerHTML = newsDetails[newsId].description; 
        modal.style.display = 'block'; 
    });
});

closeBtn.addEventListener('click', () => {
    modal.style.display = 'none';
});

window.addEventListener('click', (event) => {
    if (event.target === modal) {
        modal.style.display = 'none';
    }
});

        const itemsPerPage = 3;
        let currentPage = 1;

        function showPage(page) {
            currentPage = page;
            const startIndex = (page - 1) * itemsPerPage;
            const endIndex = startIndex + itemsPerPage;

            newsItems.forEach((item, index) => {
                if (index >= startIndex && index < endIndex) {
                    item.classList.add('active');
                } else {
                    item.classList.remove('active');
                }
            });

            
            const paginationButtons = document.querySelectorAll('.pagination button');
            paginationButtons.forEach(button => {
                if (parseInt(button.textContent) === page) {
                    button.classList.add('active');
                } else {
                    button.classList.remove('active');
                }
            });
        }
        showPage(1);
        const preloader = document.createElement('div');
        preloader.id = 'preloader';
        preloader.innerHTML = '<div class="spinner"></div>';
        document.body.insertBefore(preloader, document.body.firstChild);

        window.addEventListener('load', () => {
            preloader.style.display = 'none';
            document.body.classList.remove('hidden');
        });
            // Function for redirecting to language-specific pages
    function setLanguage(language) {
        // Replace with real links to translated pages
        let url;
        switch (language) {
            case 'ukr':
                url = 'uk.html'; // Example page for Ukrainian
                break;
            case 'rus':
                url = 'index.html'; // Example page for Russian
                break;
            case 'eng':
                url = 'en.html'; // Example page for English
                break;
            default:
                url = '/'; // If language is not found, redirect to the homepage
        }
        window.location.href = url;
    }

    // Add event listeners to each language option
    document.getElementById('lang-ukr').addEventListener('click', function() {
        setLanguage('ukr');
    });

    document.getElementById('lang-rus').addEventListener('click', function() {
        setLanguage('rus');
    });

    document.getElementById('lang-eng').addEventListener('click', function() {
        setLanguage('eng');
    });
        
    </script>


</body></html>