Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now with the good Nancy university
[simgrid.git] / website / documentation.php.in
1 <?php
2
3
4 function list_files($dir){
5          $arrayDoc = array();
6         $hidden = ".";
7         if (is_dir($dir)) {
8                 if ($dh = opendir($dir)) {
9                         echo "<ul>\n";
10                         while (($file = readdir($dh)) !== false) {
11                                 if (is_dir($file) && preg_match("/^[0-9]/", $file)){
12                                              $arrayDoc[] = $file;
13                                 }                               
14                         }
15                         closedir($dh);                       
16                 }
17         }
18         else {
19                 echo "No version now.\n";
20         }
21     // Warning : won't work with version numbers upper than 9 !
22     sort($arrayDoc, SORT_STRING);
23     for($i=sizeof($arrayDoc);$i>=0;$i--) 
24     { if ($arrayDoc[$i] != "")
25              {echo "<li><a href=\"" . $dir . "/" . $arrayDoc[$i] . "/doc/\"> Simgrid version " . $arrayDoc[$i] . "</a>.</li>";}
26
27     } 
28          echo "</ul>";
29 }
30
31 ?>
32
33 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
34 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
35 <head>
36         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
37         <link rel="stylesheet" type="text/css" href="stylesheets/simgridsite.css" />
38         <link rel="stylesheet" type="text/css" href="stylesheets/simgridsitetabs.css" />
39         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
40         <title>SimGrid - Online documentation</title>
41         <meta name="keywords" content="Scalable, simulation, distributed systems, grid, peer-to-peer" /> 
42
43 </head>
44
45 <body>
46 <div id="header" align="center">
47 <p>
48 <img src="logos/simgrid_logo.png"  alt="SimGrid - Scalable simulation of distributed systems, ranging from grids to peer-to-peer systems" />
49 </p>
50 <h2 class="header"><i class="subtitle">Scalable simulation of distributed systems</i></h2>
51 </div>
52 <p/>
53 <br/> 
54  <div id="navrow1" class="tabs" align="center">
55     <ul class="tablist">
56       <li><a href="index.php"><span>Home</span></a></li>
57                         <li><a href="download.php"><span>Download</span></a></li>
58       <li><a href="documentation.php"><span>Online documentation</span></a></li>
59       <li><a href="publis.html"><span>Publications</span></a></li>
60       <li><a href="people.html"><span>People</span></a></li>
61       <li><a href="history.html"><span>History</span></a></li>
62       <li><a href="contrib.html"><span>Contrib</span></a></li>
63       <li><a href="faq.html"><span>FAQ&#160;Page</span></a></li>
64
65       <li><a href="http://gforge.inria.fr/projects/simgrid"><span>SimGrid&#160;Forge</span></a></li>
66     </ul>
67   </div>
68 <table width="80%" cellpadding="5" cellspacing="0" border="0" align="center">
69
70 <tr><td width="75%" valign="top">
71 The documentation for SimGrid is maintained for the latest versions. It contains informations on how to use SimGrid, some tutorial, and its inner component. Here is the list of available documentation version:
72 <?php list_files("."); ?>
73 </tr>
74 </table>
75 <div id="footer" align="center">
76 <p>
77 <ul class="footerlogos">                   
78         <li><a href="http://www.inria.fr/"><img align="center" src="logos/INRIA.png" alt="INRIA"/></a>  
79         </li>
80         <li><a href="http://www.cnrs.fr/"><img align="center" src="logos/cnrs.png" alt="CNRS"/></a>     
81         </li>   
82         <li><a href="http://www.uhp-nancy.fr/"><img align="center" src="logos/logo_uhp.png" alt="Université Nancy  Henri Poincarré"/></a>     
83         </li>
84         <li><a href="http://manoa.hawaii.edu/"><img align="center" src="logos/UnivHawaiiManoa.png" alt="Univeristy of Hawaii Manoa"/></a>       
85         </li>
86         <li><a href="http://www.agence-nationale-recherche.fr/"><img align="center" src="logos/ANR.png" alt="ANR"/></a> 
87         </li>
88 </ul>   
89 </p>
90 </div>
91 </body>
92 </html>