<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>LPXQ.net - Your Web Home</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="/assets/my.css?v=20150415" rel="stylesheet">
    <link rel="stylesheet" href="/assets/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
    <link rel="apple-touch-icon" sizes="180x180" href="/images/favicon_io/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon_io/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon_io/favicon-16x16.png">
    <link rel="manifest" href="/images/favicon_io/site.webmanifest">
</head>
<body class="bg-gray-50 text-gray-800 font-sans min-h-screen flex flex-col">
    <header class="bg-gradient-to-r from-blue-500 to-purple-600 shadow-lg py-4">
        <div class="container mx-auto px-2 md:px-4 flex flex-wrap justify-between items-center gap-2">
            <h1 class="text-lg md:text-3xl font-extrabold text-white flex items-center gap-2">
                <img src="/images/logo.png" width=40 class="md:w-[70px]" style="display: inline-block;" />
                <span class="hidden md:inline">LPXQ.net - Your Web Home</span>
                <span class="md:hidden">LPXQ.net</span>
            </h1>
            <nav class="flex flex-wrap items-center gap-2 md:gap-6">
                <a href="/" class="text-white text-sm md:text-lg hover:underline whitespace-nowrap">Home</a>
                <a href="/about.php" class="text-white text-sm md:text-lg hover:underline whitespace-nowrap">About</a>
                <a href="/changelog.php" class="text-white text-sm md:text-lg hover:underline whitespace-nowrap">Changelog</a>
                <a href="/user-login.php" class="text-white text-sm md:text-lg hover:underline whitespace-nowrap">Login</a>
                <a href="/list.php" class="text-white text-sm md:text-lg hover:underline whitespace-nowrap">Browse</a>
                <a href="/?lng=cn" class="text-white text-sm border border-white rounded px-2 py-1 hover:bg-white hover:text-blue-600 transition-colors">中文</a>
            </nav>
        </div>
    </header>

    <main class="container mx-auto px-2 md:px-4 py-4 md:py-10 flex-grow">
        <section>
            <h2 class="text-xl md:text-2xl font-bold mb-4 md:mb-6 text-gray-700 border-b-2 border-gray-200 pb-2">Product Info</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                <article class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow">
                    <img src="/images/icon/png.gif" alt="Post Image" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-2 text-gray-800">What is a Web Disk?</h3>
                        <p class="text-gray-600 mb-4">Upload and manage files directly through your browser — no FTP software needed.</p>
                        <a href="/login.php?gl=1" class="text-blue-600 hover:text-blue-800 font-medium">Read more →</a>
                    </div>
                </article>

                <article class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow">
                    <img src="/images/icon/png.gif" alt="Post Image" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-2 text-gray-800">Key Features</h3>
                        <p class="text-gray-600 mb-4">Upload files, preview online, password-protect directories, set storage quotas.</p>
                        <a href="/login.php?gl=1" class="text-blue-600 hover:text-blue-800 font-medium">Read more →</a>
                    </div>
                </article>

                <article class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow">
                    <img src="/images/icon/png.gif" alt="Post Image" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-2 text-gray-800">Supported File Types</h3>
                        <p class="text-gray-600 mb-4">mp3, mp4, txt, gif, jpg, bmp, png, swf, html, htm, wav, rar, zip, jpeg, pdf, webp, docx, md, glb, gltf, fbx, splat, apk</p>
                        <a href="/login.php?gl=1" class="text-blue-600 hover:text-blue-800 font-medium">Read more →</a>
                    </div>
                </article>
            </div>
        </section>

        <section class="mt-12">
            <h2 class="text-2xl font-bold mb-6 text-gray-700 border-b-2 border-gray-200 pb-2">Current Progress</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow">
                    <img src="/images/icon/png.gif" alt="Optimization Project" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-3 text-gray-800">Web Disk Optimization</h3>
                        <div class="mb-4">
                            <div class="flex justify-between mb-1">
                                <span class="text-gray-600">Progress</span>
                                <span class="text-gray-600">95%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5">
                                <div class="bg-blue-600 h-2.5 rounded-full" style="width: 95%"></div>
                            </div>
                        </div>
                        <p class="text-gray-600 mb-4">Optimizing upload speed, adding multi-threaded upload support.</p>
                        <div class="text-sm text-gray-500">Target: Jul 15, 2026</div>
                    </div>
                </div>

                <div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow">
                    <img src="/images/icon/png.gif" alt="Mobile Project" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-3 text-gray-800">Mobile App</h3>
                        <div class="mb-4">
                            <div class="flex justify-between mb-1">
                                <span class="text-gray-600">Progress</span>
                                <span class="text-gray-600">40%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5">
                                <div class="bg-blue-600 h-2.5 rounded-full" style="width: 40%"></div>
                            </div>
                        </div>
                        <p class="text-gray-600 mb-4">Developing mobile apps for iOS and Android.</p>
                        <div class="text-sm text-gray-500">Target: Jun 30, 2027</div>
                    </div>
                </div>
            </div>
        </section>        <section class="mt-12">
            <h2 class="text-2xl font-bold mb-6 text-gray-700 border-b-2 border-gray-200 pb-2">Products &amp; Pricing</h2>
            <div class="overflow-x-auto">
            <table class="w-full bg-white rounded-xl shadow-lg overflow-hidden">
                <thead class="bg-gray-800 text-white">
                    <tr>
                        <th class="p-4 text-left font-semibold">Plan</th>
                        <th class="p-4 text-left font-semibold">Default Quota</th>
                        <th class="p-4 text-center font-semibold"></th>
                    </tr>
                </thead>
                <tbody class="divide-y divide-gray-200">                    <tr class="bg-gray-50 hover:bg-blue-50 transition-colors">
                        <td class="p-4 font-bold text-lg">5G $90/yr</td>
                        <td class="p-4 text-sm text-gray-600">5GB storage &nbsp;|&nbsp; 80 files/dir &nbsp;|&nbsp; 20 subdirs<br>100MB max per file &nbsp;|&nbsp; <strong>500GB transfer/mo</strong></td>
                        <td class="p-4 text-center">
                            <a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-5 rounded-lg transition-colors text-sm" onclick="openOrderModal('5G', '$90');return false;">Buy Now</a>
                        </td>
                    </tr>                    <tr class="bg-white hover:bg-blue-50 transition-colors">
                        <td class="p-4 font-bold text-lg">10G $149/yr</td>
                        <td class="p-4 text-sm text-gray-600">10GB storage &nbsp;|&nbsp; 200 files/dir &nbsp;|&nbsp; 50 subdirs<br>200MB max per file &nbsp;|&nbsp; <strong>1TB transfer/mo</strong></td>
                        <td class="p-4 text-center">
                            <a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-5 rounded-lg transition-colors text-sm" onclick="openOrderModal('10G', '$149');return false;">Buy Now</a>
                        </td>
                    </tr>                    <tr class="bg-gray-50 hover:bg-blue-50 transition-colors">
                        <td class="p-4 font-bold text-lg">30G $299/yr</td>
                        <td class="p-4 text-sm text-gray-600">30GB storage &nbsp;|&nbsp; 1000 files/dir &nbsp;|&nbsp; 100 subdirs<br>500MB max per file &nbsp;|&nbsp; <strong>2TB transfer/mo</strong></td>
                        <td class="p-4 text-center">
                            <a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-5 rounded-lg transition-colors text-sm" onclick="openOrderModal('30G', '$299');return false;">Buy Now</a>
                        </td>
                    </tr>                    <tr class="bg-white hover:bg-blue-50 transition-colors">
                        <td class="p-4 font-bold text-lg">40G $499/yr</td>
                        <td class="p-4 text-sm text-gray-600">40GB storage &nbsp;|&nbsp; 2000 files/dir &nbsp;|&nbsp; 200 subdirs<br>2000MB max per file &nbsp;|&nbsp; <strong>3TB transfer/mo</strong></td>
                        <td class="p-4 text-center">
                            <a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-5 rounded-lg transition-colors text-sm" onclick="openOrderModal('40G', '$499');return false;">Buy Now</a>
                        </td>
                    </tr>                </tbody>
            </table>
            </div>
            <p class="text-center text-gray-500 mt-6 text-sm">All plans include lifetime updates.</p>
        </section><div id="orderModal" style="display:none;position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:9999;align-items:center;justify-content:center;"
     onclick="if(event.target===this)this.style.display='none'">
    <div style="background:#fff;border-radius:16px;padding:32px;max-width:480px;width:90%;max-height:90vh;overflow-y:auto;">
        <div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;">
            <h2 style="font-size:20px;font-weight:bold;" id="modalTitle">New Order</h2>
            <span onclick="document.getElementById('orderModal').style.display='none'" style="cursor:pointer;font-size:24px;color:#999;">&times;</span>
        </div>
        <form id="orderForm" onsubmit="return submitOrder(event)">
            <input type="hidden" name="csrf" value="eb0c411a2e4fea00ddd10e952366de1f88bb2f163e5eaf7a2100a960a9d28938">
            <input type="hidden" name="plan" id="orderPlan" value="">
            <input type="hidden" name="price" id="orderPrice" value="">
            <div style="margin-bottom:12px;">
                <label style="font-size:13px;color:#666;">Plan</label>
                <p style="font-weight:bold;font-size:18px;" id="modalPlanDisplay">—</p>
            </div>
            <div style="margin-bottom:12px;">
                <label style="font-size:13px;color:#666;">Your Email *</label>
                <input type="email" name="email" required value="" style="width:100%;border:1px solid #ddd;border-radius:8px;padding:10px;font-size:14px;">
            </div>
            <div style="margin-bottom:12px;">
                <label style="font-size:13px;color:#666;">Admin Password *</label>
                <input type="password" name="password" required minlength="6" style="width:100%;border:1px solid #ddd;border-radius:8px;padding:10px;font-size:14px;">
                <input type="password" name="password2" required minlength="6" placeholder="Confirm Password" style="width:100%;border:1px solid #ddd;border-radius:8px;padding:10px;font-size:14px;">                <p style="font-size:11px;color:#999;margin-top:2px;">At least 6 characters</p>
            </div>
            <div style="margin-bottom:12px;">
                <label style="display:flex;align-items:center;gap:8px;cursor:pointer;">
                    <input type="checkbox" name="enable_backup" id="enableBackup" onchange="updateTotal()">
                    <span style="font-size:14px;">Enable daily backups (+$14~$65/yr)</span>
                </label>
            </div>
            <div style="margin-bottom:12px;">
                <label style="display:flex;align-items:center;gap:8px;cursor:pointer;">
                    <input type="checkbox" name="enable_domain" id="enableDomain" onchange="toggleDomain()">
                    <span style="font-size:14px;">Domain + SSL setup: <strong>$49</strong> (one-time)</span>
                </label>
            </div>
            <div id="domainField" style="margin-bottom:12px;display:none;">
                <label style="font-size:13px;color:#666;">Your Domain</label>
                <input type="text" name="domain" placeholder="example.com" style="width:100%;border:1px solid #ddd;border-radius:8px;padding:10px;font-size:14px;">
            </div>
            <div style="margin-bottom:20px;padding:12px;background:#f0f9ff;border-radius:8px;font-size:13px;color:#0369a1;">
                <strong>Total: </strong> <span id="modalTotal" style="font-size:18px;">$90</span>
            </div>
            <button type="submit" style="width:100%;background:#2563eb;color:#fff;border:none;border-radius:8px;padding:12px;font-size:16px;font-weight:bold;cursor:pointer;">
                Submit Order
            </button>
            <p style="font-size:11px;color:#999;text-align:center;margin-top:8px;">
                We will contact you within 24 hours.
            </p>
        </form>
    </div>
