Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
1763ca7f5593aa15f0005960839aa615f0136abb
[simgrid.git] / website / index.php.in
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 <link href="doc/doxygen.css" rel="stylesheet" type="text/css">
14 <link href="doc/tabs.css" rel="stylesheet" type="text/css">
15
16   <head>
17         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
18         <title>SimGrid - Scalable simulation of distributed systems, ranging from grids to peer-to-peer systems</title>
19         <meta name="keywords" content="Scalable, simulation, distributed systems, grid, peer-to-peer" /> 
20         <script language="JavaScript" type="text/javascript">
21         <!--
22         function help_window(helpurl) {
23                 HelpWin = window.open( helpurl,'HelpWindow','scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400');
24         }
25         // -->
26                 </script>
27
28 <style type="text/css">
29         <!--
30         BODY {
31                 margin-top: 3;
32                 margin-left: 3;
33                 margin-right: 3;
34                 margin-bottom: 3;
35                 background: #5651a1;
36         }
37         ol,ul,p,body,td,tr,th,form { font-family: verdana,arial,helvetica,sans-serif; font-size:small;
38                 color: #333333; }
39
40         h1 { font-size: x-large; font-family: verdana,arial,helvetica,sans-serif; }
41         h2 { font-size: large; font-family: verdana,arial,helvetica,sans-serif; }
42         h3 { font-size: medium; font-family: verdana,arial,helvetica,sans-serif; }
43         h4 { font-size: small; font-family: verdana,arial,helvetica,sans-serif; }
44         h5 { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; }
45         h6 { font-size: xx-small; font-family: verdana,arial,helvetica,sans-serif; }
46
47         pre,tt { font-family: courier,sans-serif }
48
49         a:link { text-decoration:none }
50         a:visited { text-decoration:none }
51         a:active { text-decoration:none }
52         a:hover { text-decoration:underline; color:red }
53
54         .titlebar { color: black; text-decoration: none; font-weight: bold; }
55         a.tablink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
56         a.tablink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
57         a.tablink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
58         a.tabsellink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
59         a.tabsellink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
60         a.tabsellink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
61         -->
62 </style>
63
64 </head>
65
66 <body>
67 <table border="0" width="100%" cellspacing="0" cellpadding="0">
68
69         <tr>
70         <td style="text-align: left; vertical-align: top;"><a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name; ?>"><img
71           src="simgrid_logo_small.png"
72           style="text-decoration: underline;" border="0" alt="SimGrid">
73           <?php if (date('m') == '04'  && date('d') == '01')  {echo '<img style="text-decoration: underline;" border="0" alt="SimGrid" src="fish.gif">';}?>
74           </a><br>
75         </td>
76          <td style="text-align: left; vertical-align: top;">
77         </td>
78                 <td style="text-align: right; vertical-align: top;"><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>
79         </tr>
80 </table>
81 ______ONGLETS______
82 <table border="0" width="100%" cellspacing="0" cellpadding="0">
83
84         <tr>
85                 <td>&nbsp;</td>
86                 <td colspan="3">
87
88
89                 <!-- start tabs -->
90
91         <tr>
92                 <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>
93                 <td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="30" height="1" alt="" /></td>
94                 <td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
95                 <td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="30" height="1" alt="" /></td>
96                 <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>
97         </tr>
98
99         <tr>
100
101                 <!-- Outer body row -->
102
103                 <td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="10" height="1" alt="" /></td>
104                 <td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3">
105
106                         <!-- Inner Tabs / Shell -->
107
108                         <table border="0" width="100%" cellspacing="0" cellpadding="0">
109                         <tr>
110                                 <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>
111                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
112                                 <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>
113                         </tr>
114
115                         <tr>
116                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="10" height="1" alt="" /></td>
117                                 <td valign="top" width="99%" bgcolor="white">
118
119         <!-- whole page table -->
120 <table width="100%" cellpadding="5" cellspacing="0" border="0">
121 <tr><td width="65%" valign="top">
122 <?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
123 $contents = '';
124 while (!feof($handle)) {
125         $contents .= fread($handle, 8192);
126 }
127 $contents=str_replace("Welcome to", "Welcome to the", $contents);
128 fclose($handle);
129 echo $contents; } ?>
130 ______BODY______
131
132 </td>
133
134 <td width="35%" valign="top">
135
136                 <table cellspacing="0" cellpadding="1" width="100%" border="0" bgcolor="#d5d5d7">
137                 <tr><td>
138                         <table cellspacing="0" cellpadding="2" width="100%" border="0" bgcolor="#eaecef">
139                                 <tr style="background-color:#d5d5d7" align="center">
140                                         <td colspan="2"><span class="titlebar">Project Summary</span></td>
141                                 </tr>
142                                 <tr align="left">
143                                         <td colspan="2">
144
145 <?php if($handle=fopen('http://'.$domain.'/export/projhtml.php?group_name='.$group_name,'r')){
146 $contents = '';
147 while (!feof($handle)) {
148         $contents .= fread($handle, 8192);
149 }
150 fclose($handle);
151 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
152 $contents=str_replace('src="/','src="http://'.$domain.'/',$contents);
153 echo $contents; } ?>
154 <br>
155 <hr>
156 <br>
157 <?php if ($handle=fopen('http://'.$domain.'/export/projnews.php?group_name='.$group_name,'r')){
158 $contents = '';
159 while (!feof($handle)) {
160         $contents .= fread($handle, 8192);
161 }
162 fclose($handle);
163 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
164 echo $contents; } ?>
165
166
167                                         </td>
168                                 </tr>
169                         </table>
170                 </td></tr>
171                 </table><p>&nbsp;</p>
172 </td></tr>
173                 <tr><td align=center>
174                         <a href="http://creativecommons.org/licenses/LGPL/2.1/"><img alt="CC-GNU LGPL" border="0" src="http://creativecommons.org/images/public/cc-LGPL-a.png" /></a>
175                 </td></tr>
176 </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>