Exemple #1
0
        ?>
													</ul>
												</div>
												<?php 
    } else {
        echo _n('User online', 'Users online', num_users_online(), 'luna') . ' <strong>' . users_online() . '</strong>';
    }
    ?>
</div>
								</div>
								<div class="col-lg-2 col-md-4 col-sm-6 col-xs-12">
									<div class="statistic-item text-center"><?php 
    _e('Guests online', 'luna');
    ?>
: <strong><?php 
    guests_online();
    ?>
</strong></div>
								</div>
							</div>
						</div>
					</div>
					<?php 
}
?>
				</div>
				<div class="copyright">
					<div class="container">
						<hr />
						<div class="row">
							<div class="col-sm-5 col-xs-10">
Exemple #2
0
            continue;
        }
    }
}
/**
 * End index
 */
include $config['template_path'] . "forum/index-close.php";
// The online data for all users
$online_data = users_online();
// Guest Counter Plugin
if (is_loaded('guest_counter')) {
    // The online data for guests
    $guests_online_data = guests_online();
    // The online data for bots
    $bots_online_data = guests_online(false, true);
}
// The online data for admins
$admin_online_data = users_online(true);
// Total users
$user_count = count_users();
// Forum counts
$topic_count = forum_count(false, '*', false);
$post_count = forum_count(false, false, 'all');
/**
 * Include forum details template
 */
include $config['template_path'] . "forum/details.php";
/**
 * Include footer template
 */