<?php

function tabla($mensaje){
echo "<table cellspacing=\"0\" cellpadding=\"1\" border=\"0\" bgcolor=\"#000000\" width=\"100%%\"><tr><td>";
echo "<table cellspacing=\"0\" cellpadding=\"1\" border=\"0\" bgcolor=\"#95a6ad\" width=\"100%%\"><tr><td>";
echo "<table cellspacing=\"0\" cellpadding=\"1\" border=\"0\" bgcolor=\"#ffffff\" width=\"100%%\"><tr><td>";
echo "<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\" bgcolor=\"#eeeeee\" width=\"100%%\"><tr><td>";
echo "$mensaje";
echo "</td></tr></table>";
echo "</td></tr></table>";
echo "</td></tr></table>";
echo "</td></tr></table>";
}

function tablanews($mensaje){
echo "<table cellspacing=\"0\" cellpadding=\"1\" border=\"0\" bgcolor=\"#2d3851\" width=\"100%%\"><tr><td>";
echo "<table cellspacing=\"0\" cellpadding=\"1\" border=\"0\" bgcolor=\"#BFC4CB\" width=\"100%%\"><tr><td>";
echo "<table cellspacing=\"0\" cellpadding=\"1\" border=\"0\" bgcolor=\"#2d3851\" width=\"100%%\"><tr><td>";
echo "<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\" bgcolor=\"#FFFFFF\" width=\"100%%\"><tr><td>";
echo "$mensaje";
echo "</td></tr></table>";
echo "</td></tr></table>";
echo "</td></tr></table>";
echo "</td></tr></table>";
}


function noticia($titulo,$coder,$fecha,$mensaje){
  tablanews("<center><b>$titulo</b></center>");
  echo "<table WIDTH=\"100%%\" CELLPADDING=\"0\"> 
        <tr><td BGCOLOR=\"\" width=\"80%%\" valign=\"TOP\">";  
  tablanews($mensaje);
  echo "</td><td width=\"20%%\" valign=\"top\">";
  echo "<table WIDTH=\"100%%\" CELLPADDING=\"0\"> <tr><td BGCOLOR=\"\">";
  tablanews("<center><small>$fecha</small></center>");
  echo "</td></tr><tr><td>";
  tablanews("<center><small>$coder</small></center>");
  echo "</td></tr></table>";
  echo "</td></tr></table>";
}

function menu1(){
  tabla("<center> Secciones</center><hr>
  <strong>·</b></strong> <a href=\"index.php?goto=principal\">Proyecto GNU Hurd</b></a><br>
  <strong>·</b></strong> <a href=\"index.php?goto=noticias\">Noticias</b></a><br>
  <strong>·</b></strong> <a href=\"index.php?goto=queshurd\">¿Que es GNU Hurd?</b></a><br>
  <strong>·</b></strong> <a href=\"index.php?goto=estadodehurd\">Estado del proyecto</b></a><br>
  <strong>·</b></strong> <a href=\"index.php?goto=comenzandohurd\">Comenzando con Hurd</b></a><br>
  <strong>·</b></strong> <a href=\"index.php?goto=faq\">Preguntas Frecuentes</b></a><br>
  <strong>·</b></strong> <a href=\"index.php?goto=contribuir\">Cómo contribuir</b></a><br>
  <strong>·</b></strong> <a href=\"index.php?goto=proyectos\">Proyectos</b></a><br>
  ");
echo "<br>";
  tabla("  <center>Listas y foros</b></center><hr>
  <strong>·</b></strong> Foros<br> 
  <strong>·</b></strong> <a href=\"index.php?goto=listasdecorreo\">Listas de correo</b></a><br>
  ");
echo "<br>";
  tabla("
  <center>Administración</b></center><hr>
  <strong>·</b></strong> <a href=\"index.php?goto=normas_estilo\">Guía de Estilo del web</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/server/standards/\">Estándares GNU</b></a><br>
  ");
echo "<br>";
  tabla("
  <center>The Hurd (ingles)</center><hr>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/software/hurd/hurd.html\">Proyecto GNU Hurd</a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/software/hurd/whatsnew.html\">Noticias</a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/software/hurd/docs.html\">Documentación</a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/software/hurd/install.html\">Instalación</a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/software/hurd/download.html\">Codigo Fuente</a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/software/hurd/devel.html\">Desarrollo</a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/software/hurd/history.html\">Historia</a><br>
  ");
}

function menu2(){
  tabla("
  <center>El proyecto GNU</b></center><hr>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/gnu/thegnuproject.es.html\">¿Qué es?</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/gnu/manifesto.es.html\">El Manifiesto GNU</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.es.gnu.org/proyecto/paquetes.html\">Paquetes Software GNU</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/gnu/linux-and-gnu.html\">GNU/Linux</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.es.gnu.org/proyecto/personajes.html\">Personajes del Proyecto</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.gnu.org/philosophy/philosophy.es.html\">Filosofía del Proyecto</b></a><br>
  <strong>·</b></strong> <a href=\"http://savannah.gnu.org\">Savannah</b></a><br>
  ");
echo "<br>";
  tabla("
  <center>Mas GNU en España</b></center><hr>
  <strong>·</b></strong> <a href=\"http://gugs.sindominio.net\">GUGS</b></a><br>
  <strong>·</b></strong> <a href=\"http://es.gnome.org/\">GNOME Hispano</b></a><br>
  <strong>·</b></strong> <a href=\"http://gunih.es.gnome.org/\">GNOME en Universidades </b></a><br>
");

echo "<br>";

tabla("
  <center>Enlaces de interes</center><hr>
  <strong>·</b></strong> <a href=\"http://www.fsf.org/home.es.html\">Free Software Fundation</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.fsfeurope.org/index.es.html\">FSF Europa</b></a><br>
  <strong>·</b></strong> <a href=\"http://www.ansol.org\">ANSOL</b></a><br>
");
}

?>
