<!DOCTYPE html>
<html>
<head>

	<title>Cat&aacute;logo</title>
	<link rel="stylesheet" type="text/css" href="./css/estilo.css">
	
	<script type="text/javascript"  src="./js/jquery-a.js"></script>
</head>
<body>
	
<?php include_once("cabecera.php") ?>

<div id="contenedor">
		<div id="texto">
			
<?php include_once("orden.php"); ?>

			<h1>Lista de productos</h1>
			
				<?php
					include 'conexion.php';
					$re=mysql_query("SELECT * FROM articulos WHERE clasif='objetivo'")or die(mysql_error());
					while ($f=mysql_fetch_array($re)) {
					?>
						<div class="producto">
							
							<img src="./images/<?php echo $f['imagen'];?> "width="38%" ><br>
							<h2><?php echo $f['nombre'];?></h2>
							<?php echo $f['descripcion'];?><br>
							<strong>MXN  $<?php echo $f['precio'];?><br></strong>
							<a href="./detalles.php?id=<?php echo $f['id'];?>">AMPLIAR</a>
							<p><a href="./agregar.php?id=<?php  echo $f['id'];?>">Agregar al carrito</a></p><br><br><br>
						</div>

				<?php
					}
			?>
		
		</div>

</div>

<?php
    include_once("pie.php");
?>		
</body>
</html>