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