2 <!-- This is the project specific website template -->
3 <!-- It can be changed as liked or replaced by other content -->
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/';
11 echo '<?xml version="1.0" encoding="UTF-8"?>';
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 ">
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" />
26 <! --- R-Forge Logo --- >
27 <table border="0" width="100%" cellspacing="0" cellpadding="0">
29 <a href="/"><img src="<?php echo $themeroot; ?>/images/logo.png" border="0" alt="R-Forge Logo" /> </a> </td> </tr>
33 <!-- get project title -->
34 <!-- own website starts here, the following may be changed as you like -->
36 <?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
38 while (!feof($handle)) {
39 $contents .= fread($handle, 8192);
44 <!-- end of project description -->
46 <p> No content added. </p>
48 <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>