website/irclog.php
2000-01-03 03:41:11 +00:00

73 lines
2.5 KiB
PHP

<!-- To add irc logs to this page, just put them in the irclog directory under the project's web root
--chadfowler
-->
<?php
// Default Web Page for groups that haven't setup their page yet
// Please replace this file with your own website
//
// $Id$
//
$headers = getallheaders();
?>
<HTML>
<HEAD>
<TITLE>SourceForge: Default Project Page</TITLE>
<LINK rel="stylesheet" href="http://sourceforge.net/sourceforge.css" type="text/css">
</HEAD>
<BODY bgcolor="#000000" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
<!-- top strip -->
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
<TR bgcolor="#000000">
<TD>
<SPAN class=maintitlebar>&nbsp;&nbsp;
<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>
</SPAN>
</TD>
</TR>
</TABLE>
<!-- end top strip -->
<!-- top title table -->
<TABLE width="100%" border=0 cellspacing=0 cellpadding=0 bgcolor="#000000" valign="center">
<TR>
<TD background="http://sourceforge.net/images/binary-code.gif">
<A href="http://www.valinux.com/">
<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>
<A href="http://sourceforge.net/">
<IMG src="http://sourceforge.net/images/anvil.gif" vspace="5" hspace="5" border=0 width="97" height="75">
<IMG src="http://sourceforge.net/images/sourceforge.gif" alt="SourceForge" vspace="10" hspace="0" border=0 width="227" height="70"></A>
</TD>
</TR>
<TR>
<TD bgcolor="#000000">
<IMG src="http://sourceforge.net/images/blank.gif" height="4" width="1" border=0>
</TD>
</TR>
</TR>
</TABLE>
<!-- end top title table -->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#000000" align="center">
<TR>
<TD>
<CENTER><BR>
<H1>Welcome to http://<?php print $headers[Host]; ?>/</H1>
<P>QuakeForge Project IRC Logs</P><BR>
<img src="quake2_infantry_anim.gif"><br><br>
<?php
$handle=opendir('irclog');
while ($file = readdir($handle)) {
if(!(ereg("^\.", $file, $regs))) {
echo "<a href=\"irclog/$file\">$file</a><BR>\n";
}
}
closedir($handle);
?>
<br>
</CENTER>
</TD>
</TR>
</TABLE>