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
[Rev] Badgeshop Code
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="zMagenta" data-source="post: 194292" data-attributes="member: 4512"><p>Hi! Just need some help with this.</p><p> </p><p>This is the code for it;</p><p> </p><p>[PHP]<div id="content" style="position: relative" class="clearfix"></p><p> <div id="column1" class="column"></p><p> <div class="habblet-container"></p><p> <div class="cbb clearfix blue"></p><p> <h2 class="title">Badge Store</h2></p><p> <div id="pixels-info" class="box-content pixels-info"></p><p> <div class="pixels-info-text clearfix"></p><p> <center>Select the badge that you would like to purchase.</center></p><p> </p><p> <hr style="margin: 10px 0;" /></p><p> </p><p> <?php</p><p> </p><p> $BadgesQ = mysql_query("SELECT * FROM `BadgeStore` ORDER BY ABS(`Cost`) DESC");</p><p> if (mysql_num_rows($BadgesQ) > 0) {</p><p> $i = 0;</p><p> while ($BadgesA = mysql_fetch_array($BadgesQ)) {</p><p> ?></p><p> <center></p><p> <strong><?php echo $BadgesA['Name']; ?></strong><br /></p><p> <em>(<?php echo $BadgesA['Code']; ?>)</em><br /><br /></p><p> <img src="{url}/r63/c_images/album1584/<?php echo $BadgesA['Code']; ?>.<?php echo $BadgesA['ImageExt']; ?>" /><br /></p><p> Price: <strong><?php echo number_format($BadgesA['Cost']); ?></strong> credits &middot; <a href="javascript:void(0);" data-code="<?php echo $BadgesA['BadgeID']; ?>">Buy</a></p><p> </center></p><p> <hr style="margin: 10px 0;" /></p><p> <?php</p><p> $i++;</p><p> }</p><p> }else{</p><p> echo '<center>There are currently no badges for sale.</center>';</p><p> }</p><p> </p><p> ?></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p> </div>[/PHP]</p><p> </p><p><img src="http://i.imgur.com/rIDXHFB.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>And that is what happens when buying. And ideas what to do now?</p></blockquote><p></p>
[QUOTE="zMagenta, post: 194292, member: 4512"] Hi! Just need some help with this. This is the code for it; [PHP]<div id="content" style="position: relative" class="clearfix"> <div id="column1" class="column"> <div class="habblet-container"> <div class="cbb clearfix blue"> <h2 class="title">Badge Store</h2> <div id="pixels-info" class="box-content pixels-info"> <div class="pixels-info-text clearfix"> <center>Select the badge that you would like to purchase.</center> <hr style="margin: 10px 0;" /> <?php $BadgesQ = mysql_query("SELECT * FROM `BadgeStore` ORDER BY ABS(`Cost`) DESC"); if (mysql_num_rows($BadgesQ) > 0) { $i = 0; while ($BadgesA = mysql_fetch_array($BadgesQ)) { ?> <center> <strong><?php echo $BadgesA['Name']; ?></strong><br /> <em>(<?php echo $BadgesA['Code']; ?>)</em><br /><br /> <img src="{url}/r63/c_images/album1584/<?php echo $BadgesA['Code']; ?>.<?php echo $BadgesA['ImageExt']; ?>" /><br /> Price: <strong><?php echo number_format($BadgesA['Cost']); ?></strong> credits · <a href="javascript:void(0);" data-code="<?php echo $BadgesA['BadgeID']; ?>">Buy</a> </center> <hr style="margin: 10px 0;" /> <?php $i++; } }else{ echo '<center>There are currently no badges for sale.</center>'; } ?> </div> </div> </div> </div> </div>[/PHP] [IMG]http://i.imgur.com/rIDXHFB.png[/IMG] And that is what happens when buying. And ideas what to do now? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Rev] Badgeshop Code
Top