website view lib/random-image.php @ rev 975

Add COSI logo and desc as well as better ADS and DDG logo
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 19 13:26:15 2012 +0100 (2012-03-19)
parents 3b9816842566
children e06721d4f040
line source
1 <?php
3 $total = "8";
4 $folder = "images/slideshow";
5 $start = "1";
6 $random = mt_rand($start, $total);
7 $name = $random . ".png";
9 echo "<img src=\"$folder/$name\" alt=\"$name\" />";
11 ?>