http://laska-samp.biz/articles/html/scripts/rtr2
°•°•° Проект SAMP - Romashka [0.3e] ™18+™ °•°•° :: Теория :: HTML, css, script, MySQL :: script

Ротатор 2

<?php $selector=rand(1,100); if($selector>75){ ?>
<img width="201" height="118" alt="текст" src="/images/kartinka/png_1.jpg">
<?php } else if($selector>50){ ?>
<img width="201" height="118" alt="текст" src="/images/kartinka/png_2.jpg">
<?php } else if($selector>25){ ?>
<img width="201" height="118" alt="текст" src="/images/kartinka/png_3.jpg">
<?php } else { ?>
<img width="201" height="118" alt="текст" src="/images/kartinka/png_4.jpg">
<?php } ?>


Опубликовано 25 February 2016