Skip to content

Commit

Permalink
updated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jehovahsays committed Jun 15, 2024
1 parent 075b9a4 commit d31dc5d
Show file tree
Hide file tree
Showing 39 changed files with 143 additions and 700 deletions.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
# manual
<br>
<br>
</a>
welcome to:
<H3>handle</H3>
welcome to:<br>
<H3>manual</H3><br>
For educational purposes only.<br>
you only need<br>
hardware: iphone<br>
software: phpwin iphone app<br>
http web server with php<br>
how to write html,js,css,and php.<br>
know how to write html,js,css,and php.<br>
no internet connection needed<br>
After you download<br>
edit anything and everything<br>
this should work offline<br>
no external functions<br>
no external hyperlinks<br>
no cookies,no gps,no mic,no camera,<br>
no puchase buttons.<br>
my name is morgan shatee' byers,<br>
my number is 770-687-8847<br>
<br>
<a href="http://morgansbyers.scienceontheweb.net">
Visit website to see handle demo</a>
<br>
<br>
<a href="https://github.com/jehovahsays/handle">
<a href="https://github.com/jehovahsays/manual">
handle github repository</a>
<br>
<br>
<a href="https://youtube.com/@jehovahsaysnetworth?si=FRrFrG_K02C38K_G">
youtube channel</a>

<br>
12 changes: 3 additions & 9 deletions server/browser.html → browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
<meta name="viewport" content="width=device-width"/>
<link rel="shortcut icon" href="./files/favicon_white.ico" media="(prefers-color-scheme: dark)"/>
<link rel="shortcut icon" href="./files/favicon.ico" media="(prefers-color-scheme: light)" />
<link rel="stylesheet" type="text/css" href="./files/main.css">

</link>

<link rel="stylesheet" type="text/css" href="./files/main.css"></link>
<style>
.search {
margin: 70px;
Expand Down Expand Up @@ -65,7 +62,7 @@

<div id="header">
<h1>
<a href="./browser.html#en/index">index</a>
<a href="../index.html">index</a>
</h1>

<div id="sections">
Expand Down Expand Up @@ -98,7 +95,7 @@ <h1>

<div id="contentWrapper">
<div id="inputWrapper">
<input name="username" placeholder="" type="text" id="filterInput" autocorrect="off" autocapitalize="off" spellcheck="false" />
<input name="username" placeholder="" type="text" id="filterInput" autocorrect="off" autocapitalize="off" spellcheck="true" />
<div id="clearSearchButton"></div>
<select id="language">
<option value="en">en</option>
Expand Down Expand Up @@ -658,8 +655,5 @@ <h1>

}
</script>



</body>
</html>
2 changes: 1 addition & 1 deletion server/delete.php → delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// user has clicked a delete hyperlink
if($_GET['action'] && $_GET['action'] == 'delete') {
unlink($_GET['filename']);
header("Location: ./index.html");
header("Location: ./browser.html");
exit();
}
?>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
126 changes: 111 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,113 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>handle</title>
<meta name="viewport" content="width=device-width"/>
</head>
<body>
<center>
<button>
<a href="./server/browser.html">
Start Game
</a>
</button>
</center>
</body>
</html>
<head>
<meta charset="charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="user-scalable=yes, initial-scale=1.0, maximum-scale=1.0" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="cyan" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black" />
<link rel="icon" type="image/png" href="./favicon.ico">
<link rel="shortcut icon" href="./favicon.ico" media="(prefers-color-scheme: dark)"/>
<link rel="shortcut icon" href="./favicon.ico" media="(prefers-color-scheme: light)" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="cyan" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black" />
<link rel="stylesheet" type="text/css" href="./files/main.css"></link>
<style>
search {
position: center;
margin: 50px;
border-radius: 25px;
padding: 0;
top: 25;
left: 0;
width: 70%;
}
list {
list-style: none;
padding: 0;
margin: 0;
position: fixed;
top: 0;
left: 0;
right: 0;
}
.handle {
position: fixed;
top: 0;
left: 0;
right: 0;
font-size: 1.2em;
padding: 0px;
animation: fadeIn 0.5s ease-in-out;
}
.handle:last-child {
position: fixed;
top: 0;
left: 0;
right: 0;
border-bottom: none;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
}
</style>
<title>search</title>
</head>
<body>
<script>
function handle() {

let input = document.getElementById('list').value;

input = input.toLowerCase();

let x = document.getElementsByClassName('handle');

for (i = 0; i < x.length; i++) {

if (!x[i].innerHTML.toLowerCase().includes(input)) {

x[i].style.display = "none";

}

else {

x[i].style.display = "list-item";

}

}

}
</script>
<center>
<br>
<input
id="list"
onkeyup="handle()"
onkeydown="return event.key != 'Enter';"
placeholder="search"
type="search"
style="search"
class="search"
maxlength="140"
autocomplete="true"
autocorrect="on"
autocapitalize="off"
spellcheck="true">
</form>
<br>
</center>
<center>
<ul id="list">
<a href="./browser.html" class="handle"><button>start game</button></a></br>
15 changes: 6 additions & 9 deletions server/index.php → index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@
$totalCorrect = 0;
if ($answer1 == "Human") { $totalCorrect++; }
echo "<div id='results'>$totalCorrect / 1 correct</div>";
gethostname();
$localIp = gethostbyname(gethostname());
$handle = "handle";
$handle = "filterInput";
$handle = fopen("./index.html", "a");
foreach($_POST as $variable => $value) {
$value = str_replace(' ', '_', $value);
fwrite($handle, "<a href=" . "\"" . "./" . "browser.html#en" . "/" . $value . "\"" . "class=" . "\"" . "handle" . "\"" . "><button>" . $value . "</button>" . "</a></br>" . "\r\n");
$handle = fopen("./en/" . $value . ".html", "a");
fwrite($handle, "\n"
. "<!DOCTYPE html>"
Expand All @@ -52,7 +44,7 @@
. "\n"
. "<br><a href=" . "\"" . "../delete.php?action=delete&filename=./en/" . $value . ".html" . "\"" . ">delete this page</a>"
. "<center>\n"
. "<ul id=\"list\">\n"
. "<ul id=\"list\">\n"
. "<a href=\"../index.html\"class=\"handle\">index</a></br>\n"
. "\n"
. $value . "\r\n");
Expand All @@ -79,5 +71,10 @@
. "\n}}}"
. "\r\n");
}
$handle = fopen("./index.html", "a");
foreach($_POST as $variable => $value) {
$value = str_replace(' ', '_', $value);
fwrite($handle, "<a href=" . "\"" . "./" . "browser.html#en" . "/" . $value . "\"" . "class=" . "\"" . "handle" . "\"" . "><button>" . $value . "</button>" . "</a></br>" . "\r\n");
}
fclose($handle);
?>
8 changes: 8 additions & 0 deletions manual.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"en":
{
"manual":
{
"connect":"en/connect",
"connected":"en/connected"
}}}
64 changes: 0 additions & 64 deletions server/edit.html

This file was deleted.

12 changes: 0 additions & 12 deletions server/edit.php

This file was deleted.

35 changes: 0 additions & 35 deletions server/en/edit.html

This file was deleted.

18 changes: 0 additions & 18 deletions server/en/index.html

This file was deleted.

Loading

0 comments on commit d31dc5d

Please sign in to comment.