<TABLE cellSpacing=0 cellPadding=0 width="100%" bgcolor="<?php echo $section_parm[2] ?>" border="0">
  <TBODY>
  <TR>
    <TD align=left width="160">&nbsp;</TD>
    <TD>
    <table border="0" cellpadding="0" cellspacing="0"  bgcolor="<?php echo $section_parm[2] ?>" width="<?php echo $content_parm[3] ?>">
      <tr>
<?php

#############################################################################
#                              Site@School
# section2.php: last changed 29/06/2006  , version: 2.4.02
# by Fred Stuurman  (fc.stuurman@hccnet.nl)
# LICENSE INFORMATION: see LICENCE.txt in starnet directory
#$Id: section2.php,v 1.1 2006/10/03 11:13:16 fstuurman Exp $
#############################################################################
if (!defined('IN_SAS'))
{
	die("Hacking attempt");
}

$query = "SELECT id, name, frontpage FROM $table_sections WHERE invisible != 'yes' ORDER BY sort";
$result = mysql_query($query) or die_script($query, mysql_error());
while ($sectionmenu = mysql_fetch_array($result))
{
	if ($sectionmenu[0] == $section)
	{
		print "<td width=\"$section_parm[8]\" height=\"18\" bgcolor=\"$section_parm[9]\" align=\"center\">
			<span STYLE=\"font-family:$section_parm[5];font-size :$section_parm[6];color: $section_parm[7]\">$sectionmenu[1]</span></td>";

	}
	else
	{
		print "<td width=\"$section_parm[8]\" height=\"25\" bgcolor=\"$section_parm[3]\" align=\"center\" 
					onMouseOver=\"this.bgColor='$section_parm[4]'\" onMouseOut=\"this.bgColor='$section_parm[3]'\">
					<a href=index.php?section=$sectionmenu[0]&page=$sectionmenu[2] STYLE=\"font-family: $section_parm[5]; 
					font-size : $section_parm[6]; color: $section_parm[7]\">$sectionmenu[1]</a></td>";
	}
}
?>
    <td height="25" bgcolor="<?php echo $section_parm[2] ?>">&nbsp;</td>
    </tr>
    </table>
    </TD>
    </TR></TBODY></TABLE>