fixed problem with item & zone
This commit is contained in:
parent
6c1c360c23
commit
96433a7d09
2
item.php
2
item.php
@ -299,7 +299,7 @@ if (!$item = load_cache(5, $id)) {
|
|||||||
FROM '.$UDWBaseconf['aowow']['db'].'.?_aowow_factiontemplate, ?_creature_template c
|
FROM '.$UDWBaseconf['aowow']['db'].'.?_aowow_factiontemplate, ?_creature_template c
|
||||||
{ LEFT JOIN (?_locales_creature l) ON l.entry=c.entry AND ? }
|
{ LEFT JOIN (?_locales_creature l) ON l.entry=c.entry AND ? }
|
||||||
WHERE
|
WHERE
|
||||||
skinloot=?d
|
skinninglootid=?d
|
||||||
AND factiontemplateID=FactionAlliance
|
AND factiontemplateID=FactionAlliance
|
||||||
', $npc_cols[0], ($_SESSION['locale'] > 0) ? $_SESSION['locale'] : DBSIMPLE_SKIP, ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, $lootid
|
', $npc_cols[0], ($_SESSION['locale'] > 0) ? $_SESSION['locale'] : DBSIMPLE_SKIP, ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, $lootid
|
||||||
);
|
);
|
||||||
|
|||||||
@ -102,6 +102,7 @@
|
|||||||
<div id="listview-generic" class="listview"></div>
|
<div id="listview-generic" class="listview"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
|
var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
|
||||||
|
{if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if}
|
||||||
{if isset($zone.fishing)}{include file='bricks/item_table.tpl' id='fishing' name='fishing' tabsid='tabsRelated' data=$zone.fishing}{/if}
|
{if isset($zone.fishing)}{include file='bricks/item_table.tpl' id='fishing' name='fishing' tabsid='tabsRelated' data=$zone.fishing}{/if}
|
||||||
{if isset($zone.subzones)}{include file='bricks/zone_table.tpl' id='zones' name='zones' tabsid='tabsRelated' data=$zone.subzones}{/if}
|
{if isset($zone.subzones)}{include file='bricks/zone_table.tpl' id='zones' name='zones' tabsid='tabsRelated' data=$zone.subzones}{/if}
|
||||||
|
|
||||||
|
|||||||
5
zone.php
5
zone.php
@ -181,6 +181,9 @@ if(!$zone = load_cache(ZONE_PAGE, $id))
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IsSet($allitems))
|
||||||
|
$smarty->assign('allitems', $allitems);
|
||||||
|
|
||||||
/* // Положения объектофф:
|
/* // Положения объектофф:
|
||||||
$zone['position'] = position($object['entry'], 'gameobject');
|
$zone['position'] = position($object['entry'], 'gameobject');
|
||||||
@ -207,7 +210,7 @@ $page = array(
|
|||||||
'tab' => 1,
|
'tab' => 1,
|
||||||
'type' => 0,
|
'type' => 0,
|
||||||
'typeid' => 0,
|
'typeid' => 0,
|
||||||
'path' => null,//path(1, 1), //path(0, 6, $zone['map'])
|
'path' => '[1, 1, '.$zone['map'].']',
|
||||||
'comment' => true
|
'comment' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user