47 lines
1.9 KiB
HTML
47 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Thank You for Your Purchase!</title>
|
|
<link rel="stylesheet" href="servermanagerMain.css">
|
|
<script>
|
|
function getPlanType() {
|
|
const params = new URLSearchParams(window.location.search);
|
|
const plan = params.get('plan');
|
|
|
|
if (plan === "subscribe") {
|
|
document.getElementById("planType").innerText = "Thank you for subscribing to ServerManager!";
|
|
document.getElementById("downloadLink").href = "https://github.com/YourUsername/YourRepoName/releases/latest/download/ServerManagerSetup.exe"; // latest version
|
|
} else if (plan === "lifetime") {
|
|
document.getElementById("planType").innerText = "Thank you for purchasing Lifetime Access!";
|
|
document.getElementById("downloadLink").href = "https://github.com/YourUsername/YourRepoName/releases/download/v1.0.0/ServerManagerSetup.exe"; // locked version
|
|
} else {
|
|
document.getElementById("planType").innerText = "Thank you for supporting ServerManager!";
|
|
document.getElementById("downloadLink").href = "https://github.com/YourUsername/YourRepoName/releases/download/v1.0.0/ServerManagerSetup.exe"; // default safe fallback
|
|
}
|
|
}
|
|
window.onload = getPlanType;
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
<h1 id="planType">Thank you!</h1>
|
|
|
|
<p>Your download is ready:</p>
|
|
|
|
<a id="downloadLink" href="#">
|
|
<button class="download-button">Download ServerManager</button>
|
|
</a>
|
|
|
|
<br><br>
|
|
|
|
<p>If you have any issues, please email us at <a href="mailto:Support@oblistudios.com">Support@oblistudios.com</a></p>
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|