Ejemplo n.º 1
0
echo $GeneralObj->TimetoDate(time());
?>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="90%" class="topnav">
						<ul id="MenuBar" class="MenuBarHorizontal">
							<?php 
$class = "";
$siteMap = new SiteMap();
// $r=$_SESSION["sess_eType"];
//  echo "<b>rights === ".$r."</b><br/>";
$menuItems = $siteMap->getItemsByRights($_SESSION["sess_eType"]);
//  echo "<b>COUNT === ".count($menuItems)."</b>";
for ($i = 0; $i < count($menuItems); $i++) {
    $currentItem = current($menuItems);
    echo "<li  alt='" . $currentItem['vMenuDisplay'] . "'>";
    if ($currentItem['vMenuDisplay'] == 'Content Mgmt') {
        echo "<a href='#' onclick='menuItemClicked(\"" . $currentItem['vURL'] . "\");return false;' class='MenuBarItemSubmenu' title='" . $currentItem['vMenuDisplay'] . "' >" . "<span><em>" . $currentItem['vMenuDisplay'] . "</em></span></a>";
    } else {
        echo "<a href='" . $currentItem['vURL'] . "' class='MenuBarItemSubmenu' title='" . $currentItem['vMenuDisplay'] . "' >" . "<span><em>" . $currentItem['vMenuDisplay'] . "</em></span></a>";
    }
    if (count($currentItem['eSubMenu']) > 0) {
        $currentSubMenu = $currentItem['eSubMenu'];
        echo "<ul '>";
        for ($d = 0; $d < count($currentSubMenu); $d++) {
            $currentSubItem = current($currentSubMenu);
            echo "<li   alt='" . $currentSubItem['vMenuDisplay'] . "'>";