<?php
/*
    mechant hack du fichier daCode/w/news.php
      gruiked by whygee@f-cpu.org
   daCode _ http://www.dacode.org/
   et ensuite, c'est parti dans tous les sens....

   version Mon Feb  9 22:27:29 EST 2004
   version Thu Feb 12 18:39:32 EST 2004 : la ca devient le delire total ...
      et pourtant ce n'est que le debut :-/

   version Mon Dec 22 07:51:29 CET 2008 : cleanup / réduction

   note sur les repertoires :
     ce fichier utilise d'autres fichiers dans le
     repertoire php_files, comme :
       php_files/f-cpu_logo_seul.gif (et autres illustrations)
       php_files/refresh_news.php (le code de rafraichissement des news)
       php_files/cache_news       (le cache des news)
       php_files/cache_dir        (le cache de la liste des repertoires)
       php_files/refresh_dir      (rafraichit le cache de la liste des repertoires)
       php_files/cache_tribune    (le cache de la tribune)
    ce repertoire a un droit d'ecriture pour tous :-(
    sans ca, eh bien apache ne pourrait pas mettre les caches a jour.

 */

  $local_dir = "php_files";
  $cache_news = $local_dir."/cache_news";
  $cache_dir = $local_dir."/cache_dir";
  $cache_tribune = $local_dir."/cache_tribune";

  header("Content-Type: text/html");
?>
<html>
<head>
 <title>Welcome to the Freedom CPU website !</title>
</head>

<body bgcolor="white">

<center>
 <h2>Welcome to the Freedom CPU website !</h2>
 <p><img alt="The F-CPU logo" src="php_files/f-cpu_logo_seul.gif"><br>
<h3><i>To design and to let design</i></h3></p>
</center>

<p><i>This is the front page for the F-CPU website. Due to the progressive freeze of the project since 2004,
it is not much updated. You'll find mostly archives here, like design files, personal directories
and other management services offered to the f-cpu community by the <a href="http://www.seul.org">seul.org</a> server.
Look at <a href="http://yasep.org">yasep.org</a> if you need something that is alive ;-)</i></p>

<p>The Freedom CPU Project is an open work of collaboration in the world of microelectronics.
Our goal is to create and distribute the source code of a high performance microprocessor core
under a copyleft license. It's the first purely SIMD superpipelined RISC CPU core
that handles 64-bit data and wider, so it can become a short vector processor in the future,
and all the VHDL sources and resources are <i>Free as in Free Speech</i> !
</p>

<hr>
<h2>Main links :</h2>
<ul>
<li>
Recent F-CPU source packages and resources are in the <a href="new/?M=D">new/ directory</a>.
</li><br><li>
The english mailing list archive can be read online at
<a href="http://archives.seul.org/f-cpu/f-cpu/">http://archives.seul.org/f-cpu/f-cpu/</a>.
This is a <b>subscribers only</b> mailing list, due to endless spam and virus attacks.
It is not active anymore...
</li><br><li>
The latest english manual can be found <a href="http://f-cpu.seul.org/cedric/unstable/">here</a>.
</li><br><li>
If you need other Open Source HW resources, browse the
<a href="http://opencollector.org/">OpenCollector Database</a>.
</li><br><li>
There is a <a href="http://f-cpu.seul.org/wiki/">Wiki</a> now !
</li><br><li>
The old F-CPU sites are mirrored/archived here as well : 
<a href="f-cpu.de">f-cpu.de</a> , <a href="f-cpu.org">f-cpu.org</a>
</li><br>
</ul>
<?php

// check du refresh
  if (($_GET["pika"] == "plop")
     || ( !is_writable($cache_news) )) {
    print "<p><tt>re-fabrication du cache des news dans $cache_news...</tt></p>";
    include $local_dir."/refresh_news.php";
  }
  else {
    readfile($cache_news);
  }
?>

<?php
  // check du refresh
  if (($_GET["pika"] == "plop")
   || ( !is_writable($cache_dir) )) {
    print "<p><tt>re-fabrication du cache des r&eacute;pertoires dans $cache_dir ...</tt></p>";
    include $local_dir."/refresh_dir.php";
  }
  else {
    readfile( $cache_dir );
  }
?>

<hr>

<tt>
2007-03-05 :
Due to infrequent use and pollution, the daCode zone is now removed.
This cleanup does not mean however that the whole site is closed.
yg
</tt>

<hr>
<p><i>made in <tt>GNU/EMACS</tt> through <tt>ssh</tt> by whygee, version 2004-02-29<br>
Sp&eacute;ciale d&eacute;dicace &agrave; : sveetchfr pour son aide noctanmoulesque
en PHP, toutes les moules qui m'ont repondu des trucs utiles entre deux RTFM/STFW,
Nicolas Matringe pour le logo, Martin Vahi and some others for proposing pages,
and of course : daique pour la maintenance du daCode !</i></p>


</body>
</html>
