From 094bf4e342307fdfa3608bad2110c28d39fd8ff7 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Wed, 9 Apr 2025 15:18:30 -0400 Subject: refactor: directory structure --- src/download.php | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 src/download.php (limited to 'src/download.php') diff --git a/src/download.php b/src/download.php new file mode 100644 index 0000000..9b8d29b --- /dev/null +++ b/src/download.php @@ -0,0 +1,87 @@ + + + + + + + + + + + procrastiSlides: great for procratinators who need to get a presentation out, quick! 😆 + + + + + + + +
+ +

🎉 your procrastiSlides .pdf presentation has been generated successfully!!! 🍾 +

+ +

📂 your download link is below: 🗃 +

+
+ output/'$push'"; + $createConvertFile = "cat $templateFile output/'$push' > output/'$convert'"; + + shell_exec($createPushFile); + shell_exec($createConvertFile); + shell_exec($conversion); + + echo "

download presentation

"; + } + + if (isset($_POST["90sMakeUpCommercial"])) { + generatePresentation("output/90sMakeUpCommercial.md"); + } elseif (isset($_POST["chicagoOlives"])) { + generatePresentation("output/chicagoOlives.md"); + } elseif (isset($_POST["redmond2013"])) { + generatePresentation("output/redmond2013.md"); + } elseif (isset($_POST["ohioCustard"])) { + generatePresentation("output/ohioCustard.md"); + } elseif (isset($_POST["raleighAroundMe"])) { + generatePresentation("output/raleighAroundMe.md"); + } elseif (isset($_POST["earlyCupertino"])) { + generatePresentation("output/earlyCupertino.md"); + } elseif (isset($_POST["defaultIsKing"])) { + generatePresentation("output/defaultIsKing.md"); + } elseif (isset($_POST["strengthInNumbers"])) { + generatePresentation("output/strengthInNumbers.md"); + } elseif (isset($_POST["thatMagazine"])) { + generatePresentation("output/thatMagazine.md"); + } elseif (isset($_POST["cuppertinoIsh"])) { + generatePresentation("output/cuppertinoIsh.md"); + } elseif (isset($_POST["lazyProfessor"])) { + generatePresentation("output/lazyProfessor.md"); + } elseif (isset($_POST["redmond2003"])) { + generatePresentation("output/redmond2003.md"); + } + + ?> +
+

+ + + + -- cgit v1.2.3