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
Staff Page not Working
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="ColourfulConnor" data-source="post: 391896" data-attributes="member: 72764"><p>I don't know why it's not working</p><p></p><p>[CODE] <?php</p><p> $GetRanks = mysql_query("SELECT * FROM ranks WHERE id = 11");</p><p> while($Ranks = mysql_fetch_assoc($GetRanks))</p><p> {</p><p> echo "<div id='helpTitle' class='staffBoxTitle'>".$Ranks['name']."</div>";</p><p> </p><p> $GetUsers = mysql_query("SELECT * FROM users WHERE rank = '".$Ranks['id']."'");</p><p> while($Users = mysql_fetch_assoc($GetUsers))</p><p> {</p><p> echo "<div class='staffUser'></p><p> <div class='circle staffMember' style='";</p><p> if($Users['online'] == 1) { print 'border:2px dotted #7ac552;'; } else { print 'border:2px dotted #E74C3C;'; }</p><p> echo "background: url(http://localhost/habbo-imaging/avatarimage?figure=".$Users['look']."&amp;head_direction=2&amp;direction=2&amp;gesture=sml) rgba(255, 255, 255, 0.2) -2px -16px no-repeat;'></p><p> </div></p><p> </p><p> <div class='StaffMemberInfo' style='margin-left:77px;'></p><p> <b><a href='index.php?url=home&username=".$Users['username']."'>".$Users['username']."</a></b><br />";</p><p> if($Users['online'] == 1) {</p><p> echo "<img src='app/tpl/skins/New/images/online_anim.gif'/>";</p><p> } else {</p><p> echo "<img src='app/tpl/skins/New/images/offline.gif'/>";</p><p> }</p><p> echo "<br>".$Users['motto'];</p><p> echo "</div></p><p> </div>";</p><p> }</p><p> }</p><p> ?>[/CODE]</p></blockquote><p></p>
[QUOTE="ColourfulConnor, post: 391896, member: 72764"] I don't know why it's not working [CODE] <?php $GetRanks = mysql_query("SELECT * FROM ranks WHERE id = 11"); while($Ranks = mysql_fetch_assoc($GetRanks)) { echo "<div id='helpTitle' class='staffBoxTitle'>".$Ranks['name']."</div>"; $GetUsers = mysql_query("SELECT * FROM users WHERE rank = '".$Ranks['id']."'"); while($Users = mysql_fetch_assoc($GetUsers)) { echo "<div class='staffUser'> <div class='circle staffMember' style='"; if($Users['online'] == 1) { print 'border:2px dotted #7ac552;'; } else { print 'border:2px dotted #E74C3C;'; } echo "background: url(http://localhost/habbo-imaging/avatarimage?figure=".$Users['look']."&head_direction=2&direction=2&gesture=sml) rgba(255, 255, 255, 0.2) -2px -16px no-repeat;'> </div> <div class='StaffMemberInfo' style='margin-left:77px;'> <b><a href='index.php?url=home&username=".$Users['username']."'>".$Users['username']."</a></b><br />"; if($Users['online'] == 1) { echo "<img src='app/tpl/skins/New/images/online_anim.gif'/>"; } else { echo "<img src='app/tpl/skins/New/images/offline.gif'/>"; } echo "<br>".$Users['motto']; echo "</div> </div>"; } } ?>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Staff Page not Working
Top