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
?>
<!--SEARCHME-->
<H2>Electronic Mail</H2>
<P>Please direct support questions to the
<A href="mailto:quake-user@lists.sourceforge.net">QuakeForge Users</A> mailing list.
<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>If you have ideas about new features for QuakeForge or wish to help in
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>
The QuakeForge developers maintain an IRC channel, #QuakeForge, on the Open
Projects network, located at irc.openprojects.net.
<H4>Internet Relay Chat</H4>
<H2>Contact form</H2>
Send a message to the QuakeForge team. Be sure to include a valid email address if you expect a reply.<br>
<P>The QuakeForge developers maintain an IRC channel, #QuakeForge, on the Open
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>
<TEXTAREA name="message" cols="50" rows="10" wrap="PHYSICAL"></TEXTAREA>
<P> <INPUT TYPE="submit" NAME="clicked" VALUE="Submit">
</form>
<P><TEXTAREA name="message" cols="64" rows="16"></TEXTAREA>
<P><INPUT type="submit" name="clicked" value="Submit">
</FORM>
<!--NOSEARCH-->
<?

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
<? // Preamble
$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
?>
<!--SEARCHME-->

View file

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

View file

@ -2,7 +2,7 @@
<?
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)
@ -12,7 +12,7 @@
' <TR bgColor="' . $bgColor . '">' .
' <TD align="center">' .
' <IMG src="/img/blank.gif" height="1" width="135" alt="" border="0"><BR>' .
' <SPAN class="titlebar">' . $name . '</SPAN>' .
' <SPAN class="titleBar">' . $name . '</SPAN>' .
' </TD>' .
' </TR>' .
' <TR align="right" bgColor="' . $intBgColor . '">' .

View file

@ -1,21 +1,21 @@
<!-- Content End -->
</TD>
<? tableSpacer (9, 9, 1, "black"); ?>
<? tableSpacer (9, 1, 1, black); ?>
</TR>
<TR>
<? tableSpacer (9, 9, 3, "black"); ?>
<? tableSpacer (1, 9, 3, black); ?>
</TR>
<? tableFooter(); ?>
</TD>
</TR>
<TR vAlign="top">
<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>
<TD align="center">
<SPAN class="titlebar">
<SPAN class="titleBar">
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>
</TD>
</TR>

View file

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

View file

@ -2,30 +2,30 @@
<? need ('table'); ?>
<TABLE width="100%" border="0" cellSpacing="0" cellPadding="0" vAlign="center" bgColor="<? echo menuBgColor; ?>">
<TR vAlign="top">
<? tableSpacer (3, 3, 6, menuBgColor); ?>
<? tableSpacer (1, 3, 6, menuBgColor); ?>
</TR>
<TR vAlign="top">
<? tableSpacer (3, 3, 1, menuBgColor); ?>
<TD align="center" vAlign="center"><!-- Project logo -->
<?
<? tableSpacer (3, 1, 1, menuBgColor); ?>
<TD align="center" vAlign="center">
<? // Project logo rotation
srand ((double) microtime () * 1000000);
echo '<IMG src="/img/logos/qf-logo' . rand (1,3) . '.png" alt="QuakeForge" border="0">';
?>
</TD>
<? tableSpacer (5, 5, 1, menuBgColor); ?>
<? tableSpacer (3, 1, 1, menuBgColor); ?>
<TD width="100%" vAlign="center"><!--Site name -->
<SPAN class="mainTitle"><? echo $siteName ?></SPAN>
<SPAN class="mainTitle"><? echo $siteName; ?></SPAN>
</TD>
<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>
</TD>
<? tableSpacer (1, 20, 1, menuBgColor); ?>
<? tableSpacer (20, 1, 1, menuBgColor); ?>
</TR>
<TR>
<? tableSpacer (3, 3, 6, menuBgColor); ?>
<? tableSpacer (1, 3, 6, menuBgColor); ?>
</TR>
<TR>
<? tableSpacer (2, 2, 6, "black"); ?>
<? tableSpacer (2, 2, 6, black); ?>
</TR>
</TABLE>
<!-- end top title table -->

View file

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

View file

@ -1,17 +1,17 @@
<!-- 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">
<TD align="left">
<SPAN class=maintitlebar>&nbsp;
<A class=maintitlebar href="/"><B>Home</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="/contact.php"><B>Contact Us</B></A> |
<A class=maintitlebar href="/members/"><B>Members</B></A>
<SPAN class="mainTitleBar">&nbsp;
<A class="mainTitleBar" href="/"><B>Home</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="/contact.php"><B>Contact Us</B></A> |
<A class="mainTitleBar" href="/members/"><B>Members</B></A>
</SPAN>
</TD>
<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>
</TR>
</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:hover { color: rgb(255,170,170); text-decoration: none; }
/* Special link types */
A.maintitlebar { color: white; }
A.sortbutton { color: white; text-decoration: underline; }
A.mainTitleBar { color: white; }
A.sortButton { color: white; text-decoration: underline; }
A.menus { color: rgb(192,192,192); text-decoration: underline; }
A.tabs { color: black; }
SPAN.center { text-align: center; }
SPAN.alignright { text-align: right; }
SPAN.alignRight { text-align: right; }
SPAN.boxSpace { font-size: 2pt; }
SPAN.mainTitleBar {
color: black;
@ -43,6 +43,11 @@ SPAN.mainTitle {
font-weight: bold;
}
SPAN.pageTitle {
font-size: 15pt;
font-weight: bold;
}
SPAN.titleBar {
color: white;
font-size: 10pt;