<?php
// check rights
if ($login->check_rights()>=1):
// loading of reqired classes
include CLASSES_PATH."Overview.php";
// creating of instances
$overview=new Overview();
?>

<h2><?php echo LANG_OVERVIEW; ?></h2>

<table>
<tr>
<th colspan="3" class="table-title"><?php echo LANG_STATS; ?></th>
</tr>
<tr>
<th style="width: 30%;"><?php echo LANG_TOPICS; ?></th>
<th style="width: 40%;"><?php echo LANG_POSTS; ?></th>
<th style="width: 30%;"><?php echo LANG_USERS; ?></th>
</tr>
<tr>
<td class="align-center"><?php echo($overview->print_data("kboard_topics")); ?></td>
<td class="align-center"><?php echo($overview->print_data("kboard_posts")); ?></td>
<td class="align-center"><?php echo($overview->print_data(TABLE_USERS)); ?></td>
</tr>
</table>

<?php else: $access_denied=1; endif; ?>