Fixed some mobile and colorbugs

This commit is contained in:
Kasper Rynning-Tønnesen
2015-01-13 15:40:20 +01:00
parent 04dc0c9204
commit bd22a1168c
3 changed files with 26 additions and 20 deletions

View File

@@ -1,3 +1,16 @@
<?php
$bg = array('bg1.jpg', 'bg2.jpg', 'bg3.jpg', 'bg4.jpg', 'bg5.jpg' ); // array of filenames
$i = rand(0, count($bg)-1); // generate random number size of the array
$selectedBg = "$bg[$i]"; // set variable equal to which random filename was chosen
?>
<style type="text/css">
<!--
.bgimage{
background: url(./static/<?php echo $selectedBg; ?>) no-repeat;
}
-->
</style>
<title>Zöff</title>
<meta name="author" content="Nicolas 'Nixo' Almagro Tonne &amp; Kasper 'KasperRT' Rynning-Tønnesen">
<meta name="description" content="The shared YouTube radio.">