</div>
<script>
var lpxqLang = 'en';
var lpxqLoggedIn = 'false';
function openOrderModal(plan, price) {
    if (lpxqLoggedIn !== 'true') {
        window.location.href = '/user-login.php';
        return;
    }
    document.getElementById('orderPlan').value = plan;
    document.getElementById('orderPrice').value = price;
    document.getElementById('modalPlanDisplay').textContent = plan + ' (' + price + '/year)';
    document.getElementById('modalTitle').textContent = plan + ' - New Order';
    updateTotal();
    document.getElementById('orderModal').style.display = 'flex';
}
function toggleDomain() {
    var chk = document.getElementById('enableDomain');
    document.getElementById('domainField').style.display = chk.checked ? 'block' : 'none';
    updateTotal();
}
var BACKUP_COST = { '5G': 14, '10G': 22, '30G': 43, '40G': 65 };
function updateTotal() {
    var price = parseFloat(document.getElementById('orderPrice').value.replace('$','')) || 0;
    var domain = document.getElementById('enableDomain').checked ? 49 : 0;
    var plan = document.getElementById('orderPlan').value;
    var backup = document.getElementById('enableBackup').checked ? (BACKUP_COST[plan] || 14) : 0;
    document.getElementById('modalTotal').textContent = '$' + (price + domain + backup).toFixed(0);
}
function showToast(msg, type) {
    var t = document.createElement('div');
    t.style.cssText = 'position:fixed;top:20px;right:20px;padding:14px 20px;border-radius:10px;z-index:99999;font-size:14px;max-width:400px;box-shadow:0 4px 12px rgba(0,0,0,0.15);transition:opacity 0.3s;';
    t.style.background = type === 'error' ? '#fee2e2' : '#dcfce7';
    t.style.color = type === 'error' ? '#991b1b' : '#166534';
    t.style.border = type === 'error' ? '1px solid #fecaca' : '1px solid #bbf7d0';
    t.textContent = msg;
    document.body.appendChild(t);
    setTimeout(function() { t.style.opacity = '0'; setTimeout(function() { document.body.removeChild(t); }, 300); }, 4000);
}

