Skip to content

Commit

Permalink
balanced thermodynamics
Browse files Browse the repository at this point in the history
  • Loading branch information
jehovahsays committed Jun 30, 2024
1 parent 28bbfa1 commit a67b647
Show file tree
Hide file tree
Showing 31 changed files with 202 additions and 71 deletions.
14 changes: 7 additions & 7 deletions action.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@
echo "<div id='results'>$totalCorrect / 1 correct</div>";
if ($answer2 == "") { $totalCorrect++; }


foreach($_POST as $variable => $value)
{
$value = str_replace(' ', '_', $value);
$file_pointer = "./en/" . $value . ".html";
if (file_exists($file_pointer))
{
echo "The file $file_pointer already exists <br>";
//echo "<meta name='viewport' content='width=device-width'><a href='./en/$value.html'>$value</a>";
echo "<script> var msg = new SpeechSynthesisUtterance(' i remember the word $value'); window.speechSynthesis.speak(msg); </script><body onload='loadout()'><script>function loadout(){window.location.href = './en/$value.html'}</script>";
echo "<meta name='viewport' content='width=device-width'><a href='./en/$value.html'>$value</a>";
echo "<script> var msg = new SpeechSynthesisUtterance(' i remember hearing.. the word $value.. before. here.. is... what i found'); window.speechSynthesis.speak(msg); </script>";
//echo "<body onload='loadout()'><script>function loadout(){window.location.href = './en/$value.html'}</script>";
exit();
}
}

