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
How to show a users Respect.
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="Maestro" data-source="post: 239169" data-attributes="member: 20520"><p>This is the code the Stats page uses for Gifts given:</p><p></p><p><!-- / Table center - Geschenke --></p><p><div id="column" class="column"><div class="habblet-container "></p><p><div class="cbb clearfix blue "> </p><p><h2 class="title"><span style="float: left;">kados gegeven</span> </h2> </p><p><div align="left"> </p><p><table width="100%"></p><p></p><p><tr> </p><p><?php</p><p></p><p>$userstats_a = mysql_query("SELECT * FROM user_stats ORDER BY GiftsGiven DESC LIMIT 5");</p><p>while($userstats = mysql_fetch_assoc($userstats_a)){</p><p>$row = mysql_fetch_assoc($row = mysql_query("SELECT * FROM users WHERE id = '".$userstats['id']."' LIMIT 5"));</p><p></p><p>?></p><p></p><p><tr><td width="5px"> </td></p><p><td width="20px"><img src="<?php echo $avatar; echo $row['look']; ?>&size=s&direction=2&head_direction=2&gesture=sml&size=m" align="left"></td></p><p><td width="195px"><a href="../home/<?php echo $row['username']; ?>"><b><?php echo $row['username']; ?></b></a><br /></p><p><?php echo $userstats['GiftsGiven']; ?> Kados gegeven</td></p><p></tr></p><p></p><p><?php } ?></p><p></table></p><p></div> </div></p><p></p><p></div> </p><p></div> </div></p></blockquote><p></p>
[QUOTE="Maestro, post: 239169, member: 20520"] This is the code the Stats page uses for Gifts given: <!-- / Table center - Geschenke --> <div id="column" class="column"><div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title"><span style="float: left;">kados gegeven</span> </h2> <div align="left"> <table width="100%"> <tr> <?php $userstats_a = mysql_query("SELECT * FROM user_stats ORDER BY GiftsGiven DESC LIMIT 5"); while($userstats = mysql_fetch_assoc($userstats_a)){ $row = mysql_fetch_assoc($row = mysql_query("SELECT * FROM users WHERE id = '".$userstats['id']."' LIMIT 5")); ?> <tr><td width="5px"> </td> <td width="20px"><img src="<?php echo $avatar; echo $row['look']; ?>&size=s&direction=2&head_direction=2&gesture=sml&size=m" align="left"></td> <td width="195px"><a href="../home/<?php echo $row['username']; ?>"><b><?php echo $row['username']; ?></b></a><br /> <?php echo $userstats['GiftsGiven']; ?> Kados gegeven</td> </tr> <?php } ?> </table> </div> </div> </div> </div> </div> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
How to show a users Respect.
Top