-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin_list.html
58 lines (52 loc) · 3.11 KB
/
admin_list.html
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
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>管理者画面</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
</head>
<body>
<div class="container">
<h2>管理者画面</h2>
<p>お問い合わせ一覧</p>
<!-- お問い合わせ一覧表示 -->
<div class="table-responsive confirm_table">
<caption>ご入力内容</caption>
<table class="table table-striped table-bordered">
<thead class="thead-dark">
<tr>
<th>名前</th>
<th>ふりがな</th>
<th>年齢</th>
<th>email</th>
<th>お問い合わせタイトル</th>
<th>お問い合わせ日</th>
<th>詳細ボタン</th>
</tr>
</thead>
<tbody>
<form action="admin_detail.php" method="get">
<tr>
<?php for($id=1; $id<=count($id_check); $id++):?>
<td><?php echo $name[$id]; ?></td>
<td><?php echo $name_furi[$id]; ?></td>
<td><?php echo $age[$id]; ?></td>
<td><?php echo $email[$id]; ?></td>
<td><?php echo $subject[$id]; ?></td>
<td><?php echo $date[$id]; ?></td>
<td><button class="btn btn-primary" type="submit" name="id" value="<?php echo $id_check[$id]; ?>">詳細</button></td>
</tr>
<?php endfor; ?>
</form>
</tbody>
</table>
</div>
<!-- JavaScriptを使用する場合 -->
<!-- jQuery、Popper.js、Bootstrap.jsの順番で読み込みます(下記はbundle版を使用) -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
</body>
</html>