PerlaHM commited on
Commit
c741c73
·
1 Parent(s): c293b27

se modifico en compras

Browse files
Files changed (1) hide show
  1. app/compras.php +23 -0
app/compras.php CHANGED
@@ -14,6 +14,29 @@
14
  else{
15
  $imagenArticulo = "https://cdn-icons-png.flaticon.com/512/16/16410.png";
16
  }
 
 
 
 
 
 
 
 
 
 
 
 
17
  ?>
 
 
18
  <img src="<?php echo $imagenArticulo; ?>">
 
 
 
 
 
 
 
 
 
19
  <?php include("inc/footer.php");?>
 
14
  else{
15
  $imagenArticulo = "https://cdn-icons-png.flaticon.com/512/16/16410.png";
16
  }
17
+ else if(strcmp("Calcetines",$_GET["articulo"])==0){
18
+ $imagenArticulo = "https://www.podoactiva.com/wp-content/uploads/imagenes/calcetines_1.jpeg";
19
+ }
20
+ else if(strcmp("Lentes",$_GET["articulo"])==0){
21
+ $imagenArticulo = "https://th.bing.com/th/id/OIP.k85uPL-tS7KlVfvIFl6P7QHaHX?rs=1&pid=ImgDetMain";
22
+ }
23
+ else if(strcmp("Sueter",$_GET["articulo"])==0){
24
+ $imagenArticulo = "https://media.gq.com.mx/photos/5fc831672992af067131d440/master/w_1600%2Cc_limit/Su%25C3%25A9ter%2520tejido%2520Massimo%2520Dutti.jpg";
25
+ }
26
+ else if(strcmp("Gorras",$_GET["articulo"])==0){
27
+ $imagenArticulo = "https://http2.mlstatic.com/D_NQ_NP_762934-MLM72111006498_102023-O.webp";
28
+ }
29
  ?>
30
+
31
+ <br>
32
  <img src="<?php echo $imagenArticulo; ?>">
33
+ <br>
34
+ Cantidad: <?php echo($_GET["cantidad"]);?>
35
+ <br>
36
+ Precio: $<?php echo($_GET["precio"]);?>
37
+ <br>
38
+ Color: <span style="background:<?php echo($_GET["color"]);?>">&nbsp;&nbsp;&nbsp;</span>
39
+ <br>
40
+ Total: $<?php echo($_GET["precio"]*$_GET["cantidad"]);?>
41
+
42
  <?php include("inc/footer.php");?>