Beispiel #1
0
SelectModifiers("imod", $imod);
echo "\n";
echo "    <select name='imodcomp'>\n";
echo "      <option value='&gt;='" . ($imodcomp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n";
echo "      <option value='&lt;='" . ($imodcomp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n";
echo "      <option value='='" . ($imodcomp == '=' ? " selected='1'" : "") . ">=</option>\n";
echo "      <option value='&lt'" . ($imodcomp == '<' ? " selected='1'" : "") . ">&lt</option>\n";
echo "    </select>\n";
echo "    <input type='text' size='4' name='imodvalue' value='" . $imodvalue . "'/>\n";
echo "  </td>\n";
echo "</tr>\n";
echo "</td></tr></table></td><td>";
// Left Table End and Right Table Start
echo "<table border='0' width='0%'>";
echo "<tr><td nowrap='1'><b>Item Type : </b></td><td>";
SelectIType("itype", $itype);
echo "</td></tr>\n";
echo "<tr><td nowrap='1'><b>Augmentation Type : </b></td><td>";
SelectAugSlot("iaugslot", $iaugslot);
echo "</td></tr>\n";
echo "<tr><td nowrap='1'><b>With Effect : </b></td><td><input type='text' value='" . $ieffect . "' size='30' name='ieffect'/></td></tr>\n";
echo "<tr><td nowrap='1'><b>Min Required Level : </b></td><td>\n";
SelectLevel("iminlevel", $ServerMaxLevel, $iminlevel);
echo "</td></tr>\n";
echo "<tr><td nowrap='1'><b>Max Required Level : </b></td><td>\n";
SelectLevel("ireqlevel", $ServerMaxLevel, $ireqlevel);
echo "</td></tr>\n";
echo "<tr><td nowrap='1'><b>Tradeable Items Only : </b></td><td><input type='checkbox' name='inodrop'" . ($inodrop ? " checked='1'" : "") . "/></td></tr>\n";
echo "<tr>\n";
echo "  <td nowrap='1'><b>Item availability : </b></td>\n";
echo "  <td>\n";
 $content_out .= '<div style="padding-left:150px">';
 $content_out .= "<form method='GET' id='item_search'>";
 $itemfields = array("id", "minstatus", "Name", "aagi", "ac", "accuracy", "acha", "adex", "aint", "artifactflag", "asta", "astr", "attack", "augrestrict", "augslot1type", "augslot1visible", "augslot2type", "augslot2visible", "augslot3type", "augslot3visible", "augslot4type", "augslot4visible", "augslot5type", "augslot5visible", "augtype", "avoidance", "awis", "bagsize", "bagslots", "bagtype", "bagwr", "banedmgamt", "banedmgraceamt", "banedmgbody", "banedmgrace", "bardtype", "bardvalue", "book", "casttime", "casttime_", "charmfile", "charmfileid", "classes", "color", "combateffects", "extradmgskill", "extradmgamt", "price", "cr", "damage", "damageshield", "deity", "delay", "augdistiller", "dotshielding", "dr", "clicktype", "clicklevel2", "elemdmgtype", "elemdmgamt", "endur", "factionamt1", "factionamt2", "factionamt3", "factionamt4", "factionmod1", "factionmod2", "factionmod3", "factionmod4", "filename", "focuseffect", "fr", "fvnodrop", "haste", "clicklevel", "hp", "regen", "icon", "idfile", "itemclass", "itemtype", "ldonprice", "ldontheme", "ldonsold", "light", "lore", "loregroup", "magic", "mana", "manaregen", "enduranceregen", "material", "maxcharges", "mr", "nodrop", "norent", "pendingloreflag", "pr", "procrate", "races", "range", "reclevel", "recskill", "reqlevel", "sellrate", "shielding", "size", "skillmodtype", "skillmodvalue", "slots", "clickeffect", "spellshield", "strikethrough", "stunresist", "summonedflag", "tradeskills", "favor", "weight", "UNK012", "UNK013", "benefitflag", "UNK054", "UNK059", "booktype", "recastdelay", "recasttype", "guildfavor", "UNK123", "UNK124", "attuneable", "nopet", "updated", "comment", "UNK127", "pointtype", "potionbelt", "potionbeltslots", "stacksize", "notransfer", "stackable", "UNK134", "UNK137", "proceffect", "proctype", "proclevel2", "proclevel", "UNK142", "worneffect", "worntype", "wornlevel2", "wornlevel", "UNK147", "focustype", "focuslevel2", "focuslevel", "UNK152", "scrolleffect", "scrolltype", "scrolllevel2", "scrolllevel", "UNK157", "serialized", "verified", "serialization", "source", "UNK033", "lorefile", "UNK014", "svcorruption", "UNK038", "UNK060", "augslot1unk2", "augslot2unk2", "augslot3unk2", "augslot4unk2", "augslot5unk2", "UNK120", "UNK121", "questitemflag", "UNK132", "clickunk5", "clickunk6", "clickunk7", "procunk1", "procunk2", "procunk3", "procunk4", "procunk6", "procunk7", "wornunk1", "wornunk2", "wornunk3", "wornunk4", "wornunk5", "wornunk6", "wornunk7", "focusunk1", "focusunk2", "focusunk3", "focusunk4", "focusunk5", "focusunk6", "focusunk7", "scrollunk1", "scrollunk2", "scrollunk3", "scrollunk4", "scrollunk5", "scrollunk6", "scrollunk7", "UNK193", "purity", "evolvinglevel", "clickname", "procname", "wornname", "focusname", "scrollname", "dsmitigation", "heroic_str", "heroic_int", "heroic_wis", "heroic_agi", "heroic_dex", "heroic_sta", "heroic_cha", "heroic_pr", "heroic_dr", "heroic_fr", "heroic_cr", "heroic_mr", "heroic_svcorrup", "healamt", "spelldmg", "clairvoyance", "backstabdmg", "created", "elitematerial", "ldonsellbackrate", "scriptfileid", "expendablearrow", "powersourcecapacity", "bardeffect", "bardeffecttype", "bardlevel2", "bardlevel", "bardunk1", "bardunk2", "bardunk3", "bardunk4", "bardunk5", "bardname", "bardunk7", "UNK214", "UNK219", "UNK220", "UNK221", "UNK222", "UNK223", "UNK224", "UNK225", "UNK226", "UNK227", "UNK228", "UNK229", "UNK230", "UNK231", "UNK232", "UNK233", "UNK234", "UNK235", "UNK236", "UNK237", "UNK238", "UNK239", "UNK240", "UNK241", "UNK242");
 $content_out .= '<div style="width:1000px">';
 $content_out .= '<h2 class="page-title"><i class="fa fa-search" style="font-size:30px"></i> Item Search <small>Begin your item editing search by specifying search criteria below...</small></h2>';
 $content_out .= FormStart();
 $content_out .= FormInput('Name', '<input type="hidden" id="loot_drop_add_item_stack" value="' . $_GET['loot_drop_add_item'] . '"> <input type="text" placeholder="Name, ID or Lore search here..." style="width:500px" value="' . $iname . '" id="iname" class="form-control"/>', 'Item Type', SelectIType("itype", $itype));
 $content_out .= FormInput('Class', SelectIClass("iclass", $iclass));
 $content_out .= FormInput('Race', SelectRace("irace", $irace));
 $content_out .= FormInput('Slot', SelectSlot("islot", $islot));
 $content_out .= FormInput('Stats <br><small>(1st Filter)</small>', SelectStats("istat1", $istat1) . '' . "<select id='istat1comp' class='form-control'>\n                            <option value='&gt;='" . ($istat1comp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                            <option value='&lt;='" . ($istat1comp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                            <option value='='" . ($istat1comp == '=' ? " selected='1'" : "") . ">=</option>\n                            <option value='&lt'" . ($istat1comp == '<' ? " selected='1'" : "") . ">&lt</option>\n                            </select>\n                            <input type='text' size='4' id='istat1value' value='" . $istat1value . "' class='form-control' placeholder='Value here...'/>");
 $content_out .= FormInput('Stats <br><small>(2nd Filter)</small>', SelectStats("istat2", $istat2) . '' . "<select id='istat2comp' class='form-control'>\n                            <option value='&gt;='" . ($istat2comp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                            <option value='&lt;='" . ($istat2comp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                            <option value='='" . ($istat2comp == '=' ? " selected='1'" : "") . ">=</option>\n                            <option value='&lt'" . ($istat2comp == '<' ? " selected='1'" : "") . ">&lt</option>\n                            </select>\n                            <input type='text' size='4' id='istat2value' value='" . $istat2value . "' class='form-control' placeholder='Value here...'/>");
 $content_out .= FormInput('Resists', SelectResists("iresists", $iresists) . '' . "<select id='iresistscomp' class='form-control'>\n                            <option value='&gt;='" . ($iresistscomp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                            <option value='&lt;='" . ($iresistscomp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                            <option value='='" . ($iresistscomp == '=' ? " selected='1'" : "") . ">=</option>\n                            <option value='&lt'" . ($iresistscomp == '<' ? " selected='1'" : "") . ">&lt</option>\n                            </select>\n                            <input type='text' size='4' id='iresistsvalue' value='" . $iresistsvalue . "' class='form-control' placeholder='Value here...'/>");
 $content_out .= FormInput('Heroic Stats', SelectHeroicStats("iheroics", $iheroics) . '' . "\n                <select id='iheroicscomp' class='form-control'>\n                    <option value='&gt;='" . ($iheroicscomp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                    <option value='&lt;='" . ($iheroicscomp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                    <option value='='" . ($iheroicscomp == '=' ? " selected='1'" : "") . ">=</option>\n                    <option value='&lt'" . ($iheroicscomp == '<' ? " selected='1'" : "") . ">&lt</option>\n                </select>\n                <input type='text' size='4' id='iheroicsvalue' value='" . $iheroicsvalue . "' class='form-control' placeholder='Value here...'/>");
 $content_out .= FormInput('Modifiers', SelectModifiers("imod", $imod) . '' . "<select id='imodcomp' class='form-control'>\n                            <option value='&gt;='" . ($imodcomp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                            <option value='&lt;='" . ($imodcomp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                            <option value='='" . ($imodcomp == '=' ? " selected='1'" : "") . ">=</option>\n                            <option value='&lt'" . ($imodcomp == '<' ? " selected='1'" : "") . ">&lt</option>\n                            </select>\n                            <input type='text' size='4' id='imodvalue' value='" . $imodvalue . "' class='form-control' placeholder='Value here...'/>");
 $content_out .= FormInput('Item Type', SelectIType("itype", $itype));
 $content_out .= FormInput('Augmentation Type', SelectAugSlot("iaugslot", $iaugslot));
 $content_out .= FormInput('With Effect', "<input type='text' value='" . $ieffect . "' style='width:400px' placeholder='Effect Name...' id='ieffect' class='form-control'/>");
 $content_out .= FormInput('Min Required Level', SelectLevel("iminlevel", 255, $iminlevel));
 $content_out .= FormInput('Max Required Level', SelectLevel("ireqlevel", 255, $ireqlevel));
 $content_out .= FormInput('Tradeable Items Only', "<input type='checkbox' id='inodrop'" . ($inodrop ? " checked='1'" : "") . "/>");
 $content_out .= FormInput('Item Availability', " <select id='iavailability' class='form-control'>\n                                <option value='0' " . ($iavailability == 0 ? " selected='1'" : "") . ">--- Select --- </option>\n                                <option value='1' " . ($iavailability == 1 ? " selected='1'" : "") . ">Mob Dropped</option>\n                                <option value='2' " . ($iavailability == 2 ? " selected='1'" : "") . ">Merchant Sold</option>\n\n                            </select>");
 $content_out .= FormInput('Max Level', SelectLevel("iavaillevel", 255, $iavaillevel));
 $content_out .= FormInput('Deity', SelectDeity("ideity", $ideity));
 $ifv = "<select id='itemfield' class='form-control'>";
 $ifv .= "<option value='0'> --- Select --- <option>";
 foreach ($itemfields as $val) {
     if ($val != "") {
         if ($itemfield == $val) {
             $sel = " selected";
         } else {
Beispiel #3
0
 }
 echo "<form method='GET' action=''>";
 $itemfields = array("id", "minstatus", "Name", "aagi", "ac", "accuracy", "acha", "adex", "aint", "artifactflag", "asta", "astr", "attack", "augrestrict", "augslot1type", "augslot1visible", "augslot2type", "augslot2visible", "augslot3type", "augslot3visible", "augslot4type", "augslot4visible", "augslot5type", "augslot5visible", "augtype", "avoidance", "awis", "bagsize", "bagslots", "bagtype", "bagwr", "banedmgamt", "banedmgraceamt", "banedmgbody", "banedmgrace", "bardtype", "bardvalue", "book", "casttime", "casttime_", "charmfile", "charmfileid", "classes", "color", "combateffects", "extradmgskill", "extradmgamt", "price", "cr", "damage", "damageshield", "deity", "delay", "augdistiller", "dotshielding", "dr", "clicktype", "clicklevel2", "elemdmgtype", "elemdmgamt", "endur", "factionamt1", "factionamt2", "factionamt3", "factionamt4", "factionmod1", "factionmod2", "factionmod3", "factionmod4", "filename", "focuseffect", "fr", "fvnodrop", "haste", "clicklevel", "hp", "regen", "icon", "idfile", "itemclass", "itemtype", "ldonprice", "ldontheme", "ldonsold", "light", "lore", "loregroup", "magic", "mana", "manaregen", "enduranceregen", "material", "maxcharges", "mr", "nodrop", "norent", "pendingloreflag", "pr", "procrate", "races", "range", "reclevel", "recskill", "reqlevel", "sellrate", "shielding", "size", "skillmodtype", "skillmodvalue", "slots", "clickeffect", "spellshield", "strikethrough", "stunresist", "summonedflag", "tradeskills", "favor", "weight", "UNK012", "UNK013", "benefitflag", "UNK054", "UNK059", "booktype", "recastdelay", "recasttype", "guildfavor", "UNK123", "UNK124", "attuneable", "nopet", "updated", "comment", "UNK127", "pointtype", "potionbelt", "potionbeltslots", "stacksize", "notransfer", "stackable", "UNK134", "UNK137", "proceffect", "proctype", "proclevel2", "proclevel", "UNK142", "worneffect", "worntype", "wornlevel2", "wornlevel", "UNK147", "focustype", "focuslevel2", "focuslevel", "UNK152", "scrolleffect", "scrolltype", "scrolllevel2", "scrolllevel", "UNK157", "serialized", "verified", "serialization", "source", "UNK033", "lorefile", "UNK014", "svcorruption", "UNK038", "UNK060", "augslot1unk2", "augslot2unk2", "augslot3unk2", "augslot4unk2", "augslot5unk2", "UNK120", "UNK121", "questitemflag", "UNK132", "clickunk5", "clickunk6", "clickunk7", "procunk1", "procunk2", "procunk3", "procunk4", "procunk6", "procunk7", "wornunk1", "wornunk2", "wornunk3", "wornunk4", "wornunk5", "wornunk6", "wornunk7", "focusunk1", "focusunk2", "focusunk3", "focusunk4", "focusunk5", "focusunk6", "focusunk7", "scrollunk1", "scrollunk2", "scrollunk3", "scrollunk4", "scrollunk5", "scrollunk6", "scrollunk7", "UNK193", "purity", "evolvinglevel", "clickname", "procname", "wornname", "focusname", "scrollname", "dsmitigation", "heroic_str", "heroic_int", "heroic_wis", "heroic_agi", "heroic_dex", "heroic_sta", "heroic_cha", "heroic_pr", "heroic_dr", "heroic_fr", "heroic_cr", "heroic_mr", "heroic_svcorrup", "healamt", "spelldmg", "clairvoyance", "backstabdmg", "created", "elitematerial", "ldonsellbackrate", "scriptfileid", "expendablearrow", "powersourcecapacity", "bardeffect", "bardeffecttype", "bardlevel2", "bardlevel", "bardunk1", "bardunk2", "bardunk3", "bardunk4", "bardunk5", "bardname", "bardunk7", "UNK214", "UNK219", "UNK220", "UNK221", "UNK222", "UNK223", "UNK224", "UNK225", "UNK226", "UNK227", "UNK228", "UNK229", "UNK230", "UNK231", "UNK232", "UNK233", "UNK234", "UNK235", "UNK236", "UNK237", "UNK238", "UNK239", "UNK240", "UNK241", "UNK242");
 echo '<div style="width:1000px">';
 echo '<h2 class="page-title"><i class="fa fa-search" style="font-size:30px"></i> Item Search <small>Begin your item editing search by specifying search criteria below...</small></h2><hr>';
 echo FormStart();
 echo FormInput('Name', "<input type='hidden' name='M' value='ItemEditor'>" . '<input type="text" placeholder="Name, ID or Lore search here..." style="width:500px" value="' . $iname . '" name="iname" class="form-control"/>', 'Item Type', SelectIType("itype", $itype));
 echo FormInput('Class', SelectIClass("iclass", $iclass));
 echo FormInput('Race', SelectRace("irace", $irace));
 echo FormInput('Slot', SelectSlot("islot", $islot));
 echo FormInput('Stats <br><small>(1st Filter)</small>', SelectStats("istat1", $istat1) . '' . "<select name='istat1comp' class='form-control'>\n                    <option value='&gt;='" . ($istat1comp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                    <option value='&lt;='" . ($istat1comp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                    <option value='='" . ($istat1comp == '=' ? " selected='1'" : "") . ">=</option>\n                    <option value='&lt'" . ($istat1comp == '<' ? " selected='1'" : "") . ">&lt</option>\n                    </select>\n                    <input type='text' size='4' name='istat1value' value='" . $istat1value . "' class='form-control' placeholder='Value here...'/>");
 echo FormInput('Stats <br><small>(2nd Filter)</small>', SelectStats("istat2", $istat2) . '' . "<select name='istat2comp' class='form-control'>\n                    <option value='&gt;='" . ($istat2comp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                    <option value='&lt;='" . ($istat2comp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                    <option value='='" . ($istat2comp == '=' ? " selected='1'" : "") . ">=</option>\n                    <option value='&lt'" . ($istat2comp == '<' ? " selected='1'" : "") . ">&lt</option>\n                    </select>\n                    <input type='text' size='4' name='istat2value' value='" . $istat2value . "' class='form-control' placeholder='Value here...'/>");
 echo FormInput('Resists', SelectResists("iresists", $iresists) . '' . "<select name='iresistscomp' class='form-control'>\n                    <option value='&gt;='" . ($iresistscomp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                    <option value='&lt;='" . ($iresistscomp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                    <option value='='" . ($iresistscomp == '=' ? " selected='1'" : "") . ">=</option>\n                    <option value='&lt'" . ($iresistscomp == '<' ? " selected='1'" : "") . ">&lt</option>\n                    </select>\n                    <input type='text' size='4' name='iresistsvalue' value='" . $iresistsvalue . "' class='form-control' placeholder='Value here...'/>");
 echo FormInput('Heroic Stats', SelectHeroicStats("iheroics", $iheroics) . '' . "<select name='iheroicscomp' class='form-control'>\n                    <option value='&gt;='" . ($iheroicscomp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                    <option value='&lt;='" . ($iheroicscomp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                    <option value='='" . ($iheroicscomp == '=' ? " selected='1'" : "") . ">=</option>\n                    <option value='&lt'" . ($iheroicscomp == '<' ? " selected='1'" : "") . ">&lt</option>\n                    </select>\n                    <input type='text' size='4' name='iheroicsvalue' value='" . $iheroicsvalue . "' class='form-control' placeholder='Value here...'/>");
 echo FormInput('Modifiers', SelectModifiers("imod", $imod) . '' . "<select name='imodcomp' class='form-control'>\n                    <option value='&gt;='" . ($imodcomp == '>=' ? " selected='1'" : "") . ">&gt;=</option>\n                    <option value='&lt;='" . ($imodcomp == '<=' ? " selected='1'" : "") . ">&lt;=</option>\n                    <option value='='" . ($imodcomp == '=' ? " selected='1'" : "") . ">=</option>\n                    <option value='&lt'" . ($imodcomp == '<' ? " selected='1'" : "") . ">&lt</option>\n                    </select>\n                    <input type='text' size='4' name='imodvalue' value='" . $imodvalue . "' class='form-control' placeholder='Value here...'/>");
 echo FormInput('Item Type', SelectIType("itype", $itype));
 echo FormInput('Augmentation Type', SelectAugSlot("iaugslot", $iaugslot));
 echo FormInput('With Effect', "<input type='text' value='" . $ieffect . "' style='width:400px' placeholder='Effect Name...' name='ieffect' class='form-control'/>");
 echo FormInput('Min Required Level', SelectLevel("iminlevel", 255, $iminlevel));
 echo FormInput('Max Required Level', SelectLevel("ireqlevel", 255, $ireqlevel));
 echo FormInput('Tradeable Items Only', "<input type='checkbox' name='inodrop'" . ($inodrop ? " checked='1'" : "") . "/>");
 echo FormInput('Item Availability', " <select name='iavailability' class='form-control'>\n                        <option value='0' " . ($iavailability == 0 ? " selected='1'" : "") . ">--- Select --- </option>\n                        <option value='1' " . ($iavailability == 1 ? " selected='1'" : "") . ">Mob Dropped</option>\n                        <option value='2' " . ($iavailability == 2 ? " selected='1'" : "") . ">Merchant Sold</option>\n\n                    </select>");
 echo FormInput('Max Level', SelectLevel("iavaillevel", 255, $iavaillevel));
 echo FormInput('Deity', SelectDeity("ideity", $ideity));
 $ifv = "<select name='itemfield' class='form-control'>";
 $ifv .= "<option value='0'> --- Select --- <option>";
 foreach ($itemfields as $val) {
     if ($val != "") {
         if ($itemfield == $val) {
             $sel = " selected";
         } else {