summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/pomf.css8
-rw-r--r--static/grill.php17
2 files changed, 21 insertions, 4 deletions
diff --git a/css/pomf.css b/css/pomf.css
index 676845e..75e7130 100644
--- a/css/pomf.css
+++ b/css/pomf.css
@@ -34,11 +34,11 @@
* PAGE LAYOUT
*/
body {
- background-attachment: fixed;
+ background-attachment: fixed, fixed;
background-color: #F7F7F7;
- background-image: url('img/bg.png');
- background-position: top left;
- background-repeat: repeat;
+ background-image: url('grill.php'), url('img/bg.png');
+ background-position: 85% 100%, top left;
+ background-repeat: no-repeat, repeat;
color: #333;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
diff --git a/static/grill.php b/static/grill.php
new file mode 100644
index 0000000..5984b12
--- /dev/null
+++ b/static/grill.php
@@ -0,0 +1,17 @@
+<?php
+
+$images = array(
+ 'img/2.png',
+ 'img/3.png',
+ 'img/4.png',
+ 'img/5.png',
+ 'img/6.png',
+ 'img/7.png',
+ 'img/8.png',
+ 'img/9.png',
+ 'img/10.png',
+);
+
+if (headers_sent() === false) {
+ header('Location: '.$images[array_rand($images)], true, 303);
+}