示例#1
0
}
if ($npcid != '' && $npcid != 'ID' && $editor != 'altcur' && $editor != 'qglobal') {
    $breadcrumbs .= " >> " . getNPCName($npcid) . " ({$npcid})";
}
if ($fid != '') {
    $breadcrumbs .= " >> " . getFactionName($fid);
}
if ($tskid != '') {
    $breadcrumbs .= " >> " . getTaskTitle($tskid);
}
if ($ts != '') {
    $breadcrumbs .= " >> " . "<a href='index.php?editor=" . $editor . "&ts=" . $ts . "'>" . $tradeskills[$ts] . "</a>";
}
if ($rec != '0') {
    $breadcrumbs .= " >> " . getRecipeName($rec);
}
if ($spellset != '') {
    $breadcrumbs .= " >> " . getSpellsetName($spellset);
}
if ($playerid != '' && $playerid != 'Player ID') {
    $breadcrumbs .= " >> <a href='index.php?editor=" . $editor . "&playerid=" . $playerid . "'>" . getPlayerName($playerid) . " ({$playerid})</a>";
}
if ($acctid != '') {
    $breadcrumbs .= " >> " . getAccountName($acctid) . " ({$acctid})";
}
if ($guildid != '') {
    $breadcrumbs .= " >> " . getGuildName($guildid) . " ({$guildid})";
}
if ($aaid != '') {
    $breadcrumbs .= " >> " . getAAName($aaid) . " ({$aaid})";
}
示例#2
0
<?php 
if ($prereqs) {
    $count = 1;
    foreach ($prereqs as $prereq) {
        ?>
                    <fieldset>
                      <legend><b>Rank <?php 
        echo $count;
        ?>
 Prerequisite</b></legend>
                      <b>Rank ID:</b> <?php 
        echo $prereq['rank_id'];
        ?>
<br/>
                      <b>Prerequisite AA:</b> <?php 
        echo getAAName($prereq['aa_id']);
        ?>
<br/>
                      <b>Points:</b> <?php 
        echo $prereq['points'];
        ?>
                    </fieldset>
<?php 
        $count++;
    }
    ?>
                  </fieldset>
                </td>
              </tr>
            </table>
          </td>