require_once $_SESSION['File_Root'] . '/Kernel/Include.php'; require_once $_SESSION['File_Root'] . '/HTML/Header.php'; require_once 'Functions/SQL.php'; redirectToLogin($accountID, $linkRoot); redirectToBattle($verifyBattle, $linkRoot); hasAdmin($accountAccess); $townID = htmlspecialchars(addslashes($_POST['townID'])); ?> <br> <div class="panel panel-warning"> <div class="panel-heading"></div> <div class="panel-body"> <form method="POST" action="Add.php"> <?php showAllItemsList($bdd, "0"); ?> <input type="hidden" name="townID" value="<?php echo $townID; ?> "> <input class="btn btn-success" type="submit" value="<?php echo $atown26; ?> "> </form> <?php echo showItemTown($bdd, $townID); ?> </div> </div>
redirectToLogin($accountID, $linkRoot); redirectToBattle($verifyBattle, $linkRoot); hasAdmin($accountAccess); $monsterID = $_POST['monsterID']; ?> <br> <div class="panel panel-warning"> <div class="panel-heading"></div> <div class="panel-body"> <form method="POST" action="Add.php"> <?php echo $amonsterDrop0; ?> <?php showAllItemsList($bdd); echo '<br>'; showAllEquipmentsList($bdd); ?> <br><?php echo $amonsterDrop1; ?> <input type="number" placeholder="(0-1000)" class="form-control" name="luck" required> <input type="hidden" value="<?php echo $monsterID; ?> " name="monsterID"> <input class="btn btn-success" type="submit" value="<?php echo $amonsterDrop2; ?> ">