From 47ca8319c39357ab906578f0f658ee695bbd71c0 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 30 May 2023 16:44:01 +0300 Subject: [PATCH] initial commit --- SIGNALS/YGGDRASIL.md | 1 + index.php | 136 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 SIGNALS/YGGDRASIL.md create mode 100644 index.php diff --git a/SIGNALS/YGGDRASIL.md b/SIGNALS/YGGDRASIL.md new file mode 100644 index 0000000..f064d16 --- /dev/null +++ b/SIGNALS/YGGDRASIL.md @@ -0,0 +1 @@ +[Hromadske Радіо — це неприбуткова організація, яку 22 листопада 2013 року створили українські журналісти. Набуло популярності завдяки трансляціям подій Революції гідності. Hromadske зареєстровано як громадська організація, вона не має власників та є незалежним у редакційній діяльності.](http://[201:23b4:991a:634d:8359:4521:5576:15b7]/yggwave/radio/hromadske) \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..f8aebf0 --- /dev/null +++ b/index.php @@ -0,0 +1,136 @@ + +%s', + self::_getSignalPosition($hash), + self::_getSignalPosition($hash), + sprintf('%s', htmlspecialchars($data[2]), + htmlentities($data[1]), + sprintf('%s', urlencode($host), + htmlentities($data[1]), + sprintf('background:#%s', substr(dechex($hash), 0, 6))))); + } + } + } + } + } + + return $result; + } + + private static function _getSignalPosition($hash, $padding = 20) { + + $variant = str_split($hash, 2); + + $version = 0; + + do { + + if (!isset($variant[$version])) return $padding + rand(); // :) + + $position = $variant[$version++]; + + } while ($position < $padding || $position > 100 - $padding); + + return $position; + } + } + +?> + + + + YGGwave ~ The Radio Hub + + + + + + +
+

YGGwave~

+

the radio hub

+ + + +
+ + \ No newline at end of file