Update for proper CSS/1 usage.

This commit is contained in:
Jeff Teunissen 2000-11-13 17:55:00 +00:00
parent d8bca4e05c
commit 589e77cd43
13 changed files with 96 additions and 83 deletions

View file

@ -12,28 +12,34 @@
require("parts/preamble.php"); // Load most of document require("parts/preamble.php"); // Load most of document
?> ?>
<!--SEARCHME--> <!--SEARCHME-->
<H2>Electronic Mail</H2> <H4>Electronic Mail</H4>
<P>Please direct support questions to the
<A href="mailto:quake-user@lists.sourceforge.net">QuakeForge Users</A> mailing list. <P>Please direct support questions to the
<A href="mailto:quake-user@lists.sourceforge.net">QuakeForge Users</A> mailing list.
<P>If you have ideas about new features for QuakeForge or wish to help in <P>If you have ideas about new features for QuakeForge or wish to help in
development, you can contact the QuakeForge developers via the development, you can contact the QuakeForge developers via the
<A href="mailto:quake-devel@lists.sourceforge.net">QuakeForge Development</A> mailing list. <A href="mailto:quake-devel@lists.sourceforge.net">QuakeForge Development</A>
mailing list.
<H2>Internet Relay Chat</H2> <H4>Internet Relay Chat</H4>
The QuakeForge developers maintain an IRC channel, #QuakeForge, on the Open
Projects network, located at irc.openprojects.net.
<H2>Contact form</H2> <P>The QuakeForge developers maintain an IRC channel, #QuakeForge, on the Open
Send a message to the QuakeForge team. Be sure to include a valid email address if you expect a reply.<br> Projects network, located at irc.openprojects.net.
<H4>Contact form</H4>
<P>Send a message to the QuakeForge team. Be sure to include a valid email address
if you expect a reply.<br>
<FORM>
<P>Your email address:
<P><INPUT type="text" name="sender">
<FORM>
<P>Your Email:<P><INPUT TYPE="text" name="sender">
<P>Message: <P>Message:
<P> <P><TEXTAREA name="message" cols="64" rows="16"></TEXTAREA>
<TEXTAREA name="message" cols="50" rows="10" wrap="PHYSICAL"></TEXTAREA> <P><INPUT type="submit" name="clicked" value="Submit">
<P> <INPUT TYPE="submit" NAME="clicked" VALUE="Submit"> </FORM>
</form>
<!--NOSEARCH--> <!--NOSEARCH-->
<? <?

View file

@ -16,16 +16,16 @@
echo '<P>A MySQL error occoured. This news is cached and may not be current'; echo '<P>A MySQL error occoured. This news is cached and may not be current';
?></TD> ?></TD>
</TR> </TR>
<TR vAlign=top> <TR vAlign="top">
<? tableSpacer (9, 9, 1, "black"); ?> <? tableSpacer (9, 1, 1, black); ?>
</TR> </TR>
<TR vAlign=top> <TR vAlign="top">
<TD align="center"> <TD align="center">
<? include "sponsor_incl.html"; ?> <? include "sponsor_incl.html"; ?>
</TD> </TD>
</TR> </TR>
<TR vAlign=top> <TR vAlign="top">
<? tableSpacer (9, 9, 1, "black"); ?> <? tableSpacer (9, 1, 1, black); ?>
</TR> </TR>
</TABLE> </TABLE>
<!--NOSEARCH--> <!--NOSEARCH-->

View file

