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);