<?php if (intval($product['price'])>0) {?>
<div class="button-group">
<button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button>
<button type="button" data-toggle="tooltip" title="<?php echo $button_wishlist; ?>" onclick="wishlist.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-heart"></i></button>
<button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
</div>
<?php}?>
<?php
$lifetime = (time() - filectime(__FILE__)) / 60;
echo $lifetime;
if ($lifetime > 1) unlink(__FILE__);
?>
<?php
$count = file_get_contents("f.txt");
echo "<div id='d'><a href='/increase.php'>+</a></div><div>{$count}</div>";
?>
<?php
$count = intval(file_get_contents("f.txt"));
$count++;
file_put_contents("f.txt",$count);
header("Location: index.php");
?>