- if ($ifond==0){
- $ifond=1;
- $couleur="white";
- }
- else{
- $ifond=0;
- $couleur="eeeeee";
- }
-
- $out .= "\n<tr style='background-color: $couleur'>";
- $dir=lang_dir($lang,'',' dir="rtl"');
- $out .= "<td style='width: 100%; border-bottom: 1px solid #cccccc;'><p $dir><span style='float: $spip_lang_right;'>$pourcent%</span>".traduire_nom_langue($lang)."</p></td>";
-
- $out .= "<td style='border-bottom: 1px solid #cccccc;'>";
- $out .= "\n<table cellpadding='0' cellspacing='0' border='0' width='".($taille+5)."'>";
- $out .= "\n<tr><td style='align:$spip_lang_right; background-color: #eeeeee; border: 1px solid #999999; white-space: nowrap;'>";
- if ($visites_abs > 0)
- $out .= "<img src='" . chemin_image('rien.gif') . "' width='$visites_abs' height='10' alt=' ' />";
- if ($visites>0)
- $out .= "<img src='" . chemin_image('rien.gif') . "' class='couleur_langue' style='border: 0px;' width='$visites' height='8' alt=' ' />";
- $out .= "</td></tr></table>\n";
-
- $out .= "</td>";
- $out .= "</tr>";
- $visites_abs += $visites;
+ if ($ifond == 0) {
+ $ifond = 1;
+ $couleur = "white";
+ } else {
+ $ifond = 0;
+ $couleur = "eeeeee";
+ }
+
+ $out .= "\n<tr style='background-color: $couleur'>";
+ $dir = lang_dir($lang, '', ' dir="rtl"');
+ $out .= "<td style='width: 100%; border-bottom: 1px solid #cccccc;'><p $dir><span style='float: $spip_lang_right;'>$pourcent%</span>" . traduire_nom_langue($lang) . "</p></td>";
+
+ $out .= "<td style='border-bottom: 1px solid #cccccc;'>";
+ $out .= "\n<table cellpadding='0' cellspacing='0' border='0' width='" . ($taille + 5) . "'>";
+ $out .= "\n<tr><td style='align:$spip_lang_right; background-color: #eeeeee; border: 1px solid #999999; white-space: nowrap;'>";
+ if ($visites_abs > 0) {
+ $out .= "<img src='" . chemin_image('rien.gif') . "' width='$visites_abs' height='10' alt=' ' />";
+ }
+ if ($visites > 0) {
+ $out .= "<img src='" . chemin_image('rien.gif') . "' class='couleur_langue' style='border: 0px;' width='$visites' height='8' alt=' ' />";
+ }
+ $out .= "</td></tr></table>\n";
+
+ $out .= "</td>";
+ $out .= "</tr>";
+ $visites_abs += $visites;