From 58ccaf703b04d6f751ee2c75c91435f0b3085b5b Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 11 Sep 2023 04:50:40 +0300 Subject: [PATCH] add user profile info --- src/public/node.php | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/src/public/node.php b/src/public/node.php index 8ccc233..1af4b5e 100644 --- a/src/public/node.php +++ b/src/public/node.php @@ -3,6 +3,7 @@ // Load dependencies require_once (__DIR__ . '/../config/app.php'); +require_once (__DIR__ . '/../library/time.php'); require_once (__DIR__ . '/../library/database.php'); require_once (__DIR__ . '/../../vendor/autoload.php'); @@ -88,6 +89,34 @@ else if (is_null($user->public))

+ + + + + + + + + + + + + + +
+ +
+ public ? _('distributed') : _('local') ?> + + + + + +
+ address ?> +
+ timeUpdated) ?> +
@@ -117,7 +146,7 @@ else if (is_null($user->public)) / getMagnetsTotalByUserId($user->userId) ?> - + @@ -133,7 +162,7 @@ else if (is_null($user->public)) / - +