Location: PHPKode > scripts > WH Board > wh_board/statistic.php
<?php require('style/layout/header.php'); ?>

    <div class="content_left">
        <ul id="breadcrumbs">
            <li><a href="index.php"><?php echo $lang['main_page']; ?></a></li>
            <li><a href="myprofile.php"><?php echo $lang['user_area']; ?></a></li>
            <li><a href="statistic.php" class="actual"><?php echo $lang['statistic']; ?></a></li>
        </ul>
    </div>
    <div class="content_right"><form method="post" id="search" action="search.php?search">
        <input type="text" name="search" placeholder="<?php echo $lang['enter_search_term']; ?>..." class="searchfield">
        <input type="hidden" name="submit" value="<?php echo $lang['search']; ?>" alt="<?php echo $lang['search']; ?>">
        </form>
    </div>

    <div class="clear"></div>

    <div id="headline">&nbsp;</div>

    <?php

        if(!isset($_SESSION['signed_in'])) {

		echo '<p class="false">' . $lang['only_for_registered'] . '</p>
        <p>' . $lang['you_have_to'] . ' <a href="signin.php">' . $lang['small_signin'] . '</a>. ' . $lang['not_yet'] . ' <a href="signup.php">' . $lang['registered'] . '</a>?</p>';

		}else{

        echo '<h1>' . $lang['statistic'] . '</h1>';

        include_once('functions/statistic.php');

        echo '<p><span class="green">Forum</span></p>';

        stat_posts(); echo ' ' . $lang['plural_post'] . '<br><br>';

        stat_topics(); echo ' ' . $lang['blank_topics'] . '<br><br>';

        stat_categories(); echo ' ' . $lang['plural_categories'] . '<br><br>';

        stat_user(); echo ' User<br><br>';

        echo '<p><span class="green">Blog</span></p>';

        stat_blog(); echo ' ' . $lang['blank_article'] . '<br><br>';

        stat_com(); echo ' ' . $lang['comments'] . '<br><br>';

        echo '<p><span class="green">' . $lang['visitors'] . '</span></p>';

        stat_today(); echo ' ' . $lang['today'] . '<br><br>';

        stat_total(); echo ' ' . $lang['total'] . '<br><br>';

        stat_online(); echo ' ' . $lang['online'] . '';
        }

	?>

<?php require('style/layout/footer.php'); ?>
Return current item: WH Board