? php
echo '<font face="Verdana, Arial, Helvetica, sans-serif" size="2">';
$file_type = ".jpg";
$folder_gambar = "images";
$nilai_pertama = "1";
$jumlah_gambar = "160";
$acak = mt_rand($nilai_pertama, $jumlah_gambar);
$image_name = $acak . $file_type;
echo ("<div align='center'>
<b>Gambar ditampilkan secara acak</b><br><br>
<a href='http://lp2maray.co.id/gbshow.php?id=$acak'>
<img src='$folder_gambar/$image_name' border='0' title='Buku-buku LP2M ARAY' />
</div>");
?
No comments:
Post a Comment