<?php
require'f_gradina.php';
$titlu='Magazin seminte gradina';
require'f_sus.php';
if($de>0)
require'f_nou.php';
echo$div[4].img('gradina.jpg',2).'Magazin seminte gradina'.$div[5];
$elemente=$conn->query('SELECT COUNT(*)FROM`gradina_seminte`')->fetch_row()[0];
if($elemente>0)
{
require'f_paginare1.php';
$items=$conn->query('SELECT`id`,`nume`,`pret`FROM`gradina_seminte`ORDER BY`pret`LIMIT '.$limit_start.','.$pe_pagina);
while($item=$items->fetch_row())
{
echo$div[1].'<a href="/cumpara-samanta-gradina/id/'.$item[0].'-'.seo($item[1]).'">'.$item[1].'</a> costă <strong>'.number_format($item[2]).'</strong> lei'.$div[0];
}
require'f_paginare2.php';
}
else
echo$div[7].'Momentan nu sunt seminte în magazin!'.$div[0];
require'f_jos.php';