Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Still bug fixes (broken links for website)
[simgrid.git] / website / download.php.in
1 <?php 
2 $domain="gforge.inria.fr";
3 $group_name="simgrid";
4 ?>
5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
7 <head>
8         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9         <link rel="stylesheet" type="text/css" href="stylesheets/simgridsite.css" />
10         <link rel="stylesheet" type="text/css" href="stylesheets/simgridsitetabs.css" />
11         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
12         <title>SimGrid - Scalable simulation of distributed systems, ranging from grids to peer-to-peer systems</title>
13         <meta name="keywords" content="Scalable, simulation, distributed systems, grid, peer-to-peer" /> 
14
15 </head>
16
17 <body>
18 <div id="header" align="center">
19 <p>
20 <img src="logos/simgrid_logo.png"  alt="SimGrid - Scalable simulation of distributed systems, ranging from grids to peer-to-peer systems" />
21 </p>
22 <h2 class="header"><i class="subtitle">Scalable simulation of distributed systems</i></h2>
23 </div>
24 <p/>
25 <br/> 
26  <div id="navrow1" class="tabs" align="center">
27     <ul class="tablist">
28       <li><a href="index.php"><span>Home</span></a></li>
29                         <li><a href="download.php"><span>Download</span></a></li>
30       <li><a href="documentation.php"><span>Online documentation</span></a></li>
31       <li><a href="publis.html"><span>Publications</span></a></li>
32       <li><a href="people.html"><span>People</span></a></li>
33       <li><a href="history.html"><span>History</span></a></li>
34       <li><a href="contrib.html"><span>Contrib</span></a></li>
35       <li><a href="faq.html"><span>FAQ&#160;Page</span></a></li>
36
37       <li><a href="http://gforge.inria.fr/projects/simgrid"><span>SimGrid&#160;Forge</span></a></li>
38     </ul>
39   </div>
40 <table width="80%" cellpadding="5" cellspacing="0" border="0" align="center">
41 <td>
42 <p>
43 Since version 3.6.1, windows installer are provided for amd64 or x86. Linux and Mac users should retrieve the tar.gz files. See release documentation for install informations.
44 </p>
45 <?php if ($handle=fopen('https://gforge.inria.fr/frs/?group_id=12','r')){
46 // Reading the file
47 $contents = '';
48 $contents = stream_get_contents($handle);
49
50 fclose($handle);
51
52 // I'm not a php expert at all, so this is an ugly code based on the only method I know : explode !
53 $tempArray = array();
54 // There is a tag around releases : fieldset 
55 $tempArray  = explode('<fieldset>', $contents);
56 $secondTempArray = array();
57 $secondTempArray  = explode('</fieldset>', $tempArray[1]);
58
59 $toPrint = '';
60 $toPrint .= $secondTempArray[0];
61
62
63 //Replacing bad hrefs ... I don't know why they actually change from the original content once deployed and invoked from ... 
64 $toPrint=str_replace('href="shownotes','href="https://gforge.inria.fr/frs/shownotes',$toPrint);
65 echo $toPrint; } ?>
66 </td>
67 </table>
68
69 <div id="footer" align="center">
70 <p>
71 <ul class="footerlogos">                   
72         <li><a href="http://www.inria.fr/"><img align="center" src="logos/INRIA.png" alt="INRIA"/></a>  
73         </li>
74         <li><a href="http://www.cnrs.fr/"><img align="center" src="logos/cnrs.png" alt="CNRS"/></a>     
75         </li>   
76         <li><a href="http://www.uhp-nancy.fr/"><img align="center" src="logos/logo_uhp.png" alt="Université Nancy  Henri Poincarré"/></a>     
77         </li>
78         <li><a href="http://manoa.hawaii.edu/"><img align="center" src="logos/UnivHawaiiManoa.png" alt="Univeristy of Hawaii Manoa"/></a>       
79         </li>
80         <li><a href="http://www.agence-nationale-recherche.fr/"><img align="center" src="logos/ANR.png" alt="ANR"/></a> 
81         </li>
82 </ul>   
83 </p>
84 </div>
85 </body>
86 </html>