<?php
require "includes/config.php";
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $config['title']; ?></title>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="animate.css">
</head>
<body>
<?php include "includes/header.php"; ?>
<div class="animated slideInDown">
<div id="open2">
<ul>
<li><a href="#"><?php echo $config['title']; ?> </a></li>
</ul>
</div>
</div>
<!---->
<?php
$art = mysqli_query($connection, "SELECT = FROM `image`");
?>
<?php
while ( $art = mysqli_fetch_assoc($art) )
{
?>
<div id="der1">
<div id="news" >
<img src="images/news.png">
</div>
<div id="botom2">
<img id="about" src="images/botom2.png"></img>
<div id="image">
<img src="images/<?php echo $art ['image'] ?>" width="368px" height="168px">
</div>
<div id="text2">
<a href="">Подробнее</a>
</div>
</div>
<!---->
<?php
};
?>
<!---->
<div id="der2">
<div id="news2" >
<img src="images/news.png">
</div>
<div id="botom3">
<img id="about" src="images/botom2.png"></img>
<div id="image">
<img src="images/d.png" width="368px" height="168px">
</div>
<div id="text2">
<a href="">Подробнее</a>
</div>
</div>
<!---->
<section id="sidebar">
<?php include "includes/index-sidebar.php" ?>
</section>
</body>
</html>
$art = mysqli_query($connection, "SELECT = FROM `image`");
$art = mysqli_query($connection, SELECT FROM image);
while ( $art = mysqli_fetch_assoc($art) )
while ( $art = mysqli_fetch_assoc, $art)