diff options
Diffstat (limited to 'view.php')
| -rw-r--r-- | view.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/view.php b/view.php new file mode 100644 index 0000000..9134e59 --- /dev/null +++ b/view.php | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | <?php | ||
| 2 | $systems = ['win' => 'Windows', 'deb' => 'Debian, Ubuntu, Linux Mint', 'arch' => 'Archlinux, Manjaro']; | ||
| 3 | $script_links = ''; | ||
| 4 | foreach($systems as $key => $value){ | ||
| 5 | $script_links .= '<p><a href="script-dl.php?os=' . $key . '">' . $value . '</a></p>'; | ||
| 6 | } | ||
| 7 | require 'template.php'; | ||
