me.php bug

Polybius

New Member
Mar 30, 2017
6
0
hi (sorry for my bad english lol i'm italian :/ )
can you help me please?
hi have 2 problem in me.php
i search coding old me.php in my newcrypto , only where you see the character
and the page does not scoll , it goes up
ah last thing
one emoulator good?
this is screen me.php bug :
ffd7qf.jpg

i want it that way :
r9n2tv.jpg

this is code me.php :
<div id="content" class="container_12 bodyContent">
<div class="grid_8">
<div class="col col-3 bg" style="background: url('/app/tpl/skins/img/frontpage_xmasrares.png') bottom; height: 300px; border-radius: 3px;">
<table class="inner" height="300px" width="100%" border="0">
<tr>
<td rowspan="3" height="220px" style="background: url('/app/tpl/skins/img/white_sofa.png') 45px 105px

no-repeat;">
<span style="display: block; background: url(

figure=<?php echo $myrow['look']; ?>&direction=2&head_direction=2&gesture=sml&action=sit,crr=6&size=m) center no-repeat; height: 220px;"></span>
</td>
<td colspan="2">
<span class="me-stats" style="background: rgba(0, 0, 0, 0.5) url

('/app/tpl/skins/img/user.gif') 12px center no-repeat;">Username: <?php echo $myrow['username']; ?></span>
</td>
</tr>
<tr>
<td colspan="2">
<span class="me-stats" style="background: rgba(0, 0, 0, 0.5) url

('/app/tpl/skins/img/motto.png') 10px center no-repeat;">Motto: <?php echo htmlspecialchars($myrow['motto']); ?></span>
</td>
</tr>
<tr>

<td colspan="2">
<?php



$asd = RunQuery($pdo, "SELECT * FROM user_badges WHERE user_id = :id LIMIT 1 AND

badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5"); {



if($asd->rowCount()==0){ echo"<i>Non hai nessun Distintivo</i>";}
else {

while($badge = $asd->fetch(PDO::FETCH_ASSOC));{
echo '<span style="display: inline-block;

background: rgba(0, 0, 0, 0.75) <img src=\"".$cimagesurl.$badgesurl'.$badge['badge_id'].'.gif")center no-repeat; margin: 0 14px; width: 60px; height: 60px;

border-radius: 5px;"></span></a>';


}

}


}
?>
</td>
</tr>
<tr height="65px">
<td style="width: 33.3333%;" align="center">
<span class="me-stats" style="background: rgba(0, 0, 0, 0.5) url

('/app/tpl/skins/img/credit.gif') 10px center no-repeat;">Credits: <span style="float: right;"><?php echo $myrow['credits']; ?></span></span>
</td>
<td style="width: 33.3333%;" align="center">
<span class="me-stats" style="background: rgba(0, 0, 0, 0.5) url

('/app/tpl/skins/img/pixel.gif') 10px center no-repeat;">Pixels: <span style="float: right;"><?php echo $myrow['activity_points']; ?></span></span>
</td>
<td style="width: 33.3333%;" align="center">
<span class="me-stats" style="background: rgba(0, 0, 0, 0.5) url

('/app/tpl/skins/img/diamond.gif') 10px center no-repeat;">Diamonds: <span style="float: right;"><?php echo $myrow['vip_points']; ?></span></span>
</td>
</tr>
</table>
</div>

<div class="col col-3 bg">

i edit my header for "css" in "me.css" i add code "<main> in my "header.php" and this is:
5wjbzt.png


@Kryptos @Platinum
 
Last edited:

Polybius

New Member
Mar 30, 2017
6
0
Are your stylesheets linked properly?
stylesheets? don't have stylesheets , i believe the problem is in this line , this is line my me.php

<?php



$asd = RunQuery($pdo, "SELECT * FROM user_badges WHERE user_id = :id LIMIT 1 AND

badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5"); {



if($asd->rowCount()==0){ echo"<i>Non hai nessun Distintivo</i>";}
else {

while($badge = $asd->fetch(PDO::FETCH_ASSOC));{
echo '<span style="display: inline-block;

background: rgba(0, 0, 0, 0.75) <img src=\"".$cimagesurl.$badgesurl'.$badge['badge_id'].'.gif")center no-repeat; margin: 0 14px; width: 60px; height: 60px;

border-radius: 5px;"></span></a>';
}
}
}
?>
</td>

original me.php :

<?php
while($users = mysql_fetch_array($userq)) {
$getBadges = mysql_query("SELECT * FROM user_badges WHERE user_id = '" . $user['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");
if(mysql_num_rows($getBadges) == 0) { echo"<i>You have no active badges</i>"; }
else {
while ($b = mysql_fetch_assoc($getBadges)) {
echo '<span style="display: inline-block; background: rgba(0, 0, 0, 0.75) url( ' . $b['badge_id'] . '.gif) center no-repeat; margin: 0 14px; width: 60px; height: 60px; border-radius: 5px;"></span>';
}
}
}
?>
</td>
 

Users who are viewing this thread

Top