function switchOver(cellule,imagefond) { if (document.all) { cellule.style.background = \"url(\"+imagefond+\") repeat bottom left\"; } else cellule.style.background = \"url(\"+imagefond+\") repeat bottom left\"; } \n"; $i=0; $j=0; $hundred_cases_table .= "\n"; while ($j < 10) { if ($j==0 or $j==1 or $j==7 or $j==8) $color="#ffffff"; else $color="#000000"; $hundred_cases_table .= "\n\t"; $j++; } $hundred_cases_table .= "\n"; $i = 1; while ($i < 10) { $j=0; $hundred_cases_table .= "\n"; while ($j < 10) { if ($j==0 or $j==1 or $j==7 or $j==8) $color="#ffffff"; else $color="#000000"; $hundred_cases_table .= "\n\t"; $j++; } $i++; $hundred_cases_table .= "\n"; // La valeur affiche est $i avant l'incrémentation (post-incrémentation) } $hundred_cases_table .= "\n
".$j.$i."0
!!".$j.$i."0!!
!!".$j.$i."0!!
".$j.$i."0
"; $rqt = " select indexint_id, indexint_comment, indexint_name from indexint where indexint_name REGEXP \"^..0$\" "; $res = pmb_mysql_query($rqt, $dbh); while($indexint=pmb_mysql_fetch_object($res)) { $indexint->indexint_comment = pmb_preg_replace('/\r/', ' ', $indexint->indexint_comment); $indexint->indexint_comment = pmb_preg_replace('/\n/', ' ', $indexint->indexint_comment); $hundred_cases_table = pmb_preg_replace("/!!".$indexint->indexint_name."!!/m", htmlentities($indexint->indexint_comment,ENT_QUOTES,$charset), $hundred_cases_table); $hundred_cases_table = pmb_preg_replace("/!!id".$indexint->indexint_name."!!/", $indexint->indexint_id, $hundred_cases_table); } print pmb_bidi($hundred_cases_table); print "
"; print $decimal_see_footer;