Home 회원 회비납부
if ($_GET['task'] == 'result') {
foreach ($_POST as $k => $v) {
$_POST[$k] = iconv('euc-kr', 'utf-8', $v);
}
if ($_POST['nice_part'] == "Yes") {
$order = new Order($_POST['nice_orderno']);
foreach ($order->Items as $k => $item) {
$order->Items[$k]->Paid = $order->Items[$k]->Amount;
}
$order->Serializer->serialize($order->Items);
$param = array(
't_paid' => $_POST['nice_amount'],
't_itemxml' => $order->Serializer->getSerializedData(),
't_account' => $_POST['nice_name'],
't_apprvno' => $_POST['nice_app'],
't_quota' => $_POST['nice_mon'],
't_updated' => substr($_POST['nice_date'], 0, 4).'-'.substr($_POST['nice_date'], 4, 2).'-'.substr($_POST['nice_date'], 6, 2).' '.substr($_POST['nice_time'], 0, 2).':'.substr($_POST['nice_time'], 2, 2).':'.substr($_POST['nice_time'], 4, 2)
);
if ($order->set($param)) {
echo "";
} else {
echo "";
}
}
} else {
$purpose = $_GET['purpose'] ? iconv('euc-kr', 'utf-8', $_GET['purpose']) : "회비";
$pagename = "회비납부";
if($_SERVER['REMOTE_ADDR']=="163.152.43.232") { include_once "../sub03/pay_form.inc_ws.php";}
else{ include_once "../sub03/pay_form.inc_ws.php";}
}
?>