0) { $navArray = getPaginationArray($pageNumber, $totalNrGalleries, homePageItemCount); $previous = 1; foreach ($navArray as $item) { if($item - $previous> 1) { $pagination .= "..."; } if($item == $pageNumber) { $pagination .= "$item"; } else { $url = createUserGalleriesUrl($user, $item); $pagination .= "$item"; } $previous = $item; } } $galleries = getUsersGalleries2($user, $pageNumber - 1, homePageItemCount); $headerTitle = "Gallery Dump - Free viewing and posting of all galleries posted by $user"; if($pageNumber > 1) { $headerTitle .= " (Page $pageNumber)"; } $headerKeywordsXtra = ",$user"; $headerDescription = "Free viewing and posting of hot galleries - Gallery Dump"; include "inc/header.php"; $galleryListing = createGalleryListing2($galleries, true, true); } ?>

All galleries posted by