From e39fdc3caa89174cc6b74036c1eade5f3592bc1e Mon Sep 17 00:00:00 2001 From: kanoi Date: Mon, 12 Sep 2016 12:32:48 +1000 Subject: [PATCH] php - add sorting to page_ckp.php --- pool/page_ckp.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pool/page_ckp.php b/pool/page_ckp.php index d4fcfc92..07fb370c 100644 --- a/pool/page_ckp.php +++ b/pool/page_ckp.php @@ -25,15 +25,17 @@ function dockp($data, $user) else $ans = repDecode($rep); + addSort(); + $r = "input type=radio name=srt onclick=\"sott('ckpsrt',this);\""; $pg .= 'TotalRAM: '.stnum($ans['totalram']).'
'; $pg .= "\n"; $pg .= ''; - $pg .= ''; + $pg .= ""; $pg .= ''; $pg .= ''; - $pg .= ''; - $pg .= ''; - $pg .= ''; + $pg .= ""; + $pg .= ""; + $pg .= ""; $pg .= ''; $pg .= "\n"; if ($ans['STATUS'] == 'ok') @@ -48,12 +50,12 @@ function dockp($data, $user) $row = 'odd'; $pg .= ""; - $pg .= ''; + $pg .= "'; $pg .= ''; $pg .= ''; - $pg .= ''; - $pg .= ''; - $pg .= ''; + $pg .= "'; + $pg .= "'; + $pg .= "'; $pg .= ''; $pg .= "\n"; }
NameName:<$r id=srtname data-sf=s0>InitialAllocatedIn StoreRAMRAM2<$r id=srtname data-sf=r3>:In Store<$r id=srtname data-sf=r4>:RAM<$r id=srtname data-sf=r5>:RAM2Cull
'.$ans['name:'.$i].'".$ans['name:'.$i].''.stnum($ans['initial:'.$i]).''.stnum($ans['allocated:'.$i]).''.stnum($ans['instore:'.$i]).''.stnum($ans['ram:'.$i]).''.stnum($ans['ram2:'.$i]).'".stnum($ans['instore:'.$i]).'".stnum($ans['ram:'.$i]).'".stnum($ans['ram2:'.$i]).''.stnum($ans['cull:'.$i]).'