<?php

if (eregi("navbar.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

$navbar[1]  = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\">";
$navbar[1] .= "<tr bgcolor=\"$bgcolor6\" valign=\"middle\"><td colspan=\"3\" align=\"center\">";
$navbar[1] .= "<img src=\"themes/$NameOfTheme/images/buttons/navbutton.gif\" height=\"21\" width=\"115\" border=\"0\">";
$navbar[1] .= "<a href=\"index.php\"><img src=\"themes/$NameOfTheme/images/buttons/sub-home.gif\" height=\"21\" width=\"115\" border=\"0\"></a>";
$navbar[1] .= "<img src=\"themes/$NameOfTheme/images/buttons/navbutton.gif\" height=\"21\" width=\"115\" border=\"0\">";
$navbar[1] .= "<a href=\"modules.php?name=Forums\"><img src=\"themes/$NameOfTheme/images/buttons/sub-forums.gif\" height=\"21\" width=\"115\" border=\"0\"></a>";
$navbar[1] .= "<img src=\"themes/$NameOfTheme/images/buttons/navbutton.gif\" height=\"21\" width=\"115\" border=\"0\">";
$navbar[1] .= "<a href=\"modules.php?name=Submit_News\"><img src=\"themes/$NameOfTheme/images/buttons/sub-news.gif\" height=\"21\" width=\"115\" border=\"0\"></a>";
$navbar[1] .= "<img src=\"themes/$NameOfTheme/images/buttons/navbutton.gif\" height=\"21\" width=\"115\" border=\"0\">";
$navbar[1] .= "</td></tr>";
$navbar[1] .= "</table>";

$navbar[2]  = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\">";
$navbar[2] .= "<tr bgcolor=\"$bgcolor6\" valign=\"middle\"><td colspan=\"3\" align=\"center\">";
$navbar[2] .= "[ ";
$navbar[2] .= "<a href=\"index.php\">Home</a>";
$navbar[2] .= " | ";
$navbar[2] .= "<a href=\"modules.php?name=Forums\">Forums</a>";
$navbar[2] .= " | ";
$navbar[2] .= "<a href=\"modules.php?name=Submit_News\">Submit News</a>";
$navbar[2] .= " ]";
$navbar[2] .= "</td></tr>";
$navbar[2] .= "</table>";

?>