Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
25458a7c350c7c0984f3805ab7ee058cd5eefb16
[simgrid.git] / doc / index.php
1 <?php
2
3 $domain=ereg_replace('[^\.]*\.(.*)$','\1',$_SERVER['HTTP_HOST']);
4 $group_name=ereg_replace('([^\.]*)\..*$','\1',$_SERVER['HTTP_HOST']);
5
6 echo '<?xml version="1.0" encoding="UTF-8"?>';
7 ?>
8 <!DOCTYPE html
9         PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
10         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
11
12 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en   ">
13
14   <head>
15         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
16         <title><?php echo $project_name; ?></title>
17         <script language="JavaScript" type="text/javascript">
18         <!--
19         function help_window(helpurl) {
20                 HelpWin = window.open( helpurl,'HelpWindow','scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400');
21         }
22         // -->
23                 </script>
24
25 <style type="text/css">
26         <!--
27         BODY {
28                 margin-top: 3;
29                 margin-left: 3;
30                 margin-right: 3;
31                 margin-bottom: 3;
32                 background: #5651a1;
33         }
34         ol,ul,p,body,td,tr,th,form { font-family: verdana,arial,helvetica,sans-serif; font-size:small;
35                 color: #333333; }
36
37         h1 { font-size: x-large; font-family: verdana,arial,helvetica,sans-serif; }
38         h2 { font-size: large; font-family: verdana,arial,helvetica,sans-serif; }
39         h3 { font-size: medium; font-family: verdana,arial,helvetica,sans-serif; }
40         h4 { font-size: small; font-family: verdana,arial,helvetica,sans-serif; }
41         h5 { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; }
42         h6 { font-size: xx-small; font-family: verdana,arial,helvetica,sans-serif; }
43
44         pre,tt { font-family: courier,sans-serif }
45
46         a:link { text-decoration:none }
47         a:visited { text-decoration:none }
48         a:active { text-decoration:none }
49         a:hover { text-decoration:underline; color:red }
50
51         .titlebar { color: black; text-decoration: none; font-weight: bold; }
52         a.tablink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
53         a.tablink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
54         a.tablink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
55         a.tabsellink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
56         a.tabsellink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
57         a.tabsellink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
58         -->
59 </style>
60
61 </head>
62
63 <body>
64
65 <table border="0" width="100%" cellspacing="0" cellpadding="0">
66
67         <tr>
68                 <td><a href="http://<?php echo $domain; ?>"><img src="http://<?php echo $domain; ?>/themes/inria/images/logo.png" border="0" alt="gforge INRIA" width="198" height="52" /></a></td>
69                 <td style="text-align: right; vertical-align: top;"><a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name; ?>"><img
70                   src="simgrid_logo_small2.png"
71                   style="width: 220px; height: 54px; text-decoration: underline;" border="0" alt="SimGrid"></a><br>
72                 </td>
73         </tr>
74 </table>
75
76 <table border="0" width="100%" cellspacing="0" cellpadding="0">
77
78         <tr>
79                 <td>&nbsp;</td>
80                 <td colspan="3">
81
82
83
84                 <!-- start tabs -->
85
86         <tr>
87                 <td align="left" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/topleft.png" height="9" width="9" alt="" /></td>
88                 <td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="30" height="1" alt="" /></td>
89                 <td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
90                 <td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="30" height="1" alt="" /></td>
91                 <td align="right" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/topright.png" height="9" width="9" alt="" /></td>
92         </tr>
93
94         <tr>
95
96                 <!-- Outer body row -->
97
98                 <td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="10" height="1" alt="" /></td>
99                 <td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3">
100
101                         <!-- Inner Tabs / Shell -->
102
103                         <table border="0" width="100%" cellspacing="0" cellpadding="0">
104                         <tr>
105                                 <td align="left" bgcolor="#ffffff" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/topleft-inner.png" height="9" width="9" alt="" /></td>
106                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
107                                 <td align="right" bgcolor="#ffffff" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/topright-inner.png" height="9" width="9" alt="" /></td>
108                         </tr>
109
110                         <tr>
111                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="10" height="1" alt="" /></td>
112                                 <td valign="top" width="99%" bgcolor="white">
113
114         <!-- whole page table -->
115 <table width="100%" cellpadding="5" cellspacing="0" border="0">
116 <tr><td width="65%" valign="top">
117 <?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
118 $contents = '';
119 while (!feof($handle)) {
120         $contents .= fread($handle, 8192);
121 }
122 $contents=str_replace("Welcome to", "Welcome to the", $contents);
123 fclose($handle);
124 echo $contents; } ?>
125
126 <br>
127 <br>
128 <center><table cellspacing="0" cellpadding="1" width="75%" border="0" bgcolor="#f5c5c5">
129 <tr><td>
130 <center>
131    Most informations (documentation, FAQ, articles, ...) on the SimGrid project can be found 
132   <b><a href='doc/'>here</a></b>.
133 </center>
134 </td></tr>
135 </table>
136 </center>
137 <br>
138
139 <?php if ($handle=fopen('http://'.$domain.'/export/projnews.php?group_name='.$group_name,'r')){
140 $contents = '';
141 while (!feof($handle)) {
142         $contents .= fread($handle, 8192);
143 }
144 fclose($handle);
145 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
146 echo $contents; } ?>
147
148 </td>
149
150 <td width="35%" valign="top">
151
152                 <table cellspacing="0" cellpadding="1" width="100%" border="0" bgcolor="#d5d5d7">
153                 <tr><td>
154                         <table cellspacing="0" cellpadding="2" width="100%" border="0" bgcolor="#eaecef">
155                                 <tr style="background-color:#d5d5d7" align="center">
156                                         <td colspan="2"><span class="titlebar">Project Summary</span></td>
157                                 </tr>
158                                 <tr align="left">
159                                         <td colspan="2">
160
161 <?php if($handle=fopen('http://'.$domain.'/export/projhtml.php?group_name='.$group_name,'r')){
162 $contents = '';
163 while (!feof($handle)) {
164         $contents .= fread($handle, 8192);
165 }
166 fclose($handle);
167 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
168 $contents=str_replace('src="/','src="http://'.$domain.'/',$contents);
169 echo $contents; } ?>
170
171                                         </td>
172                                 </tr>
173                         </table>
174                 </td></tr>
175                 </table><p>&nbsp;</p>
176 </td></tr></table>
177                         &nbsp;<p>
178                         <center>
179                                 Help: <a href="mailto:siteadmin-help@lists.gforge.inria.fr">siteadmin-help@lists.gforge.inria.fr</a> Webmaster: <a href="mailto:webmaster@gforge.inria.fr">webmaster@gforge.inria.fr</a>
180                         </center>
181                         <!-- end main body row -->
182
183
184                                 </td>
185                                 <td width="10" bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="2" height="1" alt="" /></td>
186                         </tr>
187                         <tr>
188                                 <td align="left" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/bottomleft-inner.png" height="11" width="11" alt="" /></td>
189                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
190                                 <td align="right" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/bottomright-inner.png" height="11" width="11" alt="" /></td>
191                         </tr>
192                         </table>
193
194                 <!-- end inner body row -->
195
196                 </td>
197                 <td width="10" bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="2" height="1" alt="" /></td>
198         </tr>
199         <tr>
200                 <td align="left" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/bottomleft.png" height="9" width="9" alt="" /></td>
201                 <td bgcolor="#E0E0E0" colspan="3"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
202                 <td align="right" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/inria/images/tabs/bottomright.png" height="9" width="9" alt="" /></td>
203         </tr>
204 </table>
205
206 <!-- PLEASE LEAVE "Powered By Gforge" on your site -->
207 <br />
208 <center>
209 <a href="http://gforge.org/"><img src="http://gforge.org/images/pow-gforge.png" alt="Powered By GForge Collaborative Development Environment" border="0" /></a>
210 </center>
211
212
213 </body>
214 </html>