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] RevCMS Mysql Coding Help Needed [HELP]
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="Zac" data-source="post: 330345" data-attributes="member: 56766"><p>I actually didn't. I found a CMS on hee which had it in along with many other cool things.</p><p>[DOUBLEPOST=1427646141,1427630189][/DOUBLEPOST]</p><p>Here is the current code:</p><p>[SPOILER="Code"]</p><p></div></p><p> <div id="container"></p><p> <div id="content" style="position: relative" class="clearfix"></p><p> <?php</p><p> $q = mysql_query("SELECT * FROM users WHERE exstaff = '1'");</p><p> while ($m = mysql_fetch_array($q)) { ?></p><p> <div style="float:left"></p><p> <div class="habblet-container " style="width:193px;"></p><p> <div class="cbb clearfix green"></p><p> <h2 class="title"> <?php echo $m['username']; ?></h2></p><p> <div style="padding:1px;height:150px;"></p><p> <center><br></p><p> <span style="font-size:10px"></p><p> <img style = "margin-top:-15px;" src="<a href="https://www.habbo.com.tr/habbo-imaging/avatarimage?figure=<?php" target="_blank">https://www.habbo.com.tr/habbo-imaging/avatarimage?figure=<?php</a> echo $m['look']; ?>&direction=2&head_direction=3&gesture=sml&size=m"/></p><p> <?php</p><p> $Bans = mysql_query("SELECT * FROM bans WHERE added_by = '" . $Users['username'] . "'");</p><p> $BanCount = mysql_num_rows($Bans);</p><p> </p><p> </p><p> $Tickets = mysql_query("SELECT * FROM moderation_tickets WHERE moderator_id = '" . $Users['id'] . "'");</p><p> $TicketsCount = mysql_num_rows($Tickets);</p><p> ?></p><p> <p></p><p> <?php</p><p> echo "<br />Bans: <strong>$BanCount</strong> <br> Tickets: <strong>$TicketsCount</strong> </p><p> ";</p><p> ?></p><p> </span></p><p> </center></p><p> </div></p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="Zac, post: 330345, member: 56766"] I actually didn't. I found a CMS on hee which had it in along with many other cool things. [DOUBLEPOST=1427646141,1427630189][/DOUBLEPOST] Here is the current code: [SPOILER="Code"] </div> <div id="container"> <div id="content" style="position: relative" class="clearfix"> <?php $q = mysql_query("SELECT * FROM users WHERE exstaff = '1'"); while ($m = mysql_fetch_array($q)) { ?> <div style="float:left"> <div class="habblet-container " style="width:193px;"> <div class="cbb clearfix green"> <h2 class="title"> <?php echo $m['username']; ?></h2> <div style="padding:1px;height:150px;"> <center><br> <span style="font-size:10px"> <img style = "margin-top:-15px;" src="[URL]https://www.habbo.com.tr/habbo-imaging/avatarimage?figure=<?php[/URL] echo $m['look']; ?>&direction=2&head_direction=3&gesture=sml&size=m"/> <?php $Bans = mysql_query("SELECT * FROM bans WHERE added_by = '" . $Users['username'] . "'"); $BanCount = mysql_num_rows($Bans); $Tickets = mysql_query("SELECT * FROM moderation_tickets WHERE moderator_id = '" . $Users['id'] . "'"); $TicketsCount = mysql_num_rows($Tickets); ?> <p> <?php echo "<br />Bans: <strong>$BanCount</strong> <br> Tickets: <strong>$TicketsCount</strong> "; ?> </span> </center> </div> [/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] RevCMS Mysql Coding Help Needed [HELP]
Top