", $install_dir); } if ($show_print_icon) { printf("  ", $install_dir); } if ($show_first_last_buttons) { // 1st button $hreffirst = $_SERVER['PHP_SELF'] . '?twg_album='.$album_enc.'&twg_show=x' . $twg_standalone; printf("%s", $hreffirst, $install_dir, $lang_first, $lang_first); } if ($default_big_navigation != "DHTML" && $default_big_navigation != "FLASH") { // || $twg_smallnav == "TRUE" if ($last = get_last($twg_album, $image, $current_id)) { $hreflast = $_SERVER['PHP_SELF'] . '?twg_album='.$album_enc.'&twg_show='. $last . $twg_standalone; $hreflastjs = $_SERVER['PHP_SELF'] . '?twg_album='.$album_enc.'&twg_show=' . $last . $twg_standalonejs; printf("", $hreflast, $install_dir, $lang_back, $lang_back); echo ''; } else { printf("", $install_dir); } } else { // dhtml solution !! printf("%s", $install_dir, $lang_back, $lang_back); echo ''; if (!get_last($twg_album, $image, $current_id)) { echo ''; } ; } // the overview if ($show_up_button) { // if you want to remove the up button set this to false! $twg_offset = get_twg_offset($twg_album, $image, $current_id); if ($skip_thumbnail_page) { $jump_album = urlencode(getupperdirectory($twg_album)); } else { $jump_album = $album_enc; } $foffset = $foffsetjs = ''; if (isset($_SESSION['twg_ses_foffset'])) { if ($_SESSION['twg_ses_foffset'] != '') { // && $_SESSION['twg_ses_foffset'] != '0' && $_SESSION['twg_ses_foffset'] != '0,0' $foffset = "&twg_foffset=" . $_SESSION['twg_ses_foffset']; $foffsetjs = "&twg_foffset=" . $_SESSION['twg_ses_foffset']; } } else { $foffset = $foffsetjs = ""; } $twg_offset_str = $twg_offset_str_js = ''; if ($twg_offset != '0') { $twg_offset_str = '&twg_offset=' . $twg_offset; $twg_offset_str_js = '&twg_offset=' . $twg_offset; } printf("%s", $_SERVER['PHP_SELF'], $jump_album, $twg_offset_str, $foffset, $twg_standalone, $install_dir, $lang_overview, $lang_overview); printf("", $_SERVER['PHP_SELF'], $jump_album, $twg_offset_str_js, $foffsetjs, $twg_standalonejs) ; } if ($default_big_navigation != "DHTML" && $default_big_navigation != "FLASH") { // || $twg_smallnav == "TRUE" if ($next = get_next($twg_album, $image, $current_id)) { $hrefnext = $_SERVER['PHP_SELF'] . '?twg_album='.$album_enc.'&twg_show='. $next . $twg_standalone; $hrefnextjs = $_SERVER['PHP_SELF'] . '?twg_album='.$album_enc.'&twg_show=' . $next . $twg_standalonejs; printf("%s", $hrefnext, $install_dir, $lang_forward, $lang_forward); echo ''; } else { printf("", $install_dir); } } else { // dhtml solution! printf("%s", $install_dir, $lang_forward, $lang_forward); echo ''; if (!get_next($twg_album, $image, $current_id)) { echo ''; } ; } if ($show_first_last_buttons) { // last button $end = get_end($twg_album); $hrefend = $_SERVER['PHP_SELF'] . '?twg_album='.$album_enc.'&twg_show=' . $end .$twg_standalone; printf("%s", $hrefend, $install_dir, $lang_last, $lang_last); } if ($show_slideshow) { if ($twg_slideshow) { // the slidestop=true is only needed to find this link with javascript and be able to excange this // dynamically -> if a user stop the slidtwg_show we can jump to the actual twg_shown picture !! printf("  %s", $_SERVER['PHP_SELF'], $album_enc, $image_enc, $twg_standalone, $install_dir, $lang_stop_slideshow, $lang_stop_slideshow); } else { printf("  %s", $_SERVER['PHP_SELF'], $album_enc, $image_enc, $twg_standalone, $install_dir, $lang_start_slideshow, $lang_start_slideshow); } } if ($show_print_icon) { printf("%s", $install_dir, $icon_set, $install_dir, $icon_set, $lang_print,$lang_print); } ?>