$sql = $sql.")"; //echo $sql; $res = mysql_query($sql); while ($sql_liens=mysql_fetch_array($res)) { $aut1 = $sql_liens[auteur1]; $aut2 = $sql_liens[auteur2]; if ($aut1 ==$aut2) {} else {$liens[$aut1]=$aut2;} } ecrire_json($liste_auteur_unique,$legende,$aut_occ,$liens,$cluster_name); ?> <script language="JavaScript" type="text/javascript"> <!-- // ----------------------------------------------------------------------------- // Globals // Major version of Flash required var requiredMajorVersion = 9; // Minor version of Flash required var requiredMinorVersion = 0; // Minor version of Flash required var requiredRevision = 124; // -----------------------------------------------------------------------------
.shape("square") .fillStyle(function(d) d.fix ? "brown" : colors(d.group)) .strokeStyle(function() this.fillStyle().darker()) .lineWidth(1) .title(function(d) d.nodeName) .event("mousedown", pv.Behavior.drag()) .event("drag", force) .event("dblclick", function (d) window.location="source.php?id_source="+d.ourID+"&periode='.arrange_periode($my_period).'&nav=soc") .anchor("bottom").add(pv.Label).text(function(d) d.nodeName); vis.render(); </script>'; $tmpfile = ecrire_json($liste_auteur_unique,$legende,$aut_occ,$liens_from,$liens_to,$cluster_name,0); //$tmpfile="TMP/TMP_9v8A67.txt"; //echo $tmpfile; //$tmpfile='json_data.txt'; //affichage de l'appli flex echo "\n<table width=100%><tr valign=top>"; echo "<td width=2.5%></td><td width=95%>"; echo '<table class=tableitems width=100% cellspacing=0 cellpadding=1 style="font-variant:small-caps;"><tr>'; echo "<td align=left width=10%>"; echo "</td>"; echo "<td align=middle width=80%>"; echo "<i><b>"; if ($my_period!=-1) echo "PÉRIODE ACTUELLE"; else echo "AGRÉGATION SUR TOUTES LES PÉRIODES";