das was ich will geht über meine kenntnisse hinaus.
wie schaffe ich es die Hilfsnavigation in eine Tabelle zu stecken in der jedes eintrag nach rechts in einer anderen weiteren spalte steht?
die Tabelle soll 100 % groß sein und die spalten müssen die gleiche breite haben.
Hier ist das ausgabemodul dazu. Vieleicht kann mir das jemand machen.
Danke und Gruß<?php
include_once($cfg["path"]["contenido"].$cfg["path"]["includes"]."functions.con.php");
$catStart = "CMS_VALUE[0]";
if ($catStart != "") {
$catIds = conDeeperCategoriesArray($catStart);
echo '<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>';
if ( is_array($catIds) ) {
foreach($catIds as $key=>$val) {
// Ersten Eintrag ueberspringen, weil das der Menupunkt selbst ist und nicht angezeigt werden soll.
if ($key != 0) {
$sql = "SELECT CAT.idcat AS idcat, name FROM ".
$cfg["tab"]["cat"]." AS CAT, ".
$cfg["tab"]["cat_lang"]." AS CATLANG
WHERE CAT.idcat = ".$val."
AND CAT.idcat = CATLANG.idcat
AND CATLANG.idlang = '$lang'
AND CATLANG.visible = '1'";
$db->query($sql);
while ( $db->next_record() ) {
echo '<td height="21" class=".navigation" style="border: 0px; padding-left:20px; padding-right:20px;">
<div align="center">
<a class="klein" href="front_content.php?idcat='.$db->f("idcat").'">'.$db->f("name").'</a></div></td>';
} // end while
} // if
} // end foreach
} // end if (is_array)
echo '</tr></table>';
}
?>
PhB