reasonableframework/view/view_orderpay.pgkcp.php

54 lines
1.4 KiB
PHP
Raw Normal View History

2018-08-24 16:44:00 +00:00
<?php
/**
* @file view_orderpay.pgkcp.php
* @date 2018-08-25
* @author Go Namhyeon <gnh1201@gmail.com>
* @brief KCP PG(Payment Gateway) View
*/
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
2018-08-26 17:27:42 +00:00
?>
2018-08-24 16:44:00 +00:00
2018-08-26 17:27:42 +00:00
<!DOCTYPE html>
<html>
<head>
2019-05-20 08:19:05 +00:00
<title>*** NHN KCP [AX-HUB Version] ***</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
2018-08-26 17:27:42 +00:00
</head>
<body>
2019-05-20 08:19:05 +00:00
<h1>NHN KCP [AX-HUB Version]</h1>
2018-08-26 17:27:42 +00:00
2019-05-20 08:19:05 +00:00
<form id="order_info" name="order_info" method="post" action="<?php echo $pgkcp_action_url; ?>">
<fieldset>
<legend>결제 정보</legend>
2018-08-26 18:12:02 +00:00
2019-05-20 08:19:05 +00:00
<div>
<input type="hidden" name="_token" value="<?php echo $_token; ?>">
<input type="hidden" name="route" value="<?php echo $_next_route; ?>">
</div>
2018-08-26 18:12:02 +00:00
2019-05-20 08:19:05 +00:00
<ul>
2018-08-26 17:27:42 +00:00
<?php
2019-05-20 08:19:05 +00:00
foreach($payinfo as $k=>$v) {
2018-08-26 17:27:42 +00:00
?>
2019-05-20 08:19:05 +00:00
<li>
<label for="<?php echo $k; ?>"><?php echo $k; ?></label>
<input id="<?php echo $k; ?>" name="<?php echo $k; ?>" value="<?php echo $v; ?>" readonly="readonly"/>
</li>
2018-08-26 17:27:42 +00:00
<?php
2019-05-20 08:19:05 +00:00
}
2018-08-26 17:27:42 +00:00
?>
2019-05-20 08:19:05 +00:00
</ul>
2018-08-26 17:27:42 +00:00
2019-05-20 08:19:05 +00:00
<button id="btn_submit" type="submit">Submit</button>
</fieldset>
</form>
2018-08-26 17:27:42 +00:00
2019-05-20 08:19:05 +00:00
<?php echo $jsoutput; ?>
2018-08-26 17:27:42 +00:00
</body>
</html>