1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-02-15 01:31:37 +01:00

Version 0.9.1 (Beta)

This commit is contained in:
2017-12-28 23:14:37 +01:00
parent 0e13bfc91a
commit 3ded2a052c
2 changed files with 13 additions and 10 deletions

View File

@@ -1,5 +1,4 @@
<?php
$d_time = microtime(true);
require_once "functions.php";
$results = dbw_query($db_conn,"SELECT * FROM GROUPS"); //All groups
@@ -63,7 +62,7 @@ while ($onechk = dbw_fetch_array($db_conn,$results)){
}
//Here load "News"
//Here load "News"
$incidents = dbw_query($db_conn,"SELECT * FROM NEWS ORDER BY ID_N DESC LIMIT 20");
while ($incident = dbw_fetch_array($db_conn,$incidents)){
@@ -84,5 +83,4 @@ while ($incident = dbw_fetch_array($db_conn,$incidents)){
}
echo $twig->render('indexpage.twig', array('T_' => $T_, 'you' => $you, 'checks' => $chks, 'news' => $incs)); //Render
echo "<p>Página creada en ".round(microtime(true)-$d_time,2)." segundos</p>";
?>
?>