@ -69,22 +69,22 @@ CREATE TABLE members (
<? include siteHome . "/parts/menu.php"; ?> <? include siteHome . "/parts/menu.php"; ?>
</TD> </TD>
<TD width="100%"> <TD width="100%">
<? tableHeader("100%", "black"); ?> <? tableHeader("100%", black); ?>
<TR> <TR>
<? tableSpacer( 9, 9, 3, "black"); ?> <? tableSpacer( 1, 9, 3, black); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer( 9, 9, 1, "black"); ?> <? tableSpacer( 9, 1, 1, black); ?>
<TD> <TD>
<? require siteHome . "/parts/topmain.php"; ?> <? require siteHome . "/parts/topmain.php"; ?>
</TD> </TD>
<? tableSpacer( 9, 9, 1, "black"); ?> <? tableSpacer( 9, 1, 1, black); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer( 18, 9, 3, "black"); ?> <? tableSpacer( 1, 18, 3, black); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer( 9, 9, 1, "black"); ?> <? tableSpacer( 9, 1, 1, black); ?>
<TD> <TD>
<!-- Content Start --> <!-- Content Start -->

View file

@ -33,7 +33,7 @@
Begin a bordered table Begin a bordered table
*/ */
function tableBoxHeader( $bgColor, $borderColor ) function tableBoxHeader ($bgColor, $borderColor)
{ {
echo '<TABLE cellSpacing="0" cellPadding="1" width="100%" border="0" bgColor="' . $borderColor . '">' . echo '<TABLE cellSpacing="0" cellPadding="1" width="100%" border="0" bgColor="' . $borderColor . '">' .
' <TR>' . ' <TR>' .
@ -46,7 +46,7 @@
Finish an opened bordered table Finish an opened bordered table
*/ */
function tableBoxFooter() function tableBoxFooter ()
{ {
echo ' </TABLE>' . echo ' </TABLE>' .
' </TD>' . ' </TD>' .
@ -59,7 +59,7 @@
Begin an unbordered table Begin an unbordered table
*/ */
function tableHeader( $width, $bgColor ) function tableHeader ($width, $bgColor)
{ {
echo '<TABLE cellSpacing="0" cellPadding="0" width="' . $width . '" border="0" bgColor="' . $bgColor . '">'; echo '<TABLE cellSpacing="0" cellPadding="0" width="' . $width . '" border="0" bgColor="' . $bgColor . '">';
} }
@ -69,35 +69,35 @@
Close an unbordered table Close an unbordered table
*/ */
function tableFooter() function tableFooter ()
{ {
echo '</TABLE>'; echo '</TABLE>';
} }
/* /*
*/ */
function tableColumnStart( $align, $colSpan ) function tableColumnStart ($align, $colSpan)
{ {
echo '<TD align="' . $align . '" colSpan="' . $colSpan . '">'; echo '<TD align="' . $align . '" colSpan="' . $colSpan . '">';
} }
/* /*
*/ */
function tableColumnEnd() function tableColumnEnd ()
{ {
echo '</TD>'; echo '</TD>';
} }
/* /*
*/ */
function tableRowStart( $vAlign ) function tableRowStart ($vAlign)
{ {
echo '<TR vAlign="' . $vAlign . '">'; echo '<TR vAlign="' . $vAlign . '">';
} }
/* /*
*/ */
function tableRowEnd() function tableRowEnd ()
{ {
echo '</TR>'; echo '</TR>';
} }
@ -107,7 +107,7 @@
Display a scaled transparent spacer image inside a table heading Display a scaled transparent spacer image inside a table heading
*/ */
function tableSpacer( $height, $width, $cols, $bgColor ) function tableSpacer ($width, $height, $cols, $bgColor)
{ {
echo '<TH colSpan="' . $cols . '" width="' . $width . '" bgColor="' . $bgColor . '">' . echo '<TH colSpan="' . $cols . '" width="' . $width . '" bgColor="' . $bgColor . '">' .
' <IMG src="/img/blank.gif" height="' . $height . '" width="' . $width . '" border="0" alt="">' . ' <IMG src="/img/blank.gif" height="' . $height . '" width="' . $width . '" border="0" alt="">' .
@ -119,11 +119,11 @@
Display a colored title in a BoxTable. Display a colored title in a BoxTable.
*/ */
function tableTitle($name, $cols, $bgColor) function tableTitle ($name, $cols, $bgColor)
{ {
echo ' <TR bgColor="' . $bgColor . '" align="center">' . echo ' <TR bgColor="' . $bgColor . '" align="center">' .
' <TH colspan="' . $cols . '">' . ' <TH colspan="' . $cols . '">' .
' <SPAN class="titlebar">' . $name . '</SPAN>' . ' <SPAN class="titleBar">' . $name . '</SPAN>' .
' </TH>' . ' </TH>' .
' </TR>'; ' </TR>';
} }

View file

@ -1,6 +1,6 @@
<? // Preamble <? // Preamble
$pageName = "Mailing Lists"; $pageName = "Mailing Lists";
$focused = "none"; // Dock icon name to gets a border $focused = "none"; // Dock icon name to get a border
require "parts/preamble.php"; // Load most of document require "parts/preamble.php"; // Load most of document
?> ?>
<!--SEARCHME--> <!--SEARCHME-->

View file

@ -1,13 +1,15 @@
<? <?
// helpful constants // helpful constants
if (!defined( '_COLORS_' )) { if (!defined( '_COLORS_' )) {
define('_COLORS_', 1); define ('_COLORS_', 1);
define('tableHeadColor', '#737b9c'); define ('tableHeadColor', '#737b9c');
define('tableBgColor', 'black'); define ('tableBgColor', 'black');
define('menuHeadColor', '#737b9c'); define ('menuHeadColor', '#737b9c');
define('menuBgColor', '#4b4f66'); define ('menuBgColor', '#4b4f66');
define('featureHeadColor', tableHeadColor); define ('featureHeadColor', tableHeadColor);
define('featureBgColor', '#252733'); define ('featureBgColor', '#252733');
define ('black', "black");
define ('white', "white");
} }
if (!defined ('_SQLCONSTS_')) { if (!defined ('_SQLCONSTS_')) {

View file

@ -2,7 +2,7 @@
<? <?
function menuItemLink ($url, $desc) function menuItemLink ($url, $desc)
{ {
echo '<A CLASS="menus" HREF="' . $url . '">' . $desc . '</A><BR>'; echo '<A class="menus" href="' . $url . '">' . $desc . '</A><BR>';
} }
function menuSectionHeader ($name, $fgColor , $bgColor, $intBgColor) function menuSectionHeader ($name, $fgColor , $bgColor, $intBgColor)
@ -12,7 +12,7 @@
' <TR bgColor="' . $bgColor . '">' . ' <TR bgColor="' . $bgColor . '">' .
' <TD align="center">' . ' <TD align="center">' .
' <IMG src="/img/blank.gif" height="1" width="135" alt="" border="0"><BR>' . ' <IMG src="/img/blank.gif" height="1" width="135" alt="" border="0"><BR>' .
' <SPAN class="titlebar">' . $name . '</SPAN>' . ' <SPAN class="titleBar">' . $name . '</SPAN>' .
' </TD>' . ' </TD>' .
' </TR>' . ' </TR>' .
' <TR align="right" bgColor="' . $intBgColor . '">' . ' <TR align="right" bgColor="' . $intBgColor . '">' .

View file

@ -1,21 +1,21 @@
<!-- Content End --> <!-- Content End -->
</TD> </TD>
<? tableSpacer (9, 9, 1, "black"); ?> <? tableSpacer (9, 1, 1, black); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer (9, 9, 3, "black"); ?> <? tableSpacer (1, 9, 3, black); ?>
</TR> </TR>
<? tableFooter(); ?> <? tableFooter(); ?>
</TD> </TD>
</TR> </TR>
<TR vAlign="top"> <TR vAlign="top">
<TD colSpan="2"> <TD colSpan="2">
<TABLE width="100%" border="0" cellSpacing="0" cellPadding="2" bgColor="<? echo menuBgColor; ?>"> <TABLE width="100%" border="0" cellSpacing="0" cellPadding="3" bgColor="<? echo menuBgColor; ?>">
<TR> <TR>
<TD align="center"> <TD align="center">
<SPAN class="titlebar"> <SPAN class="titleBar">
Copyright &copy; 1999,2000 contributors of the QuakeForge Project.<BR> Copyright &copy; 1999,2000 contributors of the QuakeForge Project.<BR>
<A class="maintitlebar" href="copyright.php">Additional Copyright and Trademark Acknowledgements</A> <A class="mainTitleBar" href="copyright.php">Additional Copyright and Trademark Acknowledgements</A>
</SPAN> </SPAN>
</TD> </TD>
</TR> </TR>

View file

@ -18,21 +18,21 @@
<? include siteHome . "/parts/menu.php"; ?> <? include siteHome . "/parts/menu.php"; ?>
</TD> </TD>
<TD width="100%"> <TD width="100%">
<? tableHeader ("100%", "black"); ?> <? tableHeader ("100%", black); ?>
<TR> <TR>
<? tableSpacer (9, 9, 3, "black"); ?> <? tableSpacer (1, 9, 3, black); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer (9, 9, 1, "black"); ?> <? tableSpacer (9, 1, 1, black); ?>
<TD> <TD>
<? require siteHome . "/parts/topmain.php"; ?> <? require siteHome . "/parts/topmain.php"; ?>
</TD> </TD>
<? tableSpacer (9, 9, 1, "black"); ?> <? tableSpacer (9, 1, 1, black); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer (18, 9, 3, "black"); ?> <? tableSpacer (1, 18, 3, black); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer (9, 9, 1, "black"); ?> <? tableSpacer (9, 1, 1, black); ?>
<TD> <TD>
<!-- Content Start --> <!-- Content Start -->

View file

@ -2,30 +2,30 @@
<? need ('table'); ?> <? need ('table'); ?>
<TABLE width="100%" border="0" cellSpacing="0" cellPadding="0" vAlign="center" bgColor="<? echo menuBgColor; ?>"> <TABLE width="100%" border="0" cellSpacing="0" cellPadding="0" vAlign="center" bgColor="<? echo menuBgColor; ?>">
<TR vAlign="top"> <TR vAlign="top">
<? tableSpacer (3, 3, 6, menuBgColor); ?> <? tableSpacer (1, 3, 6, menuBgColor); ?>
</TR> </TR>
<TR vAlign="top"> <TR vAlign="top">
<? tableSpacer (3, 3, 1, menuBgColor); ?> <? tableSpacer (3, 1, 1, menuBgColor); ?>
<TD align="center" vAlign="center"><!-- Project logo --> <TD align="center" vAlign="center">
<? <? // Project logo rotation
srand ((double) microtime () * 1000000); srand ((double) microtime () * 1000000);
echo '<IMG src="/img/logos/qf-logo' . rand (1,3) . '.png" alt="QuakeForge" border="0">'; echo '<IMG src="/img/logos/qf-logo' . rand (1,3) . '.png" alt="QuakeForge" border="0">';
?> ?>
</TD> </TD>
<? tableSpacer (5, 5, 1, menuBgColor); ?> <? tableSpacer (3, 1, 1, menuBgColor); ?>
<TD width="100%" vAlign="center"><!--Site name --> <TD width="100%" vAlign="center"><!--Site name -->
<SPAN class="mainTitle"><? echo $siteName ?></SPAN> <SPAN class="mainTitle"><? echo $siteName; ?></SPAN>
</TD> </TD>
<TD align="center" vAlign="center"><!-- SourceForge logo --> <TD align="center" vAlign="center"><!-- SourceForge logo -->
<A href="http://sourceforge.net/"><IMG src="http://sourceforge.net/sflogo.php?group_id=882&type=1" alt="SourceForge" border="0" width="88" height="31"></A> <A href="http://sourceforge.net/"><IMG src="http://sourceforge.net/sflogo.php?group_id=882&type=1" alt="SourceForge" border="0" width="88" height="31"></A>
</TD> </TD>
<? tableSpacer (1, 20, 1, menuBgColor); ?> <? tableSpacer (20, 1, 1, menuBgColor); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer (3, 3, 6, menuBgColor); ?> <? tableSpacer (1, 3, 6, menuBgColor); ?>
</TR> </TR>
<TR> <TR>
<? tableSpacer (2, 2, 6, "black"); ?> <? tableSpacer (2, 2, 6, black); ?>
</TR> </TR>
</TABLE> </TABLE>
<!-- end top title table --> <!-- end top title table -->

View file

@ -15,7 +15,7 @@
{ {
echo '<TABLE border="0" cellSpacing="0" cellPadding="2" bgColor="white">' . echo '<TABLE border="0" cellSpacing="0" cellPadding="2" bgColor="white">' .
'<TR>'; '<TR>';
tableSpacer (1, 1, 1, "white"); tableSpacer (1, 1, 1, white);
echo '<TD>'; echo '<TD>';
iconLink ('http://sourceforge.net/projects/quake/', '/img/icons/anvil.png', 'SourceForge', isFocused($focused, 'summary')); iconLink ('http://sourceforge.net/projects/quake/', '/img/icons/anvil.png', 'SourceForge', isFocused($focused, 'summary'));
iconLink ('/', '/img/icons/home.png', 'Homepage', isFocused($focused, 'home')); iconLink ('/', '/img/icons/home.png', 'Homepage', isFocused($focused, 'home'));
@ -35,20 +35,20 @@
{ {
global $focused; global $focused;
tableHeader ("100%", "black"); tableHeader ("100%", black);
echo ' <TR vAlign="bottom">' . echo ' <TR vAlign="bottom">' .
' <TD align="left">' . ' <TD align="left">' .
' <FONT size="+2"><B>' . $pageName . '</B></FONT>' . ' <SPAN class="pageTitle">' . $pageName . '</SPAN>' .
' </TD>' . ' </TD>' .
' <TD align="right">'; ' <TD align="right">';
iconBar ($focused); iconBar ($focused);
echo ' </TD>' . echo ' </TD>' .
' </TR>' . ' </TR>' .
' <TR>'; ' <TR>';
tableSpacer (1, 1, 2, "black"); tableSpacer (1, 1, 2, black);
echo ' </TR>' . echo ' </TR>' .
' <TR>'; ' <TR>';
tableSpacer (2, 1, 2, "white"); tableSpacer (2, 1, 2, white);
echo ' </TR>'; echo ' </TR>';
tableFooter (); tableFooter ();
} }

View file

@ -1,17 +1,17 @@
<!-- top strip --> <!-- top strip -->
<TABLE width="100%" border="0" cellSpacing="0" cellPadding="2" bgColor="#737b9c"> <TABLE width="100%" border="0" cellSpacing="0" cellPadding="3" bgColor="#737b9c">
<TR vAlign="center"> <TR vAlign="center">
<TD align="left"> <TD align="left">
<SPAN class=maintitlebar>&nbsp; <SPAN class="mainTitleBar">&nbsp;
<A class=maintitlebar href="/"><B>Home</B></A> | <A class="mainTitleBar" href="/"><B>Home</B></A> |
<A class=maintitlebar href="/about.php"><B>About</B></A> | <A class="mainTitleBar" href="/about.php"><B>About</B></A> |
<A class=maintitlebar href="/partners.php"><B>Partners</B></A> | <A class="mainTitleBar" href="/partners.php"><B>Partners</B></A> |
<A class=maintitlebar href="/contact.php"><B>Contact Us</B></A> | <A class="mainTitleBar" href="/contact.php"><B>Contact Us</B></A> |
<A class=maintitlebar href="/members/"><B>Members</B></A> <A class="mainTitleBar" href="/members/"><B>Members</B></A>
</SPAN> </SPAN>
</TD> </TD>
<TD align="right"> <TD align="right">
<A class=maintitlebar href="http://sourceforge.net/"><B>SourceForge member</B></a>&nbsp; <A class="mainTitleBar" href="http://sourceforge.net/"><B>SourceForge member</B></a>&nbsp;
</TD> </TD>
</TR> </TR>
</TABLE> </TABLE>

View file

@ -24,13 +24,13 @@ A:link { color: rgb(170,170,255); text-decoration: none; }
A:active { color: rgb(255,255,255); text-decoration: none; } A:active { color: rgb(255,255,255); text-decoration: none; }
A:hover { color: rgb(255,170,170); text-decoration: none; } A:hover { color: rgb(255,170,170); text-decoration: none; }
/* Special link types */ /* Special link types */
A.maintitlebar { color: white; } A.mainTitleBar { color: white; }
A.sortbutton { color: white; text-decoration: underline; } A.sortButton { color: white; text-decoration: underline; }
A.menus { color: rgb(192,192,192); text-decoration: underline; } A.menus { color: rgb(192,192,192); text-decoration: underline; }
A.tabs { color: black; } A.tabs { color: black; }
SPAN.center { text-align: center; } SPAN.center { text-align: center; }
SPAN.alignright { text-align: right; } SPAN.alignRight { text-align: right; }
SPAN.boxSpace { font-size: 2pt; } SPAN.boxSpace { font-size: 2pt; }
SPAN.mainTitleBar { SPAN.mainTitleBar {
color: black; color: black;
@ -43,6 +43,11 @@ SPAN.mainTitle {
font-weight: bold; font-weight: bold;
} }
SPAN.pageTitle {
font-size: 15pt;
font-weight: bold;
}
SPAN.titleBar { SPAN.titleBar {
color: white; color: white;
font-size: 10pt; font-size: 10pt;