-
Notifications
You must be signed in to change notification settings - Fork 0
/
users_list.html
103 lines (95 loc) · 3.94 KB
/
users_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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<title>SimtechDev</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav navbar-right">
<li class="nav-item active">
<a class="nav-link" href="feedback.php">Обратная связь<span class="sr-only"></span></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="index.php">Выход<span class="sr-only"></span></a>
</li>
</ul>
</div>
</nav>
<!--table-->
<div class="container">
<div class="row">
<h5 class="text-center">Списки пользователей</h5>
<table class="table">
<thead>
<tr>
<th scope="col">Id</th>
<th scope="col">First name</th>
<th scope="col">Last name</th>
<th scope="col">gender</th>
<th scope="col">Email</th>
<th scope="col">Password</th>
</tr>
</thead>
<tbody>
<?php foreach($users as $user) :?>
<tr>
<th scope="row"><?php echo $user['id']; ?></th>
<td><?php echo $user['first_name']; ?></td>
<td><?php echo $user['last_name']; ?></td>
<td><?php echo $user['email']; ?></td>
<td><?php echo $user['gender']; ?></td>
<td><?php echo $user['password']; ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
<hr>
<!--feedback-->
<div class="container">
<div class="row">
<h5 class="text-center">Список запросов</h5>
<table class="table">
<thead>
<tr>
<th scope="col">feed_id</th>
<th scope="col">name</th>
<th scope="col">subject</th>
<th scope="col">email</th>
<th scope="col">phone</th>
<th scope="col">radio</th>
<th scope="col">textarea</th>
<th scope="col">asap</th>
<th scope="col">checkbox</th>
</tr>
</thead>
<tbody>
<?php foreach($feeds as $feed) :?>
<tr>
<th scope="row"><?php echo $feed['feed_id']; ?></th>
<td><?php echo $feed['name']; ?></td>
<td><?php echo $feed['subject']; ?></td>
<td><?php echo $feed['email']; ?></td>
<td><?php echo $feed['phone']; ?></td>
<td><?php echo $feed['radio']; ?></td>
<td><?php echo $feed['textarea']; ?></td>
<td><?php echo $feed['asap']; ?></td>
<td><?php echo $feed['checkbox']; ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-fQybjgWLrvvRgtW6bFlB7jaZrFsaBXjsOMm/tB9LTS58ONXgqbR9W8oWht/amnpF" crossorigin="anonymous"></script>
</body>
</html>