
<?php 

$query_Recordset4 = "SELECT codigo FROM piezacodigo WHERE id_marca = '1417ea7e-7f6c-4854-9e23-becf7bb4582a' AND id_pieza = '" . $row_Recordset1['id']."'";
$Recordset4 = mysqli_query($catalogo, $query_Recordset4) or die(mysqli_error());
$row_Recordset4 = $Recordset4->fetch_assoc();
if ($row_Recordset4['codigo'] != "") {?>
<div>
    <img src="imagenes/premium.png" width="75" height="30" style="vertical-align:middle"/>
    <a href='tabs_respuesta.php?idPieza=<?php echo $row_Recordset1['id']; ?>' class="fuente_para_logo_millas">
        <?php echo $row_Recordset4['codigo']."</a>";  ?>
</div>
<?php
}

$query_Recordset5 = "SELECT codigo FROM piezacodigo WHERE id_marca = '2be8c832-3d18-4721-b64f-9dfc16d02c8e' AND id_pieza = '" . $row_Recordset1['id']."'";
$Recordset5 = mysqli_query($catalogo, $query_Recordset5) or die(mysqli_error());
$row_Recordset5 = $Recordset5->fetch_assoc();
if ($row_Recordset5['codigo'] != "") {?>
<div>
    <img src="imagenes/logo_strong.jpg" width="75" height="30" style="vertical-align:middle"/>
    <a href='tabs_respuesta.php?idPieza=<?php echo $row_Recordset1['id']; ?>' class="fuente_para_logo_millas">
        <?php echo $row_Recordset5['codigo']."</a>";  ?>
</div>
<?php
}


$query_Recordset2 = "SELECT codigo FROM piezacodigo WHERE id_marca = 'c8730441-b37d-4824-8a40-a00c22ba8979' AND id_pieza = '" . $row_Recordset1['id']."'";
$Recordset2 = mysqli_query($catalogo, $query_Recordset2) or die(mysqli_error());
$row_Recordset2 = $Recordset2->fetch_assoc();
if ($row_Recordset2['codigo'] != "") {?>
<div>
    <img src="imagenes/logo_etma.png" width="60" height="60" style="vertical-align:middle"/>
    <a href='tabs_respuesta.php?idPieza=<?php echo $row_Recordset1['id']; ?>' class="fuente_para_logo_etma">
        <?php echo $row_Recordset2['codigo']."</a>";  ?>
</div>
<?php
}
$query_Recordset2 = "SELECT codigo FROM piezacodigo WHERE id_marca = 'd794e807-e8e8-4bd1-9b30-3793ea0ff9c4' AND id_pieza = '" . $row_Recordset1['id']."'";
$Recordset2 = mysqli_query($catalogo, $query_Recordset2) or die(mysqli_error());
$row_Recordset2 = $Recordset2->fetch_assoc();
if ($row_Recordset2['codigo'] != "") {?>
<div>
    <img src="imagenes/logo_500millas.png" width="60" height="60" style="vertical-align:middle"/>
    <a href='tabs_respuesta.php?idPieza=<?php echo $row_Recordset1['id']; ?>' class="fuente_para_logo_millas">
        <?php echo $row_Recordset2['codigo']."</a>";  ?>
</div>
<?php
}
$query_Recordset3 = "SELECT codigo FROM piezacodigo WHERE id_marca = 'a8a1e3c2-1ae5-4d4d-a010-b5d12e5da242' AND id_pieza = '" . $row_Recordset1['id']."'";
$Recordset3 = mysqli_query($catalogo, $query_Recordset3) or die(mysqli_error());
$row_Recordset3 = $Recordset3->fetch_assoc();
if ($row_Recordset3['codigo'] != "") {?>
	<div>
		<img src="imagenes/logo_toledo.png" width="60" height="60" style="vertical-align:middle"/> 
		<a href='tabs_respuesta.php?idPieza=<?php echo $row_Recordset1['id']; ?>' class="fuente_para_logo_toledo">
			<?php echo $row_Recordset3['codigo']."</a>";  ?>
	</div>
<?php
 }?>