diff --git a/css/layout.css b/css/layout.css
index 4addf3d..95f113c 100644
--- a/css/layout.css
+++ b/css/layout.css
@@ -93,6 +93,11 @@ float:right;
padding: 0 5px 0 5px;
}
+#pagecountbox {
+height:25px;
+float:right;
+}
+
#menue {
width: 180px;
padding: 0px;
diff --git a/includes/tsmmonitor.php b/includes/tsmmonitor.php
index 07ede0c..a4d968c 100644
--- a/includes/tsmmonitor.php
+++ b/includes/tsmmonitor.php
@@ -288,22 +288,27 @@ class TSMMonitor {
}
}
- $lines = array ("20", "50", "100", "200", "500");
- $linesel = $_SESSION["lines"][$this->GETVars['qq']];
- if ($linesel == "") $linesel = "20";
- $linebox = "
";
-
if ($end > 1) {
+ $lines = array ("20", "50", "100", "200", "500");
+ $linesel = $_SESSION["lines"][$this->GETVars['qq']];
+ if ($linesel == "") $linesel = "20";
+ $linebox = "";
+
$navline = $fp.' '.$pp.' '.$numbers.' '.$np.' '.$lp;
}
- return '';
+ //return '';
+ if ($navline != "") {
+ return ''.$linebox.'
'.$navline.'';
+ } else {
+ return "";
+ }
}
diff --git a/index.php b/index.php
index 71d6925..bfdd8a5 100644
--- a/index.php
+++ b/index.php
@@ -209,7 +209,7 @@ include_once "includes/page_head.php";
}
$nav = $tsmmonitor->showPageNavigation("40");
if ($nav != "") {
- echo "
";
+ echo "
";
}
echo "";
}