Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5.  
  6. <meta charset="utf-8">
  7.  
  8. <title>
  9.  
  10. Welcome to //STORE//!
  11.  
  12. </title>
  13.  
  14. <style>
  15.  
  16. body {
  17. background: lightgrey;
  18.  
  19. }
  20.  
  21. .header {
  22. background-color: green;
  23. color: white;
  24. margin: 20px;
  25. padding: 20px;
  26. }
  27.  
  28. .mystery {
  29. background-color: green;
  30. color: white;
  31. margin: 20px;
  32. padding: 20px;
  33. }
  34.  
  35. </style>
  36.  
  37. </head>
  38.  
  39. <body>
  40.  
  41. <div class="header">
  42. <h1>WELCOME TO \/\/STORE\/\/!!!</h1>
  43. </div>
  44.  
  45. <p>
  46. <h2>On this page you will find a wide variety of luxurious computer products to purchase.</h2>
  47. </p>
  48.  
  49. <?php
  50.  
  51.  
  52. $products = array(
  53. "0" => array(
  54. "title" => "0001",
  55. "name" => "Mouse",
  56. "price" => "19.99",
  57. ),
  58.  
  59. "1" => array(
  60. "title" => "0002",
  61. "name" => "Mousepad",
  62. "price" => "29.99",
  63. ),
  64.  
  65. "2" => array(
  66. "title" => "0003",
  67. "name" => "Keybag",
  68. "price" => "15.99",
  69. ),
  70.  
  71. );
  72.  
  73. $Mouse="shoppingcart.php?productid=". $products[0]["title"]. "&productname=" . $products[0]["name"]. "&productprice=" . $products[0]["price"] . "&quantity=1";
  74. $Mousepad="shoppingcart.php?productid=". $products[1]["title"]. "&productname=" . $products[1]["name"]. "&productprice=" . $products[1]["price"]. "&quantity=1";
  75. $Keybag="shoppingcart.php?productid=". $products[2]["title"]. "&productname=" . $products[2]["name"]. "&productprice=" . $products[2]["price"]. "&quantity=1";
  76.  
  77. ?>
  78.  
  79. <DL>
  80.  
  81. <DT>
  82. <h1>"Mouse"&trade;<h1>
  83. </DT>
  84.  
  85. <DD>
  86. <img src="https://cdn.instructables.com/FN5/FXSH/F0ZTLK0N/FN5FXSHF0ZTLK0N.LARGE.jpg" alt=""Mouse"&trade;" height="10%" width="30%">
  87. <DD>
  88.  
  89. <DD>
  90. <h3>
  91. Remember how old trackball mice used to squeal and make you wanna die? WE CALL THAT A FEATURE!
  92. <br>
  93. $74.99 (Does NOT inculde cost of food and healthcare)
  94. <a href="<?php echo $Mouse;?>"> Add To Cart</a>
  95. <br>
  96. </h3>
  97. </DD>
  98.  
  99. <DT>
  100. <h1>"Mouse Pad"&trade;<h1>
  101. </DT>
  102.  
  103. <DD>
  104. <img src="https://static01.nyt.com/images/2012/06/03/magazine/03wmt/mag-03WMT-t_CA0-superJumbo.jpg" alt=""Mouse Pad"&trade;" height="10%" width="30%">
  105. <DD>
  106.  
  107. <DD>
  108. <h3>
  109. WARNING: DO NOT LEAVE "Mouse Pad"&trade; AND "Mouse"&trade; UNATTENDED.
  110. <br>
  111. $19.99
  112. <br>
  113.  
  114. <a href="<?php echo $Mousepad;?>">Add To Cart</a>
  115. </h3>
  116. </DD>
  117.  
  118. <DT>
  119. <h1>"Key-Bag"&trade;</h1>
  120. </DT>
  121.  
  122. <DD>
  123. <img src="https://i.pinimg.com/originals/02/83/29/028329f9b2d3de94c58a7978bc1b1116.jpg" alt="Key Bag" height="30%" width="30%">
  124. <DD>
  125.  
  126. <DD>
  127. <h3>
  128. We found that many people don't carry keyboards with them, as they are too cumbersome to fit into most bags.
  129. So we made a "Key-Bag"&trade; that is more cumbersome than most bags!
  130. <br>
  131. $399.99
  132. <br>
  133.  
  134. <a href="<?php echo $Keybag;?>">Add To Cart</a>
  135. </h3>
  136. </DD>
  137.  
  138. </DL>
  139.  
  140. <div class="mystery">
  141. <h2>SPECIAL OFFER</h2>
  142. <p>Order five items and get a FREE legally distinct and non-chance-based MYSTERY BOX!!!</p>
  143. </div>
  144.  
  145. </body>
  146.  
  147. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement