2017-02-02 06:04:59 -08:00
< html >
< head >
2017-02-04 11:12:35 -08:00
< title > Contact< / title >
2017-02-02 06:04:59 -08:00
< script src = 'https://www.google.com/recaptcha/api.js' > < / script >
< link rel = "stylesheet" href = "main.css" / >
2017-02-04 11:08:01 -08:00
< link rel = "stylesheet" href = "form.css" / >
2017-02-02 06:04:59 -08:00
< script >
function sendMessage() {
var send = true;
if (document.getElementById('email').value === '') {
send = false;
document.getElementById('email').style.borderColor = '#FF4444';
} else {
document.getElementById('email').style.borderColor = '#000000';
}
if (document.getElementById('message').value === '') {
send = false;
document.getElementById('message').style.borderColor = '#FF4444';
} else {
document.getElementById('message').style.borderColor = '#000000';
}
if (document.getElementById('robot-check').checksum != 'stfh1tr8fh6srtf56hnbrtsfxhb1rtx81fh5tr1xf6gh15xnrtf51hgnft') {
send = false;
}
if (send) {
var email = document.getElementById('email').value;
var message = document.getElementById('message').value;
2017-02-02 13:28:06 -08:00
window.location = 'send.php?subject=New Modinstaller message& message=Hello dear modinstaller admin.|The following message was sent to you by ' + email + ':'
2017-02-02 06:04:59 -08:00
+ '||' + message
+ '||Sincerly yours|TOTALLY NOT A BOT';
}
}
function robot() {
if (document.getElementById('robot-check').checked) {
document.getElementById('robot-check').checksum='stfh1tr8fh6srtf56hnbrtsfxhb1rtx81fh5tr1xf6gh15xnrtf51hgnft'
} else {
document.getElementById('robot-check').checksum='k3jabsd2asd3uibash3dva9skjhd5uzf6gcvkehj1wdhqwz7qvusjdh8b'
}
}
< / script >
< / head >
< body >
< div class = "header" >
< h1 > Minetest Modinstaller< / h1 >
< / div >
< div class = "menu_bar" >
< a href = "index.html" > < div class = "menu_item" > Home< / div > < / a >
< a href = "download.html" > < div class = "menu_item" > Download< / div > < / a >
< a href = "submit.html" > < div class = "menu_item" > Submit Mod< / div > < / a >
< a href = "contact.html" > < div class = "menu_item" > Contact< / div > < / a >
< / div >
< div class = "content" >
< h2 > Send a message< / h2 >
2017-02-02 06:34:35 -08:00
< table class = "form" >
2017-02-02 06:04:59 -08:00
< tr >
< td class = "first" > E-Mail< / td >
< td class = "second" > < input type = "mail" id = "email" / > < / td >
< / tr >
< tr >
< td class = "first" > Message< / td >
< td class = "second" > < textarea type = "text" id = "message" > < / textarea > < / td >
< / tr >
< tr >
< td class = "first" > < / td >
< td class = "second" >
< div class = "no-robot" onclick = "robot();" >
< input type = "checkbox" class = "robot-check" id = "robot-check" checksum = "k3jabsd2asd3uibash3dva9skjhd5uzf6gcvkehj1wdhqwz7qvusjdh8b" >
< label for = "robot-check" >
< span class = "checkmark" >
< div class = "checkmark_stem" > < / div >
< div class = "checkmark_kick" > < / div >
< / span >
2017-02-04 11:08:01 -08:00
< box > < / box >
< a > I'm not a robot< / a >
2017-02-02 06:04:59 -08:00
< / label >
< / div >
< / td >
< / tr >
< tr >
< td / >
< td > < input type = "submit" value = "Send" onclick = "sendMessage();" / > < / td >
< / tr >
< / table >
< / div >
< / body >
< / html >