From e387312b5d7bbce0ef07d13e71d986680eb390b2 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 22 Jun 2003 14:43:09 +0000 Subject: [PATCH] Nouvelle mise en forme des boites --- htdocs/boxes.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/htdocs/boxes.php b/htdocs/boxes.php index 5b365ad94fd..e914f12a78a 100644 --- a/htdocs/boxes.php +++ b/htdocs/boxes.php @@ -29,31 +29,31 @@ class infoBox $bcx[0] = 'class="box_pair"'; $bcx[1] = 'class="box_impair"'; - print ''; + print '
'; print '"; for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $var=!$var; - if (strlen($contents[$i]['url']) > 0) + print ''; + + for ($j=0, $m=sizeof($contents[$i]); $j<$m; $j++) { - print '"; + if (strlen($contents[$i][$j]['url']) > 0) + { + print '"; + } + else + { + print ""; + } } - else - { - print ""; - } - + print ''; } print "
'.$head[0]['text']."
'; - print $contents[$i]['text'] . "
'; + print $contents[$i][$j]['text'] . "".$contents[$i][$j]['text'] . "
".$contents[$i]['text'] . "
"; - } - - } - - ?>