mirror of https://github.com/IoTcat/cp-acc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
433 B
28 lines
433 B
<?php |
|
include './functions.php'; |
|
|
|
$first = $_REQUEST['first']; |
|
$last = $_REQUEST['last']; |
|
|
|
|
|
if(!isset($first) || !isset($last)) die(); |
|
|
|
$cnn = db__connect(); |
|
|
|
db__pushData($cnn, "account", array( |
|
"state" => '1' |
|
), array( |
|
"id" => $first |
|
)); |
|
|
|
db__pushData($cnn, "account", array( |
|
"state" => '1' |
|
), array( |
|
"id" => $last |
|
)); |
|
|
|
|
|
echo '<script> |
|
alert("收款确认成功"); |
|
window.location.href="https://cp-acc.yimian.xyz/"; |
|
</script>'; |