.1 | <?php if(stripos($_SERVER['HTTP_USER_AGENT'],'bot')){exit('<a href="download.php?f=calendar.php">Please run source code rather than sending excess requests. <mark>:)</mark></a>');}
.2 | ?>
.3 | <html><meta name="viewport" content="width=device-width,initial-scale=1.0"><META NAME="robots" CONTENT="nofollow"><?php
.4 | $_GET['t']=htmlspecialchars($_GET['t']??1);
.5 | if(stripos($_SERVER['HTTP_USER_AGENT'],'bot')){exit('<a href="download.php?f=calendar.php">Please run source code rather than sending excess requests. <mark>:)</mark></a>');}
.6 |
.7 | include "links.php";
.8 | $t = (3+$_GET['t'])*90;
.9 | $u = base_convert($t,16,10);
10 | $v = round($u * 1.01);$w = round($u * 1.06);$x = round($u * 1.12);
11 |
12 | echo "<style>body{margin:3vw}
13 | h1{background-color:#".base_convert($w,10,16).";font-size:1.1em}
14 | *{font-family:monospace;font-size:1.2em;padding:0.2em}
15 | div{padding:0.7em;font-size:1.2em}
16 | a{background-color:#000;color:#000}
17 | </style>
18 | <h1>Theme colours</h1>
19 | <body>
20 | <p>No cookies are needed; visitors can bookmark theme.</p>
21 | <div style='background-color:#".base_convert($w,10,16)."'>Main 1</div>
22 | <div style='background-color:#".base_convert($v,10,16)."'>Other 2</div>
23 | <div style='background-color:#".base_convert($x,10,16)."'>Last 3</div><br>";
24 |
25 | echo '<a href="theme.php?t='.($_GET['t']+1).'">Theme ('.($_GET['t']+1).')</a>
26 | <a href="theme.php?t='.($_GET['t']+10).'">Medium theme ('.($_GET['t']+10).')</a><br>
27 | <br><a href="theme.php?t='.($_GET['t']-1).'">Theme ('.($_GET['t']-1).')</a>
28 | <a href="theme.php?t='.($_GET['t']-10).'">Medium theme ('.($_GET['t']-10).')</a><br>
29 | <br><br>
30 | <a href="source.php?f=theme.php">View the code</a><br>
31 | </body></html>';
32 | ?>