From 3ebf44b7ec594d6c5b2a805a88f0559832e54543 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sat, 27 Jan 2007 10:42:18 +0000 Subject: [PATCH] aggiunto carousel per i banner e riattivato il preload delle immagini --- web/index.php | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/web/index.php b/web/index.php index 02e4df5..50f7f9f 100644 --- a/web/index.php +++ b/web/index.php @@ -112,6 +112,20 @@ function main() $tables .= ''; } + $altout_propag = array( array ( 'url' => 'http://www.alternativeoutput.it', + 'content' => '' ), + array ( 'url' => 'http://virtualsky.alternativeoutput.it', + 'content' => '' ) + ); + + // seed with microseconds since last "whole" second + srand ((double) microtime() * 1000000); + $randval = rand(0,count($altout_propag)-1); + $altout_carousel = sprintf('%s', + $altout_propag[$randval]['url'], + $altout_propag[$randval]['content']); + + $brisk_header_form = '