Beispiel #1
0
<?php

require_once "functions.php";
$functs = new funcs();
$id_ad = $_GET['id'];
$ad_inf = $functs->get_ad($id_ad);
?>

<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css"
          href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<div class="container">
    <br>
<a href="index.php"><h4>HOME</h4></a><br><br><br>
    <img class="imageAdvert" src='<?php 
echo "photos/" . $ad_inf["img"];
?>
'>
<h3><?php 
echo $ad_inf['title'];
?>
</h3>
<h5>Type: <?php 
echo $ad_inf['type'];
?>
</h5>