diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-05-08 18:35:39 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-05-08 18:35:39 +0200 |
commit | 770658c8434d7b7c0e716b7e375c733e79dc4a88 (patch) | |
tree | 5c1b48cfd9fd5748f0cb7d95051b396e15867fb5 /public/product.php | |
parent | f3b582307cc3caf5ee0c7514d461e47fb5893bc7 (diff) |
more website
Diffstat (limited to 'public/product.php')
-rw-r--r-- | public/product.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/public/product.php b/public/product.php index 7db5b5e..51ce3db 100644 --- a/public/product.php +++ b/public/product.php @@ -24,14 +24,17 @@ $product = $res->fetch_object(); <div class="main limwidth"> <div class="twocolumn"> <div class="column left"> - <img src="<?php echo "/img/product/".$product->id."-thumb.jpg" ?>" alt=""> + <?php + $img = "/img/product/".$product->id."-full.jpg"; + echo "<a href='$img'><img src='$img' alt=''></a>"; + ?> </div> <div class="column right"> <h2><?php echo $product->name ?></h2> <span class="price"><?php echo $product->price ?></span> <span class="info"><?php echo $product->description ?></span> <form action="/cart.php" method="post"> - <input type="submit" value="Toevoegen aan winkelwagen"> + <input type="submit" value="Toevoegen aan winkelwagen" class="button filled"> </form> </div> </div> |