Location: PHPKode > scripts > WH Social > wh_social/admin/statistic.php
<?php

    if(file_exists('handler/stay.php') == TRUE) {

        require('handler/stay.php');

        }else{

        echo '<p class="red_span" align="center">Error - Fehler</p>';
        exit;
        }

?>

<?php define('INCLUDE_CHECK',1); define('MYSQL_CHECK',1); ?>

<?php require('../framework/config.php'); ?>
<?php require('../framework/mysql.php'); ?>
<?php require('../framework/constants.php'); ?>
<?php require('../framework/class/cache_class.php'); no_cache(); ?>
<?php require('../framework/security.php'); ?>
<?php require('handler/language.php'); ?>

<?php require('structure/header.inc.php'); ?>

    <div class="menu">
        <div class="menu_left">
            <ul id="admin_navi">
                <li><a href="index.php"><?php echo $lang['blank_admin_area']; ?></a></li>
                <li><a href="members.php"><?php echo $lang['admin_members']; ?></a></li>
                <li><a href="discussions.php"><?php echo $lang['discussions']; ?></a></li>
                <li><a href="topics.php"><?php echo $lang['blank_topics']; ?></a></li>
                <li><a href="news.php"><?php echo $lang['news']; ?></a></li>
                <li><a href="events.php"><?php echo $lang['events']; ?></a></li>
                <li><a href="newsletter.php"><?php echo $lang['newsletter']; ?></a></li>
                <li class="active"><a href="statistic.php"><?php echo $lang['statistic']; ?></a></li>
            </ul>
        </div>
        <div class="menu_right">
            <?php

            if(isset($_SESSION['admin']) && $_SESSION['admin'] == TRUE) {

            echo '<div class="admin_settings">
            <a class="admin_account"><span>' . $lang['blank_navigation'] . '</span></a>
            <div class="admin_submenu" style="display: none;">
                <ul class="root">
                    <li><a href="' . $url . '" target="_blank">' . $lang['goto_network'] . '</a></li>
                    <li><a href="signout.php">' . $lang['signout'] . '</a></li>
                </ul>
            </div>
            </div>';
            }

            ?>
        </div>
    </div>
</div>

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

<div id="content_wrapper">
    <div class="content">

    <?php

        echo '<h1 class="p_space">' . $lang['statistic'] . '</h1>';

        echo '<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
        <td width="20%" valign="top"><p><strong>' . $lang['stat_general'] . '</strong></p>';

        include_once('../framework/functions/statistic.php');
        include_once('../framework/functions/online.php');

        stat_members(); echo ' ' . $lang['blank_members'];
        echo '<p><strong>' . $showonline . '</strong> ' . $lang['members_online'] . '</p>';

        include_once('../modules/show.inc.php');
        include_once('handler/statistic.php');

        stat_visits(); echo ' ' . $lang['stat_logins'] . '
        </td>';

        echo '<td width="40%" valign="top"><p><strong>' . $lang['stat_browser'] . '</strong></p>';
        stat_browsers();
        echo '</td>';

        echo '<td width="20%" valign="top"><p><strong>' . $lang['stat_ips'] . '</strong></p>';
        stat_ips();
        echo '</td>';

        echo '<td width="20%" valign="top"><p><strong>' . $lang['stat_visitors'] . '</strong></p>';
        stat_lvis();
        echo '</td>
        </tr>
        </table>';

    ?>

<?php require('structure/footer.inc.php'); ?>
Return current item: WH Social