Imported AoWoW.
This version of AoWoW is based on https://github.com/udw/udwbase and is not yet usable. An initial amount of testing has been finished, and you can import the aowow.sql database into your world database, and create a local copy of config.php.in as config.php to test this version. FirePHP (http://firephp.org/) has been added for testing purposes. Signed-off-by: TheLuda <theluda@getmangos.com>
@@ -0,0 +1,25 @@
|
||||
{strip}
|
||||
var lv_comments = [
|
||||
{foreach name=foo from=$comments key=number item=comment}
|
||||
{ldelim}
|
||||
number:{$comment.number},
|
||||
user:'{$comment.user}',
|
||||
body:'{$comment.body|escape:"javascript"}',
|
||||
date:'{$comment.date|date_format:"%Y/%m/%d %H:%M:%S"}',
|
||||
{if $comment.roles!=0}
|
||||
roles: {$comment.roles},
|
||||
{/if}
|
||||
{if $comment.indent!=0}
|
||||
indent: {$comment.indent},
|
||||
{/if}
|
||||
rating: {$comment.rating},
|
||||
replyTo: {$comment.replyto},
|
||||
purged: {$comment.purged},
|
||||
deleted:0,
|
||||
raters:[{foreach name=foo2 key=id from=$comment.raters item=rater}[{$rater.userid},{$rater.rate}]{if $smarty.foreach.foo2.last}{else},{/if}{/foreach}],
|
||||
id:{$comment.id}
|
||||
{rdelim}
|
||||
{if $smarty.foreach.foo.last}{else},{/if}
|
||||
{/foreach}
|
||||
];
|
||||
{/strip}
|
||||
@@ -0,0 +1,14 @@
|
||||
{*
|
||||
ШАБЛОН ИНФОРМАЦИИ О ВЕЩЯХ
|
||||
Переменные, передаваемые шаблону:
|
||||
data - данные для табл
|
||||
|
||||
Пример вставки модуля в текст:
|
||||
{include file='bricks/allitems_table.tpl' data=$allitems}
|
||||
*}
|
||||
var _ = g_items;
|
||||
{strip}
|
||||
{foreach from=$data key=id item=item}
|
||||
_[{$id}]={ldelim}icon: '{$item.icon}'{rdelim};
|
||||
{/foreach}
|
||||
{/strip}
|
||||
@@ -0,0 +1,6 @@
|
||||
var _ = g_spells;
|
||||
{strip}
|
||||
{foreach from=$data key=id item=item}
|
||||
_[{$id}]={ldelim}icon: '{$item.icon}'{rdelim};
|
||||
{/foreach}
|
||||
{/strip}
|
||||
@@ -0,0 +1,27 @@
|
||||
<div class="text">
|
||||
<h2>{#Contribute#}</h2>
|
||||
</div>
|
||||
<div id="tabs_contribute-generic" style="width: 50%"></div>
|
||||
<div class="text" style="margin-right: 310px">
|
||||
<div class="tabbed-contents" style="clear: none">
|
||||
<div id="tab-add-your-comment" style="display: none">
|
||||
<form name="addcomment" action="?comment=add&type={$page.type}&typeid={$page.typeid}" method="post" onsubmit="return co_validateForm(this)">
|
||||
<div id="replybox-generic" style="display: none">
|
||||
{#Replying_to_comment_by#} <span></span>. <a href="javascript:;" onclick="co_cancelReply()">{#Cancel#}</a>
|
||||
<div class="pad"></div>
|
||||
</div>
|
||||
<div id="funcbox-generic"></div>
|
||||
<script type="text/javascript">Listview.funcBox.coEditAppend(ge('funcbox-generic'), {ldelim}body: ''{rdelim}, 1)</script>
|
||||
<div class="pad"></div>
|
||||
<input type="submit" value="{#Submit#}"></input>
|
||||
<input type="hidden" name="replyto" value=""></input>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var tabsContribute = new Tabs({ldelim}parent: ge('tabs_contribute-generic'){rdelim});
|
||||
tabsContribute.add(LANG.tab_addyourcomment, {ldelim}id: 'add-your-comment'{rdelim});
|
||||
tabsContribute.flush();
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
@@ -0,0 +1,85 @@
|
||||
{*
|
||||
ШАБЛОН ТАБЛИЦЫ СОЗДАНИЙ
|
||||
Переменные, передаваемые шаблону:
|
||||
id - идентификатор/тип табл
|
||||
name - название табл
|
||||
tabsid - идентификатор вкладок
|
||||
data - данные для табл
|
||||
|
||||
Пример вставки модуля в текст:
|
||||
Со вкладками:
|
||||
{include file='bricks/creature_table.tpl' id='dropped-by' tabsid='tabsRelated' data=$droppedby name=#droppedby#}
|
||||
Без вкладок:
|
||||
{include file='bricks/creature_table.tpl' id='items' data=$items}
|
||||
*}
|
||||
{strip}
|
||||
|
||||
{assign var="cost" value=false}
|
||||
{assign var="stack" value=false}
|
||||
{assign var="group" value=false}
|
||||
{assign var="percent" value=false}
|
||||
|
||||
{foreach from=$data item=curr}
|
||||
{if isset($curr.cost)}{assign var="cost" value=true}{/if}
|
||||
{if isset($curr.stack)}{assign var="stack" value=true}{/if}
|
||||
{if isset($curr.percent)}{assign var="percent" value=true}{/if}
|
||||
{if isset($curr.group)}{assign var="group" value=true}{/if}
|
||||
{/foreach}
|
||||
|
||||
new Listview(
|
||||
{ldelim}template:'npc',
|
||||
id:'{$id}',
|
||||
{if isset($name)}name: LANG.tab_{$name},{/if}
|
||||
{if isset($tabsid)}tabs:{$tabsid},parent: 'listview-generic',{/if}
|
||||
extraCols:[
|
||||
{if $percent}Listview.extraCols.percent{/if}
|
||||
{if $cost}Listview.extraCols.stock, {if $stack}Listview.funcBox.createSimpleCol('stack', 'stack', '10%', 'stack'),{/if} Listview.extraCols.cost{/if}
|
||||
],
|
||||
hiddenCols:[{if $cost}'type'{else}'location'{/if}],
|
||||
sort: [{if $percent}'-percent',{/if} 'name'],
|
||||
data:[
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
name: '{$data[i].name|escape:"quotes"}',
|
||||
{if $data[i].subname}
|
||||
tag: '{$data[i].subname|escape:"quotes"}',
|
||||
{/if}
|
||||
minlevel: {$data[i].minlevel},
|
||||
maxlevel: {$data[i].maxlevel},
|
||||
type: {$data[i].type},
|
||||
classification: {$data[i].classification},
|
||||
react: [{$data[i].react}],
|
||||
{if $percent}
|
||||
percent: {$data[i].percent},
|
||||
{/if}
|
||||
{if $cost}
|
||||
stock: {$data[i].stock},
|
||||
{if isset($data[i].stack)}
|
||||
stack: {$data[i].stack},
|
||||
{/if}
|
||||
cost: [
|
||||
{if isset($data[i].cost.money)}{$data[i].cost.money}{/if}
|
||||
{if isset($data[i].cost.honor) or isset($data[i].cost.arena) or isset($data[i].cost.items)}
|
||||
,{if isset($data[i].cost.honor)}{$data[i].cost.honor}{/if}
|
||||
{if isset($data[i].cost.arena) or isset($data[i].cost.items)}
|
||||
,{if isset($data[i].cost.arena)}{$data[i].cost.arena}{/if}
|
||||
{if isset($data[i].cost.items)}
|
||||
,[
|
||||
{foreach from=$data[i].cost.items item=curitem name=c}
|
||||
[{$curitem.item},{$curitem.count}]
|
||||
{if $smarty.foreach.c.last}{else},{/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
],
|
||||
{/if}
|
||||
id: {$data[i].entry}
|
||||
{rdelim}
|
||||
{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{rdelim}
|
||||
);
|
||||
{/strip}
|
||||
@@ -0,0 +1,12 @@
|
||||
{strip}
|
||||
new Listview({ldelim}template: 'faction', id: 'factions', data: [
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
id: {$data[i].entry},
|
||||
name: '{$data[i].name|escape:"quotes"}'
|
||||
{if isset($data[i].group)},group: '{$data[i].group|escape:"quotes"}'{/if}
|
||||
{if isset($data[i].side)},side: '{$data[i].side|escape:"quotes"}'{/if}
|
||||
{rdelim}{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]{rdelim});
|
||||
{/strip}
|
||||
@@ -0,0 +1,103 @@
|
||||
{strip}
|
||||
|
||||
{assign var="cost" value=true}
|
||||
{assign var="percent" value=false}
|
||||
{assign var="classs1" value=true}
|
||||
{assign var="classs2" value=true}
|
||||
{assign var="classs4" value=true}
|
||||
{assign var="group" value=false}
|
||||
|
||||
{foreach from=$data item=curr}
|
||||
{if !(isset($curr.cost))}{assign var="cost" value=false}{/if}
|
||||
{if isset($curr.percent)}{assign var="percent" value=true}{/if}
|
||||
{if !($curr.classs==1)}{assign var="classs1" value=false}{/if}
|
||||
{if !($curr.classs==2)}{assign var="classs2" value=false}{/if}
|
||||
{if !($curr.classs==4)}{assign var="classs4" value=false}{/if}
|
||||
{if isset($curr.group)}{assign var="group" value=true}{/if}
|
||||
{/foreach}
|
||||
|
||||
new Listview(
|
||||
{ldelim}template:'item',
|
||||
id:'{$id}',
|
||||
{if (isset($name))}name: LANG.tab_{$name},{/if}
|
||||
{if (isset($tabsid))}tabs:{$tabsid},parent:'listview-generic',{/if}
|
||||
extraCols:[
|
||||
{if $percent}Listview.extraCols.percent{/if}
|
||||
{if $group},Listview.funcBox.createSimpleCol('group', 'group', '10%', 'group'){/if}
|
||||
{if $cost}Listview.extraCols.stock, Listview.extraCols.cost{/if}
|
||||
],
|
||||
{if $classs1}visibleCols: ['slots'],
|
||||
{elseif $classs2}visibleCols: ['dps', 'speed'],
|
||||
{elseif $classs4}visibleCols: ['armor', 'slot'],{/if}
|
||||
hiddenCols:['source'],
|
||||
sort: [{if $percent}'-percent',{/if}'name'],
|
||||
data: [
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
{* Название/качество вещи, обязательно *}
|
||||
name: '{$data[i].quality2}{$data[i].name|escape:"quotes"}',
|
||||
{* Уровень вещи *}
|
||||
{if $data[i].level}
|
||||
level: {$data[i].level},
|
||||
{/if}
|
||||
{* Требуемый уровень вещи *}
|
||||
{if $data[i].reqlevel}
|
||||
reqlevel: {$data[i].reqlevel},
|
||||
{/if}
|
||||
{* Класс вещи, обязательно *}
|
||||
classs: {$data[i].classs},
|
||||
{* Подкласс вещи, обязательно *}
|
||||
subclass: {$data[i].subclass},
|
||||
{* Кол-во вещей при дропе *}
|
||||
{if isset($data[i].maxcount)}
|
||||
{if $data[i].maxcount>1}
|
||||
stack:[{$data[i].mincount},{$data[i].maxcount}],
|
||||
{/if}
|
||||
{/if}
|
||||
{* Процент дропа *}
|
||||
{if $percent}
|
||||
percent: {$data[i].percent},
|
||||
{/if}
|
||||
{if isset($data[i].group) and isset($data[i].grouppercent)}
|
||||
group: '{$data[i].group} [{$data[i].grouppercent}%]',
|
||||
{/if}
|
||||
{* Стоимость *}
|
||||
{if $cost}
|
||||
{* Макс. кол-во на продажу *}
|
||||
stock: -1,
|
||||
cost: [
|
||||
{if isset($data[i].cost.money)}{$data[i].cost.money}{/if}
|
||||
{if isset($data[i].cost.honor) or isset($data[i].cost.arena) or isset($data[i].cost.items)}
|
||||
,{if isset($data[i].cost.honor)}{$data[i].cost.honor}{/if}
|
||||
{if isset($data[i].cost.arena) or isset($data[i].cost.items)}
|
||||
,{if isset($data[i].cost.arena)}{$data[i].cost.arena}{/if}
|
||||
{if isset($data[i].cost.items)}
|
||||
,[
|
||||
{foreach from=$data[i].cost.items item=curitem name=c}
|
||||
[{$curitem.item},{$curitem.count}]
|
||||
{if $smarty.foreach.c.last}{else},{/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
],
|
||||
{/if}
|
||||
{if $classs1==1}
|
||||
nslots: {$data[i].slots},
|
||||
{/if}
|
||||
{if $classs2}
|
||||
dps: {$data[i].dps},
|
||||
speed: {$data[i].speed},
|
||||
{/if}
|
||||
{if $classs4}
|
||||
armor: {$data[i].armor},
|
||||
slot: {$data[i].slot},
|
||||
{/if}
|
||||
{* Номер вещи, обязателен *}
|
||||
id: {$data[i].entry}
|
||||
{rdelim}{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]{rdelim}
|
||||
);
|
||||
{/strip}
|
||||
@@ -0,0 +1,21 @@
|
||||
{strip}
|
||||
new Listview({ldelim}
|
||||
template: 'itemset',
|
||||
id: 'itemsets',
|
||||
{if isset($name)}name: LANG.tab_{$name},{/if}
|
||||
{if isset($tabsid)}tabs:{$tabsid},parent:'listview-generic',{/if}
|
||||
data: [
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
name: '{$data[i].quality2}{$data[i].name|escape:"quotes"}',
|
||||
{if $data[i].minlevel}minlevel: {$data[i].minlevel},{/if}
|
||||
{if $data[i].maxlevel}maxlevel: {$data[i].maxlevel},{/if}
|
||||
{if $data[i].pieces}pieces:[{section name=j loop=$data[i].pieces}{$data[i].pieces[j]}{if $smarty.section.j.last}{else},{/if}{/section}],{/if}
|
||||
{if isset($data[i].type)}type: {$data[i].type},{/if}
|
||||
id: {$data[i].entry}
|
||||
{rdelim}
|
||||
{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{rdelim});
|
||||
{/strip}
|
||||
@@ -0,0 +1,42 @@
|
||||
{strip}
|
||||
|
||||
{assign var="percent" value=false}
|
||||
{assign var="skill" value=false}
|
||||
|
||||
{foreach from=$data item=curr}
|
||||
{if isset($curr.percent)}{assign var="percent" value=true}{/if}
|
||||
{if isset($curr.skill)}{assign var="skill" value=true}{/if}
|
||||
{/foreach}
|
||||
|
||||
new Listview({ldelim}
|
||||
template:'object',
|
||||
id:'{$id}',
|
||||
{if isset($name)}name: LANG.tab_{$name},{/if}
|
||||
{if isset($tabsid)}tabs:{$tabsid},parent:'listview-generic',{/if}
|
||||
{if $percent}extraCols:[Listview.extraCols.percent],{/if}
|
||||
{if $skill}visibleCols:['skill'],{/if}
|
||||
sort: [{if $skill}'skill',{/if}{if $percent}'-percent',{/if} 'name'],
|
||||
hiddenCols:[],
|
||||
data:[
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
{* Название обекта, обязательно *}
|
||||
name: '{$data[i].name|escape:"quotes"}',
|
||||
{* Тип обекта, обязательно *}
|
||||
type: {$data[i].type},
|
||||
{* Процент дропа *}
|
||||
{if $percent}
|
||||
percent: {$data[i].percent},
|
||||
{/if}
|
||||
{* Необходимый уровень скилла *}
|
||||
{if $skill}
|
||||
skill: {$data[i].skill},
|
||||
{/if}
|
||||
{* Номер объекта, обязателен *}
|
||||
id: {$data[i].entry}
|
||||
{rdelim}
|
||||
{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]{rdelim}
|
||||
);
|
||||
{/strip}
|
||||
@@ -0,0 +1,56 @@
|
||||
{strip}
|
||||
new Listview({ldelim}
|
||||
template:'quest',
|
||||
id:'{$id}',
|
||||
{if isset($name)}name: LANG.tab_{$name},{/if}
|
||||
{if isset($tabsid)}tabs:{$tabsid},parent:'listview-generic',{/if}
|
||||
data:[
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
id: '{$data[i].entry}',
|
||||
name: '{$data[i].Title|escape:"quotes"}',
|
||||
level: '{$data[i].QuestLevel}',
|
||||
{if ($data[i].MinLevel)}
|
||||
reqlevel:{$data[i].MinLevel},
|
||||
{/if}
|
||||
side: '{$data[i].side.side}'
|
||||
{if isset($data[i].itemrewards)}
|
||||
,itemrewards:[
|
||||
{section name=j loop=$data[i].itemrewards}
|
||||
[{$data[i].itemrewards[j].entry},{$data[i].itemrewards[j].count}]
|
||||
{if $smarty.section.j.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{/if}
|
||||
{if isset($data[i].itemchoices)}
|
||||
,itemchoices:[
|
||||
{section name=j loop=$data[i].itemchoices}
|
||||
[{$data[i].itemchoices[j].entry},{$data[i].itemchoices[j].count}]
|
||||
{if $smarty.section.j.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{/if}
|
||||
{if isset($data[i].xp)}
|
||||
,xp:{$data[i].xp}
|
||||
{/if}
|
||||
{if isset($data[i].money)}
|
||||
,money:{$data[i].money}
|
||||
{/if}
|
||||
{if isset($data[i].category)}
|
||||
,category:{$data[i].category}
|
||||
{/if}
|
||||
{if isset($data[i].maincat)}
|
||||
,category2:{$data[i].maincat}
|
||||
{/if}
|
||||
{if isset($data[i].type)}
|
||||
,type:{$data[i].type}
|
||||
{/if}
|
||||
{if isset($data[i].Daily)}
|
||||
,daily: 1
|
||||
{/if}
|
||||
{rdelim}
|
||||
{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{rdelim});
|
||||
{/strip}
|
||||
@@ -0,0 +1,68 @@
|
||||
{strip}
|
||||
|
||||
{assign var="level" value=false}
|
||||
{assign var="skill" value=false}
|
||||
{assign var="reagents" value=false}
|
||||
|
||||
{foreach from=$data item=curr}
|
||||
{if $curr.level}{assign var="level" value=true}{/if}
|
||||
{if $curr.skill}{assign var="skill" value=true}{/if}
|
||||
{if $curr.reagents}{assign var="reagents" value=true}{/if}
|
||||
{/foreach}
|
||||
|
||||
new Listview({ldelim}
|
||||
template:'spell',
|
||||
id:'{$id}',
|
||||
{if isset($name)}name: LANG.tab_{$name},{/if}
|
||||
visibleCols: [{if $level}'level'{/if}],
|
||||
hiddenCols: [{if !$reagents}'reagents',{/if}{if !$skill}'skill',{/if}'school'],
|
||||
sort: [{if isset($sort)}{$sort}{else}'name'{/if}],
|
||||
{if $script}note: sprintf(LANG.lvnote_scripttype, '{$script|escape:"quotes"}'),{/if}
|
||||
{if isset($tabsid)}tabs:{$tabsid}, parent: 'listview-generic',{/if}
|
||||
data:[
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
name: '{$data[i].quality}{$data[i].name|escape:"quotes"}',
|
||||
{if $level}level: {$data[i].level},{/if}
|
||||
school: {$data[i].school},
|
||||
{if isset($data[i].rank)}
|
||||
rank: '{$data[i].rank|escape:"quotes"}',
|
||||
{/if}
|
||||
{if isset($data[i].skill)}
|
||||
skill: [{$data[i].skill}],
|
||||
{/if}
|
||||
{if $data[i].reagents}
|
||||
reagents:[
|
||||
{section name=j loop=$data[i].reagents}
|
||||
[{$data[i].reagents[j].entry},{$data[i].reagents[j].count}]
|
||||
{if $smarty.section.j.last}{else},{/if}
|
||||
{/section}
|
||||
],
|
||||
{/if}
|
||||
{if isset($data[i].creates)}
|
||||
creates:[
|
||||
{section name=j loop=$data[i].creates}
|
||||
{$data[i].creates[j].entry},
|
||||
{$data[i].creates[j].count}
|
||||
{if $smarty.section.j.last}{else},{/if}
|
||||
{/section}
|
||||
],
|
||||
{/if}
|
||||
{if isset($data[i].learnedat)}
|
||||
learnedat: {$data[i].learnedat},
|
||||
{/if}
|
||||
{if isset($data[i].colors)}
|
||||
colors:[
|
||||
{section name=j loop=$data[i].colors}
|
||||
{$data[i].colors[j]}
|
||||
{if $smarty.section.j.last}{else},{/if}
|
||||
{/section}
|
||||
],
|
||||
{/if}
|
||||
id: {$data[i].entry}
|
||||
{rdelim}
|
||||
{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{rdelim});
|
||||
{/strip}
|
||||
@@ -0,0 +1,21 @@
|
||||
{*
|
||||
ШАБЛОН ТАБЛИЦ
|
||||
Переменные, передаваемые шаблону:
|
||||
id - идентификатор/тип табл
|
||||
name - название табл
|
||||
tabsid - идентификатор вкладок
|
||||
data - данные для табл
|
||||
|
||||
Пример вставки модуля в текст:
|
||||
{include file='bricks/table.tpl' id='dropped-by' tabsid='tabsRelated' data=$droppedby name=#droppedby#}
|
||||
*}
|
||||
|
||||
<div id="tabs-generic"></div>
|
||||
<div id="listview-generic" class="listview"></div>
|
||||
<script type="text/javascript">
|
||||
var {$tabsid} = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
|
||||
{section name=k loop=$data}
|
||||
{include file=$data[k].file id=$data[k].id tabsid=$tabsid data=$data[k].data name=$data[k].name}
|
||||
{/section}
|
||||
tabsRelated.flush();
|
||||
</script>
|
||||
@@ -0,0 +1,22 @@
|
||||
{strip}
|
||||
new Listview({ldelim}
|
||||
template:'zone',
|
||||
id:'fished-in',
|
||||
{if $name}name: LANG.tab_{$name}{/if},
|
||||
tabs:tabsRelated,
|
||||
parent:'listview-generic',
|
||||
hiddenCols: ['instancetype', 'level', 'territory', 'category'],
|
||||
extraCols: [Listview.extraCols.percent],
|
||||
sort:['-percent', 'name'],
|
||||
data:[
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
id: '{$data[i].id}',
|
||||
name: '{$data[i].name|escape:"quotes"}',
|
||||
percent: {$data[i].percent}
|
||||
{rdelim}
|
||||
{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{rdelim});
|
||||
{/strip}
|
||||
@@ -0,0 +1,55 @@
|
||||
.book
|
||||
{
|
||||
width:28em;
|
||||
border:3px solid #404040;
|
||||
}
|
||||
|
||||
.book .header
|
||||
{
|
||||
cursor:default;
|
||||
text-align:center;
|
||||
background-color:#404040;
|
||||
padding:3px 4px 5px;
|
||||
}
|
||||
|
||||
.book .previous
|
||||
{
|
||||
float:left;
|
||||
text-align:left;
|
||||
width:33%;
|
||||
}
|
||||
|
||||
.book .next
|
||||
{
|
||||
float:right;
|
||||
text-align:right;
|
||||
width:33%;
|
||||
}
|
||||
|
||||
.book .page
|
||||
{
|
||||
background-color:#181818;
|
||||
padding:4px;
|
||||
}
|
||||
|
||||
.book p
|
||||
{
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.book h1,.book h2
|
||||
{
|
||||
border:0;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.book h1
|
||||
{
|
||||
font-size:16px;
|
||||
}
|
||||
|
||||
.book h2
|
||||
{
|
||||
font-size:14px;
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
.mapper
|
||||
{
|
||||
position:relative;
|
||||
margin-top:10px;
|
||||
border:3px solid #404040;
|
||||
background-color:black;
|
||||
}
|
||||
|
||||
.mapper .pin
|
||||
{
|
||||
position:absolute;
|
||||
width:1px;
|
||||
height:1px;
|
||||
font-size:1px;
|
||||
}
|
||||
|
||||
.mapper .pin a
|
||||
{
|
||||
position:relative;
|
||||
width:11px;
|
||||
height:11px;
|
||||
left:-5px;
|
||||
top:-5px;
|
||||
background:url(../images/map-pin-yellow.png) no-repeat;
|
||||
display:block;
|
||||
}
|
||||
|
||||
.mapper .pin-1 a
|
||||
{
|
||||
background-image:url(../images/map-pin-green.png);
|
||||
}
|
||||
|
||||
.mapper .pin-2 a
|
||||
{
|
||||
background-image:url(../images/map-pin-red.png);
|
||||
}
|
||||
|
||||
.mapper .pin-3 a
|
||||
{
|
||||
background-image:url(../images/map-pin-blue.png);
|
||||
}
|
||||
|
||||
.mapper .pin-4 a
|
||||
{
|
||||
background-image:url(../images/map-pin-purple.png);
|
||||
}
|
||||
|
||||
.mapper .glow
|
||||
{
|
||||
margin:0 2px;
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
color:white;
|
||||
cursor:default;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
.mapper .glow a
|
||||
{
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.mapper .glow a:hover
|
||||
{
|
||||
text-decoration:underline;
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
#topbar-right input.search-database
|
||||
{
|
||||
background:white url(../images/enus/searchdatabase.gif) .2em center no-repeat;
|
||||
}
|
||||
|
||||
div.modelviewer-quality div
|
||||
{
|
||||
float:left;
|
||||
width:61px;
|
||||
height:22px;
|
||||
margin-right:10px;
|
||||
background:url(../images/enus/modelviewer-picshures.gif) left center no-repeat;
|
||||
}
|
||||
|
||||
div.modelviewer-model div
|
||||
{
|
||||
margin-left:40px;
|
||||
margin-right:10px;
|
||||
float:left;
|
||||
width:50px;
|
||||
height:22px;
|
||||
background:url(../images/enus/modelviewer-picshures.gif) -506px center no-repeat;
|
||||
}
|
||||
|
||||
a.modelviewer-help span
|
||||
{
|
||||
display:block;
|
||||
width:52px;
|
||||
height:22px;
|
||||
background:url(../images/enus/modelviewer-picshures.gif) -100px center no-repeat;
|
||||
}
|
||||
|
||||
a:hover.modelviewer-help span
|
||||
{
|
||||
background-position:-200px center;
|
||||
}
|
||||
|
||||
a.modelviewer-close span
|
||||
{
|
||||
display:block;
|
||||
width:66px;
|
||||
height:22px;
|
||||
background:url(../images/enus/modelviewer-picshures.gif) -300px center no-repeat;
|
||||
}
|
||||
|
||||
a:hover.modelviewer-close span
|
||||
{
|
||||
background-position:-400px center;
|
||||
}
|
||||
|
||||
a.screenshotviewer-prev b
|
||||
{
|
||||
display:block;
|
||||
width:88px;
|
||||
height:22px;
|
||||
background:url(../images/enus/screenshotviewer-picshures.gif?2) -200px center no-repeat;
|
||||
}
|
||||
|
||||
a.screenshotviewer-next b
|
||||
{
|
||||
display:block;
|
||||
width:53px;
|
||||
height:22px;
|
||||
background:url(../images/enus/screenshotviewer-picshures.gif?2) -300px center no-repeat;
|
||||
}
|
||||
|
||||
a.screenshotviewer-cover span
|
||||
{
|
||||
width:66px;
|
||||
height:22px;
|
||||
}
|
||||
|
||||
a.screenshotviewer-cover b
|
||||
{
|
||||
display:block;
|
||||
width:66px;
|
||||
height:22px;
|
||||
background:url(../images/enus/screenshotviewer-picshures.gif?2) -100px center no-repeat;
|
||||
}
|
||||
|
||||
a.screenshotviewer-original span
|
||||
{
|
||||
display:block;
|
||||
width:93px;
|
||||
height:22px;
|
||||
background:url(../images/enus/screenshotviewer-picshures.gif?2) -400px center no-repeat;
|
||||
}
|
||||
|
||||
a:hover.screenshotviewer-original span
|
||||
{
|
||||
background-position:-500px center;
|
||||
}
|
||||
|
||||
a.screenshotviewer-close span
|
||||
{
|
||||
display:block;
|
||||
width:66px;
|
||||
height:22px;
|
||||
background:url(../images/enus/screenshotviewer-picshures.gif?2) 0 center no-repeat;
|
||||
}
|
||||
|
||||
a:hover.screenshotviewer-close span
|
||||
{
|
||||
background-position:-100px center;
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{config_load file="$conf_file"}
|
||||
|
||||
{include file='header.tpl'}
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="main-precontents"></div>
|
||||
|
||||
<div id="main-contents" class="main-contents">
|
||||
<script type="text/javascript">
|
||||
{include file='bricks/allcomments.tpl'}
|
||||
var g_pageInfo = {ldelim}type: {$page.type}, typeId: {$page.typeid}, name: '{$faction.name|escape:"quotes"}'{rdelim};
|
||||
g_initPath({$page.path});
|
||||
</script>
|
||||
<table class="infobox">
|
||||
<tr><th>{#Quick_Facts#}</th></tr>
|
||||
<tr><td>
|
||||
<div class="infobox-spacer"></div>
|
||||
<ul>
|
||||
{if isset($faction.group)}<li><div>{#Group#}: {$faction.group}</div></li>{/if}
|
||||
{if isset($faction.side)}<li><div>{#Side#}: {if $faction.side==1}<span class="alliance-icon">{#Alliance#}</span>{elseif $faction.side==2}<span class="horde-icon">{#Horde#}</span>{/if}</div></li>{/if}
|
||||
</ul>
|
||||
</td></tr>
|
||||
</table>
|
||||
<script type="text/javascript">ss_appendSticky()</script>
|
||||
<div class="text">
|
||||
<h1>{$faction.name}</h1>
|
||||
{$faction.description1}
|
||||
{if $faction.description1}<h1></h1>{/if}
|
||||
{$faction.description2}
|
||||
<div class="article-footer">Article ported from <a href="http://www.wowwiki.com/" target="_blank" class="q0">WoWWiki</a>– <a href="http://www.wowwiki.com/{$faction.name}" target="_blank" class="q0">Read more</a><br />Licensed under <a href="http://www.gnu.org/copyleft/fdl.html" target="_blank" class="q0">GFDL</a></div>
|
||||
<h2>{#Related#}</h2>
|
||||
</div>
|
||||
<div id="tabs-generic"></div>
|
||||
<div id="listview-generic" class="listview"></div>
|
||||
<script type="text/javascript">
|
||||
{if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if}
|
||||
var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
|
||||
{if isset($faction.items)}{include file='bricks/item_table.tpl' id='items' name='items' tabsid='tabsRelated' data=$faction.items}{/if}
|
||||
{if isset($faction.npcs)}{include file='bricks/creature_table.tpl' id='npcs' name='members' tabsid='tabsRelated' data=$faction.npcs}{/if}
|
||||
{if isset($faction.quests)}{include file='bricks/quest_table.tpl' id='quests' name='quests' tabsid='tabsRelated' data=$faction.quests}{/if}
|
||||
new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim});
|
||||
tabsRelated.flush();
|
||||
</script>
|
||||
|
||||
{include file='bricks/contribute.tpl'}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file='footer.tpl'}
|
||||
@@ -0,0 +1,20 @@
|
||||
{include file='header.tpl'}
|
||||
|
||||
<div id="main">
|
||||
<div id="main-precontents"></div>
|
||||
<div id="main-contents" class="main-contents">
|
||||
<script type="text/javascript">
|
||||
g_initPath({$page.path});
|
||||
</script>
|
||||
|
||||
<div id="lv-factions" class="listview"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
{include file='bricks/factions_table.tpl' id='factions' data=$factions}
|
||||
</script>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='footer.tpl'}
|
||||
@@ -0,0 +1,12 @@
|
||||
<div id="footer">
|
||||
{if isset($mysql)}
|
||||
{#Number_of_MySQL_queries#}: {$mysql.count}<br>
|
||||
{#Time_of_MySQL_queries#}: {$mysql.time}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--[if lte IE 6]></td><th class="ie6layout-th"></th></tr></table><![endif]-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,28 @@
|
||||
<title>{if $page.Title}{$page.Title|escape:"html"} - {/if}{$app_name}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<link rel="SHORTCUT ICON" href="templates/wowhead/images/favicon.ico">
|
||||
|
||||
<script src="templates/wowhead/js/locale_{$language}.js" type="text/javascript"></script>
|
||||
|
||||
<link href="templates/wowhead/css/locale_{$language}.css" type="text/css" rel="stylesheet">
|
||||
<link href="templates/wowhead/css/global.css" type="text/css" rel="stylesheet">
|
||||
{if $page.Mapper}
|
||||
<link href="templates/wowhead/css/Mapper.css" type="text/css" rel="stylesheet">
|
||||
{/if}
|
||||
{if $page.Book}<link rel="stylesheet" type="text/css" href="templates/wowhead/css/Book.css">{/if}
|
||||
|
||||
<script src="templates/wowhead/js/global.js" type="text/javascript"></script>
|
||||
<script src="templates/wowhead/js/Markup.js" type="text/javascript"></script>
|
||||
{if $page.Mapper}
|
||||
<script src="templates/wowhead/js/Mapper.js" type="text/javascript"></script>
|
||||
{/if}
|
||||
{if $page.Book}
|
||||
<script src="templates/wowhead/js/Book.js" type="text/javascript"></script>
|
||||
{/if}
|
||||
<script type="text/javascript">
|
||||
var g_serverTime = new Date('{$smarty.now|date_format:"%Y/%m/%d %H:%M:%S"}');
|
||||
g_locale = {ldelim} id: {$locale}, name: '{$language}' {rdelim};
|
||||
{if $user}
|
||||
g_user = {ldelim} id: {$user.id}, name: '{$user.name|escape:quotes}', roles: {$user.roles}, permissions: {$user.perms} {rdelim};
|
||||
{/if}
|
||||
</script>
|
||||
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
{include file='head.tpl'}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="layers"></div>
|
||||
<!--[if lte IE 6]><table id="ie6layout"><tr><th class="ie6layout-th"></th><td id="ie6layout-td"><div id="ie6layout-div"></div><![endif]-->
|
||||
<div id="layout">
|
||||
<div id="header">
|
||||
<div id="header-logo">
|
||||
<a href="."></a>
|
||||
<h1>{$page.Title|escape:"html"}</h1>
|
||||
</div>
|
||||
<div id="header-ad">
|
||||
<iframe width="728" height="90" frameborder="0" style="display: none;"/></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar">
|
||||
<div id="sidebar-contents">
|
||||
<a href="javascript:;" class="expand-site" title="Purge ads and expand layout" onclick="g_expandSite()"></a>
|
||||
<div id="sidebar-ad"><iframe width="160" height="600" frameborder="0" style="display: none;"/></iframe></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="toplinks" class="toplinks">
|
||||
{if isset($user)}
|
||||
<a href="?user={$user.name}">{$user.name}</a>|<a href="?account=signout{if $query}&next={$query|escape}{/if}">{#Sign_out#}</a>
|
||||
{else}
|
||||
<a href="?account=signin{if $query}&next={$query|escape}{/if}">{#Sign_in#}</a>
|
||||
<a href="?account=signup{if $query}&next={$query|escape}{/if}">{#Signup#}</a>
|
||||
{/if}
|
||||
|<a href="javascript:;" id="language-changer">{#Language#} <small>▼</small></a>
|
||||
</div>
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="toptabs">
|
||||
<div id="toptabs-inner">
|
||||
<div id="toptabs-right"></div>
|
||||
<div id="toptabs-right-generic"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="topbar-right">
|
||||
<div>
|
||||
<form action="?"><a href="javascript:;"></a><input name="search" size="35" value="" id="live-search-generic" /></form>
|
||||
</div>
|
||||
</div>
|
||||
<div id="topbar">
|
||||
<span id="menu-buttons-generic" class="menu-buttons"></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">g_initHeader({$page.tab}); LiveSearch.attach(ge('live-search-generic'));</script>
|
||||
|
After Width: | Height: | Size: 159 B |
|
After Width: | Height: | Size: 541 B |
|
After Width: | Height: | Size: 299 B |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 122 B |
|
After Width: | Height: | Size: 455 B |
|
After Width: | Height: | Size: 303 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1013 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 784 B |
|
After Width: | Height: | Size: 311 B |
|
After Width: | Height: | Size: 783 B |
|
After Width: | Height: | Size: 518 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 216 B |
|
After Width: | Height: | Size: 707 B |
@@ -0,0 +1 @@
|
||||
link ../../udwbase-icons/images/icons/
|
||||
|
After Width: | Height: | Size: 52 B |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 129 B |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 337 B |
|
After Width: | Height: | Size: 332 B |
|
After Width: | Height: | Size: 61 B |
|
After Width: | Height: | Size: 58 B |
|
After Width: | Height: | Size: 66 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 526 B |
|
After Width: | Height: | Size: 1015 B |
|
After Width: | Height: | Size: 234 B |
|
After Width: | Height: | Size: 541 B |
|
After Width: | Height: | Size: 244 B |
|
After Width: | Height: | Size: 1013 B |
|
After Width: | Height: | Size: 252 B |
|
After Width: | Height: | Size: 43 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 526 B |
|
After Width: | Height: | Size: 985 B |
|
After Width: | Height: | Size: 581 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 366 B |
|
After Width: | Height: | Size: 264 B |
|
After Width: | Height: | Size: 369 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 67 B |
|
After Width: | Height: | Size: 67 B |
|
After Width: | Height: | Size: 43 B |
|
After Width: | Height: | Size: 44 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 389 B |
|
After Width: | Height: | Size: 223 B |
|
After Width: | Height: | Size: 289 B |
|
After Width: | Height: | Size: 357 B |
|
After Width: | Height: | Size: 413 B |
|
After Width: | Height: | Size: 269 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 273 B |
|
After Width: | Height: | Size: 344 B |
|
After Width: | Height: | Size: 957 B |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1 @@
|
||||
<html><head><title>.</title></head><body>.</body></html>
|
||||