Author Topic: How to make the item show in the display?  (Read 2126 times)

Offline tendo

How to make the item show in the display?
« on: September 26, 2010, 01:45:29 am »
Hello.

I need to show the item in display or signature. And I follow the steps in this topic.

http://smfshop.com/forum/index.php/topic,1175.0.html

code

Code: [Select]
         //BEGIN SMFShop Inventory Signature MOD
         //get the inventory
         $result = db_query("
         SELECT it.desc, it.image, inv.id
         FROM {$db_prefix}shop_inventory AS inv, {$db_prefix}shop_items AS it
         WHERE inv.ownerid = {$message['member']['id']} AND inv.itemid = it.id
         LIMIT 10", __FILE__, __LINE__);
         if(mysql_num_rows($result) > 0){
            echo '<fieldset><legend><a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">View Inventory</a></legend>';
            while ($row = mysql_fetch_assoc($result)){
               echo "<img src='{$boardurl}/Sources/shop/item_images/{$row['image']}'title='{$row['desc']}'>&nbsp;&nbsp;";
            }
            echo '</fieldset>';
         }
         //END SMFShop Inventory Signature MOD



But it does not show in the display. Check to see that the problem of the display of  browser.


Firefox



IE



I need to know how to this problem. Help me please.

I'm from Thailand.  :)