Move old to a differnet folder

This commit is contained in:
SilicaAndPina 2020-12-08 18:15:25 +13:00
parent 490ebad2f4
commit 628e91efe8
8 changed files with 400 additions and 300 deletions

BIN
Web Service/old/bg.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
Web Service/old/donald.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

52
Web Service/old/ecdp.css Normal file
View File

@ -0,0 +1,52 @@
body{
background-image: url("bg.gif");
background-repeat: repeat;
text-align:center;
}
.keygen{
display: inline-block;
top: 15%;
position: relative;
padding:20px;
width:50%;
text-align:center;
background-color: green;
color: white;
border-radius: 4px;
}
.macAddr{
width: 60px;
padding: 12px 20px;
margin: 8px 0;
border-radius: 100%;
background-color: black;
color:white;
}
.button{
width: 60%;
margin-top:50px;
padding:12px;
border-radius: 4px;
background-color: yellow;
}
.entry{
width: 60%;
padding:12px;
border-radius: 4px;
background-color: black;
color:white;
}
.leaveOffering{
text-align:center;
width:100%;
padding: 20px;
color: white;
font-size: 140%;
font-weight: bold;
}
.askRonald{
float:left;
padding-right: 3%;
}

BIN
Web Service/old/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View File

@ -0,0 +1,48 @@
<html>
<head>
<title> McKeygen - Serial Key Generator for eCDP</title>
<meta name="viewport" content="width=device-width, initial-scale=0.2">
<link rel="stylesheet" type="text/css" href="ecdp.css">
</head>
<body>
<div class="keygen">
<img src="donald.jpg" class="askRonald" width="228" height="406">
<div class="leaveOffering"> Leave an offering for Ronald McDonald </div>
DSi Mac Address:<br>
<input type="text" id="dsiMac0" class="macAddr" value="00" maxlength="2"> :
<input type="text" id="dsiMac1" class="macAddr" value="00" maxlength="2"> :
<input type="text" id="dsiMac2" class="macAddr" value="00" maxlength="2"> :
<input type="text" id="dsiMac3" class="macAddr" value="00" maxlength="2"> :
<input type="text" id="dsiMac4" class="macAddr" value="00" maxlength="2"> :
<input type="text" id="dsiMac5" class="macAddr" value="00" maxlength="2"><br>
Store Number:<br>
<input type="text" id="storeId" class="entry" value="000000" maxlength="6" size="3"><br>
Store Management Number of DS Card:<br>
<input type="text" id="managementId" class="entry" value="000000" maxlength="6" size="3"><br>
<input type="submit" id="generate_password" class="button" value="Place Offering" onclick="placeOffering()"><br>
<div id="offering"></div>
</div>
<script>
function placeOffering()
{
query = "/password.php?mac0="+dsiMac0.value+"&mac1="+dsiMac1.value+"&mac2="+dsiMac2.value+"&mac3="+dsiMac3.value+"&mac4="+dsiMac4.value+"&mac5="+dsiMac5.value+"&store="+storeId.value+"&management="+managementId.value;
offering.innerText = "Contacting Ronald McDonald...";
xhr = new XMLHttpRequest();
xhr.open("GET",query,true);
xhr.onreadystatechange = function () {
if(xhr.readyState === XMLHttpRequest.DONE) {
var status = xhr.status;
if (status === 0 || (status >= 200 && status < 400)) {
offering.innerText = "Ronald McDonald speaks with a cryptic message: "+xhr.responseText;
} else {
offering.innerText = "Ronald McDonald looks at you, disgusted, throwing your BigMac right back at you.";
}
}
};
xhr.send();
}
</script>
</body>
</html>