From: Matteo Nastasi Date: Mon, 26 Aug 2013 06:39:54 +0000 (+0200) Subject: added blog link X-Git-Tag: tournaments-descr-refact~15 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=7350b9bf2a74585430d2ff814bb1d062053dabca added blog link --- diff --git a/web/index.php b/web/index.php index 86b2354..cf1abd8 100644 --- a/web/index.php +++ b/web/index.php @@ -235,8 +235,14 @@ function poll_dom() { function carousel_top() { - $rn = rand(1, 3); - return (sprintf('', $rn)); + $what = rand(1,2); + if ($what == 1) { + $rn = rand(1, 3); + return (sprintf('il negozio virtuale di Brisk', $rn)); + } + else { + return (sprintf('il nuovo blog di Brisk')); + } } function index_main(&$room, $transp_type, &$header_out, $addr, $get, $post, $cookie)