Spaces:
Running
Running
Download index.html from bagihosting/table-bh: direct link, hf CLI and curl.
- Browser
- Download file 12.5 kB
-
https://huggingface.co/spaces/bagihosting/table-bh/resolve/main/index.html
- Command line
-
hf download hf://spaces/bagihosting/table-bh/index.html
-
curl -L -o index.html https://huggingface.co/spaces/bagihosting/table-bh/resolve/main/index.html
12.5 kB
| <html lang="en"> | |
| <head> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Hosting Registration</title> | |
| <style> | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| } | |
| .copy-btn { | |
| transition: all 0.3s ease; | |
| } | |
| .copy-btn:hover { | |
| background-color: #2563eb ; | |
| } | |
| .copy-btn:active { | |
| transform: scale(0.95); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="max-w-4xl mx-auto px-4 py-10"> | |
| <!-- Header --> | |
| <div class="text-center mb-10"> | |
| <h1 class="text-4xl font-bold text-blue-600 mb-2 flex items-center justify-center"> | |
| <i class="fas fa-cloud-upload-alt mr-3"></i> Bagihosting | |
| </h1> | |
| <p class="text-gray-600">Akun hosting Anda telah berhasil dibuat!</p> | |
| </div> | |
| <!-- Success Card --> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-8 card-hover transition-all duration-300"> | |
| <div class="bg-gradient-to-r from-blue-500 to-blue-600 p-4 text-white flex items-center"> | |
| <i class="fas fa-check-circle text-2xl mr-3"></i> | |
| <h2 class="text-xl font-semibold">Welcome <span id="username" class="font-bold"><$name></span></h2> | |
| </div> | |
| <div class="p-6"> | |
| <p class="text-gray-700 mb-6">Terima kasih telah mendaftar di Bagihosting. Di bawah ini adalah detail akun Anda:</p> | |
| <!-- Website URL --> | |
| <div class="mb-6 bg-gray-50 p-4 rounded-lg border border-gray-200"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <h3 class="font-semibold text-gray-700 flex items-center"> | |
| <i class="fas fa-globe mr-2 text-blue-500"></i> Website Address | |
| </h3> | |
| <button onclick="copyToClipboard('websiteUrl')" class="copy-btn bg-blue-500 text-white px-3 py-1 rounded text-sm flex items-center"> | |
| <i class="fas fa-copy mr-1"></i> Copy | |
| </button> | |
| </div> | |
| <p id="websiteUrl" class="text-blue-600 font-mono break-all">https://$name.bagihosting.com</p> | |
| </div> | |
| <!-- Admin Login --> | |
| <div class="mb-6 bg-gray-50 p-4 rounded-lg border border-gray-200"> | |
| <h3 class="font-semibold text-gray-700 mb-3 flex items-center"> | |
| <i class="fas fa-user-shield mr-2 text-blue-500"></i> Admin Login Details | |
| </h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div> | |
| <label class="text-sm text-gray-500 block mb-1">Login URL</label> | |
| <div class="flex"> | |
| <input type="text" id="loginUrl" value="https://$name.bagihosting.com/login.php" class="flex-grow p-2 border rounded-l focus:outline-none focus:ring-2 focus:ring-blue-300 font-mono text-sm" readonly> | |
| <button onclick="copyToClipboard('loginUrl')" class="copy-btn bg-blue-500 text-white px-3 py-2 rounded-r flex items-center"> | |
| <i class="fas fa-copy"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="text-sm text-gray-500 block mb-1">Password</label> | |
| <div class="flex"> | |
| <input type="text" id="adminPassword" value="$password" class="flex-grow p-2 border rounded-l focus:outline-none focus:ring-2 focus:ring-blue-300 font-mono text-sm" readonly> | |
| <button onclick="copyToClipboard('adminPassword')" class="copy-btn bg-blue-500 text-white px-3 py-2 rounded-r flex items-center"> | |
| <i class="fas fa-copy"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="text-sm text-gray-500 block mb-1">Username</label> | |
| <div class="flex"> | |
| <input type="text" id="adminUsername" value="admin" class="flex-grow p-2 border rounded-l focus:outline-none focus:ring-2 focus:ring-blue-300 font-mono text-sm" readonly> | |
| <button onclick="copyToClipboard('adminUsername')" class="copy-btn bg-blue-500 text-white px-3 py-2 rounded-r flex items-center"> | |
| <i class="fas fa-copy"></i> | |
| </button> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-3"> | |
| <i class="fas fa-info-circle mr-1 text-blue-400"></i> To change password, edit the <span class="font-mono">config.php</span> file | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- PHPMyAdmin --> | |
| <div class="mb-6 bg-gray-50 p-4 rounded-lg border border-gray-200"> | |
| <h3 class="font-semibold text-gray-700 mb-3 flex items-center"> | |
| <i class="fas fa-database mr-2 text-blue-500"></i> phpMyAdmin Access | |
| </h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div> | |
| <label class="text-sm text-gray-500 block mb-1">phpMyAdmin URL</label> | |
| <div class="flex"> | |
| <input type="text" id="phpmyadminUrl" value="https://$name.bagihosting.com/phpmyadmin" class="flex-grow p-2 border rounded-l focus:outline-none focus:ring-2 focus:ring-blue-300 font-mono text-sm" readonly> | |
| <button onclick="copyToClipboard('phpmyadminUrl')" class="copy-btn bg-blue-500 text-white px-3 py-2 rounded-r flex items-center"> | |
| <i class="fas fa-copy"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="text-sm text-gray-500 block mb-1">Database Password</label> | |
| <div class="flex"> | |
| <input type="text" id="dbPassword" value="$password" class="flex-grow p-2 border rounded-l focus:outline-none focus:ring-2 focus:ring-blue-300 font-mono text-sm" readonly> | |
| <button onclick="copyToClipboard('dbPassword')" class="copy-btn bg-blue-500 text-white px-3 py-2 rounded-r flex items-center"> | |
| <i class="fas fa-copy"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recovery Info --> | |
| <div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-6"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 text-yellow-500"> | |
| <i class="fas fa-exclamation-triangle"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h3 class="text-sm font-medium text-yellow-700">Recovery Information</h3> | |
| <div class="mt-2 text-sm text-yellow-600"> | |
| <p> | |
| If <span class="font-mono">login.php</span> or <span class="font-mono">config.php</span> are deleted, use the recovery system: | |
| </p> | |
| <div class="mt-2"> | |
| <div class="font-mono text-sm bg-white p-2 rounded inline-block"> | |
| https://$name.bagihosting.com/recovery/login.php | |
| </div> | |
| </div> | |
| <p class="mt-2"> | |
| Use the same admin username and password to access the recovery system. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Important Notes --> | |
| <div class="bg-blue-50 border-l-4 border-blue-400 p-4 rounded"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 text-blue-500"> | |
| <i class="fas fa-info-circle"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h3 class="text-sm font-medium text-blue-700">Catatan Penting</h3> | |
| <div class="mt-2 text-sm text-blue-600"> | |
| <ul class="list-disc pl-5 space-y-1"> | |
| <li>Subdomain Anda https://$name.bagihosting.com sekarang aktif.</li> | |
| <li>Jangan hapus <span class="font-mono">login.php</span> and <span class="font-mono">config.php</span> files.</li> | |
| <li>Semua data sensitif telah dikirim melalui email $email.</li> | |
| <li>Tanggal pendaftaran: $tanggal</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <div class="text-center text-gray-500 text-sm mt-10"> | |
| <p class="mb-2">Butuh bantuan? Hubungi tim dukungan kami</p> | |
| <div class="flex justify-center space-x-4"> | |
| <a href="#" class="text-blue-500 hover:text-blue-700"> | |
| <i class="fas fa-envelope mr-1"></i> Email | |
| </a> | |
| <a href="#" class="text-blue-500 hover:text-blue-700"> | |
| <i class="fab fa-whatsapp mr-1"></i> WhatsApp | |
| </a> | |
| <a href="#" class="text-blue-500 hover:text-blue-700"> | |
| <i class="fas fa-phone-alt mr-1"></i> Phone | |
| </a> | |
| </div> | |
| <p class="mt-4">© <date("Y")> Bagihosting. All rights reserved.</p> | |
| </div> | |
| </div> | |
| <script> | |
| function copyToClipboard(elementId) { | |
| const element = document.getElementById(elementId); | |
| const range = document.createRange(); | |
| range.selectNode(element.tagName === 'INPUT' ? element : element); | |
| window.getSelection().removeAllRanges(); | |
| window.getSelection().addRange(range); | |
| document.execCommand('copy'); | |
| window.getSelection().removeAllRanges(); | |
| // Show tooltip or notification | |
| alert('Copied to clipboard: ' + element.value || element.textContent); | |
| } | |
| // Auto-expand inputs on mobile for better readability | |
| document.querySelectorAll('input[readonly]').forEach(input => { | |
| input.addEventListener('focus', function() { | |
| this.blur(); | |
| const tempInput = document.createElement('input'); | |
| tempInput.value = this.value; | |
| document.body.appendChild(tempInput); | |
| tempInput.select(); | |
| document.execCommand('copy'); | |
| document.body.removeChild(tempInput); | |
| alert('Copied to clipboard: ' + this.value); | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <a href="https://bagihosting.com" style="color: #fff;" target="_blank" >BagiHosting</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="BagiHosting Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body> | |
| </html> |