Unverified Commit c892b9e7 authored by Amin.MasterkinG's avatar Amin.MasterkinG Committed by GitHub
Browse files

Correct text when no players are online for Advance template.

parent f75c9180
......@@ -257,7 +257,7 @@ require_once 'rules.php';
echo "<p><span style='color: #005cbf;font-weight: bold;'>{$onerealm['realmname']}</span> <span style='font-size: 12px;'>(Limited to show 49 player - Online players : " . user::get_online_players_count($onerealm['realmid']) . ")</span></p><hr>";
$online_chars = user::get_online_players($onerealm['realmid']);
if (!is_array($online_chars)) {
echo "<span style='color: #0d99e5;'>No have Online player.</span>";
echo "<span style='color: #0d99e5;'>No players are currently online.</span>";
} else {
echo '<table class="table table-striped"><thead><tr><th scope="col">Name</th><th scope="col">Race</th> <th scope="col">Class</th><th scope="col">Level</th></tr></thead><tbody>';
foreach ($online_chars as $one_char) {
......@@ -386,4 +386,4 @@ require_once 'rules.php';
require_once 'faq.php';
require_once 'contact.php';
require_once 'footer.php';
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment