Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $X= 'LyogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0..
Decoded Output download
require "header.php"; ?>
<div class="group-box">
<div align="center">
<div class="title">SINH VIN</div>
<?php
// kim tra xa nhiu dng
if (isset($_POST["btnXoaTatCa"]) && isset($_POST["chkmasv"])){
$in = "''";
foreach($_POST["chkmasv"] as $val){
$in .= ",'".$val."'";
}
$sql = "DELETE FROM dbo_sinhvien WHERE MaSV IN(".$in.")";
$result = $db->query($sql);
if ($result && $db->affected_rows > 0){
echo "<div class='success'> xa thnh cng</div>";
}else{
echo "<div class='error'>C li xy ra khi xa.</div>";
}
}
//kim tra trng hp xa 1 dng (nhn nt xa bn phi)
if (isset($_POST["btnXoa"])){
$masv = $_POST["btnXoa"];
$sql = "DELETE FROM dbo_sinhvien WHERE MaSV='".$masv."'";
$result = $db->query($sql);
if ($result && $db->affected_rows > 0){
echo "<div class='success'> xa thnh cng</div>";
}else{
echo "<div class='error'>C li xy ra khi xa.</div>";
}
}
?>
<form method="post" name="frmSV" action="<?php echo $_SERVER["PHP_SELF"];?>">
<label>Chn lp:</label>
<select name="MaLop" onchange="dsSVtheoLop(this,'dsSV','divImg')" >
<option value="">--chn--</option>
<?php
// IN danh sch lp
$sql ="SELECT * FROM dbo_lopchuyennganh ORDER BY MaCN";
$result = $db->query($sql);
if ($result){
while($row = $result->fetch_array()){
echo "<option value='".$row["MaLop"]."' >".$row["TenLop"]."</option>";
}
}
$result->free();
?>
</select>
<span id="divImg" ></span>
<br />
<hr>
<div id="dsSV" ></div>
<!-- form ny khng c tc dng g, ch dng ch ra nt Sa ct bn phi bng
thuc v form ny, mc ch l khng cho post d liu d tha khi nhn nt Sa, v ch cn gi tr
trong thuc tnh value ca nt Sa s dng tag <button> -->
</form>
<form id="frmNoAction">
</form>
<p>
</div>
</div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zsj2obLBIxdGdDxmoWGjAyWPNQTwTvPMVVVjIZdAFmCp62kYMq3rweuvs0vXa8OzC8EhzH4TkQOpLOicJZqd/V0kppRU9WA9u4Ykn38bw0l+c3kKiOAhj4vIrfvR3AnPS/gR9QXQjXrzKp//ICLg+fwydYW96+CHhuD5zXMBIrsxTjPMfhKQovQybv4TOxbAt8jarv5Jv/pfgetY/G2wggD/d8wKxCxcdiPUaj6OzAQmzHA56pBUakNA0AnrkLGaDPYI0NDEEpeCG+6igKWDQbe/1+3vk50nO/h78zF2fS0gQUV5P6FDlgTriPxXwtb1ffqe33ZCZ6BZgs0qM23RTZkSkCLkVEQoGOnBnuFMorhheKxX6lZSx1s825hE9SYBF6fmy9SWBzi+U3QkgeeFRVbP89tOV1neLqdiPW30YESx3zp7FnJXYrkVCuIQPFV3fRfevmNOItOQT0+ZEJF13O4/6vbhg4+RQuu9srn/yptF4pQ0rtWOeZwwlMpj6+eUXjBmJuQHVCl62mje2lYMuHdsy1/03i8b+RR5DEEl22WiFN42pKq23HHV7S61YqxRVbwWuMQlsm2HXADLYqjTVXetdqavUyogRiI5oBAmdEBZifpQQfuOJFw5celrSV24aku74Pbh4sz9tzwPoCCryC5Okd12UHBcrsEghDDK58/xf5S9XAHLgM9x0/yOgtff4EYqJTgUxcIZ5PMrCvn8Rwjz+XdmcffAEK/u+WT4FLUhzPCxdZd4BSaYKcS42ZUlTnZxWwoCY+fHlvILJLgJP8On3ZtXONn5/Gc3j4trr6hiBWbZy7K8ML95ISCKs2e4PPP5l0URSmLoqhSTXSHzCtBt6S/unUfjtWqDoRH4w6kxiDaA5wWuh217jIWxt+3GMe/J94shJ8F9K/BTdyuhcHeLhxsmVb1pjKU01ZvGHw==')));?>
Function Calls
gzinflate | 1 |
base64_decode | 1 |
Stats
MD5 | 03be8bb8b3212eab013cedb679a5e308 |
Eval Count | 1 |
Decode Time | 124 ms |