Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 220
Gagal: Input tidak sesuai.";
} else {
$update_order = mysqli_query($db, "UPDATE orders SET start_count = '$post_start', remains = '$post_remains', status = '$post_status' WHERE oid = '$post_oid'");
if ($update_order == TRUE) {
$msg_type = "success";
$msg_content = "Berhasil: Pesanan berhasil diubah. Order ID: $post_oid Status: $post_status Start Count: ".number_format($post_start,0,',','.')." Remains: ".number_format($post_remains,0,',','.');
} else {
$msg_type = "error";
$msg_content = "Gagal: Error system.";
}
}
}
$checkdb_order = mysqli_query($db, "SELECT * FROM orders WHERE oid = '$post_oid'");
$datadb_order = mysqli_fetch_assoc($checkdb_order);
include("../../lib/headeradmin.php");
?>