';
else $text.='
';
$text.=$rand['denumire'].'';
}
}
else
{
if (strtolower($rand['denumire'])=='print') $img=$dir.'culori/multicolor.png';
if (strtolower($rand['denumire'])=='negru') $img=$dir.'culori/negru.png';
if (strtolower($rand['denumire'])=='rosu') $img=$dir.'culori/rosu.png';
if (strtolower($rand['denumire'])=='verde') $img=$dir.'culori/verde.png';
if (strtolower($rand['denumire'])=='albastru') $img=$dir.'culori/albastru.png';
if (strtolower($rand['denumire'])=='gri') $img=$dir.'culori/gri.png';
if (strtolower($rand['denumire'])=='maro') $img=$dir.'culori/maro.png';
if (strtolower($rand['denumire'])=='mov') $img=$dir.'culori/mov.png';
if (strtolower($rand['denumire'])=='galben') $img=$dir.'culori/galben.png';
if (strtolower($rand['denumire'])=='roz') $img=$dir.'culori/roz.png';
if (strtolower($rand['denumire'])=='alb') $img=$dir.'culori/alb.png';
if (strtolower($rand['denumire'])=='portocaliu') $img=$dir.'culori/portocaliu.png';
if (strtolower($rand['denumire'])=='bej') $img=$dir.'culori/bej.png';
if (strtolower($rand['denumire'])=='verde / verde inchis') $img=$dir.'culori/verdeinchis.png';
if (strtolower($rand['denumire'])=='negru/ antracit') $img=$dir.'culori/negruantracit.png';
if (strtolower($rand['denumire'])=='gri / antracit') $img=$dir.'culori/griantracit.png';
$text.='';
if ( detectfiltru($rand['denumire'])) $text.=''; $scriptheader.=' '; } // else { //fitlru pret $max=0;$min=0; $resnew=mysql_query("SELECT max(pret) as pretmax, min(pret) as pretmin FROM produse INNER join produse_categorii on produse_categorii.idprodus=produse.id where produse.afisare=0 and produse.pret>0 and produse.afisare=0 and produse.status=1 and (produse_categorii.id=0 $cats) "); if (mysql_num_rows($resnew)) { $max=ceil(mysql_result($resnew,0,'pretmax')); $min=floor(mysql_result($resnew,0,'pretmin')); } $text.='
'; $scriptheader.=' '; //end filtru pret } } } } /* $scriptheader.=' '; */ $scriptheader.=' '; return '