Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once("/header.php");
- echo '<body background="/res/';
- $DONTSHOW=0;
- if (isset($_GET["show"])) {
- $SHOWVID=$_GET["show"];
- } else {
- $SHOWVID=0;
- }
- if (isset($_GET["time"])) {
- if (is_numeric($_GET["time"])) {
- $STIME=$_GET["time"];
- } else {
- $STIME=0;
- }
- } else {
- $STIME=0;
- }
- $NAMES=array(
- "blue" => 0,
- "red" => 1,
- "green" => 2,
- "yellow" => 3,
- "purple" => 4,
- "orange" => 5,
- "rainbow" => 6,
- "white" => 7,
- "gray" => 8,
- "lime" => 9,
- "crystal" => 10
- );
- $sNAMES=array("blue","red","green","yellow","purple","orange","rainbow","white","gray","lime","crystal");
- $VIDEOS=array('iCNfYjZ26ow','AmECponMyPs','8o-t7YyPUrE','AlQJkqJ9Ve0','DHmYC8a_4cI','N7bIMrNjMk8','5DcxXU5bmjE','gtq9oYVGSH8',"MyWfc5qAZOc","i0EC4vV7PoE","Q5UeM6kermk");
- $TITLES=array("My skateboard will go on","Tempest Teamwork Triumph","Overarrow","Dawn Metropolis","Helix Nebula","Jetpack Blues, Sunset Hues","Penpal","Mermaid","Fast Turtle","Airbrushed","Densemore");
- if (isset($_GET["color"])) {
- if (isset($NAMES[$_GET["color"]])) {
- $RANDOM=$NAMES[$_GET["color"]];
- } else {
- $RANDOM=rand(0,10);
- }
- } else {
- $RANDOM=rand(0,10);
- }
- if ($RANDOM==10) {
- echo 'bgcrystal.png">';
- } else {
- echo 'bg.png">';
- }
- if ($DONTSHOW==0) {
- echo <<<EOT
- <table width="100%" height="100%" align="center" valign="center">
- <tr><td>
- <center>
- <div style="background-image:url(/res/bgblur
- EOT;
- if ($RANDOM==8) {
- echo ".gif";
- echo "?d=".SHA1(rand(0,10000));
- } elseif ($RANDOM==10) {
- echo "crystal.png";
- } else {
- echo ".png";
- }
- echo <<<EOT
- );background-position: 50% 50%;background-repeat: no-repeat;padding: 80px">
- EOT;
- echo '<a href="?color='.$sNAMES[($RANDOM+1)%11];
- if (isset($_GET["time"])) {
- if (is_numeric($_GET["time"])) {
- echo '&time='.$_GET["time"];
- }
- }
- if (isset($_GET["show"])) {
- if (is_numeric($_GET["show"])) {
- echo '&show='.$_GET["show"];
- }
- }
- echo '"><img src="/res/main'.($RANDOM+1).'.png"></a>'."\n";
- echo <<<EOT
- </div>
- </center>
- </td></tr>
- </table>
- EOT;
- if ($SHOWVID!=1) {
- echo '<p style="position:absolute;top:-500px;left:-500px">';
- }
- echo '<br> <iframe width="500" height="500" src="http://www.youtube.com/embed/'.$VIDEOS[$RANDOM].'?rel=0&autoplay=1&feature=player_detailpage#t='.$STIME.'s" frameborder="0"></iframe>'."\n";
- if ($SHOWVID!=1) {
- echo "\t".'</p>'."\n";
- }
- echo "\t".'<title>'.$TITLES[$RANDOM].'</title>'."\n";
- }
- ?>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement