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] Staff Page
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="Zodiak" data-source="post: 253836" data-attributes="member: 9300"><p>Just use CSS to move each box then in each box add:</p><p>[CODE]<?php</p><p>$admin = mysql_query("SELECT * FROM users WHERE rank = '7' ORDER BY rank desc");</p><p>while ($admina = mysql_fetch_assoc($admin)) {</p><p>?></p><p><img alt="<?php echo $admina['username']; ?>" src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=<?php echo $admina['look']; ?>.gif&direction=3&head_direction=3&action=wav&gesture=sml"></p><p>Username: <?php echo $admina['username']; ?><br /></p><p>Motto: <?php echo $admina['motto']; ?><br /></p><p>Position: <?php</p><p> </p><p>$getUser = mysql_query("SELECT * FROM users WHERE id ='".$admina['id']."'");</p><p>$user = mysql_fetch_array($getUser);</p><p></p><p>$rankId = $user['rank'];</p><p>$getRank = mysql_query("SELECT * FROM ranks WHERE id ='$rankId'");</p><p>$rank = mysql_fetch_array($getRank);</p><p></p><p>echo "".$rank['name']."";</p><p>?><br /></p><p></div></p><p><? } ?>[/CODE]</p><p></p><p>And add that into each box change "7" to each rank and change $admin to anything like $moddd and $admina to anything like $moddda</p><p></p><p>Only did that quickly, you'd have to style it a bit but that's easy.</p></blockquote><p></p>
[QUOTE="Zodiak, post: 253836, member: 9300"] Just use CSS to move each box then in each box add: [CODE]<?php $admin = mysql_query("SELECT * FROM users WHERE rank = '7' ORDER BY rank desc"); while ($admina = mysql_fetch_assoc($admin)) { ?> <img alt="<?php echo $admina['username']; ?>" src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=<?php echo $admina['look']; ?>.gif&direction=3&head_direction=3&action=wav&gesture=sml"> Username: <?php echo $admina['username']; ?><br /> Motto: <?php echo $admina['motto']; ?><br /> Position: <?php $getUser = mysql_query("SELECT * FROM users WHERE id ='".$admina['id']."'"); $user = mysql_fetch_array($getUser); $rankId = $user['rank']; $getRank = mysql_query("SELECT * FROM ranks WHERE id ='$rankId'"); $rank = mysql_fetch_array($getRank); echo "".$rank['name'].""; ?><br /> </div> <? } ?>[/CODE] And add that into each box change "7" to each rank and change $admin to anything like $moddd and $admina to anything like $moddda Only did that quickly, you'd have to style it a bit but that's easy. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help] Staff Page
Top