" . $rk["titlu"].""; echo ''; echo ''; } else { echo 'Stiluri decorative - stilul clasic, stilul modern, stilul rustic, sitlul casual, stilul eclectic'; echo ''; echo ''; } ?>
'; echo "

Stilul ".$rk["nume"]."

"; echo "

".nl2br($rk["descriere"])."

"; echo "
"; echo '
'; echo '

Recomandari mobila si decoratiuni in Stilul '.$rk["nume"].'

'; echo '
'; $result_o = mysql_query("select SQL_CALC_FOUND_ROWS id,categid,categorie,subcategid,subcateg,nume,producator,id_fir,produs,pret,moneda from oferte where nume is not null and publicat=1 and id_sti=$id_stil order by rand() limit 0,6 ", $dbh); $res = mysql_query("SELECT FOUND_ROWS()", $dbh); list($total) = mysql_fetch_array($res); $i2=0; $exista_ofe=""; while ($row = mysql_fetch_assoc($result_o)) { $exista_ofe=1; if ($i2==0 || $i2%3==0){ echo "
"; } echo '
'; $n_subc=$row["categorie"]; $id_subc=$row["categid"]; $n_subc2=$row["subcateg"]; $id_subc2=$row["subcategid"]; echo ''.$n_subc.''; echo '

'.$row["produs"].'

'; echo '

Pret: '.str_replace(".",",",$row["pret"]).' '.$row["moneda"].'

'; echo "

".$row["producator"]."

"; echo '
'; if ($i2%3==2){ echo "
"; } $i2=$i2+1; } if (fmod($i2,3)<>0) echo "
"; } else { echo '
'; echo "

Stiluri decorative

"; echo "
"; $io=0; while ($rk = mysql_fetch_assoc($resk)) { if ($io==0){ echo '
'; echo ""; echo "
"; } } ?>