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):?> - =$content['authorname']?> +
=$content['authorname']?>
,=$content['authordescript']?>