글 읽기
제목 에스크로 연동 좀 도와주세요.
작성자 엄살대장 작성일 2011-01-16 15:18:08 조회 1981
이미지
  • 홈페이지 : www.4ufarm.co.kr
  • 이 글을 추천 하신분들(추천수 : 10)
  • 비추천 : 0
  • * 꼭 다음양식에 맞게 입력해주세요.
    질문 하시기 전에 꼭 검색 먼저 해주시길 바랍니다.. 자주묻는 질문 또는 공지 사항도 확인 하여 주세요.
    필수 항목에 정보가 없는 경우는 답변을 드릴수가 없습니다.

    1. 계정(호스팅) 회사 이름 : 포유팜(www.4ufarm.co.kr)

    2. php 버전 : php 5

    3(필수). 모닝시리즈 종류와 버젼명 : 모닝몰 2004

    4(필수). 에러나는 주소 (전체 URL):
    mall_userinfo.html에서 에스크로 결제 관련 주석을 없애고 업데이트 했더니 계속 에러가 납니다.

    5(필수). 질문 내용 (되도록 상세 하게):
    KCP에서 에스크로 결제 신청한 지는 꽤 됐는돼 사용자 환경에 구축이 안 된 것 같습니다.
    에스크로 관련 다른 답변 보니 mall_userinfo.html 부분에서 주석 부분 지우면 된다고 하셨는데 주석부분 지워도 계속 에러만 나오고 안됩니다.


    <?
    /*
    #################################################################################
    모닝몰 주문자 정보 입력 페이지 스킨

    스크립트에 주2004-10-03의 하십시오
    주민 번호 필드가 필요한 경우 주석 처리를 없도록 해주시면 됩니다.

    #################################################################################
    */
    ?>
    <!-- 모닝몰 구입자 정보 입력 -->
    <script language=JavaScript>
    <!--


    function point_check() {
    var m = document.morning;
    var account_price = 0;
    var user_point = m.ps_user_point.value;
    var use_point = m.use_buyer_point.value;
    var total_price = m.ps_total_price.value;
    var delivery_price = 0;
    var delivery_max_price = 0;
    var wrapping_price = 0;
    var delivery_data = "";
    var wrapping_data = "";
    var temparray1 = new Array();
    var temparray2 = new Array();

    for(i=0; i<m.delivery_method.length; i++){
    if(m.delivery_method[i].checked){
    delivery_data = m.delivery_method[i].value;
    }
    }

    if(!delivery_data) {
    delivery_data = m.delivery_method.value;
    }

    for(i=0; i<m.wrapping_method.length; i++){
    if(m.wrapping_method[i].checked){
    wrapping_data = m.wrapping_method[i].value;
    }
    }

    if(!wrapping_data) {
    wrapping_data = m.wrapping_method.value;
    }

    temparray1 = delivery_data.split(",");
    delivery_price = temparray1[1];
    delivery_max_price = temparray1[2];
    temparray2 = wrapping_data.split(",");
    wrapping_price = temparray2[1];

    if(eval(total_price) >= eval(delivery_max_price)) {
    delivery_price = "0";
    }
    if(m.basic_delivery_price2.value == "free") {
    delivery_price = "0";
    }

    var account_price = eval(total_price) + eval(delivery_price) + eval(wrapping_price) - eval(m.use_buyer_point.value);
    var remain_point = eval(user_point) - eval(use_point);


    if(isNaN(use_point)) {
    alert("사용 포인트는 숫자만 입력하여 주십시오.");
    m.use_buyer_point.value = 0;
    m.total_account_price.value = eval(total_price) + eval(delivery_price) + eval(wrapping_price);
    m.remain_buyer_point.value = eval(user_point);
    return;
    }


    if(eval(user_point) < eval(use_point)) {
    alert("사용 가능한 포인트("+user_point+")보다 많은 포인트를 사용 하실수 없습니다.");
    m.use_buyer_point.value = 0;
    m.total_account_price.value = eval(total_price) + eval(delivery_price) + eval(wrapping_price);
    m.remain_buyer_point.value = eval(user_point);
    return;
    }

    if(eval(total_price) + eval(delivery_price) + eval(wrapping_price) < eval(use_point)) {
    alert("결제 금액 보다 많은 포인트를 입력 하셨습니다.");
    m.use_buyer_point.value = 0;
    m.total_account_price.value = eval(total_price) + eval(delivery_price) + eval(wrapping_price);
    m.remain_buyer_point.value = eval(user_point);
    return;
    }

    m.total_account_price.value = eval(account_price);
    m.remain_buyer_point.value = eval(remain_point);

    }


    function show_bank_display(cmode) {
    var m = document.morning;

    if(cmode == "hide") {
    document.getElementById("bank_show1").style.display='none';
    document.getElementById("bank_show2").style.display='none';
    document.getElementById("bank_show3").style.display='none';

    if(typeof(m.buyer_receipt) != "undefined") {
    show_cash_display('no');
    m.buyer_receipt[0].checked = true;
    }
    } else {
    document.getElementById("bank_show1").style.display='block';
    document.getElementById("bank_show2").style.display='block';
    document.getElementById("bank_show3").style.display='block';
    }
    }

    function show_cash_display(cmode) {
    var m = document.morning;
    var cnt = 0;

    for(i=0; i< m.elements.length; i++) {
    var t = morning.elements[i];

    //alert(t.name+"\n\n"+t.type+"\n\n"+t.value);

    if ((t.name == "buyer_payment") && (t.type == "radio") && (t.checked == true)) {
    cnt = t.value;
    }
    }

    if(cmode == "no") {
    document.getElementById("cash_show1").style.display='none';
    document.getElementById("cash_show2").style.display='none';
    document.getElementById("cash_show3").style.display='none';
    document.getElementById("cash_show4").style.display='none';
    document.getElementById("cash_show5").style.display='none';
    document.getElementById("cash_show6").style.display='none';
    document.getElementById("cash_show7").style.display='none';
    } else if(cmode == "vat") {
    document.getElementById("cash_show1").style.display='block';
    document.getElementById("cash_show2").style.display='block';
    document.getElementById("cash_show3").style.display='block';
    document.getElementById("cash_show4").style.display='block';
    document.getElementById("cash_show5").style.display='none';
    document.getElementById("cash_show6").style.display='none';
    document.getElementById("cash_show7").style.display='none';
    } else if(cmode == "person") {

    if(cnt == 1 || cnt == 4) {
    alert("온라인 입금만 현금영수증 발행이 가능 합니다.");
    return;
    }

    document.getElementById("cash_show1").style.display='none';
    document.getElementById("cash_show2").style.display='none';
    document.getElementById("cash_show3").style.display='none';
    document.getElementById("cash_show4").style.display='none';
    document.getElementById("cash_show5").style.display='block';
    document.getElementById("cash_show6").style.display='block';
    document.getElementById("cash_show7").style.display='none';
    } else if(cmode == "company") {

    if(cnt == 1 || cnt == 4) {
    alert("온라인 입금만 현금영수증 발행이 가능 합니다.");
    return;
    }

    document.getElementById("cash_show1").style.display='none';
    document.getElementById("cash_show2").style.display='none';
    document.getElementById("cash_show3").style.display='none';
    document.getElementById("cash_show4").style.display='none';
    document.getElementById("cash_show5").style.display='none';
    document.getElementById("cash_show6").style.display='none';
    document.getElementById("cash_show7").style.display='block';
    }
    }
    -->
    </script>

    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td width="100%" height="25">
     <?=make_navigation("$NAVIGATION_ORDER_INSERT_TEXT","m_userinfo.php")?>
    </td>
    </tr>
    <tr>
    <td width="100%" valign="top" align="center">
    <table border="0" cellpadding="3" cellspacing="0" width="600" align="center">
    <tr>
    <td width="100%"> </td>
    </tr>
    <tr>
    <td width="100%" align="center"> 
    <table border="0" width="95%" bgcolor="#9A9A9A" cellspacing="1" cellpadding="3" align="center">
    <tr>
    <td width="100%" align="center" colspan="5" height="6"></td>
    </tr>
    <tr>
    <td width="50%" bgcolor="#F7F7F7" align="center"><b>상품리스트</b></td>
    <td width="17%" bgcolor="#F7F7F7" align="center"><b>판매가격</b></td>
    <td width="10%" bgcolor="#F7F7F7" align="center"><b>수량</b></td>
    <td width="17%" bgcolor="#F7F7F7" align="center"><b>합계</b></td>
    <td width="10%" bgcolor="#F7F7F7" align="center"><b>삭제</b></td>
    </tr>
    <?
    while($list = morning_fetch_array($result)) {
    $show_regdate = date("Y-m-d[H:i:s]",$list[register_date]);
    $show_price = $list[cart_price] * $list[cart_num];
    $show_point = $list[cart_point] * $list[cart_num];

    if($list[cart_image_file1]) { $show_image = "<img src=\"$list[cart_image_file1]\" border=\"0\" width=\"70\" height=\"70\" align=\"left\">"; }
    else { $show_image = "<img src=\"$g_skin_link/image/noimage1.gif\" width=\"70\" height=\"70\" border=\"0\" align=\"left\">"; }

    // 공동구매 인지 .. 보통 상품 인지 구별 하는 부분 색상 구분
    if($list[cart_class] == "1") { $show_bgcolor = "bgcolor=\"#FFFCF7\""; }
    else { $show_bgcolor = "bgcolor=\"#FFFFFF\""; }

    if($list[cart_code]) { $show_code = "[".$list[cart_code]."]"; }
    else { $show_code = ""; }
    ?>
    <tr <?=$show_bgcolor?>>
    <td width="48%" valign="top">
    <?
    if($list[cart_class] == "1") {
    ?>
    <a href="m_mall_detail.php?ps_ctid=<?=$list[cart_category]?>&ps_goid=<?=$list[cart_goods_id]?>">
    <?
    } else {
    ?>
    <a href="m_mall_detail.php?ps_ctid=<?=$list[cart_category]?>&ps_goid=<?=$list[cart_goods_id]?>">
    <?
    }
    ?>
    <?=$show_image?>
    <font color="navy"><b><?=$list[cart_subject]?></b></font> <?=$show_code?>
    <br>
    <?=show_select_option($list[cart_option1])?>
    <?=show_select_option($list[cart_option2])?>
    <?=show_select_option($list[cart_option3])?>
    <?=show_select_option($list[cart_option4])?>
    <?=show_select_option($list[cart_option5])?>
    <?=show_select_option($list[cart_option6])?>
    <?=show_select_option($list[cart_option7])?>
    </a>
    <br>
    </td>
    <td width="17%" align="right" valign="top">
    <?=number_format($list[cart_price])?>원
    <? if($list[cart_point] and $cf_account_method > "3" and $g_check_id) echo "<br>".number_format($list[cart_point])."점"; ?>
    </td>
    <td width="10%" align="center" valign="top"><?=$list[cart_num]?></td>
    <td width="17%" align="right" valign="top">
    <?=number_format($show_price)?>원
    <? if($list[cart_point] and $cf_account_method > "3" and $g_check_id) echo "<br>".number_format($show_point)."점"; ?>
    </td>
    <td width="12%" align="center" valign="top"><a href="m_cart.php?ps_mode=delete&ps_user=info&ps_ctid=<?=$ps_ctid?>&ps_caid=<?=$list[uid]?>"><img src="<?=$g_skin_link?>/image/cart_006.gif" width="61" height="19" border="0"></a></td>
    </tr>
    <?
    $total_price = $total_price + $show_price;
    $total_num = $total_num + $list[cart_num];
    $co++;

    // 배송료 무료인 상품이 있을경우

    if($list[cart_free_delivery]) { $cf_delivery_money = "0"; $delivery_check = "free";}

    }
    if(!$co) {
    ?>
    <tr>
    <td width="100%" colspan="5" height="150" bgcolor="#ffffff" align="center"><b>구매 하신 상품이 없습니다.</b></td>
    </tr>
    <?
    }

    $total_cost_price = $total_price;
    // 배송비 면제 기준표
    if($total_price < $cf_delivery_free and $co) {
    $total_delivery = $cf_delivery_money;
    $total_price = $total_price + $cf_delivery_money;
    } else {
    $total_delivery = 0;
    }
    ?>
    <tr>
    <td width="48%" bgcolor="#ffffff" align="center">배 송 료</td>
    <td width="17%" bgcolor="#ffffff"></td>
    <td width="10%" bgcolor="#ffffff"></td>
    <td width="17%" bgcolor="#ffffff" align="right"><?=$total_delivery?>원</td>
    <td width="12%" bgcolor="#ffffff"></td>
    </tr>
    <tr>
    <td width="48%" bgcolor="#ffffff" align="center"><font color="navy"><b>합  계</b></font></td>
    <td width="17%" bgcolor="#ffffff"> </td>
    <td width="10%" bgcolor="#ffffff"> </td>
    <td width="17%" bgcolor="#ffffff" align="right"><font color="navy"><b><?=number_format($total_price)?>원</b></font></td>
    <td width="12%" bgcolor="#ffffff"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td width="100%" align="center"> 
    <table border="0" cellpadding="5" cellspacing="1" width="95%" bgcolor="#9A9A9A">
    <form enctype="multipart/form-data" method="post" action="<?=$cf_use_user_confirm?>" name="morning" onsubmit="javascript:return check_userinfo()">
    <input type="hidden" name="ps_ssl" value="<?=$cf_security_ssl?>">
    <input type="hidden" name="ps_murl" value="<?=$g_user_sslhost?>/<?=$cf_mall_install_dir?>/<?=$cf_use_user_confirm?>">
    <input type="hidden" name="ps_mode" value="write">
    <input type="hidden" name="ps_total_price" value="<?=$total_cost_price?>">
    <input type="hidden" name="ps_user_point" value="<?=$show_mpoint?>">
    <input type="hidden" name="basic_delivery_price1" value="<?=$total_delivery?>">
    <input type="hidden" name="basic_delivery_price2" value="<?=$delivery_check?>">
    <input type="hidden" name="basic_total_price" value="<?=$total_price?>">
    <input type="hidden" name="basic_total_num" value="<?=$total_num?>">
    <tr>
    <td width="100%" colspan="4" bgcolor="#B4B4B4" height="3"></td>
    </tr>
    <tr>
    <td width="100%" bgcolor="#FFFFFF" colspan="4">
    <b>주문 정보 </b>(<img border="0" src="image/icon_nemo.gif" width="14" height="9">표시는 필수 항목 입니다. 반드시 기입하여 주십시오)
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >
    <img border="0" src="image/icon_nemo.gif" width="14" height="9">성명(실명)
    </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_name1" value="<?=$buyer_name1?>" class="text" size="20" maxlength="100">
    </td>
    </tr>
    <!--
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >
    <img border="0" src="image/icon_nemo.gif" width="14" height="9">주민등록번호
    </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_jumin1" value="<?=$show_jumin1?>" class="text" size="8" maxlength="6"> -
    <input type="text" name="buyer_jumin2" value="<?=$show_jumin2?>" class="text" size="8" maxlength="7">
    </td>
    </tr>
    -->
    <tr>
    <td width="17%" bgcolor="#FFFFFF">
    <img border="0" src="image/icon_nemo.gif" width="14" height="9">전화번호
    </td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_tel1" value="<?=$buyer_tel1?>" class="text" size="20" maxlength="20">
    </td>
    <td width="17%" bgcolor="#FFFFFF">
    휴대전화
    </td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_tel2" value="<?=$buyer_tel2?>" class="text" size="20" maxlength="20">
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >
    <img border="0" src="image/icon_nemo.gif" width="14" height="9">우편번호
    </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="zip1" value="<?=$zip1?>" class="text" size="4" maxlength="3"> -
    <input type="text" name="zip2" value="<?=$zip2?>" class="text" size="4" maxlength="3">
    <input type="button" class="submit1" value=" 우편번호찾기 " onclick="javascript: openzipcode1()">
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >
    <img border="0" src="image/icon_nemo.gif" width="14" height="9">자택주소
    </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="address1" value="<?=$address1?>" class="text" size="50" maxlength="255">
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >
    <img border="0" src="image/icon_nemo.gif" width="14" height="9">E-MAIL
    </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_email" value="<?=$buyer_email?>" class="text" size="50" maxlength="255">
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >기타 하실 말씀</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <textarea class="textarea" rows="7" name="buyer_main" cols="30"><?=$buyer_main?></textarea><br>배달시 유의사항,배달시 메모사항,카드 선택시 내용
    </td>
    </tr>
    <tr>
    <td width="100%" bgcolor="#FFFFFF" colspan="4"><b>배달 & 포장 방법</b></td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >배달(택배)선택</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <?=$show_delivery_list?>
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >포장선택</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <?=$show_wrapping_list?>
    </td>
    </tr>
    <tr>
    <td width="100%" bgcolor="#FFFFFF" colspan="4">
    <b>결제 정보</b>
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >주문 금액</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3"><b><?=number_format($total_price)?><b> 원</td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >결제하실 금액</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="total_account_price" value="<?=$total_price?>" class="text" size="20" maxlength="20" readonly> 원 <?=$show_discount?></td>
    </tr>
    <?
    // 관리자가 포인트 사용을 용의 하고 .. 포인트가 있으며 .. 포인트가
    if($cf_account_method > "3" and $cf_point_use == "1" and $show_mpoint > $cf_point_money and $g_check_id) {
    ?>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >사용 적립금 </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="use_buyer_point" class="text" size="10" value="0" maxlength="20" onkeyup="point_check()" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
    <<= <input type="text" name="remain_buyer_point" value="<?=$show_mpoint?>" class="text" size="10" maxlength="20" readonly> (사용 가능 적립금)
    </td>
    </tr>
    <?
    } else {
    echo "
    <input type=\"hidden\" name=\"use_buyer_point\" value=\"0\">
    <input type=\"hidden\" name=\"remain_buyer_point\" value=\"0\">
    ";
    }
    ?>
    <tr>
    <td width="17%" bgcolor="#FFFFFF">
    결제방식
    </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <?
    // 결제 방법 선택
    // 카드 가능
    if(($cf_account_method == "2" or $cf_account_method == "3" or $cf_account_method == "5" or $cf_account_method == "6") and $total_price >= $cf_card_money) {
    ?>
    <input type="radio" value="1" name="buyer_payment" onClick="show_bank_display('hide');"> 신용카드결제
    <!--
    <input type="radio" value="3" name="buyer_payment" onClick="show_bank_display('hide');"> 실시간계좌이체
    <input type="radio" value="4" name="buyer_payment" onClick="show_bank_display('hide');"> 핸드폰결제
    -->
    <?
    }
    // 온라인 입금 가능
    if($cf_account_method == "1" or $cf_account_method == "3" or $cf_account_method == "4" or $cf_account_method == "6") {
    ?>
    <input type="radio" value="2" name="buyer_payment" checked onClick="show_bank_display('show');"> 온라인 입금
    <?
    if($total_price >= 100000) {
    ?>

    <input type="radio" value="4" name="buyer_payment" onClick="show_bank_display('hide');"> 계좌이체(에스크로)

    <input type="radio" value="5" name="buyer_payment" onClick="show_bank_display('hide');"> 가상계좌(에스크로)
    <?
    }
    ?>
    <?
    }
    ?>
    </td>
    </tr>
    <tr id="bank_show1">
    <td width="17%" bgcolor="#FFFFFF" >입금은행</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3"><?=$show_bank_list?></td>
    </tr>
    <tr id="bank_show2">
    <td width="17%" bgcolor="#FFFFFF" >입금예정일</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <select size="1" name="receipt_yy">
    <?
    $eyear = date("Y");
    $emonth = date("m");
    $eday = date("d");
    $end_month = date("t");

    for($i=2002 ; $i<=2020 ; $i++) {
    if($eyear==$i) $tyear = "selected";
    echo "<option value=\"$i\" $tyear>$i 년</option>\n";
    $tyear = "";
    }
    ?>
    </select>-
    <select size="1" name="receipt_mm">
    <?
    for($i=1 ; $i<=12 ; $i++) {
    if($emonth==$i) $tmonth = "selected";
    echo "<option value=\"$i\" $tmonth>$i 월</option>\n";
    $tmonth = "";
    }
    ?>
    </select>-
    <select size="1" name="receipt_dd">
    <?
    for($i=1 ; $i<=$end_month ; $i++) {
    if($eday==$i) $tday = "selected";
    echo "<option value=\"$i\" $tday>$i 일</option>\n";
    $tday = "";
    }
    ?>
    </select>
    </td>
    </tr>
    <tr id="bank_show3">
    <td width="17%" bgcolor="#FFFFFF" >입금자명</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_name2" class="text" size="25" maxlength="25">
    </td>
    </tr>
    <?
    // 세금계산서 현금영수증 발행
    if($cf_use_vat == 2 or $cf_use_receipt > 1) {

    // style="display:none"

    // 세금계산서
    $show_receipt = "";
    $show_receipt = "<input type=\"radio\" value=\"0\" name=\"buyer_receipt\" onClick=\"show_cash_display('no');\"> 사용안함 ";
    if($cf_use_vat == 2) { $show_receipt .= "<input type=\"radio\" value=\"1\" name=\"buyer_receipt\" onClick=\"show_cash_display('vat');\"> 세금계산서 "; }
    if($cf_use_receipt == 4 and $total_price >= 5000) {
    $show_receipt .= "<input type=\"radio\" value=\"2\" name=\"buyer_receipt\" onClick=\"show_cash_display('person');\"> 현금영수증(개인) ";
    $show_receipt .= "<input type=\"radio\" value=\"3\" name=\"buyer_receipt\" onClick=\"show_cash_display('company');\"> 현금영수증(회사) ";
    } elseif($cf_use_receipt == 2 and $total_price >= 5000) {
    $show_receipt .= "<input type=\"radio\" value=\"2\" name=\"buyer_receipt\" onClick=\"show_cash_display('person');\"> 현금영수증(개인) ";
    } elseif($cf_use_receipt == 3 and $total_price >= 5000) {
    $show_receipt .= "<input type=\"radio\" value=\"3\" name=\"buyer_receipt\" onClick=\"show_cash_display('company');\"> 현금영수증(회사) ";
    }
    ?>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >영수증종류</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3"><?=$show_receipt?></td>
    </tr>
    <tr id="cash_show1" style="display:none">
    <td width="17%" bgcolor="#FFFFFF" >사업자등록번호</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_company_num" class="text" size="25" maxlength="30">
    </td>
    <td width="17%" bgcolor="#FFFFFF" >대표자성명</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_company_name" class="text" size="25" maxlength="30">
    </td>
    </tr>
    <tr id="cash_show2" style="display:none">
    <td width="17%" bgcolor="#FFFFFF" >회사명</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_company_company" class="text" size="25" maxlength="30">
    </td>
    <td width="17%" bgcolor="#FFFFFF" >대표전화번호</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_company_tel" class="text" size="25" maxlength="30">
    </td>
    </tr>
    <tr id="cash_show3" style="display:none">
    <td width="17%" bgcolor="#FFFFFF" >업태</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_company_condition" class="text" size="25" maxlength="30">
    </td>
    <td width="17%" bgcolor="#FFFFFF" >종목</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_company_item" class="text" size="25" maxlength="30">
    </td>
    </tr>
    <tr id="cash_show4" style="display:none">
    <td width="17%" bgcolor="#FFFFFF" >주소</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_company_address" class="text" size="50" maxlength="255">
    </td>
    </tr>
    <tr id="cash_show5" style="display:none">
    <td width="17%" bgcolor="#FFFFFF" >주민번호</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_cash_jumin" class="text" size="25" maxlength="30"> <br> 개인 현금영수증인경우 (현금영수증 사이트에 등록되어 있는 주민번호,핸드폰번호,카드번호 중 하나만 적으시면 됩니다. )
    </td>
    </tr>
    <tr id="cash_show6" style="display:none">
    <td width="17%" bgcolor="#FFFFFF" >핸드폰번호</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_cash_hp" class="text" size="25" maxlength="30">
    </td>
    <td width="17%" bgcolor="#FFFFFF" >카드번호</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_cash_card" class="text" size="25" maxlength="30">
    </td>
    </tr>
    <tr id="cash_show7" style="display:none">
    <td width="17%" bgcolor="#FFFFFF" >사업자번호</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_cash_company" class="text" size="25" maxlength="30"> 사업자 현금 영수증 받으실때 입력란
    </td>
    </tr>
    <?
    }
    // 세금계산서 현금영수증 발행 끝
    ?>
    <tr>
    <td width="600" bgcolor="#FFFFFF" colspan="4"><b>배달정보</b>
    (<input name="accept" value="checked" type="checkbox" onclick="accept_check()"> 받는분이 같을 경우 체크하여 주십시오.)</td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >성명</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="buyer_name3" value="<?=$buyer_name3?>" class="text" size="25" maxlength="30">
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >전화번호</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_tel3" value="<?=$buyer_tel3?>" class="text" size="25" maxlength="30">
    </td>
    <td width="17%" bgcolor="#FFFFFF" >휴대전화</td>
    <td width="33%" bgcolor="#FFFFFF">
    <input type="text" name="buyer_tel4" value="<?=$buyer_tel4?>" class="text" size="25" maxlength="30">
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >배달 우편번호 </td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="zip3" value="<?=$zip3?>" class="text" size="4" maxlength="3"> -
    <input type="text" name="zip4" value="<?=$zip4?>" class="text" size="4" maxlength="3">
    <input type="button" class="submit1" value=" 우편번호찾기 " onclick="javascript: openzipcode2()">
    </td>
    </tr>
    <tr>
    <td width="17%" bgcolor="#FFFFFF" >배달 주소</td>
    <td width="83%" bgcolor="#FFFFFF" colspan="3">
    <input type="text" name="address2" value="<?=$address2?>" class="text" size="50" maxlength="255"></td>
    </tr>
    <tr>
    <td width="100%" bgcolor="#FFFFFF" colspan="4" align="center">
    <input type="submit" class="submit2" value=" 주문하기">
    <input type="reset" class="submit2" value=" 다시쓰기 "></td>
    </tr>
    </form>
    </table>
    </td>
    </tr>
    <tr>
    <td width="100%"> </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <!-- 모닝몰 구입시 회원 로그인 폼 끝 -->


    댓글 등록 폼
    자동입력방지 :
    댓글 (총1 개)
    • 엄살대장 (kguy45) 2011-01-16 15:21:27

      약간의 돈이 지불되더라도 에스크로 문제 해결하고 싶습니다.
      운영자님 꼭 연락 주세요. kguy45@naver.com