SCM

SCM Repository

[seqinr] Annotation of /www/index.php
ViewVC logotype

Annotation of /www/index.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (view) (download)

1 : stefan7th 1
2 :     <!-- This is the project specific website template -->
3 :     <!-- It can be changed as liked or replaced by other content -->
4 :    
5 :     <?php
6 :    
7 :     $domain=ereg_replace('[^\.]*\.(.*)$','\1',$_SERVER['HTTP_HOST']);
8 :     $group_name=ereg_replace('([^\.]*)\..*$','\1',$_SERVER['HTTP_HOST']);
9 :     $themeroot='http://r-forge.r-project.org/themes/rforge/';
10 :    
11 :     echo '<?xml version="1.0" encoding="UTF-8"?>';
12 :     ?>
13 :     <!DOCTYPE html
14 :     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
15 :     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
16 :     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en ">
17 :    
18 :     <head>
19 :     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
20 :     <title><?php echo $group_name; ?></title>
21 :     <link href="<?php echo $themeroot; ?>styles/estilo1.css" rel="stylesheet" type="text/css" />
22 :     </head>
23 :    
24 :     <body>
25 :    
26 :     <! --- R-Forge Logo --- >
27 :     <table border="0" width="100%" cellspacing="0" cellpadding="0">
28 :     <tr><td>
29 :     <a href="/"><img src="<?php echo $themeroot; ?>/images/logo.png" border="0" alt="R-Forge Logo" /> </a> </td> </tr>
30 :     </table>
31 :    
32 :    
33 :     <!-- get project title -->
34 :     <!-- own website starts here, the following may be changed as you like -->
35 :    
36 :     <?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
37 :     $contents = '';
38 :     while (!feof($handle)) {
39 :     $contents .= fread($handle, 8192);
40 :     }
41 :     fclose($handle);
42 :     echo $contents; } ?>
43 :    
44 :     <!-- end of project description -->
45 :    
46 :     <p> No content added. </p>
47 : simonpenel 2 <p> Please visit the <a href="http://pbil.univ-lyon1.fr/software/seqinr">seqinr web site</a></p>
48 : stefan7th 1
49 :     <p> The <strong>project summary page</strong> you can find <a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name; ?>/"><strong>here</strong></a>. </p>
50 :    
51 :     </body>
52 :     </html>

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge