aboutsummaryrefslogtreecommitdiff
path: root/images/isopod.php
diff options
context:
space:
mode:
Diffstat (limited to 'images/isopod.php')
-rw-r--r--images/isopod.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/images/isopod.php b/images/isopod.php
new file mode 100644
index 0000000..db01d31
--- /dev/null
+++ b/images/isopod.php
@@ -0,0 +1,15 @@
+<?php
+$size = '';
+if($_GET['small'] == 'y') { $size='_small'; }
+$isopod = 'isopod_with_aviators';
+if(date('m') == 10) {
+ $isopod = 'isopumpkin';
+} else if(date('m-d') == "09-13") {
+ $isopod = 'birthday_isopod';
+}
+$name = "$isopod$size.png";
+$fp = fopen($name, 'rb');
+header("Content-Type: image/png");
+header("Content-Length: " . filesize($name));
+fpassthru($fp);
+die; \ No newline at end of file