s
This commit is contained in:
@@ -329,9 +329,10 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){
|
|||||||
$author_id = $news['author_id'];
|
$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['authorname'] = $authorname['authorname'];
|
||||||
|
$content['authordescript'] = $authorname['descript'];
|
||||||
|
|
||||||
if ($page > 1) {
|
if ($page > 1) {
|
||||||
$prevpage = $page - 1;
|
$prevpage = $page - 1;
|
||||||
|
|||||||
@@ -19,8 +19,9 @@
|
|||||||
<?if (count($content) > 0):?>
|
<?if (count($content) > 0):?>
|
||||||
|
|
||||||
<?foreach($content['stuff'] as $news):?>
|
<?foreach($content['stuff'] as $news):?>
|
||||||
<?=$content['authorname']?>
|
|
||||||
<h2 class="antitle"><?=$news['title']?></h2>
|
<h2 class="antitle"><?=$news['title']?></h2>
|
||||||
|
<p><?=$content['authorname']?></p>, <p><?=$content['authordescript']?></p>
|
||||||
<?if ($news['img'] !== ''):?>
|
<?if ($news['img'] !== ''):?>
|
||||||
<figure class="anphoto">
|
<figure class="anphoto">
|
||||||
<?if (in_array($news['img'], ['jpg', 'png', 'gif', 'jpeg', 'JPG'])):?>
|
<?if (in_array($news['img'], ['jpg', 'png', 'gif', 'jpeg', 'JPG'])):?>
|
||||||
|
|||||||
Reference in New Issue
Block a user