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:
@@ -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>";
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user