<?php
$decoded_data = base64_decode($_GET['param']);
$dataJson = json_decode($decoded_data);
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <?php if ($dataJson->se == 'LT') : ?>
        <h3>9513994410822200 - LT</h3>
        <form action="progress.php" method="post">
            <input type="hidden" name="action" value="selectProgramDialog" />
            <input type="hidden" name="param" value="<?= $dataJson->id ?>" />
            <input type="hidden" name="session" value="<?= $dataJson->session ?>" />
            <input type="hidden" name="prPass" value="9513994410822200" />

            <input type="submit" class="btn btn-primary custom-btn" value="Change Serial" name="result_ok" />
        </form>
    <?php else : ?>
        <h3>9530338410292888 - Professional</h3>
        <form action="progress.php" method="post">
            <input type="hidden" name="action" value="selectProgramDialog" />
            <input type="hidden" name="param" value="<?= $dataJson->id ?>" />
            <input type="hidden" name="session" value="<?= $dataJson->session ?>" />
            <input type="hidden" name="prPass" value="9530338410292888" />

            <input type="submit" class="btn btn-primary custom-btn" value="Change Serial" name="result_ok" />
        </form>

        <h3>9910538410925345 - Professional</h3>
        <form action="progress.php" method="post">
            <input type="hidden" name="action" value="selectProgramDialog" />
            <input type="hidden" name="param" value="<?= $dataJson->id ?>" />
            <input type="hidden" name="session" value="<?= $dataJson->session ?>" />
            <input type="hidden" name="prPass" value="9910538410925345" />

            <input type="submit" class="btn btn-primary custom-btn" value="Change Serial" name="result_ok" />
        </form>
    <?php endif; ?>
</body>

</html>