Source for file pages.php
Documentation is available at pages.php
* @author Gabriele Droege, DNA Bank Network <contact@dnabank-network.org>
* @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org<br>The contents of this file are subject to the Mozilla Public License Version 1.1
* @license http://www.mozilla.org/MPL/ MPL
echo
"<tr class='head'><td colspan='5' align='center'>";
if($_GET['sort'] ==
"") {$_GET['sort'] =
"DU"; }
if(isset
($page) and $page>
1)
for($i=
$page-
10; $i<
$page; $i++
) {
if($i>=
$page-
10) echo
" ";
echo
" ", build_href("query_clean.php", $query .
"&hitlist=true&page=" .
$i .
"&sort=" .
$_GET['sort'], $i); }}
for($i=
1; $i<
$page; $i++
) {
echo
" ", build_href("query_clean.php", $query .
"&hitlist=true&page=" .
$i .
"&sort=" .
$_GET['sort'], $i); }}}
{ if(isset
($page)) echo
" ";
for($i=
$page; $i<
($sum /
$pagesize); $i++
){
if($i>=
$page and $i-
$page <=
10) {echo
" ";
echo
build_href("query_clean.php", $query .
"&hitlist=true&page=" .
($i+
1) .
"&sort=" .
$_GET['sort'], ($i+
1));}}}
for($i=
$page; $i<
($sum /
$pagesize); $i++
){
if($i>=
$page and $i-
$page <=
19) {echo
" ";
echo
build_href("query_clean.php", $query .
"&hitlist=true&page=" .
($i+
1) .
"&sort=" .
$_GET['sort'], ($i+
1));}}}
Documentation generated on Tue, 29 Nov 2011 10:44:58 +0100 by phpDocumentor 1.4.3