From 896fa7c96856142f844d958b049d5432f511641c Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 4 Aug 2021 16:56:12 +0200 Subject: v2.0 --- _site/includes/dom/v1/footer.php | 24 ++ _site/includes/dom/v1/header.php | 512 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 536 insertions(+) create mode 100644 _site/includes/dom/v1/footer.php create mode 100644 _site/includes/dom/v1/header.php (limited to '_site/includes/dom/v1') diff --git a/_site/includes/dom/v1/footer.php b/_site/includes/dom/v1/footer.php new file mode 100644 index 0000000..9852780 --- /dev/null +++ b/_site/includes/dom/v1/footer.php @@ -0,0 +1,24 @@ + +

View RSS feed (doesn't include unreleased articles)" : "" ?>

+ +
+ +
+

# unchainedtech --support --code --version_
+ + +

+

ยฉ UnchainedTech Authors, All rights reserved. ยท Legal ยท Enable UI experiments

+
+ + + \ No newline at end of file diff --git a/_site/includes/dom/v1/header.php b/_site/includes/dom/v1/header.php new file mode 100644 index 0000000..5dbac97 --- /dev/null +++ b/_site/includes/dom/v1/header.php @@ -0,0 +1,512 @@ + + + + Something went wrong on UnchainedTech ๐ŸŒ™ + + + +
+

Something went wrong (like, for real!)

+

An error occured and UnchainedTech cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will report this bug.

+

For you, really tech-savvy people, here is that alien language thing you're probably looking for:

+
+#99{$d["type"]}: ";
+
+$pparts = explode(": ", $d["message"]);
+array_shift($pparts);
+
+$parts = explode(" in ", implode(": ", $pparts));
+echo($parts[0]);
+
+$stp = explode("\nStack trace:", $parts[1]);
+echo("\n    at " . $stp[0]);
+
+$stlines = explode("\n", $stp[1]);
+array_shift($stlines);
+
+foreach ($stlines as $stline) {
+    $stpparts = explode(" ", $stline);
+    array_shift($stpparts);
+    $stline = implode(" ", $stpparts);
+
+    if ($stline !== " thrown" && $stline !== "{main}") {
+        $pp2 = explode("(", $stline);
+        $pp2n = explode(")", $pp2[1]);
+
+        echo("\n    at " . $pp2[0] . ":" . $pp2n[0]);
+    } else if ($stline === "{main}") {
+        echo("\n    at UnchainedTech.\$Core (PHP " . PHP_VERSION . ")");
+    }
+}
+
+echo "
+
+
+ + + "; + die(); + } +} + +function customError($errno, $errstr, $errfile = "<unknown file>", $errline = "<unknown line>") { + ob_clean(); + echo " + + + + Something went wrong on UnchainedTech ๐ŸŒ™ + + + +
+

Something went wrong (like, for real!)

+

An error occured and UnchainedTech cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will report this bug.

+

For you, really tech-savvy people, here is that alien language thing you're probably looking for:

+
+#{$errno}: {$errstr}
+    at {$errfile}:{$errline}
+    at UnchainedTech.\$Core (PHP " . PHP_VERSION . ")
+
+
+ + + "; + die(); +} +set_error_handler("customError", E_ALL); +register_shutdown_function("customShutdown"); + +?> + + + + + + "> + <?= isset($_TITLE) ? $_TITLE . " on UnchainedTech ๐ŸŒ™" : "UnchainedTech" ?> + + + + + + + + + +
\ No newline at end of file -- cgit