Exemplo n.º 1
0
<?php

include_once "conf.php";
include_once "include/info_table_generator.php";
$entry = intval(@$_REQUEST['itemset']);
$set = getItemSet($entry);
if (!$set) {
    RenderError($lang['item_not_found']);
} else {
    $setkey = array_keys($set);
    echo "<table class=report width=500 border = 1>";
    echo "<tbody>";
    echo "<tr><td class=head>" . $set['name'] . "</td></tr>";
    echo "<tr><td class=set>";
    for ($i = 1; $i < 18; $i++) {
        if ($set_item = $set['item_' . $i]) {
            echo "&nbsp;";
            show_item($set_item);
            echo "&nbsp;";
        }
    }
    echo "</td></tr>";
    echo "<tr><td class=left>";
    for ($i = 1; $i < 9; $i++) {
        if ($spellID = $set['spell_' . $i]) {
            echo '&nbsp;<a class=spell href="?spell=' . $spellID . '">(' . $set['count_' . $i] . ') ' . get_spell_details($spellID) . '</a><br>';
        }
    }
    echo "</td></tr>";
    echo "</tbody></table>";
}
Exemplo n.º 2
0
   - Show simple GO table tooltip
   - Details GO info
   - Summoned by spell
   - Cast spells
   - How can possible open it (lock info)
   - Required for quest list
   - Give quest list
   - Take quest list
   - Item loot
