Ignore:
Timestamp:
2007/08/09 21:10:56 (14 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-paygent/data/downloads/module/mdl_paygent/mdl_paygent.php

    r15244 r15265  
    9898        'payment_detail' => $arrSiteInfo['shop_kana'], 
    9999        'claim_kanji'    => $arrSiteInfo['shop_kana'], 
    100         'claim_kana'     => $arrSiteInfo['shop_kana'] 
     100        'claim_kana'     => $arrSiteInfo['shop_kana'], 
     101        'asp_payment_term' => 7, 
    101102    ); 
    102103    $objFormParam->addParam("¥Þ¡¼¥Á¥ã¥ó¥ÈID", "merchant_id", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
     
    105106    $objFormParam->addParam("»Ùʧ´ü¸ÂÆü", "conveni_limit_date", 2, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), $arrDefault['conveni_limit_date']); 
    106107    $objFormParam->addParam("»Ùʧ´ü¸ÂÆü", "atm_limit_date", 2, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), $arrDefault['atm_limit_date']); 
    107     $objFormParam->addParam("»ÙʧÀâÌÀʸ(¥«¥Ê)", "payment_detail", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK", "KANA_CHECK"), $arrDefault['payment_detail']); 
    108     $objFormParam->addParam("»ÙʧÀâÌÀʸ(´Á»ú)", "claim_kanji", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK"), $arrDefault['claim_kanji']); 
    109     $objFormParam->addParam("»ÙʧÀâÌÀʸ(¥«¥Ê)", "claim_kana", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK", "KANA_CHECK"), $arrDefault['claim_kana']); 
     108    $objFormParam->addParam("ɽ¼¨Å¹ÊÞ̾(¥«¥Ê)", "payment_detail", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK", "KANA_CHECK"), $arrDefault['payment_detail']); 
     109    $objFormParam->addParam("»Ùʧ´ü¸ÂÆü", "asp_payment_term", 2, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), $arrDefault['asp_payment_term']); 
     110    $objFormParam->addParam("ɽ¼¨Å¹ÊÞ̾(Á´³Ñ)", "claim_kanji", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK"), $arrDefault['claim_kanji']); 
     111    $objFormParam->addParam("ɽ¼¨Å¹ÊÞ̾(¥«¥Ê)", "claim_kana", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK", "KANA_CHECK"), $arrDefault['claim_kana']); 
    110112    $objFormParam->addParam("ÍøÍÑ·èºÑ", "payment", "", "", array("EXIST_CHECK")); 
     113    $objFormParam->addParam("·èºÑ¥Ú¡¼¥¸ÍÑ¥³¥Ô¡¼¥é¥¤¥È(Ⱦ³Ñ±Ñ¿ô)", "copy_right", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK","NO_SPTAB")); 
     114    $objFormParam->addParam("·èºÑ¥Ú¡¼¥¸ÍÑÀâÌÀʸ(Á´³Ñ)", "free_memo", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK"));   
    111115    return $objFormParam; 
    112116} 
     
    116120    global $objFormParam; 
    117121    $arrErr = $objFormParam->checkError(); 
     122         
    118123    if($_POST['conveni_limit_date'] != "" && !($_POST['conveni_limit_date'] >= 1 &&  $_POST['conveni_limit_date'] <= 60)) { 
    119124            $arrErr['conveni_limit_date'] = "¢¨ »Ùʧ´ü¸ÂÆü¤Ï¡¢1¡Á60Æü¤Þ¤Ç¤Î´Ö¤ÇÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£<br>"; 
     
    131136            $arrErr['claim_kana'] = "¢¨ »ÙʧÀâÌÀʸ¡Ê¥«¥Ê¡Ë¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£<br>"; 
    132137    } 
    133     /** ¶¦ÄÌÅÅʸ **/     
     138     
     139     
     140     
     141    /** ¶¦ÄÌÅÅʸ **/     
    134142    // ¥Þ¡¼¥Á¥ã¥ó¥ÈID 
    135143    $arrParam['merchant_id'] = $objFormParam->getValue('merchant_id'); 
     
    183191            $arrDisp['claim_kana'] = $arrParam['claim_kana']; 
    184192            $arrDisp['claim_kanji'] = $arrParam['claim_kanji']; 
     193            $arrDisp['asp_payment_term'] = $arrParam['asp_payment_term']; 
     194            $arrDisp['copy_right'] = $arrParam['copy_right']; 
     195            $arrDisp['free_memo'] = $arrParam['free_memo']; 
    185196            break;                   
    186197        } 
     
    287298            $arrParam['claim_kana'] = $_POST['claim_kana']; 
    288299            $arrParam['claim_kanji'] = $_POST['claim_kanji']; 
     300            $arrParam['asp_payment_term'] = $_POST['asp_payment_term']; 
     301            $arrParam['copy_right'] = $_POST['copy_right']; 
     302            $arrParam['free_memo'] = $_POST['free_memo']; 
    289303            $arrData = array( 
    290304                "payment_method" => "PAYGENT¶ä¹Ô¥Í¥Ã¥È" 
Note: See TracChangeset for help on using the changeset viewer.