aboutsummaryrefslogtreecommitdiff
path: root/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'footer.php')
-rw-r--r--footer.php29
1 files changed, 26 insertions, 3 deletions
diff --git a/footer.php b/footer.php
index 512c7f4..366fe2d 100644
--- a/footer.php
+++ b/footer.php
@@ -1,7 +1,30 @@
<footer>
- <p><?php
+ <?php
+ $c = $_COOKIE["bugwomen_font_choice"];
+ ?>
+ <form class="footerform" action="/setfont.php" method="post" autocomplete="off">
+ <div>
+ <label for="font">Font Selector</label>
+ <select id="font" name="font">
+ <option <?php if($c=="b612mono"){echo("selected");}?> value="b612mono">B612 Mono</option>
+ <option <?php if($c=="b612"){echo("selected");}?> value="b612">B612</option>
+ <option <?php if($c=="opendyslexic"){echo("selected");}?> value="opendyslexic">OpenDyslexic</option>
+ <option <?php if($c=="ubuntu"){echo("selected");}?> value="ubuntu">Ubuntu</option>
+ <option <?php if($c=="atkinsonhyperlegible"){echo("selected");}?> value="atkinsonhyperlegible">Atkinson Hyperlegible</option>
+ <option <?php if($c=="atkinsonhyperlegiblemono"){echo("selected");}?> value="atkinsonhyperlegiblemono">Atkinson Hyperlegible Mono</option>
+ <option <?php if($c=="googlesans"){echo("selected");}?> value="googlesans">Google Sans</option>
+ <option <?php if($c=="googlesanscode"){echo("selected");}?> value="googlesanscode">Google Sans Code</option>
+ <option <?php if($c=="notoserif"){echo("selected");}?> value="notoserif">Noto Serif</option>
+ <option <?php if($c=="silkscreen"){echo("selected");}?> value="silkscreen">Silkscreen</option>
+ <option <?php if($c=="browserdefault"){echo("selected");}?> value="browserdefault">Browser default</option>
+ </select>
+ </div>
+ <input type="submit" value="Apply">
+ </form>
+ <p>
+ <?php
$copyrice = array(
- 'Ada Isopod',
+ 'Ada Isopods',
'ur mom',
'gort',
'deep twisty',
@@ -17,7 +40,7 @@
'Bathynomus',
'Bug Women'
);
- echo("&copy; ".date("Y")." ".$copyrice[array_rand($copyrice)]);
+ echo("&copy;".date("Y")." ".$copyrice[array_rand($copyrice)]);
?> | <a href="https://git.isopod.cool/root/isopod.cool">source</a></p>
<div class="buttons">
<img src="https://bugwo.men/etc/buttons/isopodhours.png" alt="isopod hours">