website/parts/titletable.php
2007-03-08 00:39:59 +00:00

30 lines
1.1 KiB
PHP

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