echo $listUsers[$i]["sdt1"];
    ?>
</td>
						<td align="right"><?php 
    echo $listUsers[$i]["sdt2"];
    ?>
</td>
						<?php 
    $role = RoleBUS::GetRoleByID($listUsers[$i]["role"]);
    if ($role[0] == 2) {
        //Khach hang
        echo "<td align='center' style='color:red;'>" . $role[1] . "</td>";
    } else {
        echo "<td align='center' style='color:#23776B;'>" . $role[1] . "</td>";
    }
    $level = LevelBUS::GetLevelByID($listUsers[$i]["level"]);
    echo "<td align='center'>" . $level[2] . "</td>";
    if ($listUsers[$i]["status"] == 1) {
        echo "<td align='center'><img src='images/icon_yes.png' alt='Đã kích hoạt' /></td>";
    } else {
        echo "<td align='center'><img src='images/icon_no.png' alt='Đã bị khóa' /></td>";
    }
    ?>
					</tr>
					<?php 
}
?>
				</table>
                <?php 
echo Utils::paging($strLink, $totalItems, $curPage, $maxPages, $maxItems);
?>
						<?php 
include_once $PATH . "../../../BUS/RoleBUS.php";
$role = RoleBUS::GetRoleByID($user["role"]);
echo $role[1];
?>
					</td>
				</tr>
				<?php 
if ($user["role"] == 3) {
    ?>
				<tr style="height:30px;">
					<td><b>Cấp độ:</b></td>
					<td>
						<?php 
    include_once $PATH . "../../../BUS/LevelBUS.php";
    $level = LevelBUS::GetLevelByID($user["level"]);
    echo $level[2];
    ?>
					</td>
				</tr>
				<?php 
}
?>
				<tr style="height:30px;background:#F1F1F1">
					<td><b>Ngày cập nhật:</b></td>
					<?php 
if ($user["ngaycapnhat"] != null) {
    include_once $PATH . "../../../module/Utils/Utils.php";
    $date = Utils::convertTimeDMY($user["ngaycapnhat"]);
    echo "<td>" . $date . "</td>";
} else {
include_once $PATH . "../../../BUS/RoleBUS.php";
$listRole = RoleBUS::GetRoleMember();
for ($i = 0; $i < count($listRole); $i++) {
    echo "<option value='" . $listRole[$i][0] . "'>" . $listRole[$i][1] . "</option>";
}
?>
							</select>
						</td>
					</tr>
					<tr id="id_CapDoNV" style="visibility:inherit;">
						<td width="100px">Cấp độ: <span style="color:red;">(*)</td>
						<td>
							<select name="level">
							<?php 
include_once $PATH . "../../../BUS/LevelBUS.php";
$listLevel = LevelBUS::GetLevelByNhanVien();
for ($i = 0; $i < count($listLevel); $i++) {
    echo "<option value='" . $listLevel[$i][0] . "'>" . $listLevel[$i][2] . "</option>";
}
?>
							</select>
						</td>
					</tr>
					<tr>
						<td width="100px">Họ tên: <span style="color:red;">(*)</td>
						<td><input type="text" id="txtHoten" name="txtHoten" style="width:400px;" onkeyup="javascript:this.value=this.value.toUpperCase();"></td>
					</tr>
					<tr>
						<td>Giới tính:</td>
						<td>
							<input type="radio" value="1" name="gender" checked="true"> Nam