With the users with most credit can you make it filter out like above rank 3. Mine just shows staff.
Try doing something yourself all you do is wait for other's to release stuff for Habplus try figure something out.
With the users with most credit can you make it filter out like above rank 3. Mine just shows staff.
With the users with most credit can you make it filter out like above rank 3. Mine just shows staff.
<?php
$datosTop = mysql_query("SELECT * FROM users WHERE credits IS NOT NULL AND rank < 3 ORDER BY credits DESC LIMIT 5");
while($datosTop10 = mysql_fetch_array($datosTop)){
echo '
<tr><td width="5px"></td>
<td width="20px">';
echo '<img src="http://www.habbo.com.es/habbo-imaging/avatarimage?figure=' . $datosTop10['look'] . '&direction=3&head_direction=3&gesture=sml&size=s" align="left"></td> <td width="195px"><a href="%www%/home/'.$datosTop10['username'].'">'.$datosTop10['username'].'</a><br /> '.$datosTop10['credits'].' Creditis<br /><br /><br /><br />';
echo '</td>
';
}
?>
I had already updated the codePHP:<?php $datosTop = mysql_query("SELECT * FROM users WHERE credits IS NOT NULL AND rank < 3 ORDER BY credits DESC LIMIT 5"); while($datosTop10 = mysql_fetch_array($datosTop)){ echo ' <tr><td width="5px"></td> <td width="20px">'; echo '<img src="http://www.habbo.com.es/habbo-imaging/avatarimage?figure=' . $datosTop10['look'] . '&direction=3&head_direction=3&gesture=sml&size=s" align="left"></td> <td width="195px"><a href="%www%/home/'.$datosTop10['username'].'">'.$datosTop10['username'].'</a><br /> '.$datosTop10['credits'].' Creditis<br /><br /><br /><br />'; echo '</td> '; } ?>
Request received.
Warning: include(random-community.php) [function.include]: failed to open stream: No such file or directory in /home/pixelhotel/domains/pixelhotel.me/public_html/community.php on line 5
Warning: include(random-community.php) [function.include]: failed to open stream: No such file or directory in /home/pixelhotel/domains/pixelhotel.me/public_html/community.php on line 5
Warning: include() [function.include]: Failed opening 'random-community.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/pixelhotel/domains/pixelhotel.me/public_html/community.php on line 5
HTML Code:
<div class="column" id="column1">
<div class="contentBox">
<div class="boxHeader">Random Habbo's</div>
<div class="boxContent"><?php
// linje 1
echo '<div style="margin-top: -10px; margin-left: 10px;">';
$l1 = mysql_query("SELECT * FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 6;");
while($h1 = mysql_fetch_assoc($l1))
{
echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h1['look'].'" alt="">';
}
echo '</div>';
// linje 2
echo '<div style="margin-left: 40px; margin-top: -60px;">';
$l2 = mysql_query("SELECT * FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 6;");
while($h2 = mysql_fetch_assoc($l2))
{
echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h2['look'].'" alt="" class="tooltip">';
}
echo '</div>';
// linje 3
echo '<div style="margin-top: -60px; margin-left: 10px;">';
$l3 = mysql_query("SELECT * FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 6;");
while($h3 = mysql_fetch_assoc($l3))
{
echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h3['look'].'" alt="" class="tooltip">';
}
echo '</div>';
?>
</div></div>
</div>
Mine is better
To view the content, you need to sign in or register
Code:HTML Code: <div class="column" id="column1"> <div class="contentBox"> <div class="boxHeader">Random Habbo's</div> <div class="boxContent"><?php // linje 1 echo '<div style="margin-top: -10px; margin-left: 10px;">'; $l1 = mysql_query("SELECT * FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 6;"); while($h1 = mysql_fetch_assoc($l1)) { echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h1['look'].'" alt="">'; } echo '</div>'; // linje 2 echo '<div style="margin-left: 40px; margin-top: -60px;">'; $l2 = mysql_query("SELECT * FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 6;"); while($h2 = mysql_fetch_assoc($l2)) { echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h2['look'].'" alt="" class="tooltip">'; } echo '</div>'; // linje 3 echo '<div style="margin-top: -60px; margin-left: 10px;">'; $l3 = mysql_query("SELECT * FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 6;"); while($h3 = mysql_fetch_assoc($l3)) { echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h3['look'].'" alt="" class="tooltip">'; } echo '</div>'; ?> </div></div> </div>
<div class="column" id="column1">
<div class="contentBox">
<div class="boxHeader">Random Habbo's</div>
<div class="boxContent"><?php
// linje 1
$l1 = mysql_query("SELECT `look` FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 18;");
$i = 1;
while($h1 = mysql_fetch_assoc($l1))
{
if ($i == 1)
{
echo '<div style="margin-top: -10px; margin-left: 10px;">';
}
else if ($i == 7)
{
echo '</div><div style="margin-left: 40px; margin-top: -60px;">';
}
else if ($i == 13)
{
echo '</div><div style="margin-top: -60px; margin-left: 10px;">';
}
echo '<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h1['look'].'" alt="" />';
$i++;
}
echo '</div>';
?>
</div></div>
</div>
<div class="column" id="column1">
<div class="contentBox">
<div class="boxHeader">Random Habbo's</div>
<div class="boxContent"><?php
// linje 1
$l1 = mysql_query("SELECT * FROM `users` WHERE `look` != 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62' ORDER BY RAND() LIMIT 18;");
$i = 1;
while($h1 = mysql_fetch_assoc($l1))
{
if ($i == 1)
{
echo '<div style="margin-top: -10px; margin-left: 10px;">';
}
else if ($i == 7)
{
echo '</div><div style="margin-left: 40px; margin-top: -60px;">';
}
else if ($i == 13)
{
echo '</div><div style="margin-top: -60px; margin-left: 10px;">';
}
echo '<a href="home.php?u='.$h1['username'].'"><img src="http://www.habbo.com/habbo-imaging/avatarimage?figure='.$h1['look'].'" alt="" /></a>';
$i++;
}
echo '</div>';
?>
</div></div>
</div>
lmao Mithex, what you on about run install.
The install file is for the errors on the homepage to do with the navigation bar.
For this error you need to remove the include random-community at the top of the page which i have fixed and already done for this guy.
I just think that you've changed some div's and added some more function's and changed some of the div boxe's although is it very nice and i love to see more of this work going around