1, 'creaturename'=>'', 'creatureweapon'=>'', 'creaturewin'=>'', 'creaturelose'=>'' ); } else { $row = db_fetch_assoc($res); } addnav("","masters.php?op=save&id=$id"); rawoutput("
"); output_notl("`n`n"); output("`#The following codes are supported in both the win and lose speeches (case matters):`n"); output("%w = The players's name (can be specified as {goodguy}`n"); output("%W = The masters's name (can be specified as {badguy}`n"); output("%x = The players's weapon (can be specified as {weapon}`n"); output("%X = The master's weapon (can be specified as {creatureweapon}`n"); output("%a = The players's armor (can be specified as {armor}`n"); output("%s = Subjective pronoun for the player (him her)`n"); output("%p = Possessive pronoun for the player (his her)`n"); output("%o = Objective pronoun for the player (he she)`n"); } if ($op == "") { addnav("Functions"); addnav("Refresh list", "masters.php"); addnav("Add master", "masters.php?op=edit&id=0"); $sql = "SELECT * FROM ".db_prefix("masters")." ORDER BY creaturelevel"; $res = db_query($sql); $count = db_num_rows($res); $ops = translate_inline("Ops"); $edit = translate_inline("edit"); $del = translate_inline("del"); $delconfirm = translate_inline("Are you sure you wish to delete this master."); $name = translate_inline("Name"); $level = translate_inline ("Level"); $lose = translate_inline("Lose to Master"); $win = translate_inline("Win against Master"); $weapon = translate_inline("Weapon"); rawoutput("$ops | $level | $name | $weapon | $win | $lose |
"); rawoutput("[ "); output_notl($edit); rawoutput(" | "); output_notl($del); rawoutput("] "); addnav("","masters.php?op=edit&id=$id"); addnav("","masters.php?op=del&id=$id"); rawoutput(" | "); output_notl("`%%s`0",$row['creaturelevel']); rawoutput(" | "); output_notl("`#%s`0",stripslashes($row['creaturename'])); rawoutput(" | "); output_notl("`!%s`0",stripslashes($row['creatureweapon'])); rawoutput(" | "); output_notl("`&%s`0",stripslashes($row['creaturelose'])); rawoutput(" | "); output_notl("`^%s`0",stripslashes($row['creaturewin'])); rawoutput(" |