foreach($_POST as $variable => $value)
{
$value = str_replace(' ', '_', $value);
Expand All @@ -65,7 +64,7 @@
fwrite($handle,
"<a href="
. "\""
. "./"
. "./en/"
. $value
. ".html"
. "\""
Expand All @@ -83,6 +82,7 @@

foreach($_POST as $variable => $value)
{
$value = str_replace(' ', '_', $value);
$handle = fopen("./en/$value.txt", "a");
fwrite($handle, "$value"
. "\r\n");
Expand Down Expand Up @@ -207,8 +207,8 @@
."</$value></en></root>");
}
//echo "<meta name='viewport' content='width=device-width'>successfully created <a href='./#en/$value.html'>$value</a>";
echo "<body onload='loadout()'><script>function loadout(){window.location.href = './en/database.html'}</script>";
echo "<script> var msg = new SpeechSynthesisUtterance('i will remember the word $value'); window.speechSynthesis.speak(msg); </script>";
echo "<body onload='loadout()'><script>function loadout(){window.location.href = './index.htm'}</script>";
echo "<script> var msg = new SpeechSynthesisUtterance('i never heard. that word before!.. i will remember. the word $value for further analysis'); window.speechSynthesis.speak(msg); </script>";
fclose($handle);
exit();
?>
13 changes: 11 additions & 2 deletions en/database.html
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,6 @@
<a href="./index.html"class="titleInput"><button>index</button></a>
<a href="./about.html"class="titleInput"><button>about</button></a>
<a href="./database.html"class="titleInput"><button>database</button></a>
<a href="./radio.html"class="titleInput"><button>radio</button></a>
<a href="./tv.html"class="titleInput"><button>tv</button></a>
<a href="./shadow.html"class="titleInput"><button>shadow</button></a>
<a href="./condensation.html"class="titleInput"><button>condensation</button></a>
<a href="./imagination.html"class="titleInput"><button>imagination</button></a>
Expand All @@ -726,3 +724,14 @@
<a href="./memorization.html"class="titleInput"><button>memorization</button></a>
<a href="./xml.html"class="titleInput"><button>xml</button></a>
<a href="./intelligence.html"class="titleInput"><button>intelligence</button></a>
<a href="./dishwashing_liquid.html"class="titleInput"><button>dishwashing_liquid</button></a>
<a href="./water.html"class="titleInput"><button>water</button></a>
<a href="./magnetic_polarity.html"class="titleInput"><button>magnetic_polarity</button></a>
<a href="./planetary_alignment.html"class="titleInput"><button>planetary_alignment</button></a>
<a href="./thermodynamics.html"class="titleInput"><button>thermodynamics</button></a>
<a href="./expressions.html"class="titleInput"><button>expressions</button></a>
<a href="./pendulum_oscillation.html"class="titleInput"><button>pendulum_oscillation</button></a>
<a href="./orbital_revolution.html"class="titleInput"><button>orbital_revolution</button></a>
<a href="./flux_pinning.html"class="titleInput"><button>flux_pinning</button></a>
<a href="./en/tv.html"class="titleInput"><button>tv</button></a>
<a href="./en/radio.html"class="titleInput"><button>radio</button></a>
11 changes: 11 additions & 0 deletions en/dishwashing_liquid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>dishwashing_liquid</title>
</head>
<body><fieldset>
<legend>dishwashing_liquid</legend><script> var msg = new SpeechSynthesisUtterance('dishwashing_liquid'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/dishwashing_liquid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dishwashing liquid
11 changes: 11 additions & 0 deletions en/expressions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>expressions</title>
</head>
<body><fieldset>
<legend>expressions</legend><script> var msg = new SpeechSynthesisUtterance('expressions'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/expressions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
expressions
11 changes: 11 additions & 0 deletions en/flux_pinning.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>flux_pinning</title>
</head>
<body><fieldset>
<legend>flux_pinning</legend><script> var msg = new SpeechSynthesisUtterance('flux_pinning'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/flux_pinning.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flux pinning
16 changes: 12 additions & 4 deletions en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@

<li><a data-page="database">database</a></li>

<li><a data-page="radio">radio</a></li>

<li><a data-page="tv">tv</a></li>

<li><a data-page="shadow">shadow</a></li>

<li><a data-page="calculation" class="titleInput">calculation</a></li>
Expand All @@ -40,4 +36,16 @@
<li><a data-page="digestion"class="titleInput">digestion</a></li>
<li><a data-page="memorization"class="titleInput">memorization</a></li>
<li><a data-page="xml"class="titleInput">xml</a></li>
<li><a data-page="intelligence"class="titleInput">intelligence</a></li>
<li><a data-page="dishwashing_liquid"class="titleInput">dishwashing_liquid</a></li>
<li><a data-page="water"class="titleInput">water</a></li>
<li><a data-page="magnetic_polarity"class="titleInput">magnetic_polarity</a></li>
<li><a data-page="planetary_alignment"class="titleInput">planetary_alignment</a></li>
<li><a data-page="thermodynamics"class="titleInput">thermodynamics</a></li>
<li><a data-page="expressions"class="titleInput">expressions</a></li>
<li><a data-page="pendulum_oscillation"class="titleInput">pendulum_oscillation</a></li>
<li><a data-page="orbital_revolution"class="titleInput">orbital_revolution</a></li>
<li><a data-page="flux_pinning"class="titleInput">flux_pinning</a></li>
<li><a data-page="tv"class="titleInput">tv</a></li>
<li><a data-page="radio"class="titleInput">radio</a></li>
</ul><script type="text/javascript"src="../js/edit.js">></script>
11 changes: 11 additions & 0 deletions en/magnetic_polarity.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>magnetic_polarity</title>
</head>
<body><fieldset>
<legend>magnetic_polarity</legend><script> var msg = new SpeechSynthesisUtterance('magnetic_polarity'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/magnetic_polarity.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
magnetic polarity
11 changes: 11 additions & 0 deletions en/orbital_revolution.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>orbital_revolution</title>
</head>
<body><fieldset>
<legend>orbital_revolution</legend><script> var msg = new SpeechSynthesisUtterance('orbital_revolution'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/orbital_revolution.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
orbital revolution
11 changes: 11 additions & 0 deletions en/pendulum_oscillation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>pendulum_oscillation</title>
</head>
<body><fieldset>
<legend>pendulum_oscillation</legend><script> var msg = new SpeechSynthesisUtterance('pendulum_oscillation'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/pendulum_oscillation.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pendulum oscillation
11 changes: 11 additions & 0 deletions en/planetary_alignment.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>planetary_alignment</title>
</head>
<body><fieldset>
<legend>planetary_alignment</legend><script> var msg = new SpeechSynthesisUtterance('planetary_alignment'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/planetary_alignment.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
planetary alignment
26 changes: 5 additions & 21 deletions en/radio.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport"content="width=device-width">
<style>
iframe
{
position:absolute;
width: 100%;
height: 100%;
}
</style>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>radio</title>
</head>
<body>
<!-- <script> var msg = new SpeechSynthesisUtterance('precipitation'); window.speechSynthesis.speak(msg); </script>
--><body bgcolor="black">
<iframe
class="iframe"
src="https://www.youtube.com/embed?listType=playlist&list=PLwMe8hyy9osJ12XuqlqRcsPQ1qkOMt9O8&si=eeYl2_GhE_kXMb62&autoplay=1&autoplay=1"
title="radio"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
<body><fieldset>
<legend>radio</legend><script> var msg = new SpeechSynthesisUtterance('radio'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
2 changes: 1 addition & 1 deletion en/radio.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
radio
radio
11 changes: 11 additions & 0 deletions en/thermodynamics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>thermodynamics</title>
</head>
<body><fieldset>
<legend>thermodynamics</legend><script> var msg = new SpeechSynthesisUtterance('thermodynamics'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/thermodynamics.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
thermodynamics
27 changes: 5 additions & 22 deletions en/tv.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta
name="viewport"
content="width=device-width">
<style>
iframe {
position:absolute;
width: 100%;
height: 100%;
}
</style>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>tv</title>
</head>
<body>
<!-- <script> var msg = new SpeechSynthesisUtterance('precipitation'); window.speechSynthesis.speak(msg); </script>
--><body bgcolor="black">
<iframe
class="iframe"
src="https://www.youtube.com/embed/videoseries?list=PLwMe8hyy9osJ75rfH-SjYb7Mlx-1GKh7Y&autoplay=1"
title="tv"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
<body><fieldset>
<legend>tv</legend><script> var msg = new SpeechSynthesisUtterance('tv'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
2 changes: 1 addition & 1 deletion en/tv.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tv
tv
11 changes: 11 additions & 0 deletions en/water.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head><meta name="viewport"content="width=device-width">
<style>fieldset{position:absolute;width:100%;height: 100%;}</style>
<title>water</title>
</head>
<body><fieldset>
<legend>water</legend><script> var msg = new SpeechSynthesisUtterance('water'); window.speechSynthesis.speak(msg); </script>
</fieldset>
</body>
<html>
1 change: 1 addition & 0 deletions en/water.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
water
16 changes: 13 additions & 3 deletions index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<input
id="filterInput"
onkeyup="titleInput(this.value)"
placeholder="search this unordered list for list items"
placeholder="find your search"
type="text"
type="search"
maxlength="30"
Expand All @@ -96,8 +96,6 @@
<a href="./index.html#en/index"class="titleInput"><button>index</button></a>
<a href="./index.html#en/about"class="titleInput"><button>about</button></a>
<a href="./index.html#en/database"class="titleInput"><button>datavase</button></a>
<a href="./index.html#en/radio"class="titleInput"><button>radio</button></a>
<a href="./index.html#en/tv"class="titleInput"><button>tv</button></a>
<a href="./index.html#en/shadow"class="titleInput"><button>shadow</button></a>
<a href="./index.html#en/condensation"class="titleInput"><button>condensation</button></a>
<a href="./index.html#en/imagination"class="titleInput"><button>imagination</button></a>
Expand All @@ -110,3 +108,15 @@
<a href="./index.html#en/digestion"class="titleInput"><button>digestion</button></a>
<a href="./index.html#en/memorization"class="titleInput"><button>memorization</button></a>
<a href="./index.html#en/xml"class="titleInput"><button>xml</button></a>
<a href="./index.html#en/intelligence"class="titleInput"><button>intelligence</button></a>
<a href="./index.html#en/dishwashing_liquid"class="titleInput"><button>dishwashing_liquid</button></a>
<a href="./index.html#en/water"class="titleInput"><button>water</button></a>
<a href="./index.html#en/magnetic_polarity"class="titleInput"><button>magnetic_polarity</button></a>
<a href="./index.html#en/planetary_alignment"class="titleInput"><button>planetary_alignment</button></a>
<a href="./index.html#en/thermodynamics"class="titleInput"><button>thermodynamics</button></a>
<a href="./index.html#en/expressions"class="titleInput"><button>expressions</button></a>
<a href="./index.html#en/pendulum_oscillation"class="titleInput"><button>pendulum_oscillation</button></a>
<a href="./index.html#en/orbital_revolution"class="titleInput"><button>orbital_revolution</button></a>
<a href="./index.html#en/flux_pinning"class="titleInput"><button>flux_pinning</button></a>
<a href="./index.html#en/tv"class="titleInput"><button>tv</button></a>
<a href="./index.html#en/radio"class="titleInput"><button>radio</button></a>
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
header( 'Referrer-Policy: same-origin' );
header( 'Accept-Language: en-US,en;q=0.5' );
header( 'Connection: Keep-alive' );
header( 'Location: ./en/database.html' );
header( 'Location: ./index.htm' );
exit();
?>
14 changes: 12 additions & 2 deletions js/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"index":"en/index",
"about":"en/about"
,"database":"en/database"
,"radio":"en/radio"
,"tv":"en/tv"
,"shadow":"en/shadow"
,"condensation":"en/condensation"
,"imagination":"en/imagination"
Expand All @@ -20,4 +18,16 @@
,"digestion":"en/digestion"
,"memorization":"en/memorization"
,"xml":"en/xml"
,"intelligence":"en/intelligence"
,"dishwashing_liquid":"en/dishwashing_liquid"
,"water":"en/water"
,"magnetic_polarity":"en/magnetic_polarity"
,"planetary_alignment":"en/planetary_alignment"
,"thermodynamics":"en/thermodynamics"
,"expressions":"en/expressions"
,"pendulum_oscillation":"en/pendulum_oscillation"
,"orbital_revolution":"en/orbital_revolution"
,"flux_pinning":"en/flux_pinning"
,"tv":"en/tv"
,"radio":"en/radio"
}}}
Loading

0 comments on commit a67b647

Please sign in to comment.