1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-02-23 21:43:46 +01:00
This commit is contained in:
2018-01-15 12:47:23 +01:00
parent 97ac06b224
commit a478f8a587
9 changed files with 16 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ while ($onechk = dbw_fetch_array($db_conn,$results)){
$chks[$idchk]['dateLastErr'] = date('d/m H:i',$lastErr);
}
$chks[$idchk]['nameCheck'] = textTypeChk($ID_TC);
$chks[$idchk]['nameCheck'] = arrayTypeChk()[$ID_TC]; //To send array name and not the word
if ($onechk['manStatus'] != ''){
$chks[$idchk]['uptime'] = 255;//255 = Maintenance I suppose, not implemented
@@ -84,5 +84,5 @@ while ($incident = dbw_fetch_array($db_conn,$incidents)){
->text($incident['text']);
$incs[$ID_N]['ID_N'] = $incident['ID_N'];
}
renderPage('indexpage.twig',array('you' => $you,'checks' => $chks, 'news' => $incs)); //Render
renderPage('indexpage.twig',array('checks' => $chks, 'news' => $incs)); //Render
?>