<style type="text/css">
/*ul.pagination {
	font-family: "Arial", "Helvetica", sans-serif;
	font-size: 13px;
	height: 100%;
	list-style-type: none;
	margin: 10px 10px;
	overflow: hidden;
	padding: 0;
}
ul.pagination li.details {
	background-color: white;
	border-color: #C8D5E0;
	border-image: none;
	border-style: solid;
	border-width: 1px 1px 2px;
	color: #1E598E;
	font-weight: bold;
	padding: 3px 8px;
	text-decoration: none;
}
ul.pagination li.dot {
	padding: 3px 0;
}
ul.pagination li {
	float: left;
	list-style-type: none;
	margin: 0 3px 0 0;
}
ul.pagination li:first-child {
	margin-left: 0;
}

ul.pagination li a img {
	border: medium none;
}
ul.pagination li a.current {
	background-color: #FFF;
	padding: 3px 8px;
	border-radius:2px;
	-moz-border-radius:3px;
	color: #333333;
}
ul.pagination li a.current:hover {
	background-color: white;
}
a span.sv:hover {
	background-color: #C8D5E0;
}
a span.sv{
    position: relative;
	background-color: #F6F6F6;
	border-color: #C8D5E0;
	border-image: none;
	border-style: solid;
	float: left;
	margin-right: 3px;
	left: 20px;
	width: auto;
	border-width: 1px 1px 2px;
	color: #1E598E;
	font-weight: bold;
	padding: 3px 8px;
	border-radius:2px;
	-moz-border-radius:3px;
	text-decoration: none;
}*/
.sv1:hover {
	background-color: #C8D5E0;
}
.sv1{
    position: relative;
	background-color: #F6F6F6;
	border-color: #C8D5E0;
	border-image: none;
	border-style: solid;
	margin-right: 2px;
	width: auto;
	border-width: 1px 1px 2px;
	color: #1E598E;
	font-weight: bold;
	padding: 3px 8px;
	border-radius:2px;
	-moz-border-radius:3px;
	text-decoration: none;
}	
</style>
<?php
// ==================================================================
	//  Author: Ted Kappes (pesoto74@soltec.net)
	//	Web: 	http://tkap.org/paginator/
	//	Name: 	Paginator_html
	// 	Desc: 	Class extension for Paginator. Adds pre-made link sets.
	//
	// 7/21/2003
	//
	//  Please send me a mail telling me what you think of Paginator
	//  and what your using it for. [ pesoto74@soltec.net]
	//
// ==================================================================
      
			class Paginator_html extends Paginator { 
			
			  //outputs a link set like this 1 of 4 of 25 First | Prev | Next | Last |              
				function firstLast()
			  {				
					 if($this->getCurrent()==1)
		         {
		         $first = "First | ";
		         } else { $first="<a class='sv1' href=\"" .  $this->getPageName() . "?".$this->param."&amp;page=" . $this->getFirst() . "#txt\"><span class='sv' style='color:#0033FF; font-family: Arial; font-size: 14px;'>First</span></a> |"; }
		       if($this->getPrevious())
		         {
		         $prev = "<a class='sv1' href=\"" .  $this->getPageName() . "?".$this->param."&amp;page=" . $this->getPrevious() . "#txt\"><span class='sv' style='color:#0033FF; font-family: Arial; font-size: 14px;'>Prev</font></span></a> | ";
		         } else { $prev="Prev | "; }
		
	         if($this->getNext())
		         {
		         $next = "<a class='sv1' href=\"" . $this->getPageName() . "?".$this->param."&amp;page=" . $this->getNext() . "#txt\"><span class='sv' style='color:#0033FF; font-family: Arial; font-size: 14px;'>Next</span></a> | ";
		         } else { $next="Next | "; }
		
		
		       if($this->getLast())
		         {
		         $last = "<a class='sv1' href=\"" . $this->getPageName() . "?".$this->param."&amp;page=" . $this->getLast() . "#txt\"><span class='sv' style='color:#0033FF; font-family: Arial; font-size: 15px;'>Last</span></a> | ";
		         } else { $last="Last | "; }
		         echo $this->getFirstOf() . " of " .$this->getSecondOf() . " of " . $this->getTotalItems() . " ";
		         echo $first . " " . $prev . " " . $next . " " . $last;
				} 
				//outputs a link set like this Previous 1 2 3 4 5 6 Next   
				function previousNext()
				{
					if($this->getPrevious())
		        {
		        ?><?php echo "<a class='sv1' href=\"" . $this->getPageName() . "?".$this->param."&amp;page=" . $this->getPrevious() . "#txt\"><span class='sv' style='color:#0033FF; font-family: Arial; font-size: 12px;'>Previous</span></a> ";
		        }
						$links = $this->getLinkArr();
		      foreach($links as $link)
	          {
	          if($link == $this->getCurrent())
					    {
					     echo " $link ";
					    } else { echo "<a class='sv1' href=\"" . $this->getPageName() ."?".$this->param."&amp;page=$link#txt\"><span class='sv' style='color:#000; font-family: Arial; font-size: 12px;'>" . $link . "</span></a> ";
					    }
		          } 
						if($this->getNext())
		          {
		          echo "<a class='sv1' href=\"" . $this->getPageName() . "?".$this->param."&amp;page=" . $this->getNext() . "#txt\"><span class='sv' style='color:#0033FF; font-family: Arial; font-size: 12px;'>Next</span></font></a> ";
		          }
		        }  
	}//ends class
?>
				 