function render_last($anchor=true)
	{
	global $PHP_SELF;

		if (!$this->db->pageExecuteCountRows) return;

		if ($anchor) {
		?>
			<a href="<?php echo $PHP_SELF,'?',$this->id,'_next_page=',$this->rs->LastPageNo() ?>"><?php echo $this->last;?></a> &nbsp;
		<?php
		} else {
			print "$this->last &nbsp; ";
		}
	}
function render_last($anchor=true)
	{
	global $PHP_SELF;

		if (!$this->db->pageExecuteCountRows) return;

		if ($anchor) {
		?>
			<a href="<?php echo $PHP_SELF,'?',$this->id,'_next_page=',$this->rs->LastPageNo() ?>"><?php echo $this->last;?></a> &nbsp;
		<?php
		} else {
			print "$this->last &nbsp; ";
		}
	}
function render_last ( $ anchor = true ) { global $ PHP_SELF ; if ( ! $ this -> db -> pageExecuteCountRows ) return ; if ( $ anchor ) { ?>
			<a href="<?php echo $ PHP_SELF , '?' , $ this -> id , '_next_page=' , $ this -> rs -> LastPageNo ( ) ?>"><?php echo $ this -> last ; ?></a> &nbsp;
		<?php } else { print "$this->last &nbsp; " ; } }
last page counting.
last page counting .