- <script> 
- function snelkiezen(waar) 
- { 
-         eval("parent" + ".location = '" + waar.options[waar.selectedIndex].value + "'"); 
- } 
- </script> 
-   
- <?php 
-   
-   /* 
-   +--------------------------------------------+ 
-   |           Pagina Navigatie                 | 
-   +--------------------------------------------+ 
-   | Auteur       :    Matthias Trip            | 
-   | Email        :    Matthiastrip @ gmail.com | 
-   | Copyrights   :    © 2004 - 2005, Matthias  | 
-   | Script       :    Pagina navigatie 1.0     | 
-   +--------------------------------------------+ 
-   */ 
-   
-   
-   function navigatie( $per_pagina , $aantal , $curent_page , $url = 'pagina.php?') 
-   { 
-   // Het aantal pagina's berekenen 
-   $paginas = ceil( $aantal / $per_pagina ); 
-   
-   
-   
-                if($curent_page != 1) 
-                { 
-                 $terug_link = ' '.$url.'pagina='.($curent_page - 1).' '; 
-                 $terug      = "<input type=\"button\" onclick=\"location='".$terug_link."'\" value=\"‹\">"; 
-   
-                } 
-   
-   
-   
-                 if(($curent_page + 1) <= $paginas) 
-                 { 
-                 $volgende_link = ' '.$url.'pagina='.($curent_page + 1).' '; 
-                 $volgende      = "<input type=\"button\" onclick=\"location='".$volgende_link."'\" value=\"»\">"; 
-                 } 
-   
-   
-                 if(($curent_page - 1) > 1) 
-                 { 
-                 $eerste     = "<input type=\"button\" onclick=\"location='".$url."pagina=1'\" value=\"««\">"; 
-                 } 
-   
-   
-                 if($curent_page != $paginas) 
-                 { 
-                 $laatste = "<input type=\"button\" onclick=\"location='".$url."pagina=".$paginas."'\" value=\"»»\">"; 
-                 } 
-   
-   
-              $return = ' '.$eerste.' '.$terug.' <select size="1" <select size="1" name="p" onChange=snelkiezen(this)> name="navigatie">'; 
-   
-   
-                              for($i = 1; $i <= $paginas; $i++) 
-                              { 
-                                  $selected = ($i == $curent_page) ? "selected" : ""; 
-                                  $return .= '<option value="'.$url.'pagina='.$i.'" '.$selected.'>'.$i.'</option>'; 
-                              } 
-   
-              $return .= '</select> '.$volgende.' '.$laatste.''; 
-   
-   
-   
-   Return $return; 
-   
-   } 
- ?>