$selecty = "select * from curtipiel_cueros order by TituloRuso";
$stmy=$bd->ejecutar($selecty);
while ($y=$bd->obtener_fila($stmy,0)){ ?>
} ?>
Кожи
Разнообразие видов, цвета, позволяют нашим клиентом иметь большой выбор.
$selecta = "select * from curtipiel_cueros order by id";
$stma=$bd->ejecutar($selecta);
while ($a=$bd->obtener_fila($stma,0)){
unset($img);
$i=0;
$sql_count = "select * from curtipiel_imagenes WHERE id_seccion='" .$a[id]. "' ORDER BY id DESC";
$stmx=$bd->ejecutar($sql_count);
while ($x=$bd->obtener_fila($stmx,0)){
$img[thumb][$i]=$x[thumb];
$img[image][$i]=$x[image];
$i++;
}
?>
:
if(!empty($img[thumb][0])){ ?> }else{ ?> }?>
if(!empty($img[thumb][1])){ ?> }else{ ?> }?>
} ?>