website/parts/menu.php

98 lines
3.4 KiB
PHP
Raw Normal View History

<!-- menus -->
2000-05-08 02:39:55 +00:00
<?
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()
{
2000-05-08 02:39:55 +00:00
menuSectionHeader( "Project", 'white', menuHeadColor, menuBgColor );
2000-04-06 21:23:16 +00:00
menuItemLink( "/", "Latest News" );
2000-04-27 16:07:48 +00:00
menuItemLink( "/news.php", "Old News" );
2000-04-17 16:17:20 +00:00
menuItemLink( "/files.php", "Downloads" );
2000-04-27 16:34:58 +00:00
menuItemLink( "http://sourceforge.net/bugs/?group_id=882", "Bug Reports" );
menuItemLink( "http://sourceforge.net/mail/?group_id=882", "Mailing Lists" );
2000-04-27 16:07:48 +00:00
menuItemLink( "/board/", "Web Forum" );
menuSectionFooter();
}
function develMenu()
{
2000-05-08 02:39:55 +00:00
menuSectionHeader( "Developers", 'white', menuHeadColor, menuBgColor );
2000-03-07 21:43:09 +00:00
menuItemLink( "http://sourceforge.net/cvs/?group_id=882", "CVS Access" );
menuItemLink( "/devtools.php", "Developer Tools" );
2000-04-18 16:25:45 +00:00
menuItemLink( "/progress.php", "Progress" );
menuItemLink( "/sotc/", "State of the Code" );
menuItemLink( "/research/", "Research Center" );
menuItemLink( "http://sourceforge.net/patch/?group_id=882", "Patch Manager" );
2000-03-07 21:43:09 +00:00
menuItemLink( "http://sourceforge.net/support/?group_id=882", "Support Manager" );
menuItemLink( "http://sourceforge.net/pm/?group_id=882", "Task Manager" );
menuSectionFooter();
}
function sfMenu()
{
2000-05-08 02:39:55 +00:00
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()
{
2000-05-08 02:39:55 +00:00
menuSectionHeader( "Search", 'white', menuHeadColor, menuBgColor );
2000-03-07 03:11:59 +00:00
echo '<CENTER><FONT size="-2">' .
2000-04-10 00:44:12 +00:00
'<FORM action="search.php" method="POST">' .
2000-03-07 02:00:04 +00:00
' <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>' .
2000-03-07 11:34:23 +00:00
' <INPUT TYPE="CHECKBOX" NAME="exact" VALUE="1" CHECKED>&nbsp;Require Exact Match' .
2000-03-07 02:00:04 +00:00
' <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">' .
2000-03-07 03:11:59 +00:00
'</FORM></FONT>' .
'</CENTER>';
menuSectionFooter();
}
qfMenu();
develMenu();
// sfMenu();
searchMenu();
?>