<div class="encabezado_tabla_datos">
    <?php echo $diccionario['diametro_cubetas']; ?>
</div>
<div class="container">
	<?php if ($row_Recordset1['tipopieza'] != "Movimiento"){ ?>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['c1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['c1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['c1']); else echo '-' ?></div>
        </div>
    <?php 
	}
	if ($row_Recordset1['tipopieza'] == "Cruceta"){
	?>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['c1prima']; ?></div>
             <div class="col"><?php if ($row_Recordset1['c1Prima'] <> "NULL") echo str_replace(".",",",$row_Recordset1['c1Prima']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['c2']; ?></div>
             <div class="col"><?php if ($row_Recordset1['c2'] <> "NULL") echo str_replace(".",",",$row_Recordset1['c2']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['c3']; ?></div>
             <div class="col"><?php if ($row_Recordset1['c3'] <> "NULL") echo str_replace(".",",",$row_Recordset1['c3']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['c4']; ?></div>
             <div class="col"><?php if ($row_Recordset1['c4'] <> "NULL") echo str_replace(".",",",$row_Recordset1['c4']); else echo '-' ?></div>
        </div>
    <?php 
	}
	if ($row_Recordset1['tipopieza'] == "Movimiento"){ ?>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['f1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['f1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['f1']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['f2']; ?></div>
             <div class="col"><?php if ($row_Recordset1['f2'] <> "NULL") echo str_replace(".",",",$row_Recordset1['f2']); else echo '-' ?></div>
        </div>
    <?php 
	}?>
</div>
<br>
<div class="encabezado_tabla_datos">
    <?php echo $diccionario['largo_total']; ?>
</div>
<div class="container">
	<?php 
	if ($row_Recordset1['tipopieza'] == "Cruceta"){ ?>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['a1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['a1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['a1']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['a2']; ?></div>
             <div class="col"><?php if ($row_Recordset1['a2'] <> "NULL") echo str_replace(".",",",$row_Recordset1['a2']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['b1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['b1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['b1']); else echo '-' ?></div>
        </div>
         <div class="table-row">
             <div class="col"><?php echo $diccionario['d1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['d1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['d1']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['d2']; ?></div>
             <div class="col"><?php if ($row_Recordset1['d2'] <> "NULL") echo str_replace(".",",",$row_Recordset1['d2']); else echo '-' ?></div>
        </div>
    <?php
	} 
	if ($row_Recordset1['tipopieza'] == "Movimiento"){?>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['d1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['d1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['d1']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['d2']; ?></div>
             <div class="col"><?php if ($row_Recordset1['d2'] <> "NULL") echo str_replace(".",",",$row_Recordset1['d2']); else echo '-' ?></div>
        </div>
     <?php
	} 
	if ($row_Recordset1['tipopieza'] == "Movimiento"){?>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['e1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['e1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['e1']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['e2']; ?></div>
             <div class="col"><?php if ($row_Recordset1['e2'] <> "NULL") echo str_replace(".",",",$row_Recordset1['e2']); else echo '-' ?></div>
        </div>
    <?php
	}
	if ($row_Recordset1['tipopieza'] == "Triceta" | $row_Recordset1['tipopieza'] == "Triceta Oscilante" ){
	?>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['h']; ?></div>
             <div class="col"><?php if ($row_Recordset1['h'] <> "NULL") echo str_replace(".",",",$row_Recordset1['h']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['h1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['h1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['h1']); else echo '-' ?></div>
        </div>
    <?php
	}
	?>
</div>
<br>
<?php
if ($row_Recordset1['tipopieza'] != "Movimiento"){
?>
    <div class="container">
        <div class="heading">
             <div class="col"><?php echo $diccionario['largo_sin_cubetas']; ?></div>
             <div class="col"><?php echo $diccionario['diametro_munion']; ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php if ($row_Recordset1['largosincubeta'] <> "NULL") echo str_replace(".",",",$row_Recordset1['largosincubeta']); else echo '-' ?></div>
             <div class="col"><?php if ($row_Recordset1['diametromunion'] <> "NULL") echo str_replace(".",",",$row_Recordset1['diametromunion']); else echo '-' ?></div>
        </div>
    </div>
    <br>
<?php
}
if ($row_Recordset1['tipopieza'] == "Triceta" | $row_Recordset1['tipopieza'] == "Triceta Oscilante" ){
?> 
    <div class="encabezado_tabla_datos">
        <?php echo $diccionario['otras_medidas']; ?>
    </div>
    <div class="container">
        <div class="table-row">
             <div class="col"><?php echo $diccionario['s1']; ?></div>
             <div class="col"><?php if ($row_Recordset1['s1'] <> "NULL") echo str_replace(".",",",$row_Recordset1['s1']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['di']; ?></div>
             <div class="col"><?php if ($row_Recordset1['di'] <> "NULL") echo str_replace(".",",",$row_Recordset1['di']); else echo '-' ?></div>
        </div>
        <div class="table-row">
             <div class="col"><?php echo $diccionario['z']; ?></div>
             <div class="col"><?php if ($row_Recordset1['z'] <> "NULL") echo str_replace(".",",",$row_Recordset1['z']); else echo '-' ?></div>
        </div>
    </div>
    <br>
<?php
}
?> 
<div class="encabezado_tabla_datos">
	<?php echo $diccionario['observaciones']; ?>
</div>
<div class="container">
	<div class="table-row">
    <div class="col"><?php echo $diccionario['descripcion_cubetas']; ?></div>
         <div class="col"><?php if ($row_Recordset1['descripcioncubetas'] <> "NULL") echo $row_Recordset1['descripcioncubetas']; else echo '-' ?></div>
    </div>
    <div class="table-row">
         <div class="col"><?php echo $diccionario['observaciones_detalle']; ?></div>
         <div class="col"><?php if ($row_Recordset1['observaciones'] <> "NULL") echo $row_Recordset1['observaciones']; else echo '-' ?></div>
    </div>
    <div class="table-row">
         <div class="col"><?php echo $diccionario['lubricacion']; ?></div>
         <div class="col"><?php if ($row_Recordset1['lubricacioncantidadtipo'] <> "NULL") echo $row_Recordset1['lubricacioncantidadtipo']; else echo '-' ?></div>
    </div>
    <div class="table-row">
         <div class="col"><?php echo $diccionario['ubicacion']; ?></div>
         <div class="col"><?php if ($row_Recordset1['lubricacionubicacion'] <> "NULL") echo $row_Recordset1['lubricacionubicacion']; else echo '-' ?></div>
    </div>
    <div class="table-row">
         <div class="col"><?php echo $diccionario['accesorios_cantidad']; ?></div>
         <div class="col"><?php if ($row_Recordset1['accesoriosref1'] <> "NULL") echo $row_Recordset1['accesoriosref1']; else echo '-' ?></div>
    </div>
</div>