|
|
|
|
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']) : "회비";
$member = new Member($_SESSION['KIChE']['member']['memberid']);
$items = $member->getPayItems(array('purpose' => $purpose, 'memcode' => $member->ClassCode));
?>
$description=$_GET['t_name'];
$sql = "select i_description from account_items where i_description is not null and i_active=true and i_sub is null group by i_description";
$res = $db->query($sql);
?>
결제가 진행중입니다. 잠시만 기다려 주십시오...
}
?>
|
|
|
|
|
|
|
|