function submitOrder(e) {
    e.preventDefault();
    var btn = document.querySelector('#orderForm button[type=\"submit\"]');
    if (btn.disabled) return false;
    btn.disabled = true;
    btn.textContent = '<?=  ? 'Submitting...' : '提交中...' ?>';

    var form = document.getElementById('orderForm');
    var data = new FormData(form);

    fetch('/order.php', { method: 'POST', body: data })
    .then(function(r) { return r.json(); })
    .then(function(resp) {
        btn.disabled = false;
        btn.textContent = 'Submit Order';
        if (resp.ok) {
            showToast('✅ Order created:  ' + resp.order_no, 'ok');
            document.getElementById('orderModal').style.display = 'none';
        } else {
            showToast('Error: ' + resp.error, 'error');
        }
    })
    .catch(function(err) {
        btn.disabled = false;
        btn.textContent = 'Submit Order';
        showToast('Network error', 'error');
    });
    return false;
}
</script>    </main>

    <footer class="bg-gray-800 py-6 mt-10">
        <div class="container mx-auto px-4 text-center text-gray-400">            <p class="text-sm space-x-4 mb-2">
                <a href="/privacy.php" class="text-gray-400 hover:text-white">Privacy Policy</a>
                <a href="/terms.php" class="text-gray-400 hover:text-white">Terms of Service</a>
                <a href="/cookie-policy.php" class="text-gray-400 hover:text-white">Cookie Policy</a>
            </p>
            <p>© 2025 LPXQ.net - Your Web Home. All rights reserved.</p>
        </div>
    </footer>
