\n
\n"; } elseif(intval(array_key_exists('locid',$_REQUEST)?$_REQUEST['locid']:0) <= 0) { echo "\n\n\n\n\n
\n"; $st="";$prev="";$end="";$next=""; $rc = mysql_num_rows(mysql_query("select * from `locations` where `regid`='$regid'")); if($start > 0) { $prev = $start - $limit; if($prev < 0) $prev = 0; $st = "[ << "._("Start")." ] "; $prev = "[ < "._("Previous")." $limit ] "; } if($start < $rc - $limit) { $next = $start + $limit; $last = $rc - $limit; $next = "[ "._("Next")." $limit > ] "; $end = "[ "._("End")." >> ]"; } echo "
$st
$end
\n"; echo "
$prev
$next
\n"; } ?>