aboutsummaryrefslogtreecommitdiff
path: root/public/product.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/product.php')
-rw-r--r--public/product.php7
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>