'; echo "
"; $printHome = writeRootLink($install_dir); if (!$printHome) { if (!$twg_album) { $printHome = writeRootLink($basedir); } } $twg_foffset_arr = explode ("," , $twg_foffset); $printRoot = true; $show_up_button = true; $fullpath = ""; if ($twg_album) { $path = explode ("/" , $twg_album); $nr_count = count($path); $actpath = ""; reset ($path); for ($nr_act_count = 0; $nr_act_count < $nr_count; $nr_act_count++) { $element = array_pop($path); // echo ":" . $element . ":"; if ($nr_act_count == 0 && $skip_thumbnail_page_dummy) { $dirname = $basedir . "/" . $twg_album; $val = remove_br(getDirectoryName($dirname, $element)); $fullpath .= $val; if (hasRootLink($dirname)) { if (!$printHome) { writeRootLink($dirname); } $printRoot = false; $show_up_button = false; } } else { if ($nr_act_count < $nr_count-1) { $actpath = implode("/", $path) . "/" . $element; } else { $actpath = $element; } $has_root_link = hasRootLink($basedir . "/" . $actpath); if ($printRoot) { $show_up_button = true; $rem_path = implode(",", array_slice($twg_foffset_arr,0,$nr_count - $nr_act_count +1)); $val = remove_br(getDirectoryName($basedir . "/" . $actpath, $element)); if ($rem_path != "" && $rem_path != '0' && $rem_path != '0,0') { // $fof = "&twg_foffset=" . $rem_path; } else { $fof = ''; } $cpath = " $nr_act_count && !$has_root_link && $nr_act_count >=1) { $cpath .= "title=\"".$val."\"".">..."; } else { $cpath .= ">" . $val; } $cpath .= ' > '; $fullpath = $cpath . $fullpath; } if ($has_root_link) { if (!$printHome) { writeRootLink($basedir . "/" . $actpath); } $printRoot = false; } } } } if ($show_breadcrumb) { if ($printRoot) { echo ""; echo "" . $lang_galleries . ""; if ($twg_album || $image) { echo " > "; } } echo $fullpath; } else { echo " "; } ?>