diff options
| author | root | 2014-03-22 23:32:31 +0100 |
|---|---|---|
| committer | root | 2014-03-22 23:32:31 +0100 |
| commit | dc083d0685fa36e48f6d9e1ba2895f730a167194 (patch) | |
| tree | 708201e76379e64e94a274b1ebd940f3647948dc | |
| parent | a72958ea64fcc95398e4b23418651060da8a955e (diff) | |
| download | random-dc083d0685fa36e48f6d9e1ba2895f730a167194.tar.gz | |
Committing all.
| -rw-r--r-- | www/403.php | 8 | ||||
| -rw-r--r-- | www/404.jpg | bin | 0 -> 54165 bytes | |||
| -rw-r--r-- | www/about.php | 56 | ||||
| -rw-r--r-- | www/background.png | bin | 0 -> 154 bytes | |||
| -rw-r--r-- | www/background2.png | bin | 0 -> 156 bytes | |||
| -rwxr-xr-x | www/dead_link.png | bin | 0 -> 51119 bytes | |||
| -rw-r--r-- | www/header.php | 9 | ||||
| -rw-r--r-- | www/loli.jpg | bin | 0 -> 123865 bytes | |||
| -rw-r--r-- | www/loli.png | bin | 0 -> 165204 bytes | |||
| -rw-r--r-- | www/loli_middle.jpg | bin | 0 -> 109651 bytes | |||
| -rw-r--r-- | www/loli_small.jpg | bin | 0 -> 102762 bytes | |||
| -rwxr-xr-x | www/lolrndm.php | 45 | ||||
| -rw-r--r-- | www/piwik.js | 13 | ||||
| -rw-r--r-- | www/piwik.php | 13 | ||||
| -rw-r--r-- | www/puush.php | 13 | ||||
| -rwxr-xr-x | www/robots.txt | 2 | ||||
| -rw-r--r-- | www/style.css | 30 | ||||
| -rw-r--r-- | www/youtube.php | 6 |
18 files changed, 189 insertions, 6 deletions
diff --git a/www/403.php b/www/403.php new file mode 100644 index 0000000..4b354b8 --- /dev/null +++ b/www/403.php @@ -0,0 +1,8 @@ +<!Doctype html> +<head> +<title>Access forbidden</title> +</head> +<body> +<center> +<p>Facebook steals your data and violates your privacy.</p> +</center> diff --git a/www/404.jpg b/www/404.jpg Binary files differnew file mode 100644 index 0000000..36de85b --- /dev/null +++ b/www/404.jpg diff --git a/www/about.php b/www/about.php new file mode 100644 index 0000000..1898cf2 --- /dev/null +++ b/www/about.php @@ -0,0 +1,56 @@ +<!Doctype html> +<head> +<title>About random</title> +<meta http-equiv='Content-type' content='text/html; charset=utf-8' /> +<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /> +<link rel='stylesheet' type='text/css' href='style.css'/> +<style type='text/css'> +p2 { + font-size: 130%; + color: #789922; +} +</style> +</head> +<body vlnk='#5b5b5b' vlink='#000000' link='#000000' alink='#9a9696'> +<center> + +<?php +include("header.php"); +include("piwik.php"); +?> +<table width='700px'> +<tr> +<td><h1>Waah!~</h1></td> +</tr> +<tr> +<td><img src='loli_small.jpg'/></td> +</tr> +<tr> +<td></td> +</tr> +<tr> +<td> +<br> +</td> +</tr> +<tr> +<td><p1><font color="#789922">> I-It's not like I made this page for you or a-anything..~</font></p1></td> +</tr> +<tr> +<td><br></td> +</tr> +<tr> +<td>I'm just a random dude who thinks this is funny.</td> +</tr> +<tr> +<td>You can always contact me using <a href="mailto:mail@iamfabulous.eu"><font color='blue'>mail@iamfabulous.de</font></a>.</td> +</tr> +<tr> +<td>Let me know what you think! +</td> +</tr> +</table> + +</center> + + diff --git a/www/background.png b/www/background.png Binary files differnew file mode 100644 index 0000000..ca5ff2c --- /dev/null +++ b/www/background.png diff --git a/www/background2.png b/www/background2.png Binary files differnew file mode 100644 index 0000000..5be72e2 --- /dev/null +++ b/www/background2.png diff --git a/www/dead_link.png b/www/dead_link.png Binary files differnew file mode 100755 index 0000000..37eb36b --- /dev/null +++ b/www/dead_link.png diff --git a/www/header.php b/www/header.php index fb17d93..4df6d9e 100644 --- a/www/header.php +++ b/www/header.php @@ -2,7 +2,14 @@ <table width='700px'><tr> <td><a href='/'>Home</a></td> <td>|</td> -<td><a href='/youtube'>Youtube</a></td> + +<?php +if(isset($new_id)){ + echo "<td><a href='/youtube?id=".$new_id."'>Youtube</a></td>"; +} else { + echo "<td><a href='/youtube'>Youtube</a></td>"; +} +?> <td>|</td> <td><a href='/puush'>Puush</a></td> <td>|</td> diff --git a/www/loli.jpg b/www/loli.jpg Binary files differnew file mode 100644 index 0000000..2c67c89 --- /dev/null +++ b/www/loli.jpg diff --git a/www/loli.png b/www/loli.png Binary files differnew file mode 100644 index 0000000..3a9b4af --- /dev/null +++ b/www/loli.png diff --git a/www/loli_middle.jpg b/www/loli_middle.jpg Binary files differnew file mode 100644 index 0000000..5a37f78 --- /dev/null +++ b/www/loli_middle.jpg diff --git a/www/loli_small.jpg b/www/loli_small.jpg Binary files differnew file mode 100644 index 0000000..3248814 --- /dev/null +++ b/www/loli_small.jpg diff --git a/www/lolrndm.php b/www/lolrndm.php new file mode 100755 index 0000000..0b19b84 --- /dev/null +++ b/www/lolrndm.php @@ -0,0 +1,45 @@ +<?php + +$swf_array = array("Battletoads", "Gununu_all", "Teledance", "baximusgettindown", "Mormon_Jesus", "Pi", "god_damn_trains" ); + +$length = count($swf_array); +$index = mt_rand(0,$length-1); + +//$random="https://u.iamfabulous.de/".$swf_array[$index].".swf"; +//$random="http://cdn.complicissimus.de/swf/".$swf_array[$index].".swf"; +$random="https://cdn.iamfabulous.de/swf/".$swf_array[$index].".swf"; +?> +<!DOCTYPE html> +<html> +<head><title>40x - Error Code</title> +<meta http-equiv='Content-type' content='text/html; charset=utf-8' /> +<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /> +<link rel='stylesheet' type='text/css' href='style.css'/> +</head> +<body vlnk='#5b5b5b' vlink='#000000' link='#000000' alink='#9a9696'> +<center> +<? include("header.php"); ?> +<h1>Nope. Not here. ;_;</h1> +<p>This doesn't look like the page you requested.</p> +<p> + <object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" + codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"> + <param name="movie" value="Gununu_all.swf"> + <param name="quality" value="high"> + <param name="scale" value="exactfit"> + <param name="menu" value="true"> + <param name="bgcolor" value="#000040"> +<?// <embed src="<?php echo $random; " quality="high" scale="exactfit" menu="false" ?> + <embed src="https://cdn.iamfabulous.de/swf/Gununu_all.swf" quality="high" scale="exactfit" menu="false" + bgcolor="#000000" width="600" height="400" swLiveConnect="false" + type="application/x-shockwave-flash" + pluginspage="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"> + </embed> + </object> +</p> +<br> +<p>Complaints oder suggestions for new flash files at <a href="mailto:mail@iamfabulous.de">mail@iamfabulous.de</a>.</p> +<p><a href="/"><font color='blue'>Back to start<font/></a></p> +</center> + +</body> diff --git a/www/piwik.js b/www/piwik.js new file mode 100644 index 0000000..3837901 --- /dev/null +++ b/www/piwik.js @@ -0,0 +1,13 @@ +<script type="text/javascript"> + var _paq = _paq || []; + _paq.push(["trackPageView"]); + _paq.push(["enableLinkTracking"]); + + (function() { + var u=(("https:" == document.location.protocol) ? "https" : "http") + "://a.iamfabulous.de/"; + _paq.push(["setTrackerUrl", u+"piwik.php"]); + _paq.push(["setSiteId", "3"]); + var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; + g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); + })(); +</script> diff --git a/www/piwik.php b/www/piwik.php new file mode 100644 index 0000000..9a60338 --- /dev/null +++ b/www/piwik.php @@ -0,0 +1,13 @@ +<script type="text/javascript"> + var _paq = _paq || []; + _paq.push(["trackPageView"]); + _paq.push(["enableLinkTracking"]); + + (function() { + var u=(("https:" == document.location.protocol) ? "https" : "http") + "://a.iamfabulous.de/"; + _paq.push(["setTrackerUrl", u+"piwik.php"]); + _paq.push(["setSiteId", "3"]); + var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; + g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); + })(); +</script><noscript><img src="https://a.iamfabulous.de/piwik.php?idsite=3&rec=1" style="border:0" alt="" /></noscript> diff --git a/www/puush.php b/www/puush.php index 6f754a3..58b4ee6 100644 --- a/www/puush.php +++ b/www/puush.php @@ -2,12 +2,19 @@ <head> <title>Random Youtube Video</title> <link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'> +<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /> +<link rel='stylesheet' type='text/css' href='style.css'/> </head> -<body> +<body vlnk='#5b5b5b' vlink='#000000' link='#000000' alink='#9a9696'> <center> -<h1>A random "puu.sh" file!</h1> <?php +include("header.php"); +include("piwik.php"); +?> +<h1>A random "puu.sh" file!</h1> +<br> +<? $count = 0; function get_image($count){ @@ -32,7 +39,7 @@ function get_image($count){ return $count; } else { $count = $count + 1; - if($count < 50){ + if($count < 100){ $count = get_image($count); } else { echo "We tried for " . $count . " times. Now is enough. <br><br>"; diff --git a/www/robots.txt b/www/robots.txt new file mode 100755 index 0000000..1f53798 --- /dev/null +++ b/www/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/www/style.css b/www/style.css new file mode 100644 index 0000000..f7fee2a --- /dev/null +++ b/www/style.css @@ -0,0 +1,30 @@ +body { +/* background: #ecece1;*/ + background: #f0f0f0; + background-image: url('./background2.png'); + background-position: 50% 50%; + margin-bottom: 40px; + overflow-x: hidden; +} + +#header { + position:; + top:0px; left:0px; right:0px; + background:; + text-align:center; + padding:10px; + width: 700px; + height: 20px; + margin: 0px auto; +} + +.small { +/* font-family: 'Ubuntu'; + color: black;*/ + font-size:100%; +} + +td { + text-align: center; +} + diff --git a/www/youtube.php b/www/youtube.php index 8282ba0..866ffea 100644 --- a/www/youtube.php +++ b/www/youtube.php @@ -21,13 +21,15 @@ if(!isset($_GET["id"])){ <body vlnk='#5b5b5b' vlink='#000000' link='#000000' alink='#9a9696'> <center> -<?php include("header.php"); ?> +<?php +$new_id = start($yt); +include("header.php"); +?> <h1>A random youtube video!</h1> <br> <iframe width="560" height="315" src="https://www.youtube.com/embed/<?php echo $videoID ?>" frameborder="0" allowfullscreen></iframe> <br><br> <?php -$new_id= start($yt); echo "<a href=\"/youtube?id=".$new_id."\">Get another one</a>"; ?> |
