mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2025-01-03 03:16:43 -05:00
beautyfied table footer
This commit is contained in:
parent
3663681af4
commit
6f9003206b
@ -93,6 +93,11 @@ float:right;
|
|||||||
padding: 0 5px 0 5px;
|
padding: 0 5px 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pagecountbox {
|
||||||
|
height:25px;
|
||||||
|
float:right;
|
||||||
|
}
|
||||||
|
|
||||||
#menue {
|
#menue {
|
||||||
width: 180px;
|
width: 180px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
@ -288,10 +288,11 @@ class TSMMonitor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($end > 1) {
|
||||||
$lines = array ("20", "50", "100", "200", "500");
|
$lines = array ("20", "50", "100", "200", "500");
|
||||||
$linesel = $_SESSION["lines"][$this->GETVars['qq']];
|
$linesel = $_SESSION["lines"][$this->GETVars['qq']];
|
||||||
if ($linesel == "") $linesel = "20";
|
if ($linesel == "") $linesel = "20";
|
||||||
$linebox = "<form action=".$_SERVER['PHP_SELF']."?q=".$this->GETVars['qq']."&m=".$this->GETVars['menu']."&s=".$this->GETVars['server']." method='post'><select name='lpp' size=1 onChange='submit();' class='button topnavbutton'>";
|
$linebox = "<form action=".$_SERVER['PHP_SELF']."?q=".$this->GETVars['qq']."&m=".$this->GETVars['menu']."&s=".$this->GETVars['server']." method='post'><select name='lpp' size=1 onChange='submit();' class='button'>";
|
||||||
|
|
||||||
foreach ($lines as $line) {
|
foreach ($lines as $line) {
|
||||||
$linebox .= '<option value="'.$line.'"';
|
$linebox .= '<option value="'.$line.'"';
|
||||||
@ -300,10 +301,14 @@ class TSMMonitor {
|
|||||||
}
|
}
|
||||||
$linebox .= "</select></form>";
|
$linebox .= "</select></form>";
|
||||||
|
|
||||||
if ($end > 1) {
|
|
||||||
$navline = $fp.' '.$pp.' '.$numbers.' '.$np.' '.$lp;
|
$navline = $fp.' '.$pp.' '.$numbers.' '.$np.' '.$lp;
|
||||||
}
|
}
|
||||||
return '<table width="100%" align="center" cellpadding="1" cellspacing="0" border=0><tr><td width="10%" align="left"></td><td width="80%" align="center">'.$navline.'</td><td width="10%" align="right">'.$linebox.'</td></tr></table>';
|
//return '<table width="100%" align="center" cellpadding="1" cellspacing="0" border=0><tr><td width="10%" align="left"></td><td width="80%" align="center">'.$navline.'</td><td width="10%" align="right">'.$linebox.'</td></tr></table>';
|
||||||
|
if ($navline != "") {
|
||||||
|
return '<div id="pagecountbox">'.$linebox.'</div>'.$navline.'';
|
||||||
|
} else {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ include_once "includes/page_head.php";
|
|||||||
}
|
}
|
||||||
$nav = $tsmmonitor->showPageNavigation("40");
|
$nav = $tsmmonitor->showPageNavigation("40");
|
||||||
if ($nav != "") {
|
if ($nav != "") {
|
||||||
echo "<tr><td colspan='".$thead["numfields"]."' align='center' class='footer'><a class='navhead'>".$nav."</a></td></tr>";
|
echo "<tr><td colspan='".$thead["numfields"]."' align='center' class='footer'><a>".$nav."</a></td></tr>";
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user