s
This commit is contained in:
@@ -324,13 +324,15 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){
|
|||||||
$full_ver_url = SITE."read/$hash/$page/$promo/pdf";
|
$full_ver_url = SITE."read/$hash/$page/$promo/pdf";
|
||||||
|
|
||||||
$content = apipage_kuri($price['price_id'], $page);
|
$content = apipage_kuri($price['price_id'], $page);
|
||||||
|
|
||||||
foreach ($content as $news) {
|
foreach ($content as $news) {
|
||||||
$author_id = $news['author_id'];
|
$author_id = $news['author_id'];
|
||||||
}
|
}
|
||||||
$authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id LIMIT 1");
|
|
||||||
//echo $authorname['authorname'];
|
|
||||||
//print_r($content);
|
|
||||||
|
|
||||||
|
$authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id LIMIT 1");
|
||||||
|
|
||||||
|
$content['authorname'] = $authorname['authorname'];
|
||||||
|
print_r($content);
|
||||||
|
|
||||||
|
|
||||||
if ($page > 1) {
|
if ($page > 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user