Counter CMS (Marshmallow EMU)
http://i.imgur.com/LUkZYEe.png
How do I do this counter function using Marshmallow EMU? The code is community_header is
Code:
<div id="habbos-online"><div class="rounded"><span><?php echo $online_count; ?><?php echo $shortname; ?>s no Hotel</span></div></div>
</div>
don't work, help pleaseeee
Re: Counter CMS (Marshmallow EMU)
Can you post the original query/code for '<?php echo $online_count; ?>' ? No way to fix it without that. You should find it in one of the core files.
Re: Counter CMS (Marshmallow EMU)
Quote:
Originally Posted by
FatalLulz
Can you post the original query/code for '<?php echo $online_count; ?>' ? No way to fix it without that. You should find it in one of the core files.
Code:
$server = mysql_fetch_assoc($server_status = mysql_query("SELECT * FROM server_status"));
$online_count = $server['users_online'];
Re: Counter CMS (Marshmallow EMU)
Quote:
Originally Posted by
Peterson001
Code:
$server = mysql_fetch_assoc($server_status = mysql_query("SELECT * FROM server_status"));
$online_count = $server['users_online'];
While online check to see if the counter in server_status table updates if it's actually in there. It also might not have one/enter it into the database at all. (I don't use Marshmallow so me nono).