brick('header'); ?>
brick('announcement'); $this->brick('pageTemplate'); $this->brick('infobox'); ?>
brick('redButtons'); ?>

h1; ?>

unavailable): ?>
objectives): echo $this->objectives.PHP_EOL; elseif ($this->requestItems): echo '

'.Lang::quest('progress').'

'.PHP_EOL; echo $this->requestItems.PHP_EOL; elseif ($this->offerReward): echo '

'.Lang::quest('completion').'

'.PHP_EOL; echo $this->offerReward.PHP_EOL; endif; $iconOffset = 0; if ($this->end || $this->objectiveList): ?> objectiveList as $objective): if (is_string($objective)): // just text line echo ' '.PHP_EOL; elseif (is_array($objective)): // proxy npc data ['id' => $id, 'text' => $text, 'qty' => $qty, 'proxy' => $proxies] = $objective; echo ' '.PHP_EOL; elseif (is_object($objective)): // has icon set (spell / item / ...) or unordered linked list echo $objective?->renderContainer(20, $iconOffset, true); endif; endforeach; if ($this->end): echo ' '.PHP_EOL; endif; if ($this->suggestedPl): echo ' '.PHP_EOL; endif; ?>

 

'.$objective.'

 

'.$text.''.($qty ? ' ('.$qty.')' : '').'

 

'.$this->end.'

 

'.Lang::quest('suggestedPl', [$this->suggestedPl]).'
providedItem): ?>
providedItem->renderContainer(20, $iconOffset, true); ?>
brick('mapper'); if ($this->details): echo '

'.Lang::quest('description').'

'.PHP_EOL; echo ' '.$this->details.PHP_EOL; endif; if ($this->requestItems && $this->objectives): ?>

offerReward && ($this->requestItems || $this->objectives)): ?>

rewards): echo '

'.Lang::main('rewards').'

'.PHP_EOL; if ($choice): $this->brick('rewards', ['rewTitle' => Lang::quest('rewardChoices'), 'rewards' => $choice, 'offset' => $iconOffset]); $iconOffset += count($choice); endif; if ($spells): if ($choice): echo '
'.PHP_EOL; endif; $this->brick('rewards', ['rewTitle' => $spells['title'], 'rewards' => $spells['cast'], 'offset' => $iconOffset, 'extra' => $spells['extra']]); $iconOffset += count($spells['cast']); endif; if ($items || $money): if ($choice || $spells): echo '
'.PHP_EOL; endif; $this->brick('rewards', array( 'rewTitle' => $choice ? Lang::quest('rewardAlso') : Lang::quest('rewardItems'), 'rewards' => $items ?: null, 'offset' => $iconOffset, 'extra' => $money ?: null )); endif; endif; if ([$xp, $rep, $title, $tp, $honor, $arena] = $this->gains): ?>

    '.Lang::nf($xp).' '.Lang::quest('experience').'
    '.PHP_EOL; endif; if ($rep): foreach ($rep as $r): echo '
  • '.sprintf($r['qty'][0] < 0 ? '%s' : '%s', $r['qty'][1]).' '.Lang::npc('repWith').' '.$r['name'].'
  • '.PHP_EOL; endforeach; endif; if ($title): echo '
  • '.Lang::quest('rewardTitle', $title).'
  • '.PHP_EOL; endif; if ($tp): echo '
  • '.Lang::quest('bonusTalents', [$tp]).'
  • '.PHP_EOL; endif; if ($arena || $honor): echo '
  • '; if ($honor[0]): $a = ''.$honor[0].''; $a = $honor[1] == SIDE_BOTH ? ''.$a.'' : $a; echo ''.$a.''; endif; if ($arena): echo ' '.$arena.''; endif; echo '
  • '.PHP_EOL; endif; echo '
'.PHP_EOL; endif; $this->brickIf($this->mail, 'mail', ['offset' => ++$iconOffset]); if ($this->transfer): echo '
'.PHP_EOL; echo '
'.PHP_EOL; echo ' '.$this->transfer.PHP_EOL; endif; ?>

brick('lvTabs'); $this->brick('contribute'); ?>
brick('footer'); ?>