Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $h = date('H');
- ?>
- <!doctype html>
- <html>
- <head>
- <title>13254</title>
- <style>
- body{
- background: url(imgphp/<?php echo floor($h / 6); ?>.jpg);
- background-size: cover;
- }
- </style>
- </head>
- <body>
- <h1> <?php echo floor($h/6);?> </h1>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement