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
me.php bug
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="Polybius" data-source="post: 436535" data-attributes="member: 75015"><p>stylesheets? don't have stylesheets , i believe the problem is in this line , this is line my me.php</p><p></p><p><?php</p><p></p><p></p><p></p><p>$asd = RunQuery($pdo, "SELECT * FROM user_badges WHERE user_id = :id LIMIT 1 AND</p><p></p><p>badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5"); {</p><p></p><p></p><p></p><p>if($asd->rowCount()==0){ echo"<i>Non hai nessun Distintivo</i>";}</p><p>else {</p><p></p><p>while($badge = $asd->fetch(PDO::FETCH_ASSOC));{</p><p>echo '<span style="display: inline-block;</p><p></p><p>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;</p><p></p><p>border-radius: 5px;"></span></a>';</p><p> }</p><p> }</p><p> } </p><p> ?></p><p> </td></p><p></p><p>original me.php :</p><p></p><p> <?php</p><p> while($users = mysql_fetch_array($userq)) {</p><p> $getBadges = mysql_query("SELECT * FROM user_badges WHERE user_id = '" . $user['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");</p><p> if(mysql_num_rows($getBadges) == 0) { echo"<i>You have no active badges</i>"; }</p><p> else {</p><p> while ($b = mysql_fetch_assoc($getBadges)) {</p><p> echo '<span style="display: inline-block; background: rgba(0, 0, 0, 0.75) url(<a href="http://localhost/c_images/album1584/" target="_blank">http://localhost/c_images/album1584/</a>' . $b['badge_id'] . '.gif) center no-repeat; margin: 0 14px; width: 60px; height: 60px; border-radius: 5px;"></span>';</p><p> }</p><p> }</p><p> } </p><p> ?></p><p> </td></p></blockquote><p></p>
[QUOTE="Polybius, post: 436535, member: 75015"] 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([URL]http://localhost/c_images/album1584/[/URL]' . $b['badge_id'] . '.gif) center no-repeat; margin: 0 14px; width: 60px; height: 60px; border-radius: 5px;"></span>'; } } } ?> </td> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
me.php bug
Top