Navigation Fehler Tabellen werden 3 fach ausgegeben

Gesperrt
victor
Beiträge: 70
Registriert: Mo 27. Jan 2003, 08:54
Wohnort: Kassel
Kontaktdaten:

Navigation Fehler Tabellen werden 3 fach ausgegeben

Beitrag von victor » Mo 27. Jan 2003, 09:06

Hallo ich habe ein Problem mit der main-navigation bei der Single_front Version es werden 3 Tabellen mehr ausgegeben als erwünscht ? Wenn ich einen Menüpunkt aktiviert habe gibt er mir 3 Tabellen mehr aus als erwünscht. Hat jemand eine Lösung, die ist das "orginal" contenido-Layout

?> <html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="expires" content="0">
<meta http-equiv="robots" name="robots" content="index,all">

<meta name="revisit-after" content="7 days">
<meta name="language" content="Deutsch">
<META NAME="audience" CONTENT=" Alle ">
<META NAME="ROBOTS" CONTENT="NOARCHIVE">
<link rel="StyleSheet" href="css/styles.css" type="text/css">
<script src="js/standard.js" type="text/javascript">
</script>
</head>
<body onload="off();return true;">
<br>
<table width="80%" border="0" cellspacing="0" cellpadding="9" align="center" height="100%">
<tr>

<td valign="top" align="center" width="750">
<table cellspacing="0" cellpadding="0" width="768" border="0" align="center">
<tr>
<td valign="center">
<table cellspacing="0" cellpadding="0" width="740" border="0" height="600" align="center">
<tr bgcolor="#FFFFFF">
<td colspan="4" height="62">
<div align="center"><a href="<?php echo "".$sess->url("front_content.php?client=$client&lang=$lang")."" ?>" onMouseOver="on('home');return true;" onMouseOut="off();return true;" id="top-menu"><img src="img/head.gif" width="768" height="87" border="0" hspace="0" vspace="15"></a></div>
</td>
</tr>

<tr bgcolor="#FFFFFF" valign="top">
<td nowrap colspan="4">
<table cellspacing="0" cellpadding="0" border="0" width="768">
<tr>
<td bgcolor="#FFFFFF" id="top-menu" align="right">
<!-- begin second-navigation-->
<?php
$i=1;
while ($i<=count($tree[1]))
{if ($tree[1][$i][idcat] == $idcat) {echo "".$tree[1][$i][name]." ";} else {echo "<a id=\"top-menu\" href=\"".$tree[1][$i][link]."\" onMouseOver=\"on('".$tree[1][$i][name]."');return true;\" onMouseOut=\"off();return true;\" id=\"top-menu\">".$tree[1][$i][name]."</a> ";}
if ($i != count($tree[1])) echo "| ";
$i++;}
?>
<!-- end second-navigation-->
</td>
</tr>
</table>

</td>
</tr>
<tr valign="top">
<td width="100" bgcolor="#FFFFFF" nowrap>
<table width="100" border="0" cellspacing="10" cellpadding="10">
<tr>
<td>







<!-- begin main-navigation -->
<?php
$i=1;
if (count($tree[1]))
{echo "<table cellspacing=\"0\" cellpadding=\"5\" border=\"0\" width=\"120\" height=\"25\">\n";
while ($i<=count($tree[1]))
{echo "<tr>\n";
echo "\n <td align=\"left\" width=\"120\" height=\"25\" ";

if ($tree[1][$i][idcat] == $subid) {echo "bgcolor=\"#CCFFFF\"";}
else {echo " onMouseOver=\"this.style['background']='#cccccc';\" onMouseOut=\"this.style['background']='#FFFFFF';\" bgcolor=\"#FFffff\"";}
echo " nowrap><a href=\"".$tree[1][$i][link]."\" onMouseOver=\"on('".$tree[1][$i][name]."');return true;\" onMouseOut=\"off();return true;\" id=\"left-menu\">".$tree[1][$i][name]."</a></td>\n</tr>\n";
if ($tree[1][$i][idcat] == $subid)
{$j=1;
while ($j<=count($tree[1][$i] ))
{echo "<tr>\n";# hier wird die Höhe geaendert
echo "\n <td align=\"left\" valign=\"middle\" height=\"0\"";
if ($tree[1][$i][$j][idcat] == $idcat) {echo "bgcolor=\"#FF99CC\"";}# #cccccc
else {echo " onMouseOver=\"this.style['background']='#66FF33';\" onMouseOut=\"this.style['background']='#ffffff';\" bgcolor=\"#ffffff\"";} #000000 hier wird das subuntermenu deklariert <a> Fehler <a
echo " nowrap><a href=\"".$tree[1][$i][$j][link]."\" onMouseOver=\"on('".$tree[1][$i][$j][name]."');return true;\" onMouseOut=\"off();return true;\" id=\"top-menu\">".$tree[1][$i][$j][name]."</a></td></tr>";
$j++;}}
$i++;}
echo "</table>\n";}
?>
<!-- end main-navigation-->
</td>
</tr>
</table>
<br>
<table cellspacing="0" cellpadding="0" border="0" width="100">
<tr>
<td align="center" width="150" id="font"> </td>
</tr>
</table>
<br>
</td>
<td width="11" bgcolor="#FFFFFF" nowrap><img height="1" src="img_site/space.gif" width="10" border="0"></td>
<!-- begin content-->
<td width="610" nowrap id="font1" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="6" height="5%" bgcolor="#FFFFFF">
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="0" width="598" border="0" height="8">
<tr>
<td id="font1">
<?php CMS_CONTAINER[1] ?>
</td>
<td align="right" id="font"> </td>
</tr>
</table>
</td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="6" bgcolor="#FFFFFF">
<tr>
<td id="font1">
<?php CMS_CONTAINER[2] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[3] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[4] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[5] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[6] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[7] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[8] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[9] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[10] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[11] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[12] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[13] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[14] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[15] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[16] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[17] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[18] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[19] ?>
</td>
</tr>
<tr>
<td id="font1">
<?php CMS_CONTAINER[20] ?>
</td>
</tr>
</table>
<br>
<br>
<br>
<br>
</td>
<!-- end content-->
<td width="10" bgcolor="#FFffff" nowrap><img height="8" src="img_site/space.gif" width="10" border="0"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td nowrap colspan="4">
<table cellspacing="0" cellpadding="0" border="0" width="768">
<tr>
<td width="100" bgcolor="#FFFFFF"> <a href="<?php echo "".$sess->url("front_content.php?client=$client&lang=$lang")."" ?>" onMouseOver="on('home');return true;" onMouseOut="off();return true;" id="top-menu"><img src="img/home.gif" alt="home" border="0"></a></td>
<td width="668" align="right" bgcolor="#FFFFFF">
<?php if ($subid != "") {echo "<a href=\"javascript:history.back(1)\" onMouseOver=\"on('zurück');return true;\" onMouseOut=\"off();return true;\" id=\"top-menu\"><img src=\"img_site/back.gif\" alt=\"zurück\" border=\"0\"></a> ";} ?>
<a href="#" onMouseOver="on('nach oben');return true;" onMouseOut="off();return true;" id="top-menu"><img src="img_site/top.gif" alt="nach oben" border="0"></a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4"><img height="1" src="img_site/space.gif" width="1" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>

</body>
</html>

Gesperrt