<span id="pprice"><?php echo $pics->getPrice() . '.00 PLN'; ?> </span> <?php $pinfo = $pics->getInfo(); if (!empty($pinfo)) { echo '<span class="pdesc" style="margin-bottom:30px">' . $pinfo . '</span>'; } ?> <span class="pdesc">Technika wykonania: <span style="font-weight:bold"><?php echo $pics->getTech(); ?> </span></span> <span class="pdesc">Rodzaj papieru: <span style="font-weight:bold"><?php echo $pics->getType(); ?> </span></span> <span class="pdesc">Kolor papieru: <span style="font-weight:bold"><?php echo $pics->getColor(); ?> </span></span> <span class="pdesc">Dostępne w rozmiarach: <span style="font-weight:bold"><?php echo $pics->getSizes(); ?> </span></span> <?php if (isset($_SESSION['admin']) && $_SESSION['admin'] == true) { echo ' <span class="pdesc"><a style="color:red; font-size:16px" href="http://' . $_SERVER['SERVER_NAME'] . '/edit.php?id=' . $pics->getID() . '">EDYTUJ</a></span> <span class="pdesc"><a style="color:red; font-size:16px" href="http://' . $_SERVER['SERVER_NAME'] . '/delete.php?id=' . $pics->getID() . '">USUŃ</a></span>