<?php require 'funcs.php';
$id $_GET['id'];
$vst Lookup("store.csv"$id);
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>GyL Synths VSTs</title>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
        <style>
            table { width: 100% }
            table, th, td { border: 1px solid black; border-collapse: collapse; }
            th, td { padding: 10px; }
        </style>
    </head>
    <body><div class="container">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
        <h1><?= $vst['name'?></h1>
        <p><?= str_replace('|'','$vst['desc']) ?></p>
        <p><img style="max-width: 100%" src="https://www.getdunne.net/GyL/images/<?= $id ?>.png"></img></p>
        <?php if (file_exists("vstdesc/$id.html")) include "vstdesc/$id.html"?>
    
    <p><a href="VST/<?= $id ?>.zip">Download</a><p>
    <p><a href="index.php">Back to home page</a></p>
    </div></body>
</html>