-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfirmDel.php
executable file
·48 lines (43 loc) · 1.64 KB
/
confirmDel.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Confirm Delete</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<link href="css/navbar.css" rel="stylesheet" />
<style>
table {
margin-left:auto;
margin-right:auto;
}
</style>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script>
<?php
include "./script/navbar.php";
$idx = $_GET['Idx'];
?>
<form action="del.php" method="POST">
<input type="hidden" name="Idx" value="<?=$idx?>">
<table border="1" width="500" class="table w-auto">
<tr>
<th colspan=2> Do you really want to delete post <?=$idx?>? </th>
</tr>
<tr>
<th> Password </th>
<td> <input type="password" name="Password" placeholder="Password" size="20"> </td>
</tr>
<tr>
<td colspan="2">
<div style="text-align:center;">
<input type="submit" class="btn btn-warning" value="Delete">
</div>
</td>
</tr>
</table>
</form>
</body>
</html>