Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git] / doc / 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><?php echo $project_name; ?></title>
19         <script language="JavaScript" type="text/javascript">
20         <!--
21         function help_window(helpurl) {
22                 HelpWin = window.open( helpurl,'HelpWindow','scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400');
23         }
24         // -->
25                 </script>
26
27 <style type="text/css">
28         <!--
29         BODY {
30                 margin-top: 3;
31                 margin-left: 3;
32                 margin-right: 3;
33                 margin-bottom: 3;
34                 background: #5651a1;
35         }
36         ol,ul,p,body,td,tr,th,form { font-family: verdana,arial,helvetica,sans-serif; font-size:small;
37                 color: #333333; }
38
39         h1 { font-size: x-large; font-family: verdana,arial,helvetica,sans-serif; }
40         h2 { font-size: large; font-family: verdana,arial,helvetica,sans-serif; }
41         h3 { font-size: medium; font-family: verdana,arial,helvetica,sans-serif; }
42         h4 { font-size: small; font-family: verdana,arial,helvetica,sans-serif; }
43         h5 { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; }
44         h6 { font-size: xx-small; font-family: verdana,arial,helvetica,sans-serif; }
45
46         pre,tt { font-family: courier,sans-serif }
47
48         a:link { text-decoration:none }
49         a:visited { text-decoration:none }
50         a:active { text-decoration:none }
51         a:hover { text-decoration:underline; color:red }
52
53         .titlebar { color: black; text-decoration: none; font-weight: bold; }
54         a.tablink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
55         a.tablink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
56         a.tablink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
57         a.tabsellink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
58         a.tabsellink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
59         a.tabsellink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
60         -->
61 </style>
62
63 </head>
64
65 <body>
66 <table border="0" width="100%" cellspacing="0" cellpadding="0">
67
68         <tr>
69         <td style="text-align: left; vertical-align: top;"><a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name; ?>"><img
70           src="simgrid_logo_small.png"
71           style="text-decoration: underline;" border="0" alt="SimGrid">
72           <?php if (date('m') == '04'  && date('d') == '01')  {echo '<img style="text-decoration: underline;" border="0" alt="SimGrid" src="fish.gif">';}?>
73           </a><br>
74         </td>
75          <td style="text-align: left; vertical-align: top;">
76         </td>
77                 <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>
78         </tr>
79 </table>
80 ______ONGLETS______
81 <table border="0" width="100%" cellspacing="0" cellpadding="0">
82
83         <tr>
84                 <td>&nbsp;</td>
85                 <td colspan="3">
86
87
88                 <!-- start tabs -->
89
90         <tr>
91                 <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>
92                 <td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="30" height="1" alt="" /></td>
93                 <td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
94                 <td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="30" height="1" alt="" /></td>
95                 <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>
96         </tr>
97
98         <tr>
99
100                 <!-- Outer body row -->
101
102                 <td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="10" height="1" alt="" /></td>
103                 <td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3">
104
105                         <!-- Inner Tabs / Shell -->
106
107                         <table border="0" width="100%" cellspacing="0" cellpadding="0">
108                         <tr>
109                                 <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>
110                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
111                                 <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>
112                         </tr>
113
114                         <tr>
115                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="10" height="1" alt="" /></td>
116                                 <td valign="top" width="99%" bgcolor="white">
117
118         <!-- whole page table -->
119 <table width="100%" cellpadding="5" cellspacing="0" border="0">
120 <tr><td width="65%" valign="top">
121 <?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
122 $contents = '';
123 while (!feof($handle)) {
124         $contents .= fread($handle, 8192);
125 }
126 $contents=str_replace("Welcome to", "Welcome to the", $contents);
127 fclose($handle);
128 echo $contents; } ?>
129 ______BODY______
130
131 </td>
132
133 <td width="35%" valign="top">
134
135                 <table cellspacing="0" cellpadding="1" width="100%" border="0" bgcolor="#d5d5d7">
136                 <tr><td>
137                         <table cellspacing="0" cellpadding="2" width="100%" border="0" bgcolor="#eaecef">
138                                 <tr style="background-color:#d5d5d7" align="center">
139                                         <td colspan="2"><span class="titlebar">Project Summary</span></td>
140                                 </tr>
141                                 <tr align="left">
142                                         <td colspan="2">
143
144 <?php if($handle=fopen('http://'.$domain.'/export/projhtml.php?group_name='.$group_name,'r')){
145 $contents = '';
146 while (!feof($handle)) {
147         $contents .= fread($handle, 8192);
148 }
149 fclose($handle);
150 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
151 $contents=str_replace('src="/','src="http://'.$domain.'/',$contents);
152 echo $contents; } ?>
153 <br>
154 <hr>
155 <br>
156 <?php if ($handle=fopen('http://'.$domain.'/export/projnews.php?group_name='.$group_name,'r')){
157 $contents = '';
158 while (!feof($handle)) {
159         $contents .= fread($handle, 8192);
160 }
161 fclose($handle);
162 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
163 echo $contents; } ?>
164
165
166                                         </td>
167                                 </tr>
168                         </table>
169                 </td></tr>
170                 </table><p>&nbsp;</p>
171 </td></tr>
172                 <tr><td align=center>
173                         <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>
174                 </td></tr>
175 </table>
176                         &nbsp;<p>
177                         <center>
178                                 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>
179                         </center>
180                         <!-- end main body row -->
181
182
183                                 </td>
184                                 <td width="10" bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="2" height="1" alt="" /></td>
185                         </tr>
186                         <tr>
187                                 <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>
188                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
189                                 <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>
190                         </tr>
191                         </table>
192
193                 <!-- end inner body row -->
194
195                 </td>
196                 <td width="10" bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="2" height="1" alt="" /></td>
197         </tr>
198         <tr>
199                 <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>
200                 <td bgcolor="#E0E0E0" colspan="3"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
201                 <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>
202         </tr>
203 </table>
204
205 <!-- PLEASE LEAVE "Powered By Gforge" on your site -->
206 <br />
207 <center>
208 <a href="http://gforge.org/"><img src="http://gforge.org/images/pow-gforge.png" alt="Powered By GForge Collaborative Development Environment" border="0" /></a>
209 </center>
210
211
212 </body>
213 </html>