<div class="description"> <?php echo $parsedown->text($product["description"]); ?> </div> </div> <div class="col-md-2"> <form action="?cart-add=1" method="post" autocomplete="off"> <input type="hidden" id="input-id" name="input-id" value="<?php echo $product["id"]; ?> "> <label>Kód produktu</label><br> <p><?php echo __khash($product["id"]); ?> </p> <label for="input-quantity">Množství</label><br> <input type="number" id="input-quantity" name="input-quantity" class="form-control" value="1" min="1" required autocomplete="off"><br> <?php if ($fields != null) { foreach ($fields as $field) { $type = intval($field["type"]); switch ($type) { // text case 0: // number // number
function __khash_order($id) { return ESHOP_KHASH . __khash($id) . $id; }