2 include_once("include/functions.php");
3 include_once("include/report_generator.php");
6 * Ñêðèïò ïîêàçûâàåò ñïèñîê âëàäåëüöåâ âåùè ïî åå id
9 $itemid = intval(@$_REQUEST['itemOwner']);
10 $FindRefrence="?itemOwner=$itemid";
12 $item=getItem($itemid);
15 RenderError("$lang[item_not_found]");
21 echo "<table cellspacing=0 cellpadding=0 width=500><tbody><tr>";
22 echo "<td vAlign=top align=right width=20%>";
23 $icon = getItemIcon($item['displayid']);
24 echo "<br><a href=\"#\"><img height=64 width=64 border=0 src='$icon'></a></td>";
25 echo "<td>";generateItemTable($item);echo "</td>";
26 echo "</tr></tbody></table>";
28 if ($item['BuyPrice']) echo "$lang[buy_price]: ".money($item['BuyPrice']);
32 $show_fields= array('PL_REPORT_LEVEL', 'PL_REPORT_RACE', 'PL_REPORT_CLASS', 'PL_REPORT_NAME', 'PL_REPORT_ITEM');
34 $p_search =& new PlayerReportGenerator('item');
35 $p_search->disableMark();
36 $p_search->Init($show_fields, $FindRefrence, 'searchOwners', $config['fade_limit'], 'name');
37 $p_search->itemOwner($itemid);
38 $number = $p_search->getTotalDataCount();
40 echo $lang['owner_no_found'];
42 $p_search->createReport(sprintf($lang['owner_list'], $number));