Most visitors online was 17251 , on 24 May 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Hey, I've added this:<img src="https://imgur.com/a/px4jl" border="0" alt=""> <img src="https://i.imgur.com/VskcDZy.png" border="0" alt=""> <img src="http://prntscr.com/hf9sy8" border="0" alt="">into my client and it doesn't auto reload when another user comes online<br>
Can someone help?
<?phprequire_once('./data_classes/server-data.php_data_classes-core.php.php');require_once('./data_classes/server-data.php_data_classes-session.php.php');$maintenance2 = mysql_num_rows(mysql_query("SELECT * FROM cms_settings WHERE mantenimiento = '1'"));$useradmin2 = mysql_query("SELECT * FROM users WHERE username = '" . $_SESSION['username'] . "'");$useradmin = mysql_fetch_array($useradmin2);$palavrasbloqueadas=file_get_contents('./Files/PalavrasBloqueadas.txt');if($maintenance2 == '1' && $useradmin['rank'] < 5){ header("Location: manutencao");}?><html><head></head><body><div class="clientOnlineBox"><div class="clientOnlineBoxTxt" id="onlinecount"><small><b><?php echo $UsersOnline; ?></b> Online!</small></div><img src="http://200.98.70.115/Externos/img/onlineiconclient.png" style="width:29px;height:28px;ht; */position: absolute;margin-left: 130px;margin-top: -19px;"></div></div></body></html>
<script type="text/javascript"> setInterval("$('#onlinecount').load('onlinecount.php');", 5000);</script>
<div id="onlinecount"><?phpinclude ("onlinecount.php");?></div>
[COLOR=#303336]$[/COLOR][COLOR=#303336]([/COLOR][COLOR=#303336]document[/COLOR][COLOR=#303336]).[/COLOR][COLOR=#303336]ready[/COLOR][COLOR=#303336]([/COLOR][COLOR=#101094]function[/COLOR][COLOR=#303336](){[/COLOR][COLOR=#303336]
setInterval[/COLOR][COLOR=#303336]([/COLOR][COLOR=#101094]function[/COLOR][COLOR=#303336](){[/COLOR][COLOR=#303336]
$[/COLOR][COLOR=#303336].[/COLOR][COLOR=#303336]ajax[/COLOR][COLOR=#303336]({[/COLOR][COLOR=#303336]
url[/COLOR][COLOR=#303336]:[/COLOR][COLOR=#7D2727]'/online_count.php'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#303336]
dataType[/COLOR][COLOR=#303336]:[/COLOR][COLOR=#7D2727]'json'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#303336]
success[/COLOR][COLOR=#303336]:[/COLOR][COLOR=#101094]function[/COLOR][COLOR=#303336]([/COLOR][COLOR=#303336]response[/COLOR][COLOR=#303336])[/COLOR][COLOR=#303336]{[/COLOR][COLOR=#303336]
[/COLOR][COLOR=#858C93]// Update the online counter value with the response data[/COLOR][COLOR=#303336]
[/COLOR][COLOR=#303336]}[/COLOR][COLOR=#303336]
[/COLOR][COLOR=#303336]});[/COLOR][COLOR=#303336]
[/COLOR][COLOR=#303336]},[/COLOR][COLOR=#7D2727]5000[/COLOR][COLOR=#303336]);[/COLOR][COLOR=#303336]
[/COLOR][COLOR=#303336]});
[/COLOR]