Some query optimisations

This commit is contained in:
Stefan Brannfjell
2014-03-08 15:31:47 +01:00
parent 470bf6caa6
commit 7861292449
11 changed files with 48 additions and 46 deletions

View File

@@ -3,13 +3,13 @@
</div>
<footer>
<p>&copy; <?php echo $config['site_title'];?>.
<?php
<?php
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
echo 'Server date and clock is: '. getClock(false, true) .' Page generated in '. $total_time .' seconds.';
echo 'Server date and clock is: '. getClock(false, true) .' Page generated in '. $total_time .' seconds. Q: '.$aacQueries;
?>
<a href="http://www.css3templates.co.uk">Design: css3templates.co.uk</a>. Engine: <a href="credits.php">Znote AAC</a></p>
</footer>

View File

@@ -1,3 +1,6 @@
<?php
//data_dump($accQueriesData, false, "Done Queries");
?>
</div>
</div>
<?php include 'layout/footer.php'; ?>

View File

@@ -21,7 +21,8 @@
}
if ($status) {
?>
<li><a href="onlinelist.php">Players online: <?php echo user_count_online();?></a></li>
<li><a href="onlinelist.php">Players online:
<?php echo user_count_online(); ?></a></li>
<?php
}
?>