From 1f60b08bf56fcd8a501773ff58554551bad59bb1 Mon Sep 17 00:00:00 2001 From: Zhuk Viatcheslav Date: Fri, 20 Nov 2020 13:16:01 +0300 Subject: [PATCH] s --- app/routes/anpdf.php | 3 ++- app/views/antext.phtml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/routes/anpdf.php b/app/routes/anpdf.php index 218b99f..bc60602 100644 --- a/app/routes/anpdf.php +++ b/app/routes/anpdf.php @@ -329,9 +329,10 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){ $author_id = $news['author_id']; } - $authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id LIMIT 1"); + $authorname = db_get("SELECT `authorname, descript` FROM `authors` WHERE `author_id` = $author_id LIMIT 1"); $content['authorname'] = $authorname['authorname']; + $content['authordescript'] = $authorname['descript']; if ($page > 1) { $prevpage = $page - 1; diff --git a/app/views/antext.phtml b/app/views/antext.phtml index 5627d0d..34902e6 100644 --- a/app/views/antext.phtml +++ b/app/views/antext.phtml @@ -19,8 +19,9 @@ 0):?> - +

+

,