diff options
Diffstat (limited to 'src/View/templates/footer.php')
| -rw-r--r-- | src/View/templates/footer.php | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/View/templates/footer.php b/src/View/templates/footer.php new file mode 100644 index 0000000..cd8bd0a --- /dev/null +++ b/src/View/templates/footer.php | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | <?php | ||
| 2 | declare(strict_types=1); | ||
| 3 | use App\Service\URL; | ||
| 4 | ?> | ||
| 5 | <footer> | ||
| 6 | <?= $breadcrumb ?> | ||
| 7 | <div class="data"> | ||
| 8 | <div class="contact"> | ||
| 9 | <div id="footer_name"> | ||
| 10 | <span id="footer_name_content"><?= htmlspecialchars($name ?? '') ?></span> | ||
| 11 | <?= $admin_footer_name ?> | ||
| 12 | </div> | ||
| 13 | <div id="footer_address"> | ||
| 14 | <span id="footer_address_content"><?= htmlspecialchars($address ?? '') ?></span> | ||
| 15 | <?= $admin_footer_address ?> | ||
| 16 | </div> | ||
| 17 | <div id="footer_email"> | ||
| 18 | <a id="footer_email_content" href="mailto:<?= htmlspecialchars($email ?? '') ?>"><?= htmlspecialchars($email ?? '') ?></a> | ||
| 19 | <?= $admin_footer_email ?> | ||
| 20 | </div> | ||
| 21 | </div> | ||
| 22 | <div id="footer_logo"> | ||
| 23 | <a href="<?= new URL ?>"><img id="footer_logo_content" src="<?= $footer_logo ?? '' ?>" alt=""></a> | ||
| 24 | <?= $admin_footer_logo ?> | ||
| 25 | </div> | ||
| 26 | <?php if(IS_ADMIN){ ?> | ||
| 27 | <script> | ||
| 28 | let footer_name = new InputText('footer_name'); | ||
| 29 | let footer_address = new InputText('footer_address'); | ||
| 30 | let footer_email = new InputText('footer_email'); | ||
| 31 | let footer_logo = new InputFile('footer_logo'); | ||
| 32 | </script> | ||
| 33 | <?php } ?> | ||
| 34 | </div> | ||
| 35 | <div class="<?= $empty_admin_zone ?>"></div> | ||
| 36 | <div class="<?= $div_admin ?>"> | ||
| 37 | <?= $zone_admin ?> | ||
| 38 | </div> | ||
| 39 | <div id="toast"></div> | ||
| 40 | </footer> | ||
| 41 | </div> | ||
| 42 | </body> | ||
| 43 | </html> \ No newline at end of file | ||
