= $ItemsPerPage); $FastRewindButton = ($JumpDistance > 0) && ($CurrIndex >= $JumpDistance); $ForwardButtons = (($CurrIndex + $ItemsPerPage) < $TotalItems); $FastForwardButton = ($JumpDistance > 0) && (($CurrIndex + $JumpDistance) < $TotalItems); # generate links for buttons $GoToStartLink = $Link; $FastRewindLink = $Link."&SI=".($CurrIndex - $JumpDistance); $RewindLink = $Link."&SI=".($CurrIndex - $ItemsPerPage); $GoToEndLink = $Link."&SI=" .($TotalItems - ($TotalItems % $ItemsPerPage) - 1); $FastForwardLink = $Link."&SI=".($CurrIndex + $JumpDistance); $ForwardLink = $Link."&SI=".($CurrIndex + $ItemsPerPage); # determine message alignment $MsgAlign = (!$ReverseButtons) ? "left" : ((!$ForwardButtons) ? "right" : "center"); ?>

|< << < |  | > >> >|