include("sharedCode/pageSetup.php");
include("sharedCode/pageTop.php");
include("sharedCode/horizontalLinks1.php");
include("sharedCode/verticalLinks1.php");
include("sharedCode/discourseRegion.php");
if (!$nav2Header = $thisParent["nameLevel"][$language]["name"]) {
$nav2Header = $thisRecord["nameLevel"][$language]["name"];
}
/////////////////////////////////////////////////////////////////////////////////////
//New Nav1 Region:
//include("sharedCode/horizontalLinks1.php");
//Set values for the template
//How many rows, columns, for each link-unit:
$linkRegionOptions["activeList"][$recordID] = "true";
if ($parentID) { $linkRegionOptions["activeList"][$parentID] = "true"; }
$linkRegionOptions["linkTemplate"]["rowCount"] = 3;
$linkRegionOptions["linkTemplate"]["columnCount"] = 3;
$linkRegionOptions["width"] = "760";
//$linkRegionOptions["underFlowPlan"] = "spaceOut";
//$linkRegionOptions["linkTemplate"]["columns"][1]["maxWidth"] = "6";
//$linkRegionOptions["linkTemplate"]["columns"][2]["maxWidth"] = "115";
//$linkRegionOptions["linkTemplate"]["columns"][3]["maxWidth"] = "6";
$linkRegionOptions["linkTemplate"]["columns"][1]["maxWidth"] = "6";
$linkRegionOptions["linkTemplate"]["columns"][2]["maxWidth"] = "140";
$linkRegionOptions["linkTemplate"]["columns"][3]["maxWidth"] = "6";
//Tell the function where to place the images (if any) how to find them:
$linkRegionOptions["linkTemplate"]["cells"][1][1]["default"]["keys"]["image"] = "topNav1";
$linkRegionOptions["linkTemplate"]["cells"][1][1]["active"]["keys"]["image"] = "topNav1a";
//Assign style-string by template-cell. This string will be appended to any cell-style used by the function:
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["style"] = "font-family: tahoma, arial; font-size: 14px; font-weight: normal; text-align: center; vertical-align: middle;";
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["style"] .= " padding-left: 7px; padding-right: 7px; padding-top: 1px; padding-bottom: 2px;";
//Assign link-style string by template cell. Similar to above, but such attributes as link-color cannot be set at the cell-level.
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["linkStyle"] = "text-decoration: none; color: #000000;" ;
$linkRegionOptions["linkTemplate"]["cells"][2][2]["active"]["linkStyle"] = "text-decoration: none; color: #" . $fgColor . ";" ;
//Assign other stuff by template cell:
//CORNERS:
//$linkRegionOptions["linkTemplate"]["cells"][1][1]["default"]["contentType"] = "image";
$linkRegionOptions["linkTemplate"]["cells"][1][1]["default"]["defaultContent"] = "";
$linkRegionOptions["linkTemplate"]["cells"][1][1]["active"]["defaultContent"] = "
";
$linkRegionOptions["linkTemplate"]["cells"][1][1]["default"]["linkYN"] = "true";
//$linkRegionOptions["linkTemplate"]["cells"][1][1]["active"]["defaultContent"] = $thisRecord["contentLevel"][$language]["uploads"]["topNav1Corner1a"];
$linkRegionOptions["linkTemplate"]["cells"][1][3]["default"]["defaultContent"] = "
";
$linkRegionOptions["linkTemplate"]["cells"][1][3]["active"]["defaultContent"] = "
";
$linkRegionOptions["linkTemplate"]["cells"][1][3]["default"]["linkYN"] = "true";
$linkRegionOptions["linkTemplate"]["cells"][3][1]["default"]["defaultContent"] = "
";
$linkRegionOptions["linkTemplate"]["cells"][3][1]["active"]["defaultContent"] = "
";
$linkRegionOptions["linkTemplate"]["cells"][3][1]["default"]["linkYN"] = "true";
$linkRegionOptions["linkTemplate"]["cells"][3][3]["default"]["defaultContent"] = "
";
$linkRegionOptions["linkTemplate"]["cells"][3][3]["active"]["defaultContent"] = "
";
$linkRegionOptions["linkTemplate"]["cells"][3][3]["default"]["linkYN"] = "true";
//EDGES:
//Backgrounds should be in style line-item format
$linkRegionOptions["linkTemplate"]["cells"][1][2]["default"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge1"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][1][2]["active"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge1a"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][2][1]["default"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge2"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][2][1]["active"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge2a"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][2][3]["default"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge3"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][2][3]["active"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge3a"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][3][2]["default"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge4"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][3][2]["active"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Edge4a"] . ");";
//Middle Fill
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Fill1"] . ");";
$linkRegionOptions["linkTemplate"]["cells"][2][2]["active"]["defaultBG"] = "background: url(" . $uploadedFilesFolder . $thisRecord["contentLevel"][$language]["uploads"]["topNav1Fill1a"] . ");";
//$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["contentType"][] = "text";
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["linkYN"] = "true";
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["contentPointer"][] = "nameLevel::" . $language . "::names::linkName";
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["contentPointer"][] = "nameLevel::" . $language . "::names::shortName";
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["contentPointer"][] = "nameLevel::" . $language . "::names::publicName";
$linkRegionOptions["linkTemplate"]["cells"][2][2]["default"]["contentPointer"][] = "nameLevel::" . $language . "::name";
$linkRegionOptions["language"] = "english";
$linkRegionOptions["compositeKey"] = "topNav1";
?>
/////////////////////////////NAV1 BEGINS////////////////////////// if ( $topNav1Code = showHorizontalLinks1($thisRecord["navLists"][1], $linkRegionOptions)) { print($topNav1Code); } //////////////////////////////NAV1 ENDS/////////////////////////// ?> |
if ($mainGraphic = $thisRecord["contentLevel"][$language]["uploads"]["mainGraphic"]) { include("sharedCode/mainGraphicRegion.php"); } ?> |
if ($thisSection = showHorizontalLinks1($thisRecord["navLists"][3], $bottomNavOptions)) { print($thisSection); } ?> |
![]() |
![]() |