<!-- n8498415 Jayden Whiley --> <!-- Manage property form --> <?php if (IsStaff()) { ?> <div class="EnquireBox"> <?php if (CheckManager(Username(), $house->ID)) { echo "<h2> You Manage This property </h2>"; } else { echo "<h2> Manage this property </h2>"; } ?> <form action="Actions.php" method="get"> <input type="hidden" name="Action" value="ManageProperty"> <input type="hidden" name="HouseID" value="<?php echo $house->ID; ?> "> <input type="submit" value="Manage Property"> </form> </div> <?php }
function IsManager() { return IsStaff() || IsAdmin(); }