1
0
Fork 0
isopod.cool/stuff/beat/frame.php

41 lines
686 B
PHP

<?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>