mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-24 13:11:46 +00:00
104 lines
3.5 KiB
PHP
104 lines
3.5 KiB
PHP
<!-- menus -->
|
|
<TD bgColor="#4b4f66">
|
|
<?php
|
|
function menuItemLink( $url, $desc )
|
|
{
|
|
echo '<A CLASS="menus" HREF="' . $url . '">' . $desc . '</A><BR>';
|
|
}
|
|
|
|
function menuSectionHeader( $name, $fgColor , $bgColor, $intBgColor )
|
|
{
|
|
echo "\n<!-- menuSectionHeader(" . $name . ') -->' .
|
|
'<TABLE cellSpacing="0" cellPadding="3" width="100%" border=0 bgColor="' . $bgColor . '">' .
|
|
' <TR bgColor="' . $bgColor . '">' .
|
|
' <TD align="center">' .
|
|
' <IMG src="/img/blank.gif" height="1" width="135" alt="" border="0"><BR>' .
|
|
' <SPAN class="titlebar">' . $name . '</SPAN>' .
|
|
' </TD>' .
|
|
' </TR>' .
|
|
' <TR align="right" bgColor="' . $intBgColor . '">' .
|
|
' <TD>';
|
|
}
|
|
|
|
function menuSectionFooter()
|
|
{
|
|
echo ' </TD>' .
|
|
' </TR>' .
|
|
'</TABLE>';
|
|
}
|
|
|
|
function qfMenu()
|
|
{
|
|
global $menuHeadColor, $menuBgColor;
|
|
|
|
menuSectionHeader( "QuakeForge", 'white', $menuHeadColor, $menuBgColor );
|
|
menuItemLink( "/", "Latest News" );
|
|
menuItemLink( "/news.php", "News Archive" );
|
|
menuItemLink( "http://sourceforge.net/project/filelist.php?group_id=882", "Downloads" );
|
|
menuItemLink( "http://sourceforge.net/bugs/?group_id=882", "Bug Tracking" );
|
|
menuItemLink( "http://sourceforge.net/mail/?group_id=882", "Mailing Lists" );
|
|
menuSectionFooter();
|
|
}
|
|
|
|
function develMenu()
|
|
{
|
|
global $menuHeadColor, $menuBgColor;
|
|
|
|
menuSectionHeader( "Developers", 'white', $menuHeadColor, $menuBgColor );
|
|
menuItemLink( "http://sourceforge.net/cvs/?group_id=882", "CVS Access" );
|
|
menuItemLink( "/devtools.php", "Developer Tools" );
|
|
menuItemLink( "/progress.php", "State of the Code" );
|
|
menuItemLink( "http://sourceforge.net/patch/?group_id=882", "Patch Manager" );
|
|
menuItemLink( "http://sourceforge.net/support/?group_id=882", "Support Manager" );
|
|
menuItemLink( "http://sourceforge.net/pm/?group_id=882", "Task Manager" );
|
|
menuSectionFooter();
|
|
}
|
|
|
|
function sfMenu()
|
|
{
|
|
global $menuHeadColor, $menuBgColor;
|
|
|
|
menuSectionHeader( "SourceForge", 'white', $menuHeadColor, $menuBgColor );
|
|
menuItemLink( "http://sourceforge.net/", "Homepage" );
|
|
menuItemLink( "http://sourceforge.net/snippet/", "Code Snippet Library" );
|
|
menuItemLink( "http://sourceforge.net/softwaremap/", "Software Map" );
|
|
menuItemLink( "http://sourceforge.net/new/", "New Releases" );
|
|
menuItemLink( "http://sourceforge.net/docs/site/", "Site Documentation" );
|
|
menuItemLink( "http://sourceforge.net/top/", "Top Projects" );
|
|
menuItemLink( "http://sourceforge.net/mirrors/", "Other Site Mirrors" );
|
|
menuSectionFooter();
|
|
}
|
|
|
|
function searchMenu()
|
|
{
|
|
global $menuHeadColor, $menuBgColor;
|
|
|
|
menuSectionHeader( "Search", 'white', $menuHeadColor, $menuBgColor );
|
|
echo '<CENTER><FONT size="-2">' .
|
|
'<FORM action="search/" method="POST">' .
|
|
' <SELECT name="type_of_search">' .
|
|
' <OPTION value="bugs">Bug Tracking</OPTION>' .
|
|
' <OPTION value="lists">Mailing Lists</OPTION>' .
|
|
' <OPTION value="news">News</OPTION>' .
|
|
' <OPTION value="patches">Patches</OPTION>' .
|
|
' </SELECT>' .
|
|
' <BR>' .
|
|
' <INPUT TYPE="CHECKBOX" NAME="exact" VALUE="1" CHECKED> Require Exact Match' .
|
|
' <BR>' .
|
|
' <INPUT TYPE="HIDDEN" NAME="forum_id" VALUE="">' .
|
|
' <INPUT TYPE="HIDDEN" NAME="is_bug_page" VALUE="">' .
|
|
' <INPUT TYPE="HIDDEN" NAME="group_id" VALUE="882">' .
|
|
' <INPUT TYPE="text" NAME="words" SIZE="15" VALUE="">' .
|
|
' <BR>' .
|
|
' <INPUT TYPE="submit" NAME="Search" VALUE="Search">' .
|
|
'</FORM></FONT>' .
|
|
'</CENTER>';
|
|
menuSectionFooter();
|
|
}
|
|
|
|
qfMenu();
|
|
develMenu();
|
|
// sfMenu();
|
|
searchMenu();
|
|
?>
|
|
</TD>
|