?> </td> <td><?php echo $listUsers[$i]["diachi"]; ?> </td> <td align="right"><?php 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>
?> </td> </tr> <tr style="height:30px;"> <td><b>Số ĐT 2:</b></td> <td><?php echo $user["sdt2"]; ?> </td> </tr> <tr style="height:30px;background:#F1F1F1"> <td><b>Vai trò:</b></td> <td> <?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]; ?>
//if password bigger than 12 give another 1 point if (password.length > 12) score++; document.getElementById("passwordDescription").innerHTML = desc[score]; document.getElementById("passwordStrength").className = "strength" + score; } </script> <div style="float:left;width:50%;"> <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100px">Loại thành viên: <span style="color:red;">(*)</td> <td> <select id="id_LoaiTV" name="role" onchange="return press_LoaiThanhVien();"> <?php 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++) {