diff options
Diffstat (limited to 'stuff/beat/frame.php')
| -rw-r--r-- | stuff/beat/frame.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/stuff/beat/frame.php b/stuff/beat/frame.php new file mode 100644 index 0000000..5143943 --- /dev/null +++ b/stuff/beat/frame.php @@ -0,0 +1,41 @@ +<?php + function beat() { + return '@'.date("B"); + } +?> + +<!DOCTYPE html> +<html lang="en"> + +<head> + <title><?php echo beat(); ?></title> + <?php + $theme = $_GET['theme']; + echo "<link href='$theme.css' rel='stylesheet' type='text/css' media='all'>"; + ?> + <style> + html, body { + height: 100%; + margin: 0; + padding: 0; + } + body { + display: flex; + align-items: center; + justify-content: center; + font-size: 25px; + } + a { + text-decoration: inherit; + color: inherit; + } + </style> +</head> + +<body> + <main> + <a target="_blank" href="/stuff/beat/"><?php echo beat(); ?></a> + </main> +</body> + +</html>
\ No newline at end of file |
