include("../conecta.php");
$result1=mysql_query("SELECT * FROM catalogo2 where mostrar_en_web='si' and foto_extra!='' and oferta='OFERTA DE LA SEMANA'");
while($row = mysql_fetch_array($result1)){
////LEO EL CAMPO FOTO_EXTRA, SI ESTA VACIO ASIGNO RUTA PARA FOTO NO DISPONIBLE
$foto_extra=$row['foto_extra'];
if($foto_extra==""){
$foto_extra="../no_foto_empresa/no_foto_chica.jpg";
}
else{
$foto_extra="../bodegatec/$foto_extra";
}
$id=$row['id'];
$nombre_ficha=$row['nombre'];
?>
} ?>