PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/htdocs/branches/start/irclog.php

#
PHP | 73 lines | 64 code | 5 blank | 4 comment | 2 complexity | 34c5d119796c9385aaae8d2a89a3f581 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, AGPL-3.0, AGPL-1.0, Unlicense
  1. <!-- To add irc logs to this page, just put them in the irclog directory under the project's web root
  2. --chadfowler
  3. -->
  4. <?php
  5. // Default Web Page for groups that haven't setup their page yet
  6. // Please replace this file with your own website
  7. //
  8. // $Id: irclog.php 192 2000-01-03 03:41:11Z palisade $
  9. //
  10. $headers = getallheaders();
  11. ?>
  12. <HTML>
  13. <HEAD>
  14. <TITLE>SourceForge: Default Project Page</TITLE>
  15. <LINK rel="stylesheet" href="http://sourceforge.net/sourceforge.css" type="text/css">
  16. </HEAD>
  17. <BODY bgcolor="#000000" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
  18. <!-- top strip -->
  19. <TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
  20. <TR bgcolor="#000000">
  21. <TD>
  22. <SPAN class=maintitlebar>&nbsp;&nbsp;
  23. <A class=maintitlebar href="http://sourceforge.net/about.php"><B>About</B></A> | <A class=maintitlebar href="http://sourceforge.net/contact.php"><B>Contact Us</B></A>
  24. </SPAN>
  25. </TD>
  26. </TR>
  27. </TABLE>
  28. <!-- end top strip -->
  29. <!-- top title table -->
  30. <TABLE width="100%" border=0 cellspacing=0 cellpadding=0 bgcolor="#000000" valign="center">
  31. <TR>
  32. <TD background="http://sourceforge.net/images/binary-code.gif">
  33. <A href="http://www.valinux.com/">
  34. <IMG src="http://sourceforge.net/images/va-btn-small-light.png" align="right" alt="VA Linux Systems" hspace="5" vspace="7" border=0 width="136" height="40"> </A>
  35. <A href="http://sourceforge.net/">
  36. <IMG src="http://sourceforge.net/images/anvil.gif" vspace="5" hspace="5" border=0 width="97" height="75">
  37. <IMG src="http://sourceforge.net/images/sourceforge.gif" alt="SourceForge" vspace="10" hspace="0" border=0 width="227" height="70"></A>
  38. </TD>
  39. </TR>
  40. <TR>
  41. <TD bgcolor="#000000">
  42. <IMG src="http://sourceforge.net/images/blank.gif" height="4" width="1" border=0>
  43. </TD>
  44. </TR>
  45. </TR>
  46. </TABLE>
  47. <!-- end top title table -->
  48. <TABLE width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#000000" align="center">
  49. <TR>
  50. <TD>
  51. <CENTER><BR>
  52. <H1>Welcome to http://<?php print $headers[Host]; ?>/</H1>
  53. <P>QuakeForge Project IRC Logs</P><BR>
  54. <img src="quake2_infantry_anim.gif"><br><br>
  55. <?php
  56. $handle=opendir('irclog');
  57. while ($file = readdir($handle)) {
  58. if(!(ereg("^\.", $file, $regs))) {
  59. echo "<a href=\"irclog/$file\">$file</a><BR>\n";
  60. }
  61. }
  62. closedir($handle);
  63. ?>
  64. <br>
  65. </CENTER>
  66. </TD>
  67. </TR>
  68. </TABLE>