From d6997febbdf6d424fcd0702e3324588387dc2cd9 Mon Sep 17 00:00:00 2001 From: moehm Date: Fri, 30 May 2014 11:04:28 +0200 Subject: rewrite --- .gitignore | 1 + www/.index.php.swp | Bin 12288 -> 0 bytes www/403.php | 8 -- www/404.jpg | Bin 54165 -> 0 bytes www/about.php | 56 --------- www/background.png | Bin 154 -> 0 bytes www/background2.png | Bin 156 -> 0 bytes www/dead_link.png | Bin 51119 -> 0 bytes www/error.php | 50 -------- www/func.php | 39 ++++++ www/header.php | 30 ----- www/include.php | 6 - www/index.php | 80 +++++++++---- www/loli.jpg | Bin 123865 -> 0 bytes www/loli.png | Bin 165204 -> 0 bytes www/loli_middle.jpg | Bin 109651 -> 0 bytes www/loli_small.jpg | Bin 102762 -> 0 bytes www/lolrndm.php | 45 ------- www/piwik.js | 13 -- www/piwik.php | 13 -- www/print_index.php | 62 ---------- www/puush.php | 35 ------ www/static/ajax-loader.gif | Bin 0 -> 673 bytes www/static/alegreya_sans_sc.woff | Bin 0 -> 20792 bytes www/static/content.css | 131 +++++++++++++++++++++ www/static/footer.php | 10 ++ www/static/header.html | 29 +++++ www/static/index.css | 4 + www/static/noscript.css | 25 ++++ www/static/noscript.html | 9 ++ www/static/piwik.html | 14 +++ www/static/style.css | 105 +++++++++++++++++ www/style.css | 30 ----- www/youtube.php | 44 ++----- .../SubscriptionEntryDataSample_channelV2.xml | 33 ------ 35 files changed, 430 insertions(+), 442 deletions(-) delete mode 100644 www/.index.php.swp delete mode 100644 www/403.php delete mode 100644 www/404.jpg delete mode 100644 www/about.php delete mode 100644 www/background.png delete mode 100644 www/background2.png delete mode 100755 www/dead_link.png delete mode 100644 www/error.php create mode 100644 www/func.php delete mode 100644 www/header.php delete mode 100644 www/include.php delete mode 100644 www/loli.jpg delete mode 100644 www/loli.png delete mode 100644 www/loli_middle.jpg delete mode 100644 www/loli_small.jpg delete mode 100755 www/lolrndm.php delete mode 100644 www/piwik.js delete mode 100644 www/piwik.php delete mode 100644 www/print_index.php delete mode 100644 www/puush.php create mode 100644 www/static/ajax-loader.gif create mode 100755 www/static/alegreya_sans_sc.woff create mode 100644 www/static/content.css create mode 100755 www/static/footer.php create mode 100755 www/static/header.html create mode 100644 www/static/index.css create mode 100644 www/static/noscript.css create mode 100644 www/static/noscript.html create mode 100644 www/static/piwik.html create mode 100755 www/static/style.css delete mode 100644 www/style.css delete mode 100644 zend/tests/Zend/Gdata/YouTube/_files/SubscriptionEntryDataSample_channelV2.xml diff --git a/.gitignore b/.gitignore index 0761975..31eb03e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.db *.sqlite tmp/ +old/ diff --git a/www/.index.php.swp b/www/.index.php.swp deleted file mode 100644 index 61c46e1..0000000 Binary files a/www/.index.php.swp and /dev/null differ diff --git a/www/403.php b/www/403.php deleted file mode 100644 index 4b354b8..0000000 --- a/www/403.php +++ /dev/null @@ -1,8 +0,0 @@ - -
-Facebook steals your data and violates your privacy.
-Waah!~ |
-
![]() |
-
| - |
|
- - |
-
| I'm just a random dude who thinks this is funny. | -
| You can always contact me using mail@iamfabulous.de. | -
| Let me know what you think! - | -
".$message."
"; -?> -Try again - diff --git a/www/func.php b/www/func.php new file mode 100644 index 0000000..9d6ebac --- /dev/null +++ b/www/func.php @@ -0,0 +1,39 @@ +title[0]; + $viewCount = $xmldata->ytstatistics["viewCount"]; + $author = $xmldata->author->name[0]; + $desc = $xmldata->mediagroup->mediadescription[0]; + $date = $xmldata->published[0]; + $rate = $xmldata->gdrating["average"]; + + $res["title"] = $title; + $res["viewCount"] = $viewCount; + $res["author"] = $author; + $res["desc"] = $desc; + $res["date"] = $date; + $res["rate"] = $rate; + + return $res; +} + +function get_yt_title($id){ + $data = file_get_contents("https://gdata.youtube.com/feeds/api/videos/".$id.""); + $xmldata = simplexml_load_string($data); + $title = $xmldata->title[0]; + return $title; +} diff --git a/www/header.php b/www/header.php deleted file mode 100644 index dff4355..0000000 --- a/www/header.php +++ /dev/null @@ -1,30 +0,0 @@ -| Home | -| | - -Youtube"; -} else { - if(isset($videoID)){ - echo "Youtube | "; - } else { - echo "Youtube | "; - } -} -?> -| | -Puush | -| | -About | -
|
- - |
-
One moment please.
+
+ This doesn't look like the page you requested.
-- -
-Complaints oder suggestions for new flash files at mail@iamfabulous.de.
- -
-Welcome!- ?> - - | |||
| -On this website, you can get a random - | |||
| - | |||
| - | |||
-
| |||
| - | |||
| -completely free and as often as you like. - |
We tried for " . $count . " times.
- -Download this video! | Blocked in your country? Try this!
diff --git a/zend/tests/Zend/Gdata/YouTube/_files/SubscriptionEntryDataSample_channelV2.xml b/zend/tests/Zend/Gdata/YouTube/_files/SubscriptionEntryDataSample_channelV2.xml deleted file mode 100644 index 4845693..0000000 --- a/zend/tests/Zend/Gdata/YouTube/_files/SubscriptionEntryDataSample_channelV2.xml +++ /dev/null @@ -1,33 +0,0 @@ - -