
12.12.2009, 06:02
|
|
Познавший АНТИЧАТ
Регистрация: 27.08.2007
Сообщений: 1,107
С нами:
9846041
Репутация:
1177
|
|
PHP код:
<?php
$rand = rand(1, 3);
$link[1] = "http://site1.com";
$link[2] = "http://site2.net";
$link[3] = "http://site3.org";
?>
<script>
function dorefresh()
{
document.location="<?php echo $link[$rand] ?>";
}
</script>
<body onload='setTimeout(dorefresh,300)'>
blablabla
</body>
Сделал)
|
|
|