Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
1ab71a176ef583ad3cd8dda1c3f5740830cedcb7
[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="<?php if (date('m') == '04'  && date('d') == '01')  {echo 'simgrid_logo_smaller.png';} else {echo 'simgrid_logo_small.png';};?>"
71           style="text-decoration: underline;" border="0" alt="SimGrid"></a><br>
72         </td>
73                 <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>
74         </tr>
75 </table>
76 ______ONGLETS______
77 <table border="0" width="100%" cellspacing="0" cellpadding="0">
78
79         <tr>
80                 <td>&nbsp;</td>
81                 <td colspan="3">
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 ______BODY______
126
127 </td>
128
129 <td width="35%" valign="top">
130
131                 <table cellspacing="0" cellpadding="1" width="100%" border="0" bgcolor="#d5d5d7">
132                 <tr><td>
133                         <table cellspacing="0" cellpadding="2" width="100%" border="0" bgcolor="#eaecef">
134                                 <tr style="background-color:#d5d5d7" align="center">
135                                         <td colspan="2"><span class="titlebar">Project Summary</span></td>
136                                 </tr>
137                                 <tr align="left">
138                                         <td colspan="2">
139
140 <?php if($handle=fopen('http://'.$domain.'/export/projhtml.php?group_name='.$group_name,'r')){
141 $contents = '';
142 while (!feof($handle)) {
143         $contents .= fread($handle, 8192);
144 }
145 fclose($handle);
146 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
147 $contents=str_replace('src="/','src="http://'.$domain.'/',$contents);
148 echo $contents; } ?>
149 <br>
150 <hr>
151 <br>
152 <?php if ($handle=fopen('http://'.$domain.'/export/projnews.php?group_name='.$group_name,'r')){
153 $contents = '';
154 while (!feof($handle)) {
155         $contents .= fread($handle, 8192);
156 }
157 fclose($handle);
158 $contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
159 echo $contents; } ?>
160
161
162                                         </td>
163                                 </tr>
164                         </table>
165                 </td></tr>
166                 </table><p>&nbsp;</p>
167 </td></tr>
168                 <tr><td align=center>
169                         <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>
170                 </td></tr>
171 </table>
172                         &nbsp;<p>
173                         <center>
174                                 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>
175                         </center>
176                         <!-- end main body row -->
177
178
179                                 </td>
180                                 <td width="10" bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="2" height="1" alt="" /></td>
181                         </tr>
182                         <tr>
183                                 <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>
184                                 <td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
185                                 <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>
186                         </tr>
187                         </table>
188
189                 <!-- end inner body row -->
190
191                 </td>
192                 <td width="10" bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="2" height="1" alt="" /></td>
193         </tr>
194         <tr>
195                 <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>
196                 <td bgcolor="#E0E0E0" colspan="3"><img src="http://<?php echo $domain; ?>/themes/inria/images/clear.png" width="1" height="1" alt="" /></td>
197                 <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>
198         </tr>
199 </table>
200
201 <!-- PLEASE LEAVE "Powered By Gforge" on your site -->
202 <br />
203 <center>
204 <a href="http://gforge.org/"><img src="http://gforge.org/images/pow-gforge.png" alt="Powered By GForge Collaborative Development Environment" border="0" /></a>
205 </center>
206
207
208 </body>
209 </html>