aboutsummaryrefslogtreecommitdiff
path: root/stuff/beat/frame.php
blob: 5143943ffd4fe6495add4c06e9910ab5bac81199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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>