<html> <%@ page import="result.Statistics" %> <%@ page import="java.net.*" %> <%@ page import="java.io.*" %> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>BIOCASE </title> <link rel="StyleSheet" type="text/css" href="style.css"> <script src="lib.js"></script> </head> <body> <TABLE BORDER=0 CELLPADDING=0 width = 100% height= "100%"> <TR><TD COLSPAN=2> <jsp:include page="header.jsp"> <jsp:param name="Header" value="1" /> </jsp:include> <TR height= "100%" VALIGN = "top"><TD WIDTH=13% CLASS = "onglet" > <TABLE ALIGN = "top" CELLSPACING =4 CELLPADDING = 4 BORDER=0 TD CLASS = "background_normal"> <TR><TD CLASS = "background_normal"> <FONT CLASS = "title_font_logo">A Biological Collection Access Service for Europe</FONT><BR> <TR><TD CLASS = "onglet" ALign = "right" onclick=" window.location.replace('collections2.jsp?Section=0')">Basic search <TR><TD CLASS = "onglet" ALign = "right" onclick=" window.location.replace('collections2.jsp?Section=1')">Advanced search <TR><TD CLASS = "onglet" ALign = "right" onclick="location.replace('Browsing.jsp?Mode=List&Section=2')">Browse <TR><TD CLASS = "onglet_selected" ALign = "right" onclick="location.replace('Statistics.jsp?Section=3')">Statistic </TABLE> <td VALIGN= "TOP"> <HR> <BR> <P><FONT CLASS= "title_font"> Statistics of collection metadata database</FONT></P> <P> <CENTER> <% String donnees; try { URL monURL = new URL("http://baron/cgi-bin/angel/graphs/carte_map2?1"); String res = ""; URLConnection yc = monURL.openConnection(); BufferedReader in = new BufferedReader( new InputStreamReader( yc.getInputStream())); String inputLine; int idx = 0; while ((inputLine = in.readLine()) != null) res += inputLine; if (res != null){ idx = res.indexOf("<MAP"); if (idx != -1) res = res.substring(idx); idx = res.indexOf("</BODY>"); if (idx != -1) res = res.substring(0, idx); } out.println(res); in.close(); } catch (Exception e) { e.printStackTrace(); } %> <BR> <BR> <FONT CLASS = "title_font_small">Map of general data distribution</FONT> <BR> <BR> <INPUT TYPE = button VALUE = "Back to the list" CLASS = "button2" onClick= "(location.replace('Statistics.jsp?Section=3'))"> </CENTER> </P> </table> </body> </html>