diff --git a/mirzaev/site/repression/system/controllers/index_controller.php b/mirzaev/site/repression/system/controllers/index_controller.php
index 34dc8ed..335b40f 100755
--- a/mirzaev/site/repression/system/controllers/index_controller.php
+++ b/mirzaev/site/repression/system/controllers/index_controller.php
@@ -11,6 +11,9 @@ use mirzaev\site\repression\controllers\core,
// Фреймворк для сайта ipinfo.io
use ipinfo\ipinfo\IPinfo;
+// Встроенные библиотеки
+use exception;
+
/**
* Контроллер основной страницы
*
@@ -35,8 +38,19 @@ final class index_controller extends core
'iphone' => (bool) rand(0, 1),
];
- // Получение дополнительных данных
- $data = (array) (new IPinfo(require '../settings/ipinfo.php'))->getDetails($_SERVER['cf-connecting-ip'] ?? $_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR']);
+ try {
+ // Запрос дополнительных данных
+ $data = (array) (new IPinfo(require '../settings/ipinfo.php'))->getDetails($_SERVER['cf-connecting-ip'] ?? $_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR']);
+
+ // Генерация строки для запугивания пользователя
+ $this->variables['creepy'] = "{$data['continent']['name']}, {$data['country_name']}, {$data['city']}, {$data['latitude']}, {$data['longitude']}, {$data['org']}, {$data['ip']}, seen in extremist chats, seen in LGBTQ+ chats, anti-state activities, problems with studies, was in contact with a criminal group (2017), wears strange pants, suspect in the case of January 15, 2024 No. 2360501";
+ } catch (exception $e) {
+ // Инициализация заглушки дополнительных данных
+ $data = [];
+
+ // Инициализация заглушки строки для запугивания пользователя
+ $this->variables['creepy'] = 'check your DM';
+ }
// Запись просмотра
views::increase($data);
@@ -50,7 +64,6 @@ final class index_controller extends core
'last' => views::last(10)
];
- $this->variables['creepy'] = "{$data['continent']['name']}, {$data['country_name']}, {$data['city']}, {$data['latitude']}, {$data['longitude']}, {$data['org']}, {$data['ip']}, seen in extremist chats, seen in LGBTQ+ chats, anti-state activities, problems with studies, was in contact with a criminal group (2017), wears strange pants, suspect in the case of January 15, 2024 No. 2360501";
// Генерация представления
return $this->view->render(DIRECTORY_SEPARATOR . 'index.html', $this->variables);
diff --git a/mirzaev/site/repression/system/models/views.php b/mirzaev/site/repression/system/models/views.php
index d54f8d1..b1994dd 100755
--- a/mirzaev/site/repression/system/models/views.php
+++ b/mirzaev/site/repression/system/models/views.php
@@ -34,7 +34,7 @@ class views extends core
*
* @return bool Записано в базу данных?
*/
- public static function increase(array $data = null, array &$errors = []): bool
+ public static function increase(?array $data = null, array &$errors = []): bool
{
try {
if (collection::init(static::$arangodb->session, self::COLLECTION))
@@ -45,7 +45,7 @@ class views extends core
'x-forwarded-for' => $_SERVER['HTTP_X_FORWARDED_FOR'] ?? null,
'referer' => $_SERVER['HTTP_REFERER'] ?? null,
'useragent' => $_SERVER['HTTP_USER_AGENT'] ?? null
- ] + $data)) return true;
+ ] + ($data ?? []))) return true;
else throw new exception('Не удалось создать аккаунт');
else throw new exception('Не удалось инициализировать коллекцию');
} catch (exception $e) {
diff --git a/mirzaev/site/repression/system/public/css/main.css b/mirzaev/site/repression/system/public/css/main.css
index 38ca661..2ac5021 100755
--- a/mirzaev/site/repression/system/public/css/main.css
+++ b/mirzaev/site/repression/system/public/css/main.css
@@ -416,8 +416,11 @@ body>section#contacts>section#author>section#avatar {
margin-left: 10px;
margin-right: 25px;
position: relative;
+ max-width: 100px;
+ max-height: 100px;
width: 100px;
height: 100px;
+ flex-shrink: 0;
clip-path: circle(50px);
}
@@ -665,6 +668,28 @@ body>section#navalny:hover {
}
}
+@media (max-width: 690px) {
+ body>section#contacts>section {
+ flex-direction: column;
+ }
+
+ body>section#contacts>section#author>section#avatar {
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom: 25px;
+ position: relative;
+ max-width: 120px;
+ max-height: 120px;
+ width: 120px;
+ height: 120px;
+ flex-shrink: 0;
+ clip-path: circle(60px);
+ }
+
+ body>section#contacts>section#author>section#name {
+ text-align: center;
+ }
+}
@media (max-width: 600px) {
body>section.block#views>h3 {
diff --git a/mirzaev/site/repression/system/public/robots.txt b/mirzaev/site/repression/system/public/robots.txt
new file mode 100644
index 0000000..c2a49f4
--- /dev/null
+++ b/mirzaev/site/repression/system/public/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Allow: /
diff --git a/mirzaev/site/repression/system/public/sitemap.xml b/mirzaev/site/repression/system/public/sitemap.xml
new file mode 100644
index 0000000..92b777a
--- /dev/null
+++ b/mirzaev/site/repression/system/public/sitemap.xml
@@ -0,0 +1,5 @@
+
+
- Source
,
- (web
+ Source
,
+ (web
archive),
- (screenshot),
+ (screenshot),
(video)
- Source
,
- (web
+ Source
,
+ (web
archive),
- (screenshot),
+ (screenshot),
(video 😿)
- Source
,
- (web
+ Source
,
+ (web
archive),
- (screenshot)
+ (screenshot)
For the first few minutes we were silent, probably due to the fact that we were leaving my area, where there was a @@ -579,13 +579,12 @@ This is my story of the abduction by employees of PMC Wagner. It may seem ridiculous, but it radically changed my life, of course, for the better. - - + +
The article is being written a few months after the incident, so many details were missed, and something may have - been exaggerated or underestimated. Chronological order broken in chapter "In car" + been exaggerated or underestimated. Chronological order broken in chapter "In the car"
This story is not unusual. In a sense, I myself am to blame for what happened, however, the question remains why diff --git a/mirzaev/site/repression/system/views/head.html b/mirzaev/site/repression/system/views/head.html index ffe043c..750bb4d 100755 --- a/mirzaev/site/repression/system/views/head.html +++ b/mirzaev/site/repression/system/views/head.html @@ -14,6 +14,7 @@ + @@ -36,6 +37,7 @@ content="I was kidnapped and recruited by Wagner PMC in Khabarovsk due to anti-government posts on my blog"> + - {% endblock %} @@ -223,30 +225,16 @@ const bloodchaos = e.detail.bloodchaos; bloodchaos.shell = document.getElementById('title'); - bloodchaos.block.width = bloodchaos.block.height = 12; - bloodchaos.init(800, 80); + bloodchaos.block.width = bloodchaos.block.height = 16; + bloodchaos.init(bloodchaos.shell.offsetWidth, bloodchaos.shell.offsetHeight); bloodchaos.generate('#444'); + + window.addEventListener('resize', function(e) { + bloodchaos.init(bloodchaos.shell.offsetWidth, bloodchaos.shell.offsetHeight); + }); }); - document.addEventListener('hollow.loaded', function(h) { document.addEventListener('womb.loaded', function(w) { - // Инициализация слоёв - const layers = new h.detail.hollow(); - layers.opacity = false; - layers.blackout = false; - layers.expand = true; - layers.blur = false; - layers.generate(0); - - //window.addEventListener("wheel", function(e) { - // const layer = document.querySelectorAll('[data-layer]')[layers.current()].lastElementChild.getBoundingClientRect(); - - // У слоёв есть отрицательный margin а так же height за пределами 100% - //const offset = window.innerHeight * 12.5 / 100; - - //if (e.wheelDelta > 0 && layer.bottom - offset * 2 <= window.innerHeight) layers.next(); - //else if (layer.top + offset >= 0) layers.previous(); - //}); for (const shell of document.querySelectorAll('section[data-layer]>[class=shell]')) { // Перебор оболочек @@ -294,7 +282,6 @@ } } }); - }); function glitch(element, amount = 8, reset = 20, duration = 12, sleep = 10000) { setTimeout(fn => { @@ -337,7 +324,7 @@ // Found element // Rotate - //setInterval(fn => boykisser.style.rotate = --r + "deg", 240); + setInterval(fn => boykisser.style.rotate = --r + "deg", 240); } //} else boykisser.remove(); diff --git a/mirzaev/site/repression/system/views/popups/welcome.html b/mirzaev/site/repression/system/views/popups/welcome.html index d20f57e..e4371df 100644 --- a/mirzaev/site/repression/system/views/popups/welcome.html +++ b/mirzaev/site/repression/system/views/popups/welcome.html @@ -9,7 +9,7 @@ cursor: none;" id="end_post" class="unselectable"src="/videos/end_post.mp4" poster="/images/misha.png" ondragstart="return false">