mostrar detalles
Browse files- app/pages/compras.php +18 -6
app/pages/compras.php
CHANGED
|
@@ -9,15 +9,27 @@ $imagenes = [
|
|
| 9 |
];
|
| 10 |
?>
|
| 11 |
|
| 12 |
-
<article class="container
|
| 13 |
-
<header class="
|
| 14 |
-
<h2><?php echo $_GET["articulo"] ?></h2>
|
| 15 |
</header>
|
| 16 |
-
<div class="
|
| 17 |
-
<img class="img-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
</div>
|
| 19 |
</article>
|
| 20 |
|
| 21 |
-
<div style="width: 400px; height: 400px; background-color: <?php echo $_GET["color"] ?>;"></div>
|
| 22 |
|
| 23 |
<?php include_once "../inc/footer.php"; ?>
|
|
|
|
| 9 |
];
|
| 10 |
?>
|
| 11 |
|
| 12 |
+
<article class="container d-flex flex-column justify-content-center">
|
| 13 |
+
<header class="text-center">
|
| 14 |
+
<h2 class="text-uppercase"><?php echo $_GET["articulo"] ?></h2>
|
| 15 |
</header>
|
| 16 |
+
<div class="text-center">
|
| 17 |
+
<img class="img-thumbnail rounded" src="<?php echo $imagenes[$_GET["articulo"]]; ?>"
|
| 18 |
+
alt="<?php echo $_GET["articulo"]; ?>">
|
| 19 |
+
</div>
|
| 20 |
+
<div class="text-center">
|
| 21 |
+
<h4 class="mb-0">Cantidad</h4>
|
| 22 |
+
<p class="mt-0"><?php echo $_GET["cantidad"]; ?></p>
|
| 23 |
+
</div>
|
| 24 |
+
<div class="text-center">
|
| 25 |
+
<h4 class="mb-0">Precio</h4>
|
| 26 |
+
<p class="mt-0">$<?php echo $_GET["precio"]; ?>.00</p>
|
| 27 |
+
</div>
|
| 28 |
+
<div class="text-center">
|
| 29 |
+
<h4 class="mb-0">Color</h4>
|
| 30 |
+
<div style="width: 300px; height: 100px; background-color: <?php echo $_GET["color"] ?>;"></div>
|
| 31 |
</div>
|
| 32 |
</article>
|
| 33 |
|
|
|
|
| 34 |
|
| 35 |
<?php include_once "../inc/footer.php"; ?>
|