Ejemplo n.º 1
0
function generateSpellTable($spell)
{
    echo "<table class=border cellspacing=0 cellpadding=0><tbody>";
    echo "<tr><td class=btopl></td><td class=btop></td><td class=btopr></td></tr>";
    echo "<tr><td class=bl></td><td class=bbody>";
    noBorderSpellTable($spell);
    echo "</td><td class=br></td></tr>";
    echo "<tr><td class=bbottoml></td><td class=bbottom></td><td class=bbottomr></td></tr>";
    echo "</tbody></table>";
}
Ejemplo n.º 2
0
     break;
     // Показ Обьекта
 // Показ Обьекта
 case "o":
     if ($obj = getGameobject($entry)) {
         include_once "include/gameobject_table.php";
         noBorderGameobjectTable($obj);
     } else {
         echo "Error object {$entry}";
     }
     break;
     // Показ спелла
 // Показ спелла
 case "s":
     if ($spell = getSpell($entry)) {
         noBorderSpellTable($spell);
     } else {
         echo "Error spell {$entry}";
     }
     break;
     // Показ энчанта
 // Показ энчанта
 case "e":
     if ($enc = getEnchantment($entry)) {
         noBorderEnchantTable($enc);
     } else {
         echo "Error enchant {$entry}";
     }
     break;
     // Показ таланта
 // Показ таланта