Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

59 rindas
1.9 KiB

  1. <?php header("Content-Type: text/html; charset=utf-8"); ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="GENERATOR" content="vim" />
  8. <meta name="Author" content="sam@zoy.org (Sam Hocevar)" />
  9. <meta name="Description" content="libcaca mailing-list" />
  10. <meta name="Keywords" content="libcaca, ASCII, ASCII ART, console, text mode, ncurses, slang, AAlib" />
  11. <title>libcaca mailing-list</title>
  12. <link rel="icon" type="image/x-icon" href="/favicon.ico" />
  13. <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
  14. <link rel="stylesheet" type="text/css" href="doxygen.css" />
  15. <link rel="stylesheet" type="text/css" href="/main.css" />
  16. </head>
  17. <body>
  18. <?php include($_SERVER["DOCUMENT_ROOT"]."/header.inc"); ?>
  19. <?php
  20. $page = $_GET['page'];
  21. $page = eregi_replace("[^a-z0-9_]", "", $page);
  22. $file = $_SERVER["DOCUMENT_ROOT"]."/list/".$page.".html";
  23. if(file_exists($file))
  24. {
  25. $f = fopen($file, 'r');
  26. $data = fread($f, filesize($file));
  27. fclose($f);
  28. $data = eregi_replace(".*<body>", "", $data);
  29. $data = eregi_replace("</body>.*", "", $data);
  30. echo $data;
  31. }
  32. else
  33. {
  34. ?>
  35. <p> There are three libcaca mailing-lists: </p>
  36. <ul>
  37. <li> libcaca (<a href="/list/">thread index</a>, <a href="/list/maillist.html">date index</a>) </li>
  38. <li> libcaca-svn (<a href="/list-svn/">thread index</a>, <a href="/list-svn/maillist.html">date index</a>) </li>
  39. <li> libcaca-trac (<a href="/list-trac/">thread index</a>, <a href="/list-trac/maillist.html">date index</a>) </li>
  40. </ul>
  41. <?
  42. }
  43. ?>
  44. <?php $rev = '$Id$';
  45. include($_SERVER['DOCUMENT_ROOT'].'/footer.inc'); ?>
  46. </body>
  47. </html>