update
This commit is contained in:
@@ -28,6 +28,7 @@ session_start();
|
|||||||
<label for="password">Password:</label>
|
<label for="password">Password:</label>
|
||||||
<input type="password" class="form-control" id="password" name="password" required>
|
<input type="password" class="form-control" id="password" name="password" required>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
<button type="submit" class="btn btn-primary btn-block">Login</button>
|
<button type="submit" class="btn btn-primary btn-block">Login</button>
|
||||||
</form>
|
</form>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -71,10 +71,11 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|||||||
<label for="perms">Permissions:</label>
|
<label for="perms">Permissions:</label>
|
||||||
<input type="text" class="form-control" id="perms" name="perms" value="<?php echo($perms); ?>" required readonly>
|
<input type="text" class="form-control" id="perms" name="perms" value="<?php echo($perms); ?>" required readonly>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
<button type="submit" class="btn btn-primary btn-block">Update</button>
|
<button type="submit" class="btn btn-primary btn-block">Update</button>
|
||||||
<?php
|
<?php
|
||||||
if(isset($_GET["update"])){
|
if(isset($_GET["update"])){
|
||||||
echo '<div class="alert alert-success" role="alert">
|
echo '<br><div class="alert alert-success" role="alert">
|
||||||
Information updated successfully!
|
Information updated successfully!
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user