D7net Mini Sh3LL v1
Current File : C:/Domains/maymaytinson.com/httpdocs/lib/images/13/../10/../7/../16/../activity/../JUKI/../15/../zip_food/../18/../17/../2/../21/../20/../22/../5/../11/../7/../5/../22/../22/../20/../19/../10/../../../include/listMember.php |
<div id="listProduct">
<div id="list">
<table>
<thead>
<th>Stt</th>
<th>Tên thành viên</th>
<th>Điện thoại</th>
<th>Email</th>
<th>Cấp bậc</th>
<th>...</th>
</thead>
<?php
if(!isset($_GET['keyword'])){
$_GET['keyword']="";
}
$stmt=$conn->prepare("SELECT * FROM member WHERE name LIKE '%".$_GET['keyword']."%' AND del=0");
$stmt->execute();
$member=$stmt->fetchAll(PDO::FETCH_ASSOC);
$stt=1;
foreach ($member as $member) {?>
<tr title="Nhấp vào để chỉnh sửa">
<td align="center" onclick="document.location = 'editMember.php?id=<?php echo $member['id'] ?>';"><?php echo $stt;$stt++; ?></td>
<td onclick="document.location = 'editMember.php?id=<?php echo $member['id'] ?>';"><?php echo $member['name']; ?></td>
<td align="center" onclick="document.location = 'editMember.php?id=<?php echo $member['id'] ?>';"><?php echo $member['phone']; ?></td>
<td align="center" onclick="document.location = 'editMember.php?id=<?php echo $member['id'] ?>';"><?php echo $member['email']; ?></td>
<td align="center" onclick="document.location = 'editMember.php?id=<?php echo $member['id'] ?>';"><?php if($member['type']==1){ echo "Quản trị viên";}if($member['type']==0 || $member['type']==7){ echo "Thành viên";}if($member['type']==2){ echo "Quản lý";} ?></td>
<td align="center"><a id="lastCheck" href="deleteAdmin.php?table=member&id=<?php echo $member['id'] ?>"><button><img align="center" src="lib/icons/delete.png"></button></a></td>
</tr>
<?php } ?>
</table>
</div>
</div>
AnonSec - 2021 | Recode By D7net