Skip to content

Commit

Permalink
added cb and +
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinServer authored May 14, 2024
1 parent b1985d0 commit 53f4e20
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions store/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@
<button class="purchasebutton" onclick=purchaseDonator()>Donator Rank - <b><s>$10</s> <span class="green-text">$9!</span></b></button>
<button class="purchasebutton" onclick=purchaseVIP()>VIP Rank - <b><s>$30</s> <span class="green-text">$27!</span></button>
<button class="purchasebutton" onclick=purchaseMVP()>MVP Rank - <b><s>$50</s> <span class="green-text">$45!</span></button>
<div class="med-text">Claim Blocks:</div>
<button class="purchasebutton" onclick=purchase5kcb()>5000 blocks - <b>$1</b></button>
<button class="purchasebutton" onclick=purchase10kcb()>10000 blocks - <b>$3</b></button>
<button class="purchasebutton" onclick=purchase20kcb()>20000 blocks - <b>$5</b></button>
<div class="med-text">In-game Currency:</div>
<button class="purchasebutton" onclick=purchase500()>$500 in-game currency - <b>$0.50</b></button>
<button class="purchasebutton" onclick=purchase1000()>$1000 in-game currency - <b>$1</b></button>
<button class="purchasebutton" onclick=purchase5000()>$5000 in-game currency - <b>$5</b>/button>
<button class="purchasebutton" onclick=purchase10000()>$10000 in-game currency - <b>$10</b>/button>
</div>
<div class="mobile-version">
<button class="purchasebutton" onclick=purchaseDonator()>Donator Rank - <b>$1/month</b></button>
Expand All @@ -108,6 +117,20 @@
<button class="purchasebutton" onclick=purchaseVIP()>VIP Rank - <b><s>$30</s> <span class="green-text">$27!</span></button>
<br>
<button class="purchasebutton" onclick=purchaseMVP()>MVP Rank - <b><s>$50</s> <span class="green-text">$45!</span></button>
<div class="med-text">Claim Blocks:</div>
<button class="purchasebutton" onclick=purchase5kcb()>5000 blocks - <b>$1</b></button>
<br>
<button class="purchasebutton" onclick=purchase10kcb()>10000 blocks - <b>$3</b></button>
<br>
<button class="purchasebutton" onclick=purchase20kcb()>20000 blocks - <b>$5</b></button>
<div class="med-text">In-game Currency:</div>
<button class="purchasebutton" onclick=purchase500()>$500 in-game currency - <b>$0.50</b></button>
<br>
<button class="purchasebutton" onclick=purchase1000()>$1000 in-game currency - <b>$1</b></button>
<br>
<button class="purchasebutton" onclick=purchase5000()>$5000 in-game currency - <b>$5</b>/button>
<br>
<button class="purchasebutton" onclick=purchase10000()>$10000 in-game currency - <b>$10</b>/button>
</div>
<br>
<button class="button" onclick="goback()">go back</button>
Expand All @@ -125,10 +148,44 @@
function purchaseMVP() {
window.location.href = 'mvp.html';
}
function purchase5kcb() {
setCookie("rankWanted", "5kcb");
window.location.href = 'purchase.html';
}
function purchase10kcb() {
setCookie("rankWanted", "10kcb");
window.location.href = 'purchase.html';
}
function purchase20kcb() {
setCookie("rankWanted", "20kcb");
window.location.href = 'purchase.html';
}
function purchase500() {
setCookie("rankWanted", "500");
window.location.href = 'purchase.html';
}
function purchase1000() {
setCookie("rankWanted", "1000");
window.location.href = 'purchase.html';
}
function purchase5000() {
setCookie("rankWanted", "5000");
window.location.href = 'purchase.html';
}
function purchase10000() {
setCookie("rankWanted", "10000");
window.location.href = 'purchase.html';
}
if (window.location.protocol === 'http:') {
// Redirect to HTTPS
window.location.href = 'https://reinserver.com/store';
}
function setCookie(name, value) {
var date = new Date();
date.setTime(date.getTime() + (24 * 60 * 60 * 1000));
var expires = "expires=" + date.toUTCString();
document.cookie = name + "=" + value + ";" + expires + ";path=/";
}
window.addEventListener('resize', function() {
if (window.innerWidth <= 600) {
// Show mobile version
Expand Down

0 comments on commit 53f4e20

Please sign in to comment.