fix
This commit is contained in:
@@ -359,6 +359,7 @@ if (!empty($_GET["admin"])){
|
|||||||
$stmt5->bind_param('i', $idcko);
|
$stmt5->bind_param('i', $idcko);
|
||||||
$stmt5->execute();
|
$stmt5->execute();
|
||||||
$stmt5->store_result();
|
$stmt5->store_result();
|
||||||
|
exit();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$deleteid = intval(htmlspecialchars($_POST['deletechatmsg']));
|
$deleteid = intval(htmlspecialchars($_POST['deletechatmsg']));
|
||||||
@@ -367,6 +368,7 @@ if (!empty($_GET["admin"])){
|
|||||||
$stmt6->bind_param('ii', $idcko, $deleteid);
|
$stmt6->bind_param('ii', $idcko, $deleteid);
|
||||||
$stmt6->execute();
|
$stmt6->execute();
|
||||||
$stmt6->store_result();
|
$stmt6->store_result();
|
||||||
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -5,9 +5,9 @@
|
|||||||
<script>
|
<script>
|
||||||
__LOCALIZATION_LANGSELECT_SCRIPT__
|
__LOCALIZATION_LANGSELECT_SCRIPT__
|
||||||
function deleteit(indexik){
|
function deleteit(indexik){
|
||||||
$.post("index.php?admin=1&delete=1",
|
$.post("index.php?admin=1&deletechatmsg=1",
|
||||||
{
|
{
|
||||||
delete: indexik
|
deletechatmsg: indexik
|
||||||
},
|
},
|
||||||
function(data, status){
|
function(data, status){
|
||||||
updateTable();
|
updateTable();
|
||||||
|
Reference in New Issue
Block a user