Старая опечатка вывода репутации.))
[cswow.git] / module / show / show_set.php
blobf2a70ec139d3daf61f40ccc8912ef75f558806b4
1 <?php
2 include_once("conf.php");
3 include_once("include/info_table_generator.php");
5 $entry = intval(@$_REQUEST['itemset']);
6 $set = getItemSet($entry);
9 if (!$set)
11 RenderError($lang['item_not_found']);
13 else
15 $setkey = array_keys($set);
16 echo "<table class=report width=500 border = 1>";
17 echo "<tbody>";
18 echo "<tr><td class=head>".$set['name']."</td></tr>";
19 echo "<tr><td class=set>";
20 for($i=1;$i<18;$i++)
21 if ($set_item = $set['item_'.$i])
23 echo "&nbsp;";show_item($set_item);echo "&nbsp;";
25 echo "</td></tr>";
26 echo "<tr><td class=left>";
27 for($i=1; $i<9; $i++)
28 if ($spellID = $set['spell_'.$i])
29 echo '&nbsp;<a class=spell href="?spell='.$spellID.'">('.$set['count_'.$i].') '.get_spell_details($spellID).'</a><br>';
30 echo "</td></tr>";
31 echo "</tbody></table>";