-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
50 lines (47 loc) · 2.15 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
$token = bin2hex(openssl_random_pseudo_bytes(32));
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<title>MT940 Formateur</title>
</head>
<body class="bg-dark text-white">
<main class="form-signin">
<h1 class="h3 mb-3 fw-normal text-center">MT940 Formateur Naar JSON</h1>
<p>Werkt met Excel, JSON en SWI.</p>
<form method="POST" enctype="multipart/form-data" action="verwerk.php" target="_blank">
<input type="hidden" name="crsftoken" id="crsftoken" required value="<?php echo $token; ?>">
<div class="mb-3">
<label for="file" class="form-lable"></label>
<input type="file" class="form-control" name="file" id="file" required accept=".swi, .txt, .mt940, .mta, .xlsx, .json">
</div>
<div class="mb-3">
<select required class="form-select" name="type">
<option disabled selected>Naar welk bestand formateren</option>
<option value="XML">XML</option>
<option value="XL">Excel</option>
<option value="JSON">JSON</option>
</select>
</div>
<div class="mb-3">
<select required class="form-select" name="engine">
<option disabled selected>Kies welke bank u gebruikt voor dit bestand</option>
<option value="Rabo">Rabobank</option>
<option value="Ing">ING</option>
<option value="Abn">ABN AMRO</option>
</select>
</div>
<button class="w-100 btn btn-lg btn-primary" type="submit">Convert</button>
</form>
</main>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</body>
</html>