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