Lucas Kent e39465ad2f Changes to be committed:
new file:   Files/flashplayer_32_sa.exe
	new file:   favicon.ico
	new file:   globe.gif
	new file:   imgs/download.png
	new file:   imgs/zuck.jpg
	new file:   index.html
	new file:   other.ico
	new file:   script.js
	new file:   site.webmanifest
	new file:   sitemap.html
	new file:   styles/backround.css
	new file:   styles/border.css
	new file:   styles/fonts/Titillium_Web/OFL.txt
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf
	new file:   styles/fonts/webfontkit-20221027-163353/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2
	new file:   styles/fonts/webfontkit-20221027-165950/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2
	new file:   styles/style.css
	new file:   tools/2048/.gitignore
	new file:   tools/2048/.jshintrc
	new file:   tools/2048/CONTRIBUTING.md
	new file:   tools/2048/LICENSE.txt
	new file:   tools/2048/README.md
	new file:   tools/2048/Rakefile
	new file:   tools/2048/favicon.ico
	new file:   tools/2048/index.html
	new file:   tools/2048/js/animframe_polyfill.js
	new file:   tools/2048/js/application.js
	new file:   tools/2048/js/bind_polyfill.js
	new file:   tools/2048/js/classlist_polyfill.js
	new file:   tools/2048/js/game_manager.js
	new file:   tools/2048/js/grid.js
	new file:   tools/2048/js/html_actuator.js
	new file:   tools/2048/js/keyboard_input_manager.js
	new file:   tools/2048/js/local_storage_manager.js
	new file:   tools/2048/js/tile.js
    new file:   tools/2048/meta/apple-touch-icon.png
	new file:   tools/webretro/cores/neocd_libretro.js
	new file:   tools/webretro/cores/neocd_libretro.wasm
	new file:   tools/webretro/cores/nestopia_libretro.js
	new file:   tools/webretro/cores/nestopia_libretro.wasm
	new file:   tools/webretro/cores/o2em_libretro.js
	new file:   tools/webretro/cores/o2em_libretro.wasm
	new file:   tools/webretro/cores/opera_libretro.js
	new file:   tools/webretro/cores/opera_libretro.wasm
2022-11-02 08:40:01 -04:00

188 lines
5.9 KiB
HTML

