Home » Gallery


Gallery

5) { for($page = 1; $page <= 5; $page++) { if ($page == $pageNum) { $nav .= "". $page." "; // no need to create a link to current page } else { $nav .= " $page "; } } } else if($maxPage > 1) { for($page = 1; $page <= $maxPage; $page++) { if ($page == $pageNum) { $nav .= "". $page." "; // no need to create a link to current page } else { $nav .= " $page "; } } } // creating previous and next link // plus the link to go straight to // the first and last page if ($pageNum > 1) { $page = $pageNum - 1; $prev = " << Prev "; //$first = " [First Page] "; } else { $prev = ' '; // we're on page one, don't print previous link // $first = ' '; // nor the first page link } if ($pageNum < $maxPage) { $page = $pageNum + 1; $next = " Next >> "; // $last = " [Last Page] "; } else { $next = ' '; // we're on the last page, don't print next link // $last = ' '; // nor the last page link } // print the navigation link if($pagenum1 > 5) { echo "
". $prev ."     ". $next."
"; } else { echo "
". $prev ."     " . $nav ."     " . $next."
"; } if($j==1) { ?>

No Gallery Found

Facts and Figures about Kishanganj » | Kishanganj Tourism » | Irani Basti in Kishanganj »