mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
43 lines
2 KiB
PHP
43 lines
2 KiB
PHP
<?php
|
|
function textBar($pagename)
|
|
{
|
|
echo ' <BR>' .
|
|
'<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">' .
|
|
' <TR>' .
|
|
' <TD align="left">' .
|
|
' <FONT size="+2"><B>' . $pagename . '</B></FONT>' .
|
|
' </TD>';
|
|
}
|
|
|
|
function iconBar( $focused ) {
|
|
echo '<TABLE border="0" cellSpacing="0" cellPadding="2" bgColor="white">' .
|
|
'<TR>';
|
|
tableSpacer( 1, 1, 1, "white");
|
|
echo '<TD>';
|
|
iconLink('http://sourceforge.net/project/?group_id=882', '/img/icons/anvil.png', 'SourceForge', isFocused($focused, 'summary'));
|
|
iconLink('/', '/img/icons/home.png', 'Homepage', isFocused($focused, 'home'));
|
|
iconLink('http://sourceforge.net/bugs/?group_id=882', '/img/icons/bugs.png', 'Bugs', isFocused($focused, 'bugs'));
|
|
iconLink('http://sourceforge.net/support/?group_id=882', '/img/icons/support.png', 'Support', isFocused($focused, 'support'));
|
|
iconLink('http://sourceforge.net/patch/?group_id=882', '/img/icons/patch.png', 'Patches', isFocused($focused, 'patch'));
|
|
iconLink('http://sourceforge.net/mail/?group_id=882', '/img/icons/mail.png', 'Lists', isFocused($focused, 'mail'));
|
|
iconLink('http://sourceforge.net/pm/?group_id=882', '/img/icons/tasks.png', 'Tasks', isFocused($focused, 'tasks'));
|
|
// iconLink('http://sourceforge.net/survey/?group_id=882', '/img/icons/survey.png', 'Surveys', isFocused($focused, 'survey'));
|
|
iconLink('/news.php', '/img/icons/news.png', 'News', isFocused($focused, 'news'));
|
|
iconLink('http://sourceforge.net/cvs/?group_id=882', '/img/icons/cvs.png', 'CVS', isFocused($focused, 'cvs'));
|
|
iconLink('http://sourceforge.net/project/filelist.php?group_id=882', '/img/icons/download.png', 'Downloads', isFocused($focused, 'download'));
|
|
echo '</TD></TR></TABLE>';
|
|
}
|
|
|
|
textBar($pagename);
|
|
echo ' <TD align="right">';
|
|
iconBar($focused);
|
|
echo ' </TD>';
|
|
echo ' </TR>';
|
|
echo ' <TR>';
|
|
tableSpacer( 1, 4, 1, "black");
|
|
echo ' </TR>';
|
|
echo ' <TR>';
|
|
tableSpacer( 2, 1, 2, "white");
|
|
echo ' </TR>';
|
|
echo '</TABLE>';
|
|
?>
|