*/
$entry = intval(@$_REQUEST['object']);
$page = intval(@$_REQUEST['page']);
$mark = @$_REQUEST['mark'];
$obj = getGameobject($entry);
if (!$obj) {
    RenderError($lang['go_not_found']);
} else {
    $baseLink = '?object=' . $entry;
    if ($ajaxmode == 0) {
        if ($lang['www_gameobject']) {
            echo "<a href=\"" . sprintf($lang['www_gameobject'], $entry) . "\" target=\"_blank\"\">" . sprintf($lang['www_gameobject'], $entry) . "</a><br>";
        }
        echo "<table cellspacing=0 cellpadding=0 width=500>";
        echo "<tbody>";
        echo "<tr>";
        // $icon = "--";//getObjIcon($obj[displayId]);
        // echo "<td valign=top align=right width=20><br><a href=\"#\"><IMG height=64 width=64 border=0 src='$icon'></a></td>";
        echo "<td align=center>";
        generateGameobjectTable($obj);
        echo "</td>";
        echo "</tr>";
Exemplo n.º 3
0
##########
/*
 Скрипт показывает энчант по его $entry
 Показывает:
  - Делается спеллом
  - Камни дающие этот энчант
  - Вещи с бонусами камней, дающие этот энчант
  - Выбрать рандом энчанты список
  - Рандом суффиксы
*/
$entry = intval(@$_REQUEST['enchant']);
$page = intval(@$_REQUEST['page']);
$mark = @$_REQUEST['mark'];
$enc = getEnchantment($entry);
if (!$enc) {
    RenderError($lang['enchant_not_found']);
} else {
    $baseLink = '?enchant=' . $entry;
    if ($ajaxmode == 0) {
        echo "<table cellspacing=0 cellpadding=0 width=500>";
        echo "<tbody>";
        echo "<tr>";
        echo "<td align=center>";
        generateEnchantTable($enc);
        echo "</td>";
        echo "</tr>";
        echo "</tbody></table>";
    }
    createReportTab();
    //********************************************************************************
    // Делается спеллом
Exemplo n.º 4
0
    }
}
function renderQuestSource($srcID, $srcCount)
{
    if (!$srcID) {
        return;
    }
    $name = getItemName($srcID);
    echo "<tr><td>&nbsp;&nbsp;<a href=\"?item={$srcID}\">{$name}</a>" . ($srcCount ? '&nbsp;x&nbsp;' . $srcCount : '') . '</td></tr>';
}
########
$entry = intval(@$_REQUEST['quest']);
$guid = intval(@$_REQUEST['guid']);
$quest = getQuest($entry);
if (!$quest) {
    RenderError("{$lang['quest_not_found1']}");
} else {
    $q_status = 0;
    if ($guid) {
        $q_status = $cDB->selectRow("SELECT * FROM `character_queststatus` WHERE `guid` = ?d AND `quest` = ?d", $guid, $entry);
    }
    if ($lang['www_quest']) {
        echo "<a href=\"" . sprintf($lang['www_quest'], $entry) . "\" target=\"_blank\"\">" . sprintf($lang['www_quest'], $entry) . "</a><br>";
    }
    echo "<table class=quest width=550>";
    echo "<tbody>";
    echo "<tr><td class=head>{$quest['Title']}";
    if ($quest['Type']) {
        echo "<br><FONT size=-3>&lt;" . getQuestType($quest['Type']) . "&gt;</FONT>";
    }
    if (getAllowableRace($quest['RequiredRaces']) && $quest['RequiredRaces'] & 1101 && $quest['RequiredRaces'] != 1791) {
Exemplo n.º 5
0
<?php

include_once "include/functions.php";
include_once "include/report_generator.php";
##########
/*
 * —крипт показывает список владельцев вещи по ее id
 */
$itemid = intval(@$_REQUEST['itemOwner']);
$FindRefrence = "?itemOwner={$itemid}";
$item = getItem($itemid);
if (!$item) {
    RenderError("{$lang['item_not_found']}");
} else {
    if ($ajaxmode == 0) {
        echo "<table cellspacing=0 cellpadding=0 width=500><tbody><tr>";
        echo "<td vAlign=top align=right width=20%>";
        $icon = getItemIcon($item['displayid']);
        echo "<br><a href=\"#\"><img height=64 width=64 border=0 src='{$icon}'></a></td>";
        echo "<td>";
        generateItemTable($item);
        echo "</td>";
        echo "</tr></tbody></table>";
        if ($item['BuyPrice']) {
            echo "{$lang['buy_price']}: " . money($item['BuyPrice']);
        }
        echo "<br /><br />";
    }
    $show_fields = array('PL_REPORT_LEVEL', 'PL_REPORT_RACE', 'PL_REPORT_CLASS', 'PL_REPORT_NAME', 'PL_REPORT_ITEM');
    $p_search =& new PlayerReportGenerator('item');
    $p_search->disableMark();
Exemplo n.º 6
0
  - Какие НИП находятся в зоне
  - Какие объекты находятся в зоне
  - Лут с рыбалки в зоне
*/
include_once "include/map_data.php";
include_once "include/report_generator.php";
include_once "include/info_table_generator.php";
$entry = intval(@$_REQUEST['zone']);
$npc_id = intval(@$_REQUEST['npc']);
$obj_id = intval(@$_REQUEST['obj']);
$width = intval(@$_REQUEST['width']) ? intval(@$_REQUEST['width']) : 900;
$page = intval(@$_REQUEST['page']);
$mark = @$_REQUEST['mark'];
$area = getArea($entry);
if (!$area) {
    RenderError($lang['area_not_found']);
} else {
    $baseLink = '?zone=' . $entry;
    if (@$_REQUEST['npc']) {
        $baseLink .= "&npc={$npc_id}";
    }
    if (@$_REQUEST['obj']) {
        $baseLink .= "&obj={$obj_id}";
    }
    if (@$_REQUEST['width']) {
        $baseLink .= "&width={$width}";
    }
    $zentry = $area['zone_id'] ? $area['zone_id'] : $entry;
    $map = $area['map_id'];
    $zone = getArea($zentry);
    $area_data = @getRenderAreaData($gZoneToAreaImage[$zentry]);
Exemplo n.º 7
0
   - Стартует с помощью другого спелла
   - Вещи получаемые со спелла
   - Вещи использующие этот спелл
   - Энчанты использующие этот спелл
   - В какой ветке талатнов этот спелл
   - Глифы использующие этот спелл (wotlk)
   - Наборы использующие этот спелл
   - Мобы кастующие этот спелл
   - Кастуют объекты
*/
$entry = intval(@$_REQUEST['spell']);
$page = intval(@$_REQUEST['page']);
$mark = @$_REQUEST['mark'];
$spell = getSpell($entry);
if (!$spell) {
    RenderError($lang['spell_not_found']);
} else {
    $baseLink = '?spell=' . $entry;
    if ($ajaxmode == 0) {
        if ($lang['www_spell']) {
            echo "<a href=\"" . sprintf($lang['www_spell'], $entry) . "\" target=\"_blank\"\">" . sprintf($lang['www_spell'], $entry) . "</a><br>";
        }
        $icon = getSpellIcon($spell['SpellIconID']);
        echo "<table cellspacing=0 celloadding=0 width=500><tbody>";
        echo "<tr>";
        echo "<td valign=top align=right width=20%>";
        echo "<br><a href=\"#\"><img border=0 src='{$icon}' width=64></a></td>";
        echo "<td>";
        generateSpellTable($spell);
        echo "</td>";
        echo "</tr>";
Exemplo n.º 8
0
 Скрипт показывает фракцию по $entry
 Показывает:
 - Входящие в состав фракции
 - Входит в группу фракций
 - НИП из данной фракции
   Как можно получить репутацию:
   - Награда за квест
   - Получена от спелла
*/
$entry = intval(@$_REQUEST['faction']);
$page = intval(@$_REQUEST['page']);
$sort = @$_REQUEST['sort'];
$mark = @$_REQUEST['mark'];
$faction = getFaction($entry);
if (!$faction) {
    RenderError($lang['faction_not_found']);
} else {
    $baseLink = "?faction={$entry}";
    if ($ajaxmode == 0) {
        if ($lang['www_faction']) {
            echo "<a href=\"" . sprintf($lang['www_faction'], $entry) . "\" target=\"_blank\"\">" . sprintf($lang['www_faction'], $entry) . "</a><br>";
        }
        generateFactionTable($faction);
        createReportTab();
        // Входящие в состав фракции
        $page_seek = init_pagePerMark($mark, "teamLIST", $page);
        $rows = $wDB->selectPage($totalRecords, 'SELECT
     *
     FROM `wowd_faction`
     WHERE `team` = ?d
     LIMIT ?d, ?d', $entry, $page_seek, $config['fade_limit']);
Exemplo n.º 9
0
  - Что он продаёт
  - Чему обучает
  - Нужен для какого квеста
  - В какую группу входит НИП (kredit)
  - Какие квесты даёт
  - Какие квесты принимает
  - Лут с НИП
  - Лут который можно украсть у НИП
  - Лут шкурок с трупа НИП
*/
$entry = intval(@$_REQUEST['npc']);
$page = intval(@$_REQUEST['page']);
$mark = @$_REQUEST['mark'];
$cr = getCreature($entry);
if (!$cr) {
    RenderError("{$lang['creature_not_found']}");
} else {
    $baseLink = '?npc=' . $entry;
    if ($ajaxmode == 0) {
        if ($lang['www_creature']) {
            echo "<a href=\"" . sprintf($lang['www_creature'], $entry) . "\" target=\"_blank\"\">" . sprintf($lang['www_creature'], $entry) . "</a><br>";
        }
        echo "<table cellspacing=0 cellpadding=0 width=500>";
        echo "<tbody>";
        echo "<tr>";
        echo "<td align=center>";
        generateCreatureTable($cr);
        echo "</td>";
        echo "</tr>";
        echo "</tbody></table>";
        if ($cr['mingold']) {