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

5.0 RC1: fix md5 link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 02 14:20:47 2014 +0000 (2014-05-02)
parents e06721d4f040
children
line source
1 <?php
3 $total = "15";
4 $folder = "/images/slideshow";
5 $start = "1";
6 $random = mt_rand($start, $total);
7 $name = $random . ".png";
9 echo "<img src=\"$folder/$name\" alt=\"SliTaz screenshot #$random\" />";
11 ?>