From 9233b459c5a77d4da5bcf766242c735e2231f649 Mon Sep 17 00:00:00 2001
From: themohooks <81331307+themohooks@users.noreply.github.com>
Date: Thu, 11 Jul 2024 22:45:27 +0300
Subject: [PATCH] small fixes
resolves #3
---
views/pages/About.php | 2 +-
views/pages/Main.php | 5 +-
views/pages/Profile/Index.php | 8 ++--
views/pages/t.php | 89 +++++++++++++++--------------------
4 files changed, 45 insertions(+), 59 deletions(-)
diff --git a/views/pages/About.php b/views/pages/About.php
index 052de55..8d90210 100644
--- a/views/pages/About.php
+++ b/views/pages/About.php
@@ -36,7 +36,7 @@ use \App\Models\User;
'.htmlspecialchars($a['username']).'';
+ echo '
'.htmlspecialchars($a['username']).'';
}
?>
diff --git a/views/pages/Main.php b/views/pages/Main.php
index e21011b..b58b112 100644
--- a/views/pages/Main.php
+++ b/views/pages/Main.php
@@ -94,10 +94,7 @@ foreach ($photos as $pd) {
-
+
i('id') === explode('/', $_SERVER['REQUEST_URI'])[2]) { ?>
+ if ((int)$userprofile->i('id') === (int)explode('/', $_SERVER['REQUEST_URI'])[2]) { ?>
= htmlspecialchars($userprofile->i('username')) ?>i('admin') === 1) { echo ''; } ?>
i('content'), true)['aboutyoutube']['value'] != null) { ?>
|
- Twitter/X: |
+ YouTube: |
= htmlspecialchars(json_decode($userprofile->i('content'), true)['aboutyoutube']['value']) ?> |
@@ -104,7 +104,7 @@ $userprofile = new User(explode('/', $_SERVER['REQUEST_URI'])[2]);
if (json_decode($userprofile->i('content'), true)['aboutemail']['value'] != null) { ?>
Почта: |
- = htmlspecialchars(json_decode($userprofile->i('content'), true)['aboutemail']['value']) ?> |
+ = htmlspecialchars(json_decode($userprofile->i('content'), true)['aboutemail']['value']) ?> |
закрыть
-
+
|
diff --git a/views/pages/t.php b/views/pages/t.php
index afebcc6..cf885c0 100644
--- a/views/pages/t.php
+++ b/views/pages/t.php
@@ -1,64 +1,53 @@
-
+
- Template Creator
-
+ Таймер до 12 июля
+
-
-
Создание шаблона
-
-
-
Шаблоны
-
-
-
-
-
-
+ сайт будет захвачен через
+ Загрузка...
+