</body>
</html>
<style>
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f5f5f5;
  border-top: 1px solid #ccc;
  padding: 15px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.cookie-banner p {
  margin: 0 0 10px;
}

.cookie-options label {
  display: block;
  margin: 5px 0;
}

.cookie-buttons {
  margin-top: 10px;
}

.cookie-buttons button {
  margin-right: 10px;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

#accept-all {
  background-color: #4caf50;
  color: white;
}

#save-preferences {
  background-color: #2196f3;
  color: white;
}

</style>
<div id="cookie-consent" style="display: none;">
  <div class="cookie-banner">
    <p>We use cookies to improve your experience. Customize your preferences below or read our <a href="/cookie-policy.php" target="_blank">Cookie Policy</a>.</p>
	<button id="close-consent" style="float: right; background: none; border: none; font-size: 16px; cursor: pointer;position: relative;top: -30px;right: -10px;">&times;</button>
    <div class="cookie-options">
      <label><input type="checkbox" id="essential-cookies" checked disabled> Necessary (Always Enabled)</label>
      <label><input type="checkbox" id="analytics-cookies"> Analytics</label>
      <label><input type="checkbox" id="ads-cookies"> Ads & Tracking</label>
    </div>
    <div class="cookie-buttons">
      <button id="accept-all">Accept All</button>
      <button id="save-preferences">Save Preferences</button>
    </div>
  </div>
</div>
<p align=center style="font-size:10px;color:#ccc;padding:40px;">v3.1.0 2026-07-16 <a href="/">LPXQ.net</a></p><script>
var ckname='cookie_consent2';
function setCookie(name, value, days) {
  const date = new Date();
  date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
  document.cookie = `${name}=${value}; expires=${date.toUTCString()}; path=/`;
}

function getCookie(name) {
  const nameEQ = name + "=";
  const cookies = document.cookie.split(';');
  for (let c of cookies) {
    while (c.charAt(0) === ' ') c = c.substring(1);
    if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length);
  }
  return null;
}

function initCookieConsent() {
  const consentDiv = document.getElementById('cookie-consent');
  const acceptAllButton = document.getElementById('accept-all');
  const savePreferencesButton = document.getElementById('save-preferences');
  const analyticsCheckbox = document.getElementById('analytics-cookies');
  const adsCheckbox = document.getElementById('ads-cookies');
  const closeConsentButton = document.getElementById('close-consent');

  if (!getCookie(ckname)) {
    consentDiv.style.display = 'block';
  }

  acceptAllButton.addEventListener('click', () => {
    setCookie(ckname, JSON.stringify({ analytics: true, ads: true }), 365);
    consentDiv.style.display = 'none';
  });

  savePreferencesButton.addEventListener('click', () => {
    setCookie(ckname, JSON.stringify({
      analytics: analyticsCheckbox.checked,
      ads: adsCheckbox.checked,
    }), 365);
    consentDiv.style.display = 'none';
  });

  closeConsentButton.addEventListener('click', () => {
    consentDiv.style.display = 'none';
  });
}

document.addEventListener('DOMContentLoaded', initCookieConsent);

</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-0530210725070236"
     crossorigin="anonymous"></script>