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

Typos in fr/sponsor/index.php
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 22 13:41:57 2015 +0200 (2015-04-22)
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 ?>