function display_term_table($l,$b){ echo '<table class=commentitems rules=cols border=1>'; echo '<tr align=left valign=top style="background-color:'.$b.';">'; usort($l,"strcasecmpcam"); display_columns(2,$l,"yes"); echo "</tr>"; echo "</table>"; }
$info=$my_letters[$key]; echo "<a href=cluster.php?id_cluster=".$key."&periode=".$my_period.">".$info["lettre"]."</a>"; if ($info["nbfathers"]>0) echo "↑"; if ($info["nbsons"]>0) echo "↓"; echo "</td><td width=".(100-$width_id_list)."%>"; $clu=$my_clusters[$key]; $termes=array(); $termes_id=array(); foreach ($clu as $c) $termes[]=array($dico_termes[$c],$c); usort($termes,"strcasecmpnorm"); if ($my_period!=-1) $href_period="&periode=".$my_period; else $href_period=""; $termes_formattes=array(); foreach($termes as $terme) if (!in_array($terme[1],$common_to_all_clusters)) $termes_formattes[]="<a href=chart.php?id_concept=".$terme[1].$href_period.">".$terme[0]."</a>"; // on fabrique les colonnes a present echo "<table class=tableitems width=100%><tr valign=top>"; display_columns(4,$termes_formattes); echo "</tr></table>"; echo "</td></tr>"; } echo "</table>"; echo "</td><td width=2.5%></td></tr></table>"; include("footer.php"); ?>
foreach ($clusters_clean as $value) { $premierelettre=mb_strtoupper(mb_substr(strip_tags($value),0,1,"utf-8"),"utf-8"); if ($premierelettre=="É") $premierelettre="E"; if ($premierelettre=="Ê") $premierelettre="E"; if($premierelettre!=$initiale){ $initiale=$premierelettre; $clean_liste_termes[]=""; $clean_liste_termes[]='<b class=listtitle>'.$initiale.'</b>'; $clean_liste_termes[]=""; } $clean_liste_termes[]=$value; } echo '<p><table width=100% class=tableitems>'; echo '<tr valign=top><td width=2.5%></td>'; display_columns(3,$clean_liste_termes); echo '<td width=2.5%></td></tr></table><p>'; echo '<table width=100% class=tableitems><tr valign=top><td width=2.5%></td><td width=97.5%><hr width=95% align=left><div style="font-variant:small-caps;">soit '.count($clusters_clean).' dénominations uniques "générique - spécifique" de champs thématiques sur un total de '.count($liste_termes_brute).' champs thématiques uniques pour cette période.</div></td><td width=2.5%></td></tr>'; echo "</table>"; //on ferme l'acces à la base de donnees mysql_close(); include("footer.php"); ?> </body> </html>
} echo "</td>"; echo "<td align=left width=57.5%>"; echo "<small>"; $liste_concepts_voisins_temp=array(); for( $i = 0 ; $i < count($concepts_voisins_string) ; $i++ ) { $liste_concepts_voisins_temp[]='<a href="chart.php?id_concept='.$concepts_voisins[$i].'&periode='.arrange_periode($periode).'">'.$concepts_voisins_string[$i].'</a>'; } echo '<table width=100% class=tableitems>'; echo '<tr valign=top>';//<td width='.$widthcolumn.'%>'; usort($liste_concepts_voisins_temp,"strcasecmpcam"); display_columns(3,$liste_concepts_voisins_temp); echo "</tr></table>"; echo "</small>"; echo "</td>"; echo("</tr>"); echo "</table>"; } else { //SI NON, ON DIT QUE CE TERME N'EST DANS AUCUN AGREGAT. echo ("<div class=subbanner><b>nb: ce terme n'apparaît dans aucun champ thématique à aucune période</b></div>"); }