<?php page_begin("Trade Resources"); $wndItemSelect = new Window(); $wndItemSelect->Name = "wndItemSelect"; $wndItemSelect->Title = "Select Items to Trade"; $wndItemSelect->Left = 500; $wndItemSelect->Width = 500; $wndItemSelect->BeginRender(); ?> <input type="text" id="txtSearch" onchange="txtSearch_TextChanged();" placeholder="Type here to search your inventory" style="width: 100%" /> <div class="ButtonGroup ButtonGroupHorizontal"> <?php $items = mmo_get_items_by_user($CurrentUser); foreach ($items as $item) { ?> <a class="ButtonGroupButton" href="#" onclick=""> <img class="ButtonGroupButtonImage" src="/market/items/<?php echo $item->Name; ?> /images/thumbnail.png" /> <span class="ButtonGroupButtonText"><?php echo $item->Title; ?> </span> </a> <?php } ?> </div> <div style="text-align: right;">