diff options
Diffstat (limited to 'src/web/_views/footer.php')
-rw-r--r-- | src/web/_views/footer.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/web/_views/footer.php b/src/web/_views/footer.php new file mode 100644 index 0000000..1eac625 --- /dev/null +++ b/src/web/_views/footer.php @@ -0,0 +1,51 @@ +<?php /* Copyright (c) 2024 Freya Murphy */ ?> +<?php + $footer_text = lang('footer_text', NULL); + if ($footer_text) { + $footer_text = $footer_text[array_rand($footer_text)]; + } else { + $footer_text = ''; + } + + $legacy = $this->main->get_ie_version() <= 7; +?> + </div> + </div> + <div id="footer" role="contentinfo" aria-label="footer"> + <?=lang('license_pre')?> + <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> + <br> + <?=lang('copyright')?> <?=lang('first_name')?> <?=lang('last_name')?> <?=date('Y')?> + <br> + <span class="footer-text"> + <?=$footer_text?> + </span> + <div class="buttons"> + <?=image('buttons/eyes', 'alt_button_eyes', animated: TRUE, width: '88', height: '30')?> + <?=image('buttons/vim', 'alt_button_vim', animated: TRUE, width: '88', height: '30')?> + <?=image('buttons/gnu-linux', 'alt_button_gnu_linux', width: '88', height: '30')?> + <a href="https://citrons.xyz/a/memetic-apioform-page.html"> + <?=image('buttons/apiopage', 'alt_button_apiopage', width: '81', height: '30')?> + </a> + </div> + <br> + <iframe + height="94" + class="john" + title="<?=lang('john_title')?>" + src="https://john.citrons.xyz/embed?ref=freya.cat" + ></iframe> + <iframe + height="40" + class="bucket" + title="<?=lang('bucket_title')?>" + src="<?=$this->main->get_url('bucket?name=freya')?>" + ></iframe> + </div> +<?php if($legacy): ?> + </center> +<?php else: ?> + </div> +<?php endif; ?> + </body> +</html> |