<!doctype html>
<html lang="en"><!-- #BeginTemplate "/Templates/Main.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/contact.php by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:36:14 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- #BeginEditable "doctitle" -->
<title>Maths Is Fun - Contact Us</title>
<!-- #EndEditable -->
<meta name="keywords" content="math, maths, mathematics, school, homework, education">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="HandheldFriendly" content="true">
<meta name="referrer" content="always">
<link rel="stylesheet" type="text/css" href="style3.css">
<script src="main3.js"></script>
<script>
function addEmail() {
var name = document.getElementById('name').value
var email = document.getElementById('email').value
var subject = document.getElementById('subject').value
var msg = document.getElementById('msg').value
console.log("addEmail", name);
// verify
var errs = [];
if (name.length<1) errs.push( 'No Name' )
if (msg.length<10) errs.push( 'Message too short' )
if (errs.length>0) {
var s = '<b>Sorry, mail not sent because:<br>'
for (var i=0; i<errs.length; i++) {
var err = errs[i]
s += ' * ' + err + '<br>'
}
s += 'try again.</b><br><br>'
var div = document.getElementById('errs')
div.innerHTML = s
} else {
var req;
req = new XMLHttpRequest();
var params = "type=mail";
params += "&site=mif";
params += "&name=" + encodeURIComponent(toHex2(name));
params += "&email=" + encodeURIComponent(toHex2(email));
params += "&subject=" + encodeURIComponent(toHex2(subject));
params += "&msg=" + encodeURIComponent(toHex2(msg));
console.log('qq',params)
//return
req.open("POST.html", "https://mi2f.com/update.php", true); // NB: false=synchronous
req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
req.send(params);
var div = document.getElementById('inputs')
div.innerHTML = "<b>Message sent, thank you!</b><br><br>"
}
function toHex2(s) {
var hex = '';
for (var i = 0; i < s.length; i++) {
var cc = s.charCodeAt(i).toString(16);
if (cc.length<2) cc = '0' +cc;
hex += '' + cc;
}
//console.log('hex',hex)
return hex;
}
}
</script>
</head>
<body id="bodybg">
<div class="bg">
<div id="stt"></div>
<header>
<div id="hdr"></div>
<div id="logo"><a href="index.html"><img src="images/style/logo.svg" alt="Math is Fun"></a></div>
<div id="gtran">
<script>document.write(getTrans());</script>
</div>
<div id="adTopOuter" class="centerfull noprint">
<div id="adTop">
<script>document.write(getAdTop());</script>
</div>
</div>
<div id="adHide">
<div id="showAds1"><a href="javascript:showAds()">Show Ads</a></div>
<div id="hideAds1"><a href="javascript:hideAds()">Hide Ads</a><br>
<a href="about-ads.html">About Ads</a></div>
</div>
</header>
<nav>
<div id="menuWide" class="menu">
<script>document.write(getMenu(0));</script>
</div>
<div id="linkto">
<div id="linktort">
<script>document.write(getLinks());</script>
</div>
</div>
<div id="search" role="search">
<script>document.write(getSearch());</script>
</div>
<div id="menuSlim" class="menu">
<script>document.write(getMenu(1));</script>
</div>
<div id="menuTiny" class="menu">
<script>document.write(getMenu(2));</script>
</div>
</nav>
<div id="extra"></div>
</div>
<article id="content" role="main"><!-- #BeginEditable "Body" -->
<h1 align="center">Contact Us</h1>
<p align="center">We love to hear from you! <br />
But we get lots of emails, and can't respond to them all.</p>
<p align="center">&nbsp;</p>
<div id="inputs">
<label for="name"><b>Your Name:</b></label>
<br>
<input type="text" id="name" name="name" size="40" />
(use &quot;Anon&quot; if you don't want to give your real name) <br>
<label for="email"><b>Your Email Address:</b></label>
<br>
<input type="text" id="email" name="email" size="40" />
(if you want a reply) <br>
<br>
<label for="subject"><b>Subject:</b></label>
<select id="subject" name="subject">
<option value="Website">Website Suggestion or Problem</option>
<option value="Thank You">Thank You</option>
<option value="General" selected="selected">General Comment</option>
</select>
<br>
<br>
<label for="msg"><b><b>Your Message:</b></b></label>
<br>
<textarea id="msg" name="msg" wrap="virtual" style="width:95%; height:150px;"></textarea>
<div id="errs"></div>
<div style="text-align: right;">
<button type="button" style="text-align: center; margin: 2px; text-decoration: none; font: 18px/28px Arial, sans-serif; color: #268; border: 1px solid #88aaff; border-radius: 10px;cursor: pointer; background: linear-gradient(to top right, rgba(170,190,255,1) 0%, rgba(255,255,255,1) 100%); outline-style:none; z-index:2;" onclick="addEmail()"> Send! </button>
</div>
</div>
<p>NOTE: sometimes my reply gets rejected by mail systems, so if you want a reply make sure you can receive mail from<b> <a href="cdn-cgi/l/email-protection.html" class="__cf_email__" data-cfemail="c0a6b5aeada1b4a880a7ada1a9aceea3afad">[email&#160;protected]</a></b></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="related"><a href="aboutmathsisfun.html">About Us</a></div>
<!-- #EndEditable --></article>
<div id="adend" class="centerfull noprint">
<script data-cfasync="false" src="cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>document.write(getAdEnd());</script>
</div>
<footer id="footer" class="centerfull noprint">
<script>document.write(getFooter());</script>
</footer>
<div id="copyrt">
Copyright &copy; 2019 MathsIsFun.com
</div>
<script>document.write(getBodyEnd());</script>
</body>
<!-- #EndTemplate -->
<!-- Mirrored from www.mathsisfun.com/contact.php by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:36:15 GMT -->
</html>