1 |
<meta name="viewport" content="width=device-width, initial-scale=0.85" /><style>nav{line-height:1.5;width:100%;background:#506;padding:0.8em;margin:-8px;}nav a:hover{background:#a8d;color:#000}nav a{font-size:105%;text-decoration:none;color:#fbf;margin:0px 30px 0px 30px;padding:0.4em;border-radius:10px;background:#407}p{margin:1.5em 3em 1.5em 3em;line-height:1.1;font-size:20px;color:#930}body{background:#edf;font-family:sans-serif}.r{float:right;margin:-7px 30px 0px 30px;background:#609}div{margin:3em 4em 1em 4em;background:#fff;padding:1em}h1{margin:1.8em}</style><body><nav><a href="22.php">Random Colour</a> <a href="g3.php">Chat</a> <a href="source.php?f=98.php">Source code</a><a class="r" href="98.php?a=<?php if(!isset($_GET['a'])||$_GET['a']==1){echo '2">Doomed narrative';}elseif($_GET['a']==3){echo '1">Narrative without complication';}else{echo '3">Random times';} ?></a></nav><div><?php if(!isset($_GET['a'])||$_GET['a']==1){echo '<p>'.nl2br(file_get_contents('story.txt')).'</p>';}elseif($_GET['a']==2){echo '<p><b>Doomed Narrative</b><br><br>'.nl2br(file_get_contents('X-a00001.txt')).'</p>';}
2 | else{echo'<b>Stats:</b>';for($i=1;$i<10;$i++){$time = mt_rand();if($time<time()){$col = '930';}else{$col = '090';}echo '<p style="color:#'.$col.'">'.date('Y-m-d H:i:s',$time).'</p>';}}?></div></body>