From cfd649b1bb5659c5d3625283ebe3b6ec333bda01 Mon Sep 17 00:00:00 2001 From: Zhuk Viatcheslav Date: Fri, 20 Nov 2020 12:56:22 +0300 Subject: [PATCH] s --- app/routes/anpdf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/anpdf.php b/app/routes/anpdf.php index 707201c..c0ebb44 100644 --- a/app/routes/anpdf.php +++ b/app/routes/anpdf.php @@ -324,11 +324,11 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){ $full_ver_url = SITE."read/$hash/$page/$promo/pdf"; $content = apipage_kuri($price['price_id'], $page); - //$price = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $content['author_id']"); foreach ($content as $news) { $author_id = $news['author_id']; } - //echo $author_id; + $authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id"); + echo $authorname; //print_r($content);