<?
// #################################################################################
//
//   angelpay.php
//
//   Copyright (c) 2000-2005 InterBank(ANGELPAY) Co. LTD.
//   All rights reserved.
//  ------------------------------------------------------------------------------
//   최종 수정일 : 2002.09.04
//
// ###################################################################################  
//
//   				Angelpay Test 화면
//
// ###################################################################################  
//
// [ Angelpay 지불처리 Test화면 ]
//
//  1. OrderNo		: 주문일자(YYYYMMDD)
//  2. Amount		: 주문번호에 해당하는 거래금액
//  3. DeliveryInfo	: 배송정보(형식: "성명:xx, 전화번호:xx, 상품명:xx, 배송지:xx")
//
//  Optional
//  4. PayMethod	: 결제방법, 지정하지 않을경우 기본값은 신용카드
//			(1-신용카드, 2-계좌이체, 3-엔젤플러스, 4-핸드폰, 5-ARS)
//
// ###################################################################################
?>

<HTML>
<HEAD>
<TITLE>Angelpay Direct Test</TITLE>
</HEAD>

<style type="text/css">
<!--
A:link, A:active, A:visited {
  font-size: 9pt;
  color:  #CC3399;
font-weight: bold ;
  text-decoration: none;
 }

A:hover {

  font-size: 9pt;
  color: #FEA802;
  text-decoration:underline;
 }

TD {
  font-family: 굴림;
  font-size: 9pt;
  color: black;
 }

body {
  font-family: 굴림;
  font-size: 9pt;
  color: black;
 }
//--!>
</style>

<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br><br><br><br><br><br>
<form name="fForm" method="post" action="request.php">
  <table width="400" border="1" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td> 
        <table width="400" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr height=35 align="center" valign="middle">
            <td width=100 align="center">주문번호<input type=hidden name=OrderNo value="<? $OrderNo=Date('YmdHis'); echo $OrderNo; ?>"></td>
            <td align=left><b><? echo $OrderNo; ?></b></td>
          </tr>
          <tr height=35 align="center" valign="middle"> 
            <td width=100 align="center">거래금액</td>
            <td align=left><input type=text name="Amount" maxlength=7 value="1000"></td>
          </tr>
          <tr height=35 align="cneter" valign="middle"> 
            <td width=100  align="center">배송정보</td>
            <td align=left><input name="DeliveryInfo" value="성명:xxx,연락처:xxx,주소:xxx,상품명:xxx" size=30></td>
          </tr>
          <tr height=35 align="cneter" valign="middle"> 
            <td width=100  align="center">결제방법</td>
            <td align=left><select name="PayMethod">
            	<option value="1" selected> 신용카드 </option>
		<option value="2"> 계좌이체 </option>
		<option value="3"> 엔젤플러스 </option>
		<option value="4"> 핸드폰결제 </option>
		<option value="5"> ARS결제 </option>
            	</select>
            </td>
          </tr>
          <tr height=35 valign="middle"> 
            <td align=center colspan=2>
              <input type="submit" value="결제하기" name="submit">&nbsp;&nbsp;&nbsp;
              <input type="button" value="취소하기" name="cancel" onclick="window.close();">
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
 
</form>
</BODY>
</HTML>
