Seite 1 von 1
BottomNavi 4.6.23
Verfasst: Do 7. Feb 2008, 16:11
von vpanama
Hallo,
hab mir eben das Modul gekillt. Kann mir das jemand kurzfristig zur Verfügung stellen? Die Vorversionen, konnte maximal auf eine 15 zurückgreifen, sind leider nicht identisch.
Danke
vpanama
Verfasst: So 10. Feb 2008, 09:22
von emergence
Code: Alles auswählen
<?php
/***********************************************
* Bottom Navigation Output
*
* Author : Willi Man
* Copyright : four for business AG
* Version : 1.0
* Created : 17-03-2005
* Modified : 05-08-2005, Andreas Lindner
************************************************/
#System properties in use:
#Type: navigation, Name: idcat_bottomnavi
#Contains idcat of tree to be displayed in bottom navigation
#Includes
cInclude("frontend", "includes/functions.navigation.php");
cInclude("classes", "class.template.php");
#Get settings
$cApiClient = new cApiClient($client);
$catStart = $cApiClient->getProperty('navigation', 'idcat_bottomnavi');
if (!is_object($oClient)) {
$oClient = new cApiClient($client);
}
#Get sub categories
$navigation = array ();
$navigation = createNavigationArray($catStart, $db);
#Output sub categories
$output = '';
if (count($navigation) > 0) {
foreach ($navigation as $key => $data) {
$output .= '<a href="'.$sess->url("front_content.php?idcat=".$data['idcat']).'" title="'.$data['name'].'">'.$data['name'].'</a> | ';
}
}
if (strlen($output) > 0) {
$output = substr($output, 0, strlen($output) - 3);
}
echo "<div id=\"footer\">".$output."</div>\n";
?>
Danke emergence
Verfasst: So 10. Feb 2008, 09:37
von vpanama
...für den Code
Gruß,
vpanama