Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help/Request] A good statistics page for RevCMS?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Wickd" data-source="post: 335447" data-attributes="member: 26932"><p>[CODE]<div id="column1" class="column"></p><p> <div class="habblet-container "></p><p> <div class="cbb clearfix red "></p><p> <h2 class="title"><span style="float: left;">Hotel Statistics</span></h2></p><p> <div style="padding:5px;"></p><p> There are <strong></p><p> <?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalbadges FROM users") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalbadges'];</p><p>?></strong> Registered Members on {hotelname}.<br /></p><p> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM users WHERE `rank` >= '2'") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> Silver VIP Members on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalmeubels FROM cms_news") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalmeubels'];</p><p>?></strong> Furniture items on {hotelname}.<br /></p><p> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM users WHERE `rank` >= '7'") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> Staff Members on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM cms_news") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> News Articles on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM bans") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> Banned Users on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM user_wardrobe") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> saved outfits on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM rooms") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> Rooms on {hotelname}.<br /></p><p> There are <strong>352</strong> Filtered words in rooms on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM user_pets") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> Pets on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM bots") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> Bots on {hotelname}.<br /></p><p> There are <strong><?php</p><p>$query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM groups") or die(mysql_error());</p><p>$data = mysql_fetch_assoc($query);</p><p></p><p>echo $data['aantalkamers'];</p><p>?></strong> Groups on {hotelname}.<br /></p><p> </div></p><p> </div></p><p> </div></p><p> <div class="habblet-container "></p><p> <div class="cbb clearfix red "></p><p> <h2 class="title"><span style="float: left;">Staff Statistics</span></h2></p><p> <div style="padding:5px;"></p><p> <?php //* Wickd MAYN/devbest.com</p><p>$getStats = mysql_query("SELECT * FROM users WHERE `rank` >= '7' ORDER BY `respect` DESC LIMIT 45");</p><p>while($staffStats = mysql_fetch_array($getStats)) {</p><p> </p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $staffStats['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p>$Tickets = mysql_query("SELECT * FROM `moderation_tickets` WHERE `moderator_id` = '" . $staffStats['id'] . "'");</p><p>$TicketCount = mysql_num_rows($Tickets);</p><p>echo '</p><p> <strong><a href="/home/'.$staffStats['username'].'">'.$staffStats['username'].'</a></strong> has banned <strong></p><p> '.$BanCount.'</strong> users and handled</p><p> <strong>'.$TicketCount.'</strong> call for help tickets.</p><p> <br /></p><p> <hr></p><p>';</p><p>}</p><p>?></p><p></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p> </p><p> <div id="column2" class="column"></p><p> <div class="habblet-container "></p><p> <div class="cbb clearfix blue "></p><p> <h2 class="title"><span style="float: left;">{hotelname}'s Newest User</span></h2></p><p> <div style="padding: 5px;"></p><p> <div class="staffBox"></p><p> <img style="margin-bottom: 4px; margin-left: 4px; float:left;" src="https://game.boon.pw/habbo-imaging/head.php?figure=hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100-&size=m&direction=2&head_direction=2&gesture=sml" /></p><p> <span style="float: right; margin-right: 4px; margin-top: 12px;"><img src="https://images.boon.pw/offline-xmas14.png" /></span></p><p> <table style="margin-left: 35px; padding-top: 6px;"></p><p> <tr style="padding: 0;"></p><p> <td></p><p> <strong><a href="https://boon.pw/home/poopin">poopin</a></strong><br /></p><p> I am new to {hotelname}!<br /></p><p> </td></p><p> </tr></p><p> </table></p><p> <br /><br /></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p> </p><p> </p><p> <div class="habblet-container "></p><p> <div class="cbb clearfix blue "></p><p> <h2 class="title"><span style="float: left;">Random {hotelname} Staff Member</span></h2></p><p> <div style="padding: 5px;"></p><p> <div class="staffBox"></p><p> <img style="margin-bottom: 4px; margin-left: 4px; float:left;" src="https://game.boon.pw/habbo-imaging/head.php?figure=lg-280-63.ch-255-73.hr-828-45.he-1609-73.hd-205-3.fa-1209-73.ca-1813-62.sh-295-73&size=m&direction=2&head_direction=2&gesture=sml" /></p><p> <span style="float: right; margin-right: 4px; margin-top: 12px;"><img src="https://images.boon.pw/offline-xmas14.png" /></span></p><p> <table style="margin-left: 35px; padding-top: 6px;"></p><p> <tr style="padding: 0;"></p><p> <td></p><p> <strong><a href="https://boon.pw/home/MOD-Adrian">BlackJesus</a></strong><br /></p><p> Wicked RULES<br /></p><p> </td></p><p> </tr></p><p> </table></p><p> <br /><br /></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p> <script type="text/javascript"></p><p> document.observe("dom:loaded", function() { PromoSlideShow.init(); });</p><p> </script></p><p> <script type="text/javascript"></p><p> HabboView.run();</p><p> </script>[/CODE]</p></blockquote><p></p>
[QUOTE="Wickd, post: 335447, member: 26932"] [CODE]<div id="column1" class="column"> <div class="habblet-container "> <div class="cbb clearfix red "> <h2 class="title"><span style="float: left;">Hotel Statistics</span></h2> <div style="padding:5px;"> There are <strong> <?php $query = mysql_query("SELECT COUNT(*) AS aantalbadges FROM users") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalbadges']; ?></strong> Registered Members on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM users WHERE `rank` >= '2'") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> Silver VIP Members on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalmeubels FROM cms_news") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalmeubels']; ?></strong> Furniture items on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM users WHERE `rank` >= '7'") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> Staff Members on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM cms_news") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> News Articles on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM bans") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> Banned Users on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM user_wardrobe") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> saved outfits on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM rooms") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> Rooms on {hotelname}.<br /> There are <strong>352</strong> Filtered words in rooms on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM user_pets") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> Pets on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM bots") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> Bots on {hotelname}.<br /> There are <strong><?php $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM groups") or die(mysql_error()); $data = mysql_fetch_assoc($query); echo $data['aantalkamers']; ?></strong> Groups on {hotelname}.<br /> </div> </div> </div> <div class="habblet-container "> <div class="cbb clearfix red "> <h2 class="title"><span style="float: left;">Staff Statistics</span></h2> <div style="padding:5px;"> <?php //* Wickd MAYN/devbest.com $getStats = mysql_query("SELECT * FROM users WHERE `rank` >= '7' ORDER BY `respect` DESC LIMIT 45"); while($staffStats = mysql_fetch_array($getStats)) { $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $staffStats['username'] . "'"); $BanCount = mysql_num_rows($Bans); $Tickets = mysql_query("SELECT * FROM `moderation_tickets` WHERE `moderator_id` = '" . $staffStats['id'] . "'"); $TicketCount = mysql_num_rows($Tickets); echo ' <strong><a href="/home/'.$staffStats['username'].'">'.$staffStats['username'].'</a></strong> has banned <strong> '.$BanCount.'</strong> users and handled <strong>'.$TicketCount.'</strong> call for help tickets. <br /> <hr> '; } ?> </div> </div> </div> </div> <div id="column2" class="column"> <div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title"><span style="float: left;">{hotelname}'s Newest User</span></h2> <div style="padding: 5px;"> <div class="staffBox"> <img style="margin-bottom: 4px; margin-left: 4px; float:left;" src="https://game.boon.pw/habbo-imaging/head.php?figure=hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100-&size=m&direction=2&head_direction=2&gesture=sml" /> <span style="float: right; margin-right: 4px; margin-top: 12px;"><img src="https://images.boon.pw/offline-xmas14.png" /></span> <table style="margin-left: 35px; padding-top: 6px;"> <tr style="padding: 0;"> <td> <strong><a href="https://boon.pw/home/poopin">poopin</a></strong><br /> I am new to {hotelname}!<br /> </td> </tr> </table> <br /><br /> </div> </div> </div> </div> <div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title"><span style="float: left;">Random {hotelname} Staff Member</span></h2> <div style="padding: 5px;"> <div class="staffBox"> <img style="margin-bottom: 4px; margin-left: 4px; float:left;" src="https://game.boon.pw/habbo-imaging/head.php?figure=lg-280-63.ch-255-73.hr-828-45.he-1609-73.hd-205-3.fa-1209-73.ca-1813-62.sh-295-73&size=m&direction=2&head_direction=2&gesture=sml" /> <span style="float: right; margin-right: 4px; margin-top: 12px;"><img src="https://images.boon.pw/offline-xmas14.png" /></span> <table style="margin-left: 35px; padding-top: 6px;"> <tr style="padding: 0;"> <td> <strong><a href="https://boon.pw/home/MOD-Adrian">BlackJesus</a></strong><br /> Wicked RULES<br /> </td> </tr> </table> <br /><br /> </div> </div> </div> </div> </div> <script type="text/javascript"> document.observe("dom:loaded", function() { PromoSlideShow.init(); }); </script> <script type="text/javascript"> HabboView.run(); </script>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help/Request] A good statistics page for RevCMS?
Top