This commit is contained in:
Zhuk Viatcheslav
2020-11-20 12:27:26 +03:00
parent bcb25e3334
commit 6d2c5187d9
2 changed files with 2 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ function apipage_kuri($price_id, $page = 1){
$newsql = " $newsql = "
SELECT SELECT
news_id, title, text, img news_id, title, text, img, author_id
FROM FROM
`news` `news`
WHERE WHERE

View File

@@ -19,6 +19,7 @@
<?if (count($content) > 0):?> <?if (count($content) > 0):?>
<?foreach($content as $news):?> <?foreach($content as $news):?>
<?print_r($news)?>
<h2 class="antitle"><?=$news['title']?></h2> <h2 class="antitle"><?=$news['title']?></h2>
<?if ($news['img'] !== ''):?> <?if ($news['img'] !== ''):?>
<figure class="anphoto"> <figure